Commit Graph

14203 Commits (2cfa457258d93ea14a132a256fc96cf5c8d95c92)

Author SHA1 Message Date
Samuel Tardieu 2cfa457258 Fix bugs in heap-delete
When an entry is kept to be use later with `heap-delete`, its `index`
in the owning heap is automatically updated as the entry sifts up
or down.

However, if the entry is removed from the heap via either a `heap-pop`
or a `heap-delete` operation, its index is not invalidated and
the entry can still be used later with `heap-delete` and remove the
wrong element from the heap.

This patch invalidates entries when they leave the heap by setting
their index to `f`, and check the index in `entry>index`.
2019-01-04 07:27:28 -08:00
John Benediktsson f8de0c1caa db.sqlite: make sure select-tuple throws sql-table-missing etc. 2019-01-03 12:39:37 -08:00
Alexander Iljin b8daf396e2 db.tuples[{-docs,-tests}]: add reject-tuples 2019-01-01 14:23:40 -06:00
Doug Coleman 4ba2ac3e78 Revert "db.tuples[{-docs,-tests}]: add reject-tuples"
This reverts commit 6cae2046b5.
2018-12-30 22:29:54 -06:00
Alexander Iljin 6cae2046b5 db.tuples[{-docs,-tests}]: add reject-tuples 2018-12-30 20:31:35 -06:00
Doug Coleman 4db062cc1b tools.directory-to-file: Fix using 2018-12-30 19:20:39 -06:00
Doug Coleman ffcb7839f6 directory-to-file: Better nested syntax. 2018-12-30 17:08:00 -06:00
John Benediktsson d9df9fc3cc ui.tools.inspector: string inspection shows characters. 2018-12-30 12:51:10 -08:00
Doug Coleman 319e1e6ac3 editors.visual-studio-code: Don't memoize the vscode path and add code.cmd per melted's suggestion:
450730b612
2018-12-24 13:12:53 -06:00
Doug Coleman 9572c87646 io.standard-paths: Add yet another path for Windows.
My vscode is in ``C:\Users\erg\AppData\Local\Programs\Microsoft VS
Code`` for some reason and vscode stopped working. This fixes it.
2018-12-24 13:08:28 -06:00
Doug Coleman 08e5340c9d furnace.auth: Rather have clean builds than loaded docs.
Fixes #2068
Fixes #2077
2018-12-16 12:35:31 -06:00
Doug Coleman 17ed798178 *.txt: Add newlines, fix some spacing 2018-12-16 12:04:35 -06:00
John Benediktsson f879a012c5 ui.backend.cocoa.views: fix macOS mojave opengl issue with new windows. 2018-12-11 15:40:41 -08:00
Alexander Iljin df7d4040bf stack-checker-docs: fix articles "a" -> "an" 2018-12-04 18:43:32 -08:00
Alexander Iljin 6590e5d25d stack-checker-docs: fix a typo 2018-12-04 18:43:32 -08:00
John Benediktsson f3d1d785cd xdg: remove memoize. 2018-10-19 22:28:15 -07:00
Benjamin Pollack b52fc788bf Support PUT and PATCH requests
Resolves #1431
2018-09-16 08:34:25 -07:00
Benjamin Pollack 84d480700c furance.recaptcha: update to reCAPTCHA2 2018-09-14 20:58:52 -04:00
John Benediktsson b246c06345 ui.gadgets.frames: default filled-cell to { 0 0 }. 2018-09-12 07:01:23 -07:00
John Benediktsson 91b17cb28b furance.auth: fix some help-lint errors...
...if only loading furance.auth.
2018-09-07 15:25:50 -07:00
Pi fd7e19b6a0 pick a better caret color for the dark theme 2018-09-07 10:02:25 -07:00
Pi 7a248c0cda actually remove caret-color slot 2018-09-07 10:02:25 -07:00
Pi 7c383a52ba make the caret color themeable 2018-09-07 10:02:25 -07:00
John Benediktsson a51fd04d0b editors.emacs: change emacsclient-args to fully override default arguments. 2018-09-03 08:06:26 -07:00
Doug Coleman d4729bdde2 cocoa.messages: Add a Cocoa union type to import NSData.
Fixes bootstrap for macOS 10.14 for the error:
```
no-objc-type
name "("
```

Fixes #2059.
2018-08-27 21:03:04 -05:00
John Benediktsson 4dcfefc0b9 timers: simplify stop-timer. 2018-08-23 20:37:20 -07:00
John Benediktsson a27f560475 timers: fix issue with restart-timer after timer went off. 2018-08-23 20:32:01 -07:00
John Benediktsson 91e55dc02a Revert "alien.data: Make with-scoped-allocation an $unchecked-example because it's breaking travisci"
This reverts commit 739fb5d94f.
2018-08-21 13:12:28 -07:00
Alexander Iljin 0637557cca *-docs: remove extra space character at the end of paragraghs 2018-08-21 10:45:52 -07:00
John Benediktsson 1b95fba178 Revert "io.files.temp: When using temp-file, it's possible that it fails since"
This reverts commit a274f99437.
2018-08-21 10:44:10 -07:00
Doug Coleman a274f99437 io.files.temp: When using temp-file, it's possible that it fails since
the temporary-directory does not exist yet.

Always check if the directory exists and create it if not.
2018-08-12 21:16:21 -05:00
Benjamin Pollack 2284178489 furnance.auth: fix documentation
The docs were attempting to reference the CouchDB auth provider, but
that fails, because the help vocab didn't include furnance.auth.couchdb.
Since the CouchDB auth vocab has some pretty serious caveats (see its
docs), remove it entirely for now.

Also fixes two minor typos in the furnace.auth.couchdb docs.
2018-08-12 11:12:22 -04:00
Mohamed Akram ab53893cfe
help.tutorial: use array for test output 2018-08-04 17:24:39 +04:00
Mohamed Akram 6b97111735
help.tutorial: fix unicode vocabulary path 2018-08-04 17:23:29 +04:00
Doug Coleman 62f672c84d editors.ui: merge the authors file hanging around on my local repo. 2018-08-03 10:39:30 -04:00
Doug Coleman 739fb5d94f alien.data: Make with-scoped-allocation an $unchecked-example because it's breaking travisci 2018-08-03 10:38:42 -04:00
John Benediktsson 8d07e763d9 tools.hexdump: use re-decode. 2018-08-02 13:34:38 -07:00
John Benediktsson dc25fe3688 ui.tools.listener: minor cleanup to completion stuff. 2018-08-01 21:08:43 -07:00
Doug Coleman 7999e72aec Revert "lists: Add list literal doc example."
This reverts commit 47408528d0.
2018-07-30 12:02:42 -05:00
Doug Coleman 6810fc42b0 Revert "lists: Add list literals."
This reverts commit ae74a794e1.

The listener forces lazy lists, which is not what we want. We need a different approach for prettyprinting lazy lists.
2018-07-30 12:01:28 -05:00
Doug Coleman 3a5533dc44 layouts: Add 32bit? and 64bit? words. 2018-07-22 11:46:01 -05:00
Doug Coleman 12918ae2a5 escape-strings: Add a tag-payload word to make a string payload and tag. 2018-07-21 15:19:42 -05:00
Doug Coleman 279acbc53e io.launcher: Add process-lines word. 2018-07-16 21:02:11 -05:00
Doug Coleman 39cbe60fd2 vocabs.platforms: Add <LINUX LINUX> sections that ignore code for the wrong platform. 2018-07-15 22:30:45 -05:00
Doug Coleman 47408528d0 lists: Add list literal doc example. 2018-07-13 22:58:57 -05:00
Doug Coleman ae74a794e1 lists: Add list literals.
Fixes #2019.
2018-07-13 20:36:50 -05:00
Doug Coleman 4b614cc15b factor: Make source files/resources 644 instead of 755. 2018-07-13 20:36:50 -05:00
Alexander Iljin 7298918029 windows.registry: add change-registry-value and delete-value 2018-07-12 23:33:14 -05:00
Doug Coleman b21f9ed3eb editors.ui: Make the editors ui its own thing. 2018-07-11 21:52:17 -05:00
Doug Coleman cd2b8eee42 Revert "editors: Add a MAIN-WINDOW: to editors to easily reload editors."
This reverts commit cb4ca7cca4.
2018-07-11 21:51:26 -05:00