Commit Graph

14383 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
Björn Lindqvist 62542c52a9 ui: try and ensure that the ui thread finishes #1905 2018-01-29 07:55:36 +01:00
Björn Lindqvist dd36f6ad57 ui: the with-ui-running combinator can be removed
It was only used within the (with-ui) words which in turn were only
called by with-ui.
2018-01-29 07:18:39 +01:00
John Benediktsson f0347b71cf Revert "cocoa.touchbar: try this."
This reverts commit f976d97983.
2018-01-28 11:23:31 -08:00
John Benediktsson f976d97983 cocoa.touchbar: try this. 2018-01-26 16:48:12 -08:00
John Benediktsson 10a3af39da tools.deploy: bump up deploy size for gpu.bunny. 2018-01-26 10:20:45 -08:00
John Benediktsson 7f37709c04 ui.tools.listener: implement vocab-word-completions. 2018-01-24 17:11:26 -08:00
John Benediktsson 9887829103 tools.completion: adding complete-vocab-words?. 2018-01-24 17:11:08 -08:00
Alexander Iljin 8a4dba4cd9 Fix the existing IN: suffixes for the test vocabs
Change some existing vocab name suffixes from "-tests" or ".test" to
".tests". Add no new suffixes.
2018-01-24 16:03:48 -08:00
Björn Lindqvist 71d2a373fe openssl.libcrypto.tests: should not forget to free the BIO 2018-01-24 20:20:38 +01:00
Björn Lindqvist 3b45c93ece gtk.*,gdk.*: not using find-library again 2018-01-24 15:37:47 +01:00
Björn Lindqvist 3a7c1ead3b alien.libraries.finder: find-library for gtk libs
This should make the code find the correct .so's when compiling Factor
yourself.
2018-01-24 13:17:54 +01:00
Björn Lindqvist 2424a77507 alien.libraries.finder.linux.tests: correcting in 2018-01-24 13:13:20 +01:00
John Benediktsson ed92cb066b math.bitwise: add >signed to docs next to >even, >odd. 2018-01-23 15:37:21 -08:00
John Benediktsson 86ee1d452a boxes: add stack-effect info to if-box?. 2018-01-22 20:19:57 -08:00
John Benediktsson 27db0b6346 windows.dropfiles: need to use windows.errors. 2018-01-22 16:06:04 -08:00
John Benediktsson 55030e7d11 biassocs: fix docs for set-at-once. 2018-01-22 13:23:23 -08:00
John Benediktsson cccdc09a71 ui: rename ui-windows to worlds. 2018-01-22 13:17:23 -08:00
Alexander Iljin d588a9dd3a windows.dropfiles: add startup hook to reset initialization status 2018-01-22 13:09:41 -08:00
Alexander Iljin b9eb4d546f windows.dragdrop-listener: update copyright year to 2018 2018-01-22 13:09:41 -08:00
Alexander Iljin deefb43bd2 windows.dragdrop-listener: make it produce file-drop gestures 2018-01-22 13:09:41 -08:00
Alexander Iljin 2d546cde54 windows.dropfiles: fix hwnd-reject-files and world-reject-files 2018-01-22 13:09:41 -08:00
Alexander Iljin ddd3965f98 windows.dropfiles[-docs]: update copyright year to 2018 2018-01-22 13:09:41 -08:00
Alexander Iljin 1224353571 windows.dropfiles: remove an exception suppression
Instead of suppressing all exceptions make a specific check for the
function avalability.
2018-01-22 13:09:41 -08:00
Alexander Iljin 8a24d1b25a windows.dropfiles[-docs]: remove unnecessary symbol 2018-01-22 13:09:41 -08:00
Alexander Iljin d4a849b192 ui.tools-docs: add a pointer to the file-drop gesture docs 2018-01-22 13:09:41 -08:00
Alexander Iljin 2ad605b9c7 ui.tools.listener: support file-drop gesture
The array of dropped file names is pushed onto the listener's stack.
2018-01-22 13:09:41 -08:00
Alexander Iljin 12d55bd882 windows.dropfiles: add summary file 2018-01-22 13:09:41 -08:00
Alexander Iljin afdef8c90e windows.dropfiles[-docs]: implement the file-drop gesture 2018-01-22 13:09:41 -08:00
Alexander Iljin 29ef0dcc59 windows.dropfiles: move two words from windows.dragdrop-listener 2018-01-22 13:09:41 -08:00
Alexander Iljin a236b11dfd windows.dropfiles: new vocab 2018-01-22 13:09:41 -08:00
Alexander Iljin 4c24cc2603 ui.gestures[-docs]: add the file-drop gesture and the dropped-files symbol 2018-01-22 13:09:41 -08:00
Alexander Iljin e4a9c1efc5 windows.user32: add a couple of functions and related constants
ChangeWindowMessageFilter is available since Vista.
ChangeWindowMessageFilterEx is available since Win7.
2018-01-22 13:09:41 -08:00
Alexander Iljin 751f88d9ec windows.shell32: remove duplicate HDROP type definition 2018-01-22 13:09:41 -08:00
Alexander Iljin 8acdd142cf windows.shell32: add some file drag-drop functions 2018-01-22 13:09:41 -08:00
Alexander Iljin 42fc4340ab windows.messages: add WM_COPYGLOBALDATA constant 2018-01-22 13:09:41 -08:00
Alexander Iljin 5690d4c25d windows.dragdrop-listener: call ole-initialize when necessary
This makes the code more robust and self-reliant.
2018-01-22 13:09:41 -08:00
John Benediktsson b43c652f68 biassocs: rename once-at to set-at-once. 2018-01-22 12:02:04 -08:00
John Benediktsson 2b31e95270 tools.scaffold: remove unused contains-dot?, contains-separator?. 2018-01-22 11:37:24 -08:00
John Benediktsson 7f23854b56 ui.operations: add docs for +secondary+. 2018-01-22 10:59:31 -08:00
John Benediktsson 603728b181 ui.tools.browser: adding back/forward to touchbar. 2018-01-22 10:46:50 -08:00
John Benediktsson f778422439 cpu.x86.assembler: fix article title to match other cpu.x86. 2018-01-22 10:46:39 -08:00
John Benediktsson 20534f06bb cpu.x86.features: fix article title to start with uppercase. 2018-01-22 10:18:20 -08:00
Alexander Iljin 083c73b232 windows.kernel32: add SetFileValidData function 2018-01-22 07:58:17 -08:00
Alexander Iljin cf5d0b349c ui.gadgets.editors-docs: fix a typo 2018-01-22 07:58:17 -08:00
Alexander Iljin d16cf66810 cpu.x86.features-docs: add some help on instruction-count 2018-01-22 07:58:17 -08:00
Alexander Iljin 5a627505ef ui.gesture-docs: amend propagate-gesture description 2018-01-22 07:58:17 -08:00
Alexander Iljin e07ba18839 ui: add find-windows to find multiple worlds matching a predicate 2018-01-22 07:58:17 -08:00
Alexander Iljin 183da87bf4 calendar.parser: simplify hms>duration 2018-01-22 07:58:17 -08:00
Alexander Iljin 261439fec6 random.windows: reduce verbosity of windows-crypto-context random-bytes* 2018-01-22 07:58:17 -08:00
John Benediktsson be20da972a concurrency.mailboxes: some cleanup and docs. 2018-01-22 07:51:43 -08:00
John Benediktsson 0133a674a4 concurrency.mailboxes: fix test now that get-all returns a vector. 2018-01-20 21:30:34 -08:00
John Benediktsson 0eb4fc2951 io.launcher.unix: cleanup find-process. 2018-01-20 13:33:16 -08:00
John Benediktsson cb89a14ed6 concurrency.mailboxes: use unless-disposed. 2018-01-20 12:23:32 -08:00
John Benediktsson f25d7313d6 concurrency.mailboxes: simplify mailbox-get-all-timeout. 2018-01-20 11:58:52 -08:00
Björn Lindqvist 3b78ec7b6f ui.render: small simplification 2018-01-20 18:10:06 +01:00
John Benediktsson f0fac14c14 system-info.macosx: adding High Sierra system-code-name. 2018-01-20 09:01:33 -08:00
John Benediktsson c68f0e0042 concurrency.distributed: use delete-at* instead of at/delete-at. 2018-01-20 08:18:36 -08:00
John Benediktsson 0ac73e1f11 concurrency.distributed: simplify a bit, mostly because...
... I'm not a fan of thd instead of thread, and it seemed (to me)
a little cleaner inlining assoc instead of using get/set words.
2018-01-20 08:16:25 -08:00
Alexander Iljin 392e57a0d5 concurrency.distributed: replace remote-thread connection slot with assoc
The new global assoc will match remote-thread instances with their
connection instances, if any. The slot removal will reduce the burden of
sending the remote-thread instances over the socket.
2018-01-20 08:12:38 -08:00
Alexander Iljin 5dec80711b concurrency.distributed: add myself to the vocab authors 2018-01-20 09:43:40 -06:00
Alexander Iljin 762268f2fe concurrency.distributed: implement with-connection combinator
This allows to send multiple messages over the same socket connection. The
old implementation used with-client, which sent a single message and then
closed the socket. The connection stream is stored in the new remote-thread
tuple slot named connection.
2018-01-20 09:43:40 -06:00
Alexander Iljin 72ed5bf73d concurrency.distributed: shorten stop-node implementation 2018-01-20 09:43:40 -06:00
John Benediktsson b40ba26bac basis/extra: removing '[ @ ] in favor of _ for fried quotations. 2018-01-19 23:40:23 -08:00
John Benediktsson dcb06f3cbd ui.backend.cocoa.views: use world get-global in touchbar-commands. 2018-01-19 15:39:52 -08:00
John Benediktsson 07e6e5e949 ui.gadgets.worlds: don't need world with-variable.
with-gl-context already does world set-global.
2018-01-19 15:09:27 -08:00
John Benediktsson c4d139ca9f porter-stemmer: use zip. 2018-01-19 12:13:58 -08:00
John Benediktsson d5b5706241 game.input.x11: use zip-as. 2018-01-19 12:13:35 -08:00
John Benediktsson 7bec9dcac7 windows.gdiplus: remove extra whitespace. 2018-01-19 09:22:39 -08:00
John Benediktsson 001ea5f6b4 ui.gadgets.worlds: revert back to 1 track-add. 2018-01-19 09:18:49 -08:00
John Benediktsson f33bf70ad6 ui.backend.cocoa.views: use queued-gesture for touchbar commands. 2018-01-18 22:20:27 -08:00
John Benediktsson b0ded020ea ui.gadgets.worlds: use constraints for single gadget in window. 2018-01-18 21:30:34 -08:00
John Benediktsson 1d751e7e12 ui.gadgets.worlds: world-attributes can specify fill and orientation. 2018-01-18 21:14:24 -08:00
Björn Lindqvist 09d3f243ef ui.backend.gtk: set the source priority to idle, fixes #1879 2018-01-18 23:25:30 +01:00
John Benediktsson d6fd4215d2 formatting: better error messages for unknown directives. 2018-01-18 08:54:06 -08:00
Björn Lindqvist f93da595f5 ui: undoing 9e9b70005b
The ui-thread variable absolutely is needed to ensure that only one UI
thread is running at the same time. If more than one UI thread runs,
they will be competing for events which causes all sorts of problems.
2018-01-18 17:30:51 +01:00
Björn Lindqvist 9f1935c7f1 ui.*: lets rename ui-running to with-ui-running
Because it is really annoying with global variables having the same name
as words.
2018-01-18 16:48:35 +01:00
Björn Lindqvist 78c31ada9e ui.*: doc updates 2018-01-18 16:48:35 +01:00
John Benediktsson 3147593b2c math.combinatorics: make selections use change-nth-unsafe again. 2018-01-17 14:17:44 -08:00
John Benediktsson 1beaa8f494 math.combinatorics: fix selections bug, geez. 2018-01-17 13:59:22 -08:00
John Benediktsson 9d35cd9048 math.combinatorics: fix selections bug that went missing before previous commit. 2018-01-17 13:55:05 -08:00
Björn Lindqvist 1c7c2a380c ui.gadgets.panes.tests: better than hardcoding values 2018-01-17 19:40:48 +01:00
John Benediktsson 3bf23d242d math.combinatorics: speed up selections word. 2018-01-17 10:36:12 -08:00
John Benediktsson 9a4441a80e math.combinatorics: remove memoize of factorial.
If lots of large factorials are computed could use too much memory.
2018-01-16 14:57:17 -08:00
Alexander Iljin 1c41499681 concurrency.messaging-docs: add a missing parenthesis 2018-01-16 13:40:14 -08:00
Alexander Iljin 737597fd5a concurrency.messaging-docs: add help for handle-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin d97a83889a concurrency.distributed-docs: add a note about send-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin 6bffbf4318 concurrency.distributed-docs: shorten some sample code 2018-01-16 13:40:14 -08:00
Alexander Iljin 620ab30ed7 concurrency.distributed-tests: add test for send-/reply-synchronous 2018-01-16 13:40:14 -08:00
Alexander Iljin a25bffeb01 concurrency.distributed-docs: fix an error in port number specification 2018-01-16 13:40:14 -08:00
Alexander Iljin f1e4095d50 concurrency.distributed-docs: update an example code 2018-01-16 13:40:14 -08:00
Alexander Iljin 5d5b794100 io.servers-docs: fix link formatting 2018-01-16 13:40:14 -08:00
Alexander Iljin 74de0033b2 io.directories-docs: remove an extra character 2018-01-16 13:40:14 -08:00
Alexander Iljin ef0bf15eb4 db[.tuples|.types]-docs: replace "a SQL" with "an SQL" 2018-01-16 13:40:14 -08:00
Alexander Iljin 49665c546f db-docs: add a missing space 2018-01-16 13:40:14 -08:00
Alexander Iljin c9f5757dcd db-docs: fix the documentation for query-each and query-map 2018-01-16 13:40:14 -08:00
John Benediktsson fb9c3920ae ui.tools: enable touchbar commands. 2018-01-01 16:00:19 -08:00
John Benediktsson d2162da88e ui.backend.cocoa.views: allow up to 8 touchbar buttons. 2018-01-01 16:00:19 -08:00
John Benediktsson 07f4d19947 cocoa.touchbar: use arrays of strings instead of enums. 2018-01-01 16:00:19 -08:00
Doug Coleman 6ddeeac3dc tools.ps.windows: If we can't read the process command-line args, just
ignore the error.

Fixes #1788.
2017-12-30 20:30:28 +00:00
Doug Coleman 97a928a1bd images.loader.gtk: Add with-destructors. Fixes #1893.
Also did this on imac: cd /usr/local/lib && ln -s /opt/local/lib/libgobject-2.0.dylib .
2017-12-29 15:25:16 -06:00
Doug Coleman 6ab59c4446 present: add callable and pointer defs. 2017-12-28 17:56:50 -08:00
Doug Coleman 9dbfc9351c math.functions: nan: -> NAN: oops 2017-12-28 00:43:51 -08:00
Doug Coleman 099549940a math.functions: disable a test. 2017-12-27 22:28:20 -08:00
Doug Coleman c6f2cbdeaf glib.ffi: look for glib-2.0.dylib not glib-2.0.0.dylib 2017-12-18 17:02:06 -06:00
Doug Coleman 45766ff4e9 tools.deploy: cheat on file sizes. 2017-12-17 21:44:57 -06:00
Doug Coleman f6f15b9c82 io.socketes.secure: Use TLS 1.0 or TLS 1.2 certs.
Fixes #1887.
2017-12-17 20:02:29 -06:00
Doug Coleman db9073d98d openssl: Add TLS 1.0 test certs back for macOS 10.11.6.
Fixes #1887.
2017-12-17 20:01:27 -06:00
Doug Coleman 7d8fe2b54c io.sockets.secure.unix: Stop these tests from hanging on errors.
Specifically, the server writes its port to a mailbox. On Mac 10.11.6, the last macOS for my old computers, TLS1.0 is the last supported SSL protocol, and there is a yet-undebugged error. This patch at least exposes the error for debugging.
2017-12-17 18:49:52 -06:00
Doug Coleman 02a9bbefe7 concurrency.messaging: Fix a couple of confusing typos. 2017-12-17 18:49:30 -06:00
Doug Coleman 53951c4ade ui.gadgets.labeled: Fix a random failing unit test. 2017-12-09 04:02:11 -06:00
Doug Coleman 034337fd02 factor: latest -> master 2017-12-09 01:56:12 -06:00
Doug Coleman f96f6d787e bootstrap.image.upload: Downloads moved. 2017-12-09 00:25:17 -06:00
John Benediktsson c95a565619 ui.render: fix ghosting in gpu.demos.raytrace. fixes #1881. 2017-11-20 15:02:39 -08:00
Jon Harper 2a2aa7f915 ui.backend.x11, implement (fullscreen?) 2017-11-19 13:24:40 -08:00
John Benediktsson d2f3977768 ui.backend.cocoa.views: remove listener touchbar support (temporarily).
... it breaks deploys of other UI apps that aren't the listener.
2017-10-29 15:38:20 -07:00
John Benediktsson da0ca21fc8 ui.traverse: cleanup tests a little. 2017-10-25 19:00:47 -07:00
John Benediktsson e06b1d7ded ui.traverse: some cleanup, use locals to understand logic better. 2017-10-25 18:06:47 -07:00
John Benediktsson c22e55ce48 ui.gadgets.slots: move to ui.tools.inspector.slots. 2017-10-25 16:17:08 -07:00
John Benediktsson b90f37b13e ui.tools.common: only save tool-dim when not fullscreen. 2017-10-25 16:16:53 -07:00
John Benediktsson c2c879c999 ui.gadgets: remove dependence on ui.tools.common. 2017-10-25 15:56:40 -07:00
John Benediktsson 59af2ae3d7 ui.gadgets.slots: use with-lines like other tools. 2017-10-25 15:48:20 -07:00
John Benediktsson e376724aa8 ui.gadgets.search-tables: remove slot-protocol.
... too much complexity for not enough gain, I think.
2017-10-25 15:41:23 -07:00
John Benediktsson d1f5282c6d ui.gadgets.labeled: cleanup labeled-gadget words. 2017-10-25 15:00:22 -07:00
John Benediktsson b28bb90167 docs: fix models-range article link. 2017-10-25 14:59:57 -07:00
John Benediktsson 5b4339e429 ui: use (poorly named) white-interior theme word in a few places. 2017-10-25 13:57:35 -07:00
John Benediktsson 10d5d471fe tools.errors.model: remove in favor of ui.tools.error-list. 2017-10-25 12:42:33 -07:00
John Benediktsson af254f7f0f models: change some article names. 2017-10-25 12:10:51 -07:00
John Benediktsson 1a38a6f63a calendar.model: delete in favor of inline timers in lcd vocab. 2017-10-25 11:53:37 -07:00
John Benediktsson 88eff49c13 docs: cleanup some article titles that can be strings. 2017-10-25 11:11:44 -07:00
John Benediktsson 013adec055 source-files.errors: rename <definition-error> to new-source-file-error. 2017-10-25 10:45:46 -07:00
John Benediktsson 37794a326c sequences: rename setup-each to (each).
...to match (each-from), (2each), and (3each), etc.
2017-10-24 17:22:55 -07:00
John Benediktsson 1a952a1fdc combinators.smart: using each-from. 2017-10-24 17:05:23 -07:00
John Benediktsson aa5623eede math: using ``v.`` instead of ``v* sum`` in a few places. 2017-10-24 12:26:39 -07:00
John Benediktsson c3354c3167 ui.tools.deploy: cleanup using. 2017-10-24 11:32:35 -07:00
John Benediktsson 0b47618cb7 ui.gadgets.search-tables: change search-tables to use default-text. 2017-10-24 10:05:23 -07:00
John Benediktsson 02d6c8df1f ui.gadgets.editors: allow all editors to have default text. 2017-10-24 10:05:09 -07:00
John Benediktsson c6953d5d62 help.markup: simpler $url. 2017-10-23 16:55:41 -07:00
John Benediktsson 1006b4afc4 help.markup: allow $url to have display text that's not just the url. 2017-10-23 16:44:59 -07:00
Pi 4cb04165db use lists vocab in factor handbook 2017-10-23 16:33:36 -07:00
John Benediktsson 021e595c58 ui.tools.listener: change to just reset line-height so it can be recomputed lazily when needed. 2017-10-16 11:24:40 -07:00
Alexander Iljin 6de6cb687f ui.tools.listener: update interactor's line-height in set-listener-font 2017-10-16 10:28:10 -07:00
John Benediktsson dc001f9a34 ui.pixel-formats: apply @jonenst's patch for #1859. 2017-10-09 10:01:41 -07:00
Alexander Iljin 9cdb209d01 ui.backend.windows: explicate quotation parameters in add-wm-handler 2017-10-09 09:58:07 -07:00
Alexander Iljin d1d3a33617 windows.user32: add some of the power setting notifications API 2017-10-09 09:58:07 -07:00
Alexander Iljin 6c04569536 windows.ole32: add LPCGUID type 2017-10-09 09:58:07 -07:00
Doug Coleman b8a0feea5c Revert "openssl.libssl: The SSL struct has grown a lot."
This reverts commit af7a248131.

Crashes on Linux?

We should fix the SSL struct in another patch soon.
2017-09-24 23:17:35 -05:00
Doug Coleman af7a248131 openssl.libssl: The SSL struct has grown a lot.
Maybe this is related to #1860.
2017-09-24 23:10:44 -05:00
John Benediktsson 705e7018c8 random: minor doc improvement with $snippet. 2017-09-11 15:47:39 -07:00
Robert Vollmert 8ab4e94475 random-bytes: fix docs, aligning with random-bytes* 2017-09-11 15:44:36 -07:00
Alexander Iljin 504c9959a1 Update some copyright headers to follow the current convention
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman 7b150204b1 windows.kernel32: Don't use /* */ 2017-09-08 23:42:56 -05:00
Doug Coleman fc14a13335 windows.dragdrop-listener: Remove unfinished autogenerated docs.
To regenerate docs do ``"windows.dragdrop-listener" scaffold-undocumented`` and also run ``"windows.dragdrop-listener" help-lint``
2017-09-06 21:39:46 -05:00
Doug Coleman 8c4a7c0402 windows.dragdrop-listener: Fix an error when calling
``windows.dragdrop-listener" load``
2017-09-06 19:05:29 -05:00
Doug Coleman cfed04a373 windows.dragdrop-listener: Fix compilation bug. 2017-09-02 02:00:25 +00:00
Doug Coleman 6c965dbe21 game.input: This test fails on Windows machines without mice. Disable
for now
2017-09-01 09:19:24 -05:00
Doug Coleman 9a2af5a312 windows: Fix some drag and drop apis.
Attempting to define IDropTarget::QueryInterface-callback-1 outside of a compilation unit
Re-definition of LPD3DXPRTCOMPBUFFER
2017-08-31 23:24:12 -05:00
Doug Coleman 081b642dee bootstrap.image.upload: Upload images per-branch. 2017-08-31 21:06:17 -05:00
Alexander Iljin c457c019bb stack-checker.backend-docs: fix help on ensure-d (issue #1854) 2017-08-27 13:06:14 +03:00
Alexander Iljin 5cc7023f16 io.crlf-docs: mark related words 2017-08-25 11:57:41 -07:00
Doug Coleman f8ce34b1db functors: C: no longer needs a stack effect. 2017-08-20 11:36:56 -05:00
Doug Coleman 8675e51489 opengl.gl: Try libGL.so.1 before libGL.so
This patch makes it prefer nvidia/amd drivers on Debian and hopefully other systems.
Related to #1827.
2017-08-17 21:38:33 -05:00
Alexander Iljin 7a554e302f windows.dragdrop-listener: add a short documentation and a summary 2017-08-18 02:21:57 +03:00
Alexander Iljin 94b67b52a8 windows.dragdrop-listener: add copyright comments and the authors file 2017-08-18 02:21:56 +03:00
Alexander Iljin 52b6cee8e4 windows.dragdrop-listener: optimize the DragEnter implementation 2017-08-18 02:21:55 +03:00
Alexander Iljin db24910497 windows.dragdrop-listener: generalize some code for reuse 2017-08-18 02:21:55 +03:00
Alexander Iljin 75f5f08810 windows.dragdrop-listener: fix filenames-from-hdrop implementation 2017-08-18 02:21:54 +03:00
Alexander Iljin cc5333694a windows.dragdrop-listener: add a helper word 2017-08-18 02:21:54 +03:00
Alexander Iljin 5c0ca7c41b windows.dragdrop-listener: list all function parameters in the comments 2017-08-18 02:21:53 +03:00
Alexander Iljin e1bd46faee windows.dragdrop-listener: balance the stack effects to pass compilation 2017-08-18 02:21:53 +03:00
Alexander Iljin aa3d2ae5c4 windows.dragdrop-listener: fix a COM interface reference 2017-08-18 02:21:52 +03:00
Alexander Iljin bd10484dc1 windows.dragdrop-listener: fix compilation of dragdrop-listener-window
The actual code needs to be updated to work with the current UI.
2017-08-18 02:21:52 +03:00
Alexander Iljin 111d73a901 windows.dragdrop-listener: replace construct-boa with boa 2017-08-18 02:21:51 +03:00
Alexander Iljin d6c7a7437f windows.dragdrop-listener: fix the USING: list 2017-08-18 02:21:51 +03:00
Alexander Iljin d91d820e70 windows.dragdrop-listener: replace set-ulong-nth with set-alien-unsigned-4 2017-08-18 02:21:50 +03:00
Alexander Iljin 5f87b1d577 windows.dragdrop-listener: move from unmaintained to basis 2017-08-18 02:20:31 +03:00
Doug Coleman ed62640f83 Revert "ui.backend.cocoa.views: call super.prepareOpenGL()."
This reverts commit 864912f446.

This patch breaks the UI on 10.13
2017-08-08 15:29:59 -05:00
Doug Coleman c469bfaf0c ui.backend.cocoa.tools: install-app-delegate is a confusing word name to
reuse.
2017-08-06 17:48:03 -05:00
Doug Coleman 2920d2ee71 factor: Rename [curry] -> currier, remove some [foo] words.
The [foo] convention is not descriptive and looks like special syntax.
2017-08-06 00:20:35 -05:00
Doug Coleman fad9e9d002 peg.ebnf: Add EBNF-PARSER: to define a word that returns an EBNF parser
This is in contrast to defining a word that parser.
2017-08-06 00:17:25 -05:00
Doug Coleman 8a6094229d cocoa.apple-script: Make APPLESCRIPT: take a string. 2017-08-05 22:33:47 -05:00
Doug Coleman 15b13870ae peg.ebnf: Clean up EBNF: syntax.
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ...  EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.

<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Doug Coleman de1cdfec52 windows.directx: Fix some TYPEDEF: lines that end in a semicolon. 2017-08-05 20:57:42 -05:00
Doug Coleman 7d47def4c9 cocoa: CLASS: ; -> <CLASS: ;CLASS>
<CLASS: is a container like <PRIVATE and <FUNCTOR:
2017-08-05 20:54:02 -05:00
Doug Coleman 27b3c4cccf functors: FUNCTOR: ;FUNCTOR -> <FUNCTOR: ;FUNCTOR>
Functors contain nested definitions, much like <PRIVATE PRIVATE> blocks.
A new parser will be able to parse nested definitions unambigiously without
knowledge of the definition of <FUNCTOR: itself, which is not the case if
it looks like FUNCTOR: instead.
2017-08-05 20:41:19 -05:00
Doug Coleman b92a3e109d io: Add with-ensure-directory and ?file-info. 2017-08-03 18:42:32 -05:00
Alexander Iljin a515af7d68 checksums.ripemd-docs: fix some typos. 2017-07-29 08:54:53 -07:00
John Benediktsson 154de53470 tools.test: less duplication in unit-test~/v~. 2017-07-25 11:31:30 -07:00
John Benediktsson 47b45ccad3 tools.test: better errors when unit-test-~/v~ fail. 2017-07-25 11:26:50 -07:00
Doug Coleman 0ac181c797 tools.test: Fix unit-test~ and a couple of tests. 2017-07-23 11:50:52 -05:00
Doug Coleman 49b01011c7 math.vectors.simd.intrinsics: Add a comment so I am not tempted to delete this word. 2017-07-23 11:44:01 -05:00
Doug Coleman 62129ffea4 basis: Add unit-test~ and unit-test-v~ for testing floats.
Use unit-test~ in math.functions in some places to make sure we like it.
2017-07-22 18:47:59 -05:00
Jon Harper 9adddfc5e5 checksums: add ripemd-160 (based on the md5 implementation) 2017-07-16 17:32:01 +02:00
Björn Lindqvist 9103d1546f basis/: more docs 2017-07-09 15:08:49 +02:00
Jon Harper e470a5bb28 formatting, workaround bug for "%.0e" and "%.0f" on windows
On windows, the underlying formatting implementation
uses a precison of 6 when asked to do a precision of 0.
Improve the post-processing so that it doesn't fully break
the formatted number. The previous implementation would change
"1.00000" to "10000", and 1.00000e0 to 10000e0...

With this, windows has a different formatting for "%.0f" and "%.0e"
but at least it's the right number
2017-07-08 18:40:08 +02:00
Jon Harper 7c2e964fc9 formatting: fix exception when formatting the integer 0 using "%e" 2017-07-08 18:39:56 +02:00
Björn Lindqvist 8675cb2c25 basis/,core/,extra/: more tags 2017-07-08 18:31:39 +02:00
Björn Lindqvist ba9a1ca5ef basic/, extra/: even more tags 2017-07-07 01:45:13 +02:00
Björn Lindqvist 1ca8276df4 basis/,core/,extra/: many new tags 2017-07-06 23:04:18 +02:00
John Benediktsson d78972e045 hash-sets/hashtables: remove wrapped-key, use slot-types for errors. 2017-07-06 11:25:11 -07:00
John Benediktsson 1eff2b3dbc hashtables/hash-sets: add some error checking...
...to the sequence/number wrapped versions.
2017-07-05 18:41:45 -07:00
John Benediktsson 46d4b33349 sorting.slots: make sort-keys-by and sort-values-by support hashtables. 2017-07-05 16:46:06 -07:00
John Benediktsson 94e285e6de vocabs.metadata: remove filter-don't-test (inline it instead). 2017-07-05 09:41:05 -07:00
Björn Lindqvist 178701f117 compiler.crossref: stray char broke bootstrap, sorry 2017-07-05 11:56:03 +02:00
Björn Lindqvist f8e34c7392 vocabs.metadata: removing words not used anymore 2017-07-05 01:50:39 +02:00
Björn Lindqvist 72807720f2 basis/,extra/: lots of new tags.txt files 2017-07-05 01:50:39 +02:00
Björn Lindqvist 5903f8f6b6 openssl.test: updating cert for openssl 1.1 (#1843)
The password is "password" as it was
2017-07-05 01:50:39 +02:00
Björn Lindqvist aab79a655c compiler.*: more docs 2017-07-05 00:51:26 +02:00
Doug Coleman 6cfa87a379 alien.endian: Add a couple more types. This vocab needs better
compatibility with c-types.
2017-07-03 19:15:22 -07:00
Doug Coleman 01aab7c884 Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s 2017-07-03 12:47:19 -07:00
Björn Lindqvist e9764621c9 io.standard-paths.unix: ofc /bin/ps should be included... 2017-07-03 00:56:55 +02:00
Björn Lindqvist 6f1f4e5968 io.standard-paths.unix: ifconfig isnt installed everywhere, but ps is 2017-07-02 17:17:46 +02:00
Björn Lindqvist 5156d250b9 checksums,openssl.libcrypto: make it work with openssl 1.1 2017-07-01 22:19:42 +02:00
Björn Lindqvist 97cf96b668 openssl: docs 2017-07-01 13:50:29 +02:00
Björn Lindqvist 2a5f5ca6b9 openssl.*,io.sockets.*: support for openssl 1.1
In the new version, a lot of c function names have changed. So a new
global ssl-new-api? is needed to know if the new or old names should be
used.
2017-07-01 13:41:22 +02:00
Björn Lindqvist 8b6ae235ab openssl.*: adding functions that are different in libbsl 1.1.x 2017-07-01 09:25:09 +02:00
Björn Lindqvist 522eb559e4 ui.tools: setting the initial tool dim as a multiple of the default font 2017-06-30 22:47:11 +02:00
Björn Lindqvist 7a9817aeb6 formatting.tests: conditioning some tests to pass on windows 2017-06-28 11:18:40 +02:00
Björn Lindqvist 3aac5a6591 ui: more docs and tests 2017-06-27 23:47:35 +02:00
Björn Lindqvist 9e9b70005b ui: the ui-thread variable isn't needed 2017-06-27 23:47:35 +02:00
Björn Lindqvist fe41e99437 ui: better handling of cascading errors
The second update-ui is wrapped in a recover so that if it fails
again, the UI system is stopped. That should fix the cascade problem
in #1827.
2017-06-27 23:47:35 +02:00
Björn Lindqvist 21500f2b2f help: fix to make the orphan articles index page render in fuel-help 2017-06-26 15:57:58 +02:00
Björn Lindqvist 0d8338ceb8 io.sockets.secure.openssl,openssl.libssl: ENUM: over syntax
The enum does the same thing as the custom syntax did and is a little
easier to understand.
2017-06-24 16:46:00 +02:00
Björn Lindqvist f2a8a79a1a basis/,extra/: removing some unnecessary EXCLUDE declarations 2017-06-24 16:38:34 +02:00
Björn Lindqvist 3f818637cd tools.trace: we can surely hardcode the excluded vocab list 2017-06-24 00:14:52 +02:00
Alexander Iljin c53895e03d pixel-format-docs: add a missing space 2017-06-21 12:36:39 +03:00
Alexander Iljin df576aa6c3 models-docs: update documentation 2017-06-21 12:36:38 +03:00
Alexander Iljin 5cc07a1c5f ui.gadgets.panes-docs: add a missing parenthesis 2017-06-21 12:36:32 +03:00
Alexander Iljin 24a071d6e6 ui.gadgets-docs: fix wording 2017-06-21 12:35:37 +03:00
John Benediktsson 3bd0776630 ui.gadgets.line-support: even though 1/.0 parses, change to 1/0. 2017-06-12 07:28:33 -07:00
John Benediktsson 7202cf0fb4 prettyprint: make sure float number-base is tested. 2017-06-11 13:45:22 -07:00
John Benediktsson 7b65b5193f prettyprint: remove tests for float .b and .o. 2017-06-11 13:43:02 -07:00
John Benediktsson bf6300b7b0 prettyprint: fix .b, .o, and .h for negative numbers.
Also makes these useful for nested printing in different number bases.
2017-06-11 10:57:01 -07:00
John Benediktsson 634df46db9 prettyprint.backend: allow octal and binary float printing. 2017-06-11 10:54:13 -07:00
John Benediktsson 3018010f67 prettyprint.sections: don't create empty strings with zero indent. 2017-06-11 10:53:55 -07:00
John Benediktsson e8cef24486 ui.tools.inspector: improve performance for large arrays and hashtables.
Using trick suggested by @AlexIljin, we compute the longest key and then
set the column widths to be { length-of-longest-key 0 }.
2017-06-11 08:59:45 -07:00
John Benediktsson 0fddbc2af1 formatting: revert change to %d, %o, %b, %x for now.
We should have a format character in the future to format using our Factor
binary, octal, and hex parser.  Maybe using the "alternate form" format
character like Python does? And if we do that, maybe print the 0b, 0o, 0x
prefixes? TBD.
2017-06-10 13:33:01 -07:00
John Benediktsson c503659a93 math.functions: fix another test impacted by float truncate change. 2017-06-10 13:33:01 -07:00
Doug Coleman 67c44bcf62 base64: Fix base64 for strings that don't end in equal signs.
Some uses of base64 in the wild do not have trailing ==, such as JWT (JSON Web Token) strings.
2017-06-08 21:03:40 -05:00
John Benediktsson 57de1f5ab0 math.functions: make -0.3 truncate return 0.0 instead of -0.0. 2017-06-08 11:27:48 -07:00
Jon Harper 1dceb069ad formatting: fix bug when using %e and the number rounds up in magnitude
99/10 0 format-scientific-simple was outputting 1.0e0 because
the mantissa was rounded up, so it had one extra character, and
the exponent was wrong.
2017-06-08 11:23:38 -07:00
Jon Harper 4df21818f5 formatting: change %.0f and %.0e to remove the radix character. It's more standard. 2017-06-08 11:23:38 -07:00
Jon Harper 756184607b formatting: make these tests actually test the expected code path 2017-06-08 11:23:38 -07:00
Jon Harper 552791d1cf formatting: don't force the presence of ".0" for %f and %e when precision is 0
It's misleading because you can think you have more precision than you really
do when looking at the output. So instead of "1.0", we can format it as "1" or
"1.".  And instead of "1.0e+00" we can format "1e+00" or "1.e+00".  In C,
printf does not print the radix character, it's prettier. But since the factor
parser accepts both styles, and keeping the radix character gives a stronger sense
that the number is approximate, I prefer to keep the radix character..
2017-06-08 11:23:38 -07:00
Jon Harper 762b22e1a8 formatting-docs, document ' ' as an alternative to '+' for positive numbers sign prefixing 2017-06-08 11:23:38 -07:00
Jon Harper 6061da92be formatting, allow uppercase exponent for bin floats in base 2 and 8 2017-06-08 11:23:37 -07:00
Jon Harper ccbb8116fc formatting, make %d, %o, %b work for ratios and floats 2017-06-08 11:23:37 -07:00
Jon Harper 438e22fceb formatting, fix %f and %e for ratios and integers 2017-06-08 11:23:37 -07:00
Jon Harper e1df9df735 formatting: fix missing '+' for %+e with negative exponent 2017-06-08 11:23:37 -07:00
Jon Harper 80e9d7c115 move math.extras:round-to-even to math.functions to use in basis:formatting
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
2017-06-08 11:23:37 -07:00
Jon Harper bf852cea6a add basis.math.functions.integer-logs: exact integer logarithms 2017-06-08 11:22:40 -07:00
Jon Harper 34f36a529e math.functions, speed up truncate for floats 2017-06-08 11:22:40 -07:00
Jon Harper c74cfe6c54 math.functions: fix truncate and round to output -0.0 for negative floats near 0 2017-06-08 11:22:40 -07:00
Jon Harper 271c7d9519 math.functions, fix round for ratios between -1/2 and -1
it was outputting 1 instead of -1
2017-06-08 11:22:40 -07:00
Alexander Iljin acf14a7bd1 io.directories.windows: add size slot to windows-directory-entry tuple 2017-06-05 16:47:01 -07:00
Alexander Iljin 6d355c998b help.lint.spaces: new vocab 2017-06-05 13:16:07 -07:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Robert Vollmert 445b55b3e5 test runner: non-zero exit code in case of failed tests
This makes it easier to detect unit test failures from the
command line.
2017-06-05 13:13:09 -07:00
Doug Coleman 9e76899dbd tools.test: Make the flag public. Finish porting tester changes to fuzzer. 2017-06-04 14:47:35 -05:00
Doug Coleman 50fbf0457a tools.deploy: Change unit-test to long-unit-test for deploy tests.
long-unit-tests are enabled by default.
2017-06-04 12:55:58 -05:00
Doug Coleman be1175b3c5 tools.test: Add long-unit-test and refactor a bit. 2017-06-04 12:55:52 -05:00
Doug Coleman 72eaa9d466 compiler.tree.propagation.call-effect: I deleted an important method on compose on accident. 2017-06-02 23:31:35 -05:00
Doug Coleman 7a703658f1 sequences: Remove start for real in favor of subseq-start.
Update a usage of start that was masked by the ALIAS:

Compatibility/migration is a .99 feature.
2017-06-02 17:41:10 -05:00
Doug Coleman 48344ab55c factor: last iota -> <iota> fix. 2017-06-02 17:39:40 -05:00
Doug Coleman 32710df620 core/basis: Rename tuples kernel:curry -> curried, kernel:compose -> composed.
Also rename the stack-checker curried -> curried-effect, composed -> composed-effect.
2017-06-02 17:39:20 -05:00
Doug Coleman 195630f637 iota: Fix second iota -> <iota> in line several times. 2017-06-02 15:41:51 -05:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Doug Coleman 0ca1b4656f ui.backend.cocoa.views: Use ?-> to avoid objc lookup errors if backingScaleFactor selector does not exist. 2017-06-01 16:53:10 -05:00
Doug Coleman d838f95370 cocoa: Allow ?-> syntax for methods that might not exist.
If a method doesn't exist we need to provide a signature so the stack is balanced. This should also allow deploying from macOS versions that do not contain methods to ones that do. This is an alternative to asking a class if it provides a selector.
2017-06-01 16:53:05 -05:00
Doug Coleman 42a7a8e572 compiler: Rename start -> start-compilation, finish -> finish-compilation.
These start/finish are cute names, but ``finish`` is pretty vague even in the same file in the ``deoptimize-with`` word.
2017-06-01 14:51:18 -05:00
Doug Coleman c5b563ed09 factor: Rename start -> subseq-start, start* -> subseq-start-from.
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
Doug Coleman 5aa89e6251 factor: Add newlines to every line. 2017-06-01 13:46:32 -05:00
Doug Coleman df189eada5 io.files.info.windows: Fix using list.
We are using fry twice and it shows up in bootstrap.
2017-05-31 18:40:08 -05:00
Doug Coleman dd22d6efa4 cocoa.touchbar: Add platforms file. 2017-05-30 18:14:39 -05:00
Doug Coleman a632337ba2 cocoa: Add basic support for TouchBar. 2017-05-30 15:33:48 -05:00
Doug Coleman 75d6395849 multiline: Add [[ as string/comment parsers. 2017-05-30 12:04:35 -05:00
Doug Coleman f3ed43dc74 cocoa: Import more classes for TouchBar support. 2017-05-29 12:36:35 -05:00
John Benediktsson 55d5577961 tools.test: fix fake unit test to notify observers after clearing test failures. 2017-05-29 08:42:32 -07:00
John Benediktsson 68e7a69572 cocoa.dialogs: simple fix for split-path errors with empty string input. 2017-05-29 08:27:58 -07:00
nicolas-p c1d33065ad editors: added pref-dim* for action-editor 2017-05-29 08:08:21 -07:00
Alexander Iljin 646f14f249 ui-docs: mark an optional output parameter with the "/f" suffix 2017-05-26 14:39:33 +03:00
Alexander Iljin 632961798f alien.data-docs: add a missing space between sentences 2017-05-26 14:39:25 +03:00
Alexander Iljin 72e6699279 ui.tools.listener-docs: wrap a hotkey in the $snippet tag 2017-05-14 20:04:39 -07:00
John Benediktsson ca51f43b3f locals: modify examples to use new "--- Data stack:" output. 2017-05-05 08:41:52 -07:00
John Benediktsson b1c0a1be33 help.lint.checks: improve check-example to print the stack (if any).
Any output from the example will be preserved like it currently is,
and any objects on the stack will be printed the same way they are
in the listener prefixed by ``--- Data stack:``.
2017-05-05 08:40:47 -07:00
John Benediktsson 4982bcce27 binary-search: improve example for search.
(But use prettyprint, the help.lint.checks patch wasn't ready)
2017-05-03 18:23:05 -07:00
John Benediktsson 7f38fd5ae9 Revert "binary-search: improve example for search."
This reverts commit aac6780285.
2017-05-03 18:21:31 -07:00
John Benediktsson e1b7d5db1f Revert "help.lint.checks: prettyprints the examples stack automatically."
This reverts commit 1f4bcc2d56.
2017-05-03 18:21:25 -07:00
John Benediktsson aac6780285 binary-search: improve example for search. 2017-05-03 18:16:38 -07:00
John Benediktsson 1f4bcc2d56 help.lint.checks: prettyprints the examples stack automatically.
This allows us to not have to "USE: prettyprint" and "." in the examples.
Much cleaner this way!
2017-05-03 18:15:36 -07:00
John Benediktsson 0fd663e25d editors.emacs: add an emacsclient-args on request. 2017-05-03 18:14:28 -07:00
Alexander Iljin e44104c8d2 calendar.format: restore the deleted duration>hm
It was replaced with duration>hms, but the version without the seconds is
also useful.
2017-04-25 15:38:51 -04:00
Alexander Iljin 6819db7e8f tools.test-docs: fix the order of parameters for must-fail-with 2017-04-07 19:01:38 +03:00
Alexander Iljin a6caeb6e80 math.functions-docs: update description of e^ 2017-04-07 19:01:33 +03:00
Alexander Iljin c6208e4677 math.functions[-docs]: rename the output parameters of the power functions 2017-04-07 19:01:24 +03:00
John Benediktsson cdf0dbd038 io.standard-paths.unix: use $USER's configured shell.
Hope that '-l -c "echo $PATH"' works.
2017-03-21 16:05:23 -07:00
Alexander Iljin bad5408c76 *-docs: fix a typo in the word parametErized 2017-03-17 08:22:18 -07:00
nicolas-p 20a663ab0b ui.gadgets.buttons: workaround for windows gradient bug 2017-03-14 17:26:19 -07:00
John Benediktsson d60970c0a5 io.standard-paths.windows: fix find-in-program-files.
Remove stale bfs? flag.
2017-03-05 19:17:14 -08:00
John Benediktsson 2ede9f09be io.standard-paths.windows: fix to use find-file-in-directories. 2017-03-05 15:58:59 -08:00
John Benediktsson 495d27a502 io.directories.search: fix linux tests.
Linux doesn't return alphabetic ordering like Windows and macOS, so
we just assert the paths are iterated in the correct order by depth.
2017-03-05 15:56:28 -08:00
John Benediktsson 8b455d2306 tools.deploy.shaker: support "stop-after-last-window?".
This only works on macOS right now, but since most every deploy.factor
has it set, we should read it and use it.
2017-03-05 15:13:24 -08:00
John Benediktsson 96a0c30baf ui.backend: adding ui-stop-after-last-window?.
This defaults to true, except for the "ui.tools".  Also, this only
works on macOS right now.  Linux and Windows always stop after the
last window closes.
2017-03-05 14:51:33 -08:00
John Benediktsson 79983feed7 inverse: simplify, a little cleanup. 2017-03-05 13:32:34 -08:00
John Benediktsson 368e1c8e47 io.directories.search: simplify interface.
Now we use a ``traversal-method`` variable that controls whether
we do a depth-first or breadth-first search rather than a stack
argument or a fixed default specified in each word.

This also fixes an issue where breadth-first traversal would
iterate across children in reverse order, now it does the normal
ordering which is typically alphabetical.
2017-03-05 09:16:00 -08:00
John Benediktsson 92bddad476 linked-assocs.prettyprint: only print LH{ } for linked-assoc classes.
Not subclasses.
2017-03-02 16:09:46 -08:00
nicolas-p 55834faba7 slots: added margins 2017-02-14 13:49:30 -08:00
Alexander Iljin 9ab0e5d6f8 checksums.sha1-docs: fix wording 2017-02-14 23:02:43 +03:00
Alexander Iljin 226d8a2397 ui.baseline-alignment-docs: replace $snippet with $slot 2017-02-14 23:02:36 +03:00
Alexander Iljin 3503bf86e2 ui.render-docs: replace $snippet with $slot 2017-02-14 23:02:29 +03:00
John Benediktsson e826546c6d cocoa.messages: simplify (objc-class). 2017-02-11 20:58:25 -08:00
John Benediktsson 52932cf2e1 delegate.protocols: adding deque-protocol. 2017-02-11 14:23:57 -08:00
John Benediktsson 3a6eefcc8e using ignore-errors instead of [ drop ] recover. 2017-02-09 15:50:33 -08:00
John Benediktsson 119ba84998 math.primes.safe: this looks nicer. 2017-02-08 11:32:34 -08:00
John Benediktsson a8b66764d5 compiler.utilities: move conjoin-at tests. 2017-02-08 11:16:00 -08:00
John Benediktsson b5dd40cc53 math.primes.factors: support command-line args like factor(1). 2017-02-08 11:14:24 -08:00
John Benediktsson 9d2e62f8e1 math.primes.safe: simplify. 2017-02-08 11:14:10 -08:00
John Benediktsson f4ccfa0f71 sets: moving unique/conjoin/conjoin-at to compiler.utilities. 2017-02-07 18:54:24 -08:00
John Benediktsson 92d7f6bc5a tools.deploy.shaker: change compiler-classes to return a set. 2017-02-07 15:30:50 -08:00
John Benediktsson 75ebd0eacd io.servers: using ?adjoin and ?delete in add/remove-running-server.
Also fixed a small bug in add-running-server where the error was
mistakenly constructed with running-servers instead of threaded-server.
2017-02-07 13:31:57 -08:00
John Benediktsson de48558d12 sets: adding ?delete that returns a boolean if elt was deleted from set. 2017-02-07 13:31:07 -08:00
John Benediktsson 0f1d08a372 using map-reduce instead of unclip reduce. 2017-02-07 12:16:12 -08:00
John Benediktsson 365a9203a8 alien.libraries.finder: use find instead of map-find. 2017-02-07 10:59:24 -08:00
John Benediktsson 210209ead2 io.files.temp.macosx: use find instead of map-find. 2017-02-07 10:57:37 -08:00
John Benediktsson b101f9d61b documents: split-lines is used by ui.gadgets.panes. 2017-02-06 16:06:00 -08:00
John Benediktsson 337d554c09 documents: simplify to use ``string-lines``. 2017-02-06 11:11:42 -08:00
John Benediktsson b517f06b91 colors: adding links to some of the other color implementations. 2017-02-06 10:48:06 -08:00
John Benediktsson 1bbaa340b4 colors.hsv: simplify by just calling the generic >hsva. 2017-02-06 10:30:42 -08:00
John Benediktsson f342fd04d9 simple-flat-file: rename flat-file>biassoc to load-codetable-file. 2017-02-03 11:47:28 -08:00
John Benediktsson efbc417728 simple-flat-file: link interval-map in docs. 2017-02-02 16:48:35 -08:00
John Benediktsson 3af10f3366 simple-flat-file: update docs for data change. 2017-02-02 16:45:56 -08:00
John Benediktsson 7e9cd45624 simple-flat-file: factor out drop-comment word. 2017-02-02 16:39:56 -08:00
John Benediktsson b93bc1ac5e simple-flat-file: rename ``data`` to ``load-data-file``. 2017-02-02 16:21:06 -08:00
John Benediktsson 88f661936e simple-flat-file: faster drop-comments. 2017-02-02 16:03:01 -08:00
John Benediktsson 665c6587a9 command-line: fix rename of nosignals to no-signals. 2017-02-02 15:46:13 -08:00
John Benediktsson 3f8c9e4150 wrap: faster (and simpler) wrapping algorithm. 2017-02-02 14:02:13 -08:00
John Benediktsson fe4093d67a command-line.startup: -help isn't going to be set. 2017-02-02 10:00:23 -08:00
John Benediktsson f7ce76aa4b wrap: remove line-ideal, we only ever use a max-width. 2017-02-01 20:30:57 -08:00
Björn Lindqvist 39811fc7e7 ui.*: using pixel-format-attributes>int-array in even more places
So now we don't need the PIXEL-FORMAT-ATTRIBUTE-TABLE: syntax anymore.
2017-01-30 06:17:37 +01:00
Björn Lindqvist 4756c30d3f ui.pixel-formats,ui.backend.*: new word pixel-format-attributes>int-array
This word replaces usages of the PIXEL-FORMAT-ATTRIBUTE-TABLE: syntax
2017-01-30 05:43:19 +01:00
Björn Lindqvist 1b1842f62d ui.pixel-formats,ui.backend.*: removing the (pixel-format-attribute) generic
It appears to be unused code.
2017-01-30 05:07:28 +01:00
John Benediktsson b93aa90486 roman: aesthetics. 2017-01-25 09:48:15 -08:00
John Benediktsson 85e6dc6369 alien.data: minor doc fix. 2017-01-24 21:43:40 -08:00
John Benediktsson 1829c73bb1 simple-flat-file: add back string interning. 2017-01-24 20:04:20 -08:00
John Benediktsson 1613bdfed2 pack: add test for M\ object >n-byte-array. 2017-01-24 17:52:35 -08:00
John Benediktsson 9c13aa4b4c pack: M\ string heap-size doesn't exist. 2017-01-24 16:11:33 -08:00
John Benediktsson 2e9dce0b97 promises: simplify LAXY:. 2017-01-24 16:06:17 -08:00
John Benediktsson dcc3bf64a6 simple-flat-file: simplify expand-ranges. 2017-01-24 14:50:44 -08:00
John Benediktsson 65e4c37a30 xml.data: use <vector> instead of V{ } new-sequence. 2017-01-24 14:48:09 -08:00
John Benediktsson f68502e9b5 circular: use <array> instead of { } new-sequence. 2017-01-24 14:47:58 -08:00
John Benediktsson 5f187bbd29 alien.libraries.finder.linux: make more robust to i18n. 2017-01-24 14:45:34 -08:00
John Benediktsson e6b8837f2f changer: moving to extra for now. 2017-01-23 10:40:55 -08:00
Jon Harper 14f51e2dd5 ui.backend.gtk, use a separate widget for drawing opengl. Fixes #1487
Apparently you can't use opengl calls in a configure event signaled from
the window. If you do, on ubuntu 14.04 with unity, each and every frame
will be drawn. Since they are drawn slower than the event are emitted,
it continues to redraw after the resize is done, 'replaying' the resize
motion.
opengl calls from a configure event on the single child of the
window are ok.
Also, now that the window is not used to draw opengl, it doesn't produce
expose events, instead the drawable child must be used.

This also makes moving the window much smoother.
2017-01-23 10:04:43 -08:00
John Benediktsson 134be588cf no need to clone empty byte-array. 2017-01-22 15:41:07 -08:00
John Benediktsson c5ec44cc2c xml: cleanup using. 2017-01-22 14:47:58 -08:00
John Benediktsson 33f2fbd099 oauth2: move set-query-params to urls. 2017-01-22 14:44:33 -08:00
John Benediktsson baaa06278c Revert "sequences: swap stack arguments for start/start*/subseq?."
This reverts commit 63b0593824.
2017-01-21 07:20:14 -08:00
John Benediktsson 9dbd70ddd3 Revert "html.templates.fhtml: fix start refactor typo."
This reverts commit d2c4079358.
2017-01-21 07:20:08 -08:00
John Benediktsson d2c4079358 html.templates.fhtml: fix start refactor typo. 2017-01-20 23:09:33 -08:00
John Benediktsson 63b0593824 sequences: swap stack arguments for start/start*/subseq?.
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
John Benediktsson 42ef8adec6 vm: change -nosignals to -no-signals. 2017-01-20 22:36:22 -08:00
John Benediktsson bfc1794091 command-line.startup: s/Common/Factor. 2017-01-20 21:02:52 -08:00
Alexander Iljin b5c71c4846 splitting.monotonic-docs: update documentation 2017-01-20 08:21:54 -08:00
John Benediktsson 0f9836e73c math.statistics: fix docs for harmonic-mean.
(needs to match prettyprint)
2017-01-20 08:20:41 -08:00
Björn Lindqvist 0701902122 math.statistics: fix calculation of the harmonic mean 2017-01-15 21:27:55 +01:00
Alexander Iljin 5fac469a8c tools.test-docs: add missing $syntax entries
Previously only the unit-test help had $syntax.
2017-01-13 13:31:42 +03:00
Alexander Iljin ee7ced2f37 binary-search-docs: supplement the search description 2017-01-13 13:31:34 +03:00
Alexander Iljin 3434008750 binary-search-docs: remove extra find-last from related-words 2017-01-13 13:31:30 +03:00
John Benediktsson 5743ed204c classes.struct: use unparse in tests. 2017-01-11 10:22:51 -08:00
John Benediktsson 8453582484 Revert "locals.parser: remove << >> from tests to see if it works now."
This reverts commit 7c24c671b0.
2017-01-08 18:10:32 -08:00
John Benediktsson 7c24c671b0 locals.parser: remove << >> from tests to see if it works now. 2017-01-08 14:52:55 -08:00
Björn Lindqvist 28801e8d5f threads: fix slot name: status -> state 2017-01-07 15:26:19 +01:00
Björn Lindqvist 7874f5a547 io.servers: refactored words for adding & removing servers 2017-01-07 15:26:19 +01:00
Benjamin Pollack 7184771c31 io.directories: improve file moving words
move-file previously had inconsistent behavior on Windows and unixes.
This unifies the behavior to the common case (just get 'er done), while
also introducing an obviously named word, move-file-atomically, to
handle the case where you need an atomic file primitive.

Fixes #1772
2017-01-06 15:43:34 -08:00
John Benediktsson dac41e1bf7 sequences.deep: adding deep-reject. 2017-01-06 14:09:14 -08:00
Björn Lindqvist 6b29a50cd4 calendar.parser: invalid date checking for the parsing words 2017-01-05 23:35:10 +01:00
Björn Lindqvist 4c097a396a calendar: value checking to make it hard to create invalid timestamps 2017-01-05 23:35:10 +01:00
John Benediktsson 48c69cb8ea use reject instead of [ ... not ] filter. 2017-01-05 13:29:58 -08:00
Alexander Iljin ca08bfd4b0 concurrency.distributed-docs: update the Example article 2017-01-05 12:48:50 -08:00
Alexander Iljin d5c555462b command-line-docs: fix wording 2017-01-05 12:48:50 -08:00
John Benediktsson 9836dd7734 html.templates.fhtml: fix example test. 2017-01-05 12:10:16 -08:00
Jon Harper 5af166b8f5 add DOCTYPE html in most places.
4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
Björn Lindqvist 97a57f4041 calendar.parser: fixing rfc822 so it doesn't break in trailing space 2017-01-05 12:38:05 +01:00
Björn Lindqvist b17590db24 calendar.*: replacing hms>timestamp and timestamp>hms with duration variants
hms>duration is better because a timestamp without a date is
invalid. This also makes it so the SQL TIME column maps to duration. Now
we can add some validation so that you aren't allowed to create invalid
timestamps.
2017-01-05 12:38:05 +01:00
Björn Lindqvist c48319cb35 calendar.format: unused word 2017-01-05 12:38:05 +01:00
Jon Harper dc3ee923ca compiler.cfg: add peephole opt to never untag the input of ##bit-count. fixes #1764 2017-01-04 07:29:08 -08:00
Jon Harper ccbf1c1429 core layouts, remove hardcoded tag width
109aa88b06 showed the places were it was hardcoded
2017-01-04 07:29:08 -08:00
Björn Lindqvist 3bbc784fad calendar.parser,robots: hhmm>timestamp -> hhmm>duration
Better to parse it as a duration because it is not a valid timestamp.
2017-01-04 09:10:15 +01:00
Björn Lindqvist 2895d5e095 calendar.format: moving parsing words to a new vocab calendar.parser
The vocab was getting big so the idea is to have all the time parsing in
calendar.parsing and only keep formatting words in calendar.format.
2017-01-04 08:50:24 +01:00
John Benediktsson 3974ba8ba3 use with-variable in some places with-scope was used. 2017-01-03 19:12:29 -08:00
Björn Lindqvist f9b9ce20f2 calendar.english: new vocab for english names for days and months
This moves all the english-centric words from the calendar vocab which
was getting kind of big to calendar.english. It should make it easier to
see which vocabs make language assumptions.
2017-01-03 15:48:08 +01:00
Björn Lindqvist 13ec2e41b9 calendar.format.tests: stray char 2017-01-03 06:09:09 +01:00
John Benediktsson 59ce436dab math.combinatorics: cleaner next-permutation. 2017-01-02 09:34:15 -08:00
Alexander Iljin e9f6a56c53 math.statistics-docs: make cum-product example less ambiguous
In the previous version of the example it was not clear whether the result
always starts with 1 (as is the case with cum-product1) or with the first
item of the input sequence.
2017-01-02 09:33:15 -08:00
Alexander Iljin 631707b496 db-docs: remove double period at the end of a sentence 2017-01-02 09:33:02 -08:00
Alexander Iljin b7e64aed9f db-docs: add a missing newline to separate groups of items 2017-01-02 09:32:58 -08:00
Shane Pelletier 93d11224eb grouping-docs: add wrap-around note 2017-01-02 08:07:42 -08:00
John Benediktsson 1c9909cd76 ui.gadgets.slots: removing unnecessary tuples. 2016-12-31 18:54:18 -08:00
John Benediktsson 98b6fdeaa3 html.components: protect M\ code render* from ``f`` value. 2016-12-31 13:53:56 -08:00
John Benediktsson 4e9ad6ada7 calendar.format: parse rfc822 military and named timezones. 2016-12-31 13:50:08 -08:00
John Benediktsson 556a2b2b5b calendar.format: allow UTC to be in rfc822 timestamps. 2016-12-31 13:22:49 -08:00
Björn Lindqvist 4d580d95bf stack-checker.backend: no need to add extra dependencies on wrappers
This makes it so that if you declare a symbol it won't have an effect
dependency on itself.
2016-12-31 11:41:29 +01:00
Björn Lindqvist a808ade3c1 classes.mixin: better name for the type checking error 2016-12-30 16:02:55 +01:00
John Benediktsson ce9c9a8858 tools.destructors: use collect-by. 2016-12-28 16:21:08 -08:00
John Benediktsson 4400c5051c tools.profiler.sampling: cleanup using. 2016-12-28 13:40:05 -08:00
John Benediktsson 60919f8a89 math.statistics: change minmax to not look at first element twice. 2016-12-28 13:39:52 -08:00
John Benediktsson b141e0d2fb assocs: moving collect-by from math.statistics. 2016-12-28 12:56:19 -08:00
Björn Lindqvist 663697f058 webbrowser.windows: calling absolute-path doesnt work on urls (#1759) 2016-12-18 04:13:37 +01:00
Björn Lindqvist 6f555a7b2c tools.deploy.*: new word maybe-open-deploy-directory 2016-12-18 04:12:56 +01:00
Björn Lindqvist 5f5098617a webbrowser: let's change the name open-file -> open-item
Because the word can open more stuff than just files.
2016-12-18 03:23:24 +01:00
Björn Lindqvist 88015e9632 farkup,webbrowser: better url validation 2016-12-18 02:58:04 +01:00
Björn Lindqvist 515f7e5269 tools.memory: moving the code-block types to the vm vocab 2016-12-09 11:53:59 +01:00
Björn Lindqvist 5a1cb3f81e tools.memory: fix code-room. word, no more profiling stubs 2016-12-09 11:37:37 +01:00
Björn Lindqvist aa5334420c stack-checker.dependencies: moving the add-depends-on-class word + new docs 2016-12-09 11:28:18 +01:00
John Benediktsson 4e3fe96d3d tools.deprecation: use filter-word-defs. 2016-12-06 16:31:33 -08:00
Björn Lindqvist 1f3394af26 compiler.*: places where filter-word-defs can be used 2016-12-06 09:00:01 +01:00
John Benediktsson dffdd36694 locals.parser: use with-variables instead of with-scope. 2016-12-05 16:00:37 -08:00
John Benediktsson 21985232a2 locals.parser: maybe we can use unuse-words. 2016-12-05 15:56:30 -08:00
John Benediktsson 4717d39e69 xml.entities: use with-variable in with-entities. 2016-12-05 10:38:26 -08:00
John Benediktsson d9cdb80b90 xmode.loader: use with-variable instead of with-scope. 2016-12-05 10:35:01 -08:00
Björn Lindqvist df2e17a32d linked-assocs: fixing stack effect 2016-12-05 08:49:31 +01:00
Björn Lindqvist 5c7627a777 stack-checker.dependencies: removing the add-depends-on-<blah> words 2016-12-03 15:50:55 +01:00
Björn Lindqvist 0142d0b078 basis/,extra/: using parse-array-def in a bunch of places 2016-12-03 13:23:24 +01:00
Björn Lindqvist 4d5b83c3f5 compiler.cfg.builder.alien.tests: fix test that broke windows 2016-12-01 19:52:02 +01:00
Björn Lindqvist cefb15b2d6 alien.libraries.tests: fix for test that broke windows 2016-11-30 19:11:14 +01:00
John Benediktsson 6b1bb67ba6 images.loader.gtk: remove call to deprecated g_type_init. 2016-11-30 09:21:42 -08:00
Björn Lindqvist cde510d69c cpu.*: docs 2016-11-30 16:36:25 +01:00
Björn Lindqvist 75b6b12d0e compiler.cfg.*,compiler.tree.*: more docs and tests 2016-11-30 16:36:25 +01:00
Björn Lindqvist 6cb3e313d9 dlists,http,ui.gadgets.*: nicer formatting of tuples 2016-11-30 16:36:25 +01:00
Björn Lindqvist a9ac763912 alien.libraries: word>dlsym was a stupid idea that didn't work
The def>> attribute is stripped when deploying. So return dlsym? and use
that.
2016-11-30 16:36:24 +01:00
Björn Lindqvist bfd40f0215 images.loader.gtk: startup hook for type registration 2016-11-30 11:57:14 +01:00
Björn Lindqvist 2ba659dcb1 io.sockets.secure,alien.libraries: new word word>dlsym to replace the dlsym? word 2016-11-30 11:51:54 +01:00
Björn Lindqvist b42668ebeb compiler,stack-checker.dependencies: init-dependencies isn't needed 2016-11-30 07:29:10 +01:00
Björn Lindqvist e629f7b289 compiler.crossref: changes the way in which dependencies are stored on words
Previosly, they were stored in three sequences in the properties
"conditional-dependencies" "effect-dependencies" and
"definition-dependencies". It seem to better to store all three
types in one big property called "dependencies".
2016-11-30 07:29:10 +01:00
John Benediktsson 13807172d4 inverse: cleanup using. 2016-11-29 17:02:01 -08:00
John Benediktsson ae09790c7c stack-checker.dependencies: +definition+ can't use $class-description.
Also, placeholders for +effect+ and +conditional+.
2016-11-28 09:38:44 -08:00
Björn Lindqvist d6eb6f2c76 compiler.crossref: better way to store the dependencies on words 2016-11-28 04:13:58 +01:00
Björn Lindqvist e842e41f49 stack-checker.dependencies: docs 2016-11-28 02:04:28 +01:00
Björn Lindqvist 14e8688112 stack-checker.dependencies: changes the names of the dependency constants
Now named using the +blah+ convention which we're using elsewhere for
symbolic constants.
2016-11-28 02:04:28 +01:00
Björn Lindqvist 99653bab91 compiler.crossref: better code for getting dependencies-of + tests 2016-11-28 02:04:28 +01:00
Björn Lindqvist 581e2e2a62 vocabs.metadata.resources,help.pdf: gather used 2016-11-28 02:04:28 +01:00
Björn Lindqvist 6c73529525 compiler.codegen: we don't need the init-fixup word 2016-11-28 02:04:28 +01:00
John Benediktsson 7465bd0ed6 io.launcher: wait for new processes faster.
This starts at 5 milliseconds, then backs off 5 milliseconds at a time,
until 100 milliseconds. In case the processes are short-lived, they
will be detected sooner, and long-running processes will still be checked
at intervals of 100 millseconds like before.
2016-11-27 07:35:26 -08:00
John Benediktsson 463b57f7c9 help.tutorial: use arrays for test output in first-program. 2016-11-26 22:33:55 -08:00
John Benediktsson dadff2f062 some cleanup. 2016-11-26 22:01:03 -08:00
John Benediktsson 72cf4fec47 colors.hex: support varying length hex notations.
6 characters: rrggbb (1.0 alpha)
8 characters: rrggbbaa
3 characters: rgb (1.0 alpha)
4 characters: rgba
2016-11-26 21:13:12 -08:00
Björn Lindqvist 3b0d5bba15 kernel.private: adding OBJ-SAMPLE-CALLSTACKS + test case 2016-11-24 05:11:46 +01:00
Björn Lindqvist 79dcce8f39 compiler.cfg.debugger: also print the instruction number
it's useful to see when debugging some compiler passes
2016-11-23 18:56:03 +01:00
Björn Lindqvist d73666b9d0 VM: the unimplemented error isn't used anymore
Cause all the primitives are implemented so it can never ever be
thrown. Probably requires new boot images.
2016-11-23 10:24:52 +01:00
Björn Lindqvist c55a6ef873 VM: removing the unused callstack-bounds primitive
Probably needs new boot images
2016-11-21 22:30:20 +01:00