Commit Graph

13539 Commits (dadff2f062dbb72e66eab24cc6e155b6f56fdff2)

Author SHA1 Message Date
John Benediktsson 1b54f0a434 checksums: make checksum-state implement dispose. 2016-08-01 15:46:30 -07:00
Björn Lindqvist af62d33ba9 compiler.cfg.*: lots of new tests 2016-08-01 21:52:06 +02:00
Björn Lindqvist 2e332f73b5 compiler.*: new docs 2016-08-01 21:52:05 +02:00
Björn Lindqvist e359f3fca4 compiler.cfg.builder.alien.params: refactors the next-reg-param and reg-class-full? words 2016-08-01 21:52:05 +02:00
Björn Lindqvist 8aef16bed2 compiler.cfg.builder.alien.*: merge of with-param-regs and with-param-regs* 2016-08-01 21:52:05 +02:00
Björn Lindqvist 06319ac58d cpu.*: removes the vector-regs hook
It is not needed for now as float-regs are always used for vector-reps.
2016-08-01 21:52:05 +02:00
Björn Lindqvist 9bbe8a8c29 cpu.*: the %loop-entry word is unused 2016-08-01 21:52:05 +02:00
John Benediktsson b864d49e8c io.sockets: adding docs and tests for port-protocol. 2016-08-01 10:22:16 -07:00
Björn Lindqvist 97d3c42091 urls: better parsing of the scheme component of urls
normalize to lowercase and a few more characters are allowed in the
protocol part.
2016-07-31 02:46:39 +02:00
John Benediktsson ab66a73744 io.sockets: adding port-protocol to match protocol-port. 2016-07-30 11:12:40 -07:00
Björn Lindqvist ca2aef8e67 io.monitors.recursive: with-qualified-directory-files works here 2016-07-30 19:03:23 +02:00
Björn Lindqvist 48bd0d2b66 ui.tools.*: fix swapped argument order for set-tool-dim 2016-07-30 19:03:23 +02:00
Björn Lindqvist ba4bb45d4d io.directories.*: move of the qualified directory listing words to io.directories 2016-07-30 19:03:22 +02:00
Björn Lindqvist 9ba5419bef ui.tools.*: new docs 2016-07-30 19:03:22 +02:00
Björn Lindqvist e73337fe55 ui.tools.common: it's nicer to store the tool dims as word properties 2016-07-30 19:03:22 +02:00
John Benediktsson 83a7592a86 checksums: making "checksum-state" a universal concept.
I'm not super happy with the design yet, partly because OpenSSL doesn't
subclass ``checksum-state`` so all ``initialize-checksum-state`` will not
return a ``checksum-state`` instance.  That could maybe be changed by making
``checksum-state`` a mixin, or perhaps some other way.
2016-07-30 09:31:10 -07:00
Alexander Iljin 79964e4487 math.functions-docs: fix wording for abs and absq
Those functions are not specific to complex numbers.
2016-07-30 09:25:30 -07:00
Alexander Iljin 1aded9abdd docs: replace $description with $class-description for class words 2016-07-30 09:25:30 -07:00
Alexander Iljin a337a0349d calendar.format: add hm>timestamp 2016-07-30 09:25:30 -07:00
Alexander Iljin ebfce1deea io.files.info-docs: fix links to file-info-tuple parameters 2016-07-30 09:25:30 -07:00
Alexander Iljin 4a7f0987d8 tools.scaffold-docs: add documentation for the scaffold-work word 2016-07-30 09:25:30 -07:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Björn Lindqvist 5c11451ab5 editors.emacs: pass alternative-editor param in case emacs isn't running 2016-07-30 00:07:26 +02:00
Björn Lindqvist b2ed71ec7f cpu.x86.*: fix %prepare-var-args
EAX EAX XOR over RAX shaves off one byte
2016-07-30 00:07:26 +02:00
Alexander Iljin 4f74f5bd69 windows.fonts: call reset-memoized for windows-fonts on startup 2016-07-26 15:13:12 -07:00
Doug Coleman 858c9b3a96 db.sqlite: Fix NULL returns for INTEGER columns in sqlite
The api for getting integer/double columns from sqlite3 returns a zero, but the value could still be NULL, so an extra api check for the sqlite type is required.

Fixes #1674.
2016-07-22 08:20:56 -07:00
John Benediktsson 0e494d31f4 regexp.minimize: a little bit simpler, a little bit faster. 2016-07-18 10:05:38 -07:00
John Benediktsson a3bc9cf192 help.lint.checks: adding linux and windows ui disposables. 2016-07-16 16:51:17 -07:00
John Benediktsson c9801980ed help.lint.checks: factored out to no-ui-disposables word. 2016-07-16 16:28:04 -07:00
John Benediktsson 51cf484361 help.lint: use vocab-exists? and eliminate UI disposables from check. 2016-07-16 16:22:06 -07:00
John Benediktsson ccbde89968 vocabs.loader: one vocab-exists? word. 2016-07-16 16:21:45 -07:00
John Benediktsson abbefc96b9 using ``H{ } zip-index-as``.
instead of ``<enum> [ swap ] H{ } assoc-map-as``.
2016-07-16 10:53:36 -07:00
John Benediktsson 1ce733ef72 ui: some more dark theme polish. 2016-07-16 10:16:29 -07:00
John Benediktsson e8a9582400 ui.gadgets.panes: fix #1661.
Using old "split-lines" behavior that was needed by documents vocabulary,
rather than the new "string-lines" behavior that doesn't indicate if the
string is newline terminated.
2016-07-16 07:37:15 -07:00
John Benediktsson 8d077a96ad using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if. 2016-07-11 21:01:03 -07:00
John Benediktsson 9667ae962e checksums.sha: speedup, still more to do. 2016-07-11 19:51:28 -07:00
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
John Benediktsson de4495875f checksums.md5: minor thing. 2016-07-11 14:02:33 -07:00
John Benediktsson f0d47b7329 random: no need to zero bytes in M\ object random-bytes*. 2016-07-11 14:00:53 -07:00
John Benediktsson 800d643c2d random.mersenne-twister: simplify seed-random. 2016-07-11 14:00:15 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
John Benediktsson b67b1c0287 unicode: add the number of tests...
...so we don't accidentally stop testing things that should be tested.
2016-07-10 18:18:41 -07:00
John Benediktsson dd4fb140b6 unicode.normalize: better tests that don't spam the console. 2016-07-10 16:54:02 -07:00
John Benediktsson 55565ace6d unicode.collation: better tests that don't spam the console. 2016-07-10 16:36:14 -07:00
John Benediktsson 77bb2c4146 http.server.responses: less dynamic but equal. 2016-07-10 15:44:54 -07:00
John Benediktsson cab9a3d625 http.server.responses: load trivial responses from a text file. 2016-07-10 15:29:18 -07:00
Doug Coleman f7e2f3af79 checksums.common: don't need next-level anymore thanks to cleanup. 2016-07-10 11:40:16 -05:00
John Benediktsson 6b9d6c00c0 checksums.common: simplify add-checksum-bytes. 2016-07-09 20:58:14 -07:00
Doug Coleman 217b7f2b0c checksums: Ugly fix for incremental checksums. Add randomized unit tests to ensure that varying length payloads are the same incrementally or all at once. 2016-07-09 16:59:15 -05:00
Doug Coleman d6d4e0e903 checksums: Really fix... only add the number of extra bytes in the last unchecksummed block. 2016-07-09 14:17:59 -05:00
Doug Coleman 2c5a2e9600 checksums.common: Checksums was calculating the new length based on the entire array, not on the number of recently added bytes.
Reported by Александр Ilin.
2016-07-09 13:53:30 -05:00
Jon Harper e4f2770456 http.server.static: add sorts on columns 2016-07-03 23:21:19 +02:00
Jon Harper 679abfa5d7 http.server.static, html table listings 2016-07-03 23:21:18 +02:00
John Benediktsson 6e83fd4068 windows.ole32: use sets in tests. 2016-07-01 07:55:50 -07:00
John Benediktsson 8d61ace2b4 checksums: fix test using. 2016-06-30 14:47:18 -07:00
John Benediktsson 2255d6d876 checksums: some cleanup.
- define checksum-bytes and checksum-stream in terms of each other
- delete stream-checksum now that it's no longer needed
- move checksum-state stuff into checksums.common
- add a block-checksum that uses the checksum-state stuff
- change checksums.openssl to not use the checksum-state
2016-06-30 12:30:58 -07:00
John Benediktsson e146309a0c io.encodings.binary: move to core. 2016-06-30 12:30:58 -07:00
John Benediktsson b6367aba06 checksums.common: some cleanup, remove unused stuff. 2016-06-30 12:30:58 -07:00
John Benediktsson d9f17317e3 checksums.openssl: make evp-md-context private. 2016-06-29 14:31:32 -07:00
John Benediktsson 0feed3c35d checksums.stream: article title must begin with a capital letter. 2016-06-29 14:30:24 -07:00
Alexander Iljin 853d470179 db.errors: update ignore-error parameter list to be more self-documented 2016-06-29 14:17:57 -07:00
Alexander Iljin 14f6f920ea checksums.openssl: refactor checksum-stream and checksum-bytes 2016-06-29 14:17:57 -07:00
Alexander Iljin 54b80a4223 checksums.openssl: implement common checksum interface 2016-06-29 14:17:57 -07:00
Alexander Iljin e606ce278d db.queries: add ensure-index 2016-06-29 14:17:57 -07:00
Alexander Iljin 9c9764cc2d db.(sqlite.)errors: add sql-index-exists error 2016-06-29 14:17:57 -07:00
Alexander Iljin ca19a01c1b db.sqlite.errors: simplify implementation 2016-06-29 14:17:57 -07:00
Alexander Iljin 2da68f908b windows.ole32: add create-guid 2016-06-29 14:17:57 -07:00
Alexander Iljin 87e4015976 checksums.stream-docs: initial commit 2016-06-29 14:17:57 -07:00
Alexander Iljin 6834f93ad1 tools.scaffold: fix scaffold-docs generating $var-decsription for classes 2016-06-29 14:17:57 -07:00
Alexander Iljin ef29e0947f io.directories.windows: remove synchronous copy-file implementation 2016-06-29 14:17:57 -07:00
John Benediktsson 880d43d638 cocoa.views: more constants. 2016-06-29 09:08:20 -07:00
Doug Coleman ba7f71abc8 cocoa.views: add some constants for opengl. 2016-06-28 22:47:11 -07:00
John Benediktsson bf71988330 system-info.macosx: macOS Sierra. 2016-06-22 16:20:11 -07:00
Alexander Iljin 2db2f0eaa0 *-docs: remove extra spaces from the end of various topics 2016-06-22 11:27:26 -07:00
Alexander Iljin 7b24b067c2 help.tips: use $code snippet in a TIP: for user to run 2016-06-22 11:27:26 -07:00
Alexander Iljin b43c7b4fd7 io.files.info.windows: suppress ERROR_FILE_NOT_FOUND in volume>paths 2016-06-22 11:27:26 -07:00
Alexander Iljin cada98f7d8 windows.shell32: remove extra declaration of ERROR_FILE_NOT_FOUND
We already have one in windows.errors.
2016-06-22 11:27:26 -07:00
Alexander Iljin b35294eade io.sockets.secure-docs: update and add some documentation 2016-06-22 11:27:26 -07:00
Alexander Iljin c855e5b4f8 delegate-docs: fix a copy-paste error 2016-06-22 11:27:26 -07:00
Alexander Iljin 18eb321ee5 delegate-docs: add missing spaces 2016-06-22 11:27:26 -07:00
Alexander Iljin e1928eac8b concurrency.mailboxes-docs: add some missing commas 2016-06-22 11:27:26 -07:00
Alexander Iljin 6f8e6c5b31 concurrency.messaging-docs: add a missing parenthesis 2016-06-22 11:27:26 -07:00
Alexander Iljin d243e00f54 io.files.windows: use open-file to implement maybe-create-file
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin f530692362 io.files.windows: replace open-existing with open-r/w
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin ae1c7b7a54 io.files.windows: use CreateFileW in open-file for consistency 2016-06-22 11:27:26 -07:00
Alexander Iljin 035567e4ca alien.data: fix a typo 2016-06-22 11:27:26 -07:00
Alexander Iljin b0c6f97bf5 tools.memory: move invariant code to cleanup-always quot of the cleanup 2016-06-22 11:27:26 -07:00
Jon Harper e9454fc310 io.files.info docs, sync link-info and file-info docs 2016-06-22 11:22:43 -07:00
Björn Lindqvist 0a34002988 ui.gestures: fix the cocoa ui backend which i broke by moving the modifier word 2016-06-21 23:37:20 +02:00
Björn Lindqvist 75a3e191b2 compiler.*: a bunch of random doc additions 2016-06-21 23:15:20 +02:00
Björn Lindqvist 4b919b19ce ui.backend.*: new vocab for keysym handling which is the same on x11 and gtk 2016-06-20 13:13:20 +02:00
Björn Lindqvist d752a1947c x11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
using them in u1.backend.x11 instead of hardcoding numbers
2016-06-20 02:18:18 +02:00
Björn Lindqvist e48e4d2484 x11.*: cosmetic fixes, breaking long lines, indenting struct slots.. 2016-06-20 02:02:23 +02:00
Björn Lindqvist f0836dd69d ui.backend.gtk.io: refactoring which removes ui.backend.gtk.io.unix
ui.backend.gtk is unix-specific so there is no need to have different
implementations for different os:es.
2016-06-19 01:33:59 +02:00
Björn Lindqvist fbfc5fdae3 ui.backend.gtk: add handling of insert key (#1656) 2016-06-18 20:39:57 +02:00
Björn Lindqvist ee80cb0752 ui.backend.gtk: use a global variable to store the icon data
It's easier than the previous code that replaced the get-icon-data word
during deployment. Also GTK support for icon.ico icons.
2016-06-17 16:39:11 +02:00
Björn Lindqvist 2c8b2d9bf5 ui.backend.gtk: hi-res icon awesomeness 2016-06-17 14:29:45 +02:00
Björn Lindqvist 6a76bf9084 io.directories.unix: normalize-path doesn't need to be called
It is already called by the words copy-file delegates to.
2016-06-15 01:25:53 +02:00
Björn Lindqvist ea4333e490 io.directories: new utility word make-parent-directories, for making sure directories exists 2016-06-15 00:33:44 +02:00
Björn Lindqvist 6984bae7ca VM: rename of JIT_PUSH_IMMEDIATE to JIT_PUSH_LITERAL
The code template pushes both immediates and references so the name was
wrong.
2016-06-07 14:54:23 +02:00
Doug Coleman c7041fe96e io.sockets.secure.windows: Windows sockets are a bit confused. Make a word
to get the handle out of two different paths. Probably needs more
refactoring but this makes it work.
2016-06-02 11:07:19 -07:00
Doug Coleman 05083ba503 io.sockets.secure.windows: No need to call file>> because we have a
win32-socket on the stack already.
2016-06-02 10:56:50 -07:00
Doug Coleman b63aaff1c5 io.sockets.secure: (server) needs a method on secure for Windows too. Move the method to a vocab that both platforms load. 2016-06-02 10:25:11 -07:00
Doug Coleman 0f217b9cf0 http.server.static: sort files for static html directory listing. seems to be sorted on mac already, but not on linux. consider allowing a sort order parameter in the future. 2016-06-01 11:59:57 -07:00
Björn Lindqvist 9da7863917 tools.profiler.sampling.tests: attempt to fix the unit test that fails on x86.32 sometimes 2016-05-31 22:15:08 +02:00
Björn Lindqvist a80aeea7f9 io.files.windows: make CreateFile-flags a normal word (fixes the recent test failures) 2016-05-31 17:04:34 +02:00
Björn Lindqvist 91f335b424 style thing: indenting tuple slots 2016-05-31 03:37:23 +02:00
Alexander Iljin 8e2a65e5a2 io.files.info.windows: add a comment to open-read-handle 2016-05-30 12:35:26 -07:00
Alexander Iljin aa7a285390 io.files.info.windows: fix flags in open-read-handle
Add FILE_SHARE_WRITE and FILE_SHARE_DELETE flags and calls CreateFile-flags
hook. This fixes file-readable? so that it uses the same flags as open-read
(issue #1470).
2016-05-30 12:35:25 -07:00
Alexander Iljin ff26c3d39c io.files.windows: add FILE_FLAG_BACKUP_SEMANTICS to CreateFile-flags
This provides additional access rights if the process has SE_BACKUP_NAME
or SE_RESTORE_NAME privileges. Does nothing otherwise.
2016-05-30 12:35:25 -07:00
Alexander Iljin 043c6984b9 io.files.info.windows: fix file-readable?
This fixes issue #1470. Now the method tries to open the file handle for
reading and returns t on success. This approach makes Windows check the
current user's permissions.
2016-05-30 12:35:24 -07:00
Alexander Iljin 2264638a61 io.files.info.windows: add open-read-handle to reuse later 2016-05-30 12:35:23 -07:00
Alexander Iljin 2b68636207 io.files.info.windows: fix parameter name for get-file-information-stat 2016-05-30 12:35:23 -07:00
Doug Coleman 3494576ad8 io.files.windows: Add a unit test to make sure shared flags stay on. 2016-05-30 12:24:17 -07:00
Björn Lindqvist 8f2738cd82 bootstrap.x86: using 32 bit regs as operands when it's safe to do so
It shaves off a few bytes as e.g and eax, 0xf is one byte shorter than and rax, 0xf
2016-05-30 02:39:06 +02:00
Björn Lindqvist 941c9fabd4 alien.parser,gobject-introspection.ffi: fixing the manifest test errors (see #1463) 2016-05-28 19:01:54 +02:00
Björn Lindqvist b96077beb7 alien.parser: better fix for #1535
These changes ensure that reset-generic is called when parsing alien
words. Otherwise problems occur when you redefine generics as callbacks
or typedefs.
2016-05-28 17:22:45 +02:00
Björn Lindqvist 69f667edc8 alien.parser: make make-callback-type have the same signature as make-function 2016-05-28 17:21:45 +02:00
Björn Lindqvist 6f705c4944 gobject-introspection.ffi: new tests 2016-05-28 16:46:24 +02:00
Björn Lindqvist 350e890a03 alien.parser: fix for #1535
(CREATE-C-TYPE) needs to be called on the word naming the
callback. Otherwise the old definition remains in old-definition and you
can get a no word found error.
2016-05-27 20:54:52 +02:00
John Benediktsson d902616d12 help: sigh sigh $predicate is used by help.lint.checks. 2016-05-26 17:43:29 -07:00
John Benediktsson f2a5a8b4ea help: sigh, let's just use the old word-help* name. 2016-05-26 17:40:34 -07:00
John Benediktsson 773edb680a help: move predicate default word help. 2016-05-26 17:35:37 -07:00
John Benediktsson fba27d66e4 help: minor change to use a default-word-help generic. 2016-05-26 16:54:33 -07:00
John Benediktsson e38caddb30 help: change how default word help is done. 2016-05-26 16:52:29 -07:00
Doug Coleman 21461a1b75 core: selector-for and collector-for are the wrong naming convention--they should be selector-as and collector-as because they take exemplars.
The exemplar is the starting length of the output sequence in collector-as, so add another collector-for-as that takes a seq that we are making a collector for.
2016-05-26 14:36:11 -07:00
Doug Coleman 3307876cc2 io.files.unique: clean up the files that are created if not all files can be created. 2016-05-26 14:05:58 -07:00
Doug Coleman a399439a5f io.files.unique: Make sure the files are the same except for the suffix. Add unit test. Fix paths typo. 2016-05-25 17:49:59 -07:00
Doug Coleman e364f1ebf1 unix.ffi: Add SHUT_* flags for shutdown() call. 2016-05-25 17:49:59 -07:00
Björn Lindqvist 12d91ef72a cpu.*: more docs 2016-05-25 19:21:55 +02:00
Björn Lindqvist 97c10cc0f1 cpu.x86.*: faster versions of the X-bit-version-of words
It should make the %load-immediate word a bit faster.
2016-05-25 19:21:55 +02:00
Björn Lindqvist 5733d98236 cpu.x86.sse: removing an unused word 2016-05-25 19:21:55 +02:00
Alexander Iljin c460fc79c7 tools.crossref-docs: fix wording 2016-05-25 15:58:49 +03:00
Alexander Iljin 2c04c6a0f2 help.handbook: fix wording 2016-05-25 12:59:38 +03:00
Björn Lindqvist 2fe26444aa compiler.cfg.builder.*: docs and tests 2016-05-24 17:22:38 +02:00
Björn Lindqvist 249483fc4f compiler.cfg.value-numbering.*: new docs 2016-05-24 17:21:27 +02:00
Björn Lindqvist 9fac53989a cpu.x86.assembler: zero-extension can work on the TEST instruction too 2016-05-24 14:37:20 +02:00
Björn Lindqvist 0cbd0552b0 bootstrap.image.primitives: resize-byte-array can also use integer-array-capacity 2016-05-24 14:20:46 +02:00
Doug Coleman e19df707da io.servers: Fix a regression where we couldn't listen on several ports at once. 2016-05-23 15:28:51 -07:00
Doug Coleman 48d9b2b4eb io.files.unique: Add a way to create multiple unique files at the same time. If any of them fail, then the whole operation fails. 2016-05-23 13:17:29 -07:00
Doug Coleman 0e55a173a0 http.client: disable sni test that hits the velox.ch site as per requested by the site owner. 2016-05-22 22:53:28 -07:00
Björn Lindqvist 076a978be0 cpu.x86.assembler: fix help-lint problem 2016-05-23 02:26:28 +02:00
Alexander Iljin d5e5589da8 browser: trim whitespace from query before search.
This behavior is consistent with the apropos word.
Should have been done in e4bf5f10.
2016-05-22 07:54:53 -07:00
Alexander Iljin 1e0bf40b7f docs: minor fixes and amendments. 2016-05-22 07:53:21 -07:00
John Benediktsson 59e3cf93b7 ui.gadgets.theme: rename to ui.theme.images. 2016-05-22 07:53:21 -07:00
John Benediktsson ff2f58ac4b ui.theme.switching: default font colors. 2016-05-22 07:53:21 -07:00
Björn Lindqvist 5b3933e2e4 cpu.x86: xor rax, rax -> xor eax, eax
The latter should be equivalent in all ways, but its encoding is one
byte shorter.
2016-05-20 13:38:42 +02:00
Björn Lindqvist e60d45a169 Docs: fixing help-lint failures 2016-05-20 13:35:08 +02:00
Björn Lindqvist 973606b5e2 cpu.x86.assembler: enable zero extension for AND with small immediates 2016-05-20 12:42:27 +02:00
Björn Lindqvist 4230d2502a cpu.x86.assembler: MOV zero extension for small immediates (#1593)
Instructions eg: mov rax, 123 can be equivalent mov eax, 123 which are
shorter.
2016-05-19 23:02:48 +02:00
Björn Lindqvist 0fc8fb22ca cpu.x86,bootstrap.assembler.*: making sure 0 is the relocation dummy value everywhere
In some places it was 0xffffffff, but it should always be 0 MOV for
consistency.
2016-05-19 22:43:52 +02:00
Björn Lindqvist 9f0cd740c8 compiler.constants: docs 2016-05-19 21:49:51 +02:00
Björn Lindqvist 27f9613694 compiler.cfg.value-numbering.comparisons: some duplicated words that can
be removed
2016-05-19 16:15:36 +02:00
Björn Lindqvist 3810889f91 compiler.cfg.value-numbering.graph: docs and test 2016-05-19 16:10:06 +02:00
Björn Lindqvist 1eaa151a3c compiler.cfg.value-numbering.comparisons: docs and tests 2016-05-19 14:04:23 +02:00
Björn Lindqvist 0394a141d3 tools.profiler.sampling.tests: call gc beforehand to ensure no random samples are collected 2016-05-19 01:54:24 +02:00
Björn Lindqvist 05de15bdc1 compiler.cfg.utilities: rewrite apply-passes as a macro
It makes for more detailed callstacks when profiling.
2016-05-18 23:49:03 +02:00
Björn Lindqvist 5fabb71404 bootstrap.compiler.timing: "profile-compiler" is never set so this vocab
is unused
2016-05-14 18:21:49 +02:00
Doug Coleman d5b33de57c typed: factor typed-def? out of typed-def. 2016-05-12 16:33:19 -07:00
John Benediktsson 7d66c331db ui.gadgets.table: mouse-color uses theme. 2016-05-11 18:39:44 -07:00
John Benediktsson 6149bf5afc ui.tools.debugger: set theme fonts on table...
Probably this should be in the table gadget itself and not scattered everywhere.
2016-05-11 18:37:07 -07:00
John Benediktsson fb9a71627f ui.theme.switching: adding back light-mode and dark-mode. 2016-05-11 18:32:33 -07:00
John Benediktsson 8a09779e3e ui.theme.switching: adding some docs. 2016-05-11 18:09:36 -07:00
John Benediktsson 26e26599bd ui.theme.switching: add a switch-theme word. 2016-05-11 18:09:36 -07:00
Doug Coleman 5d116594e0 editors.visual-studio-code: try to find "code" then "Code" then... on linux. 2016-05-11 11:53:35 -07:00
Doug Coleman 8330256b1d combinators.extras, generalizations:: Add experimental combinators for 1res, 1arg. 2016-05-11 11:53:29 -07:00
Doug Coleman 6b77c4f3da tools.deploy: bump the other bunny deploy size. 2016-05-10 15:21:06 -07:00
John Benediktsson 5ebc7193fa ui.theme: remove unused url-color hook. 2016-05-10 15:20:28 -07:00
Doug Coleman d279cea544 tools.deploy: bump the bunny size. 2016-05-10 02:35:35 -07:00
John Benediktsson 0781fa5d00 ui.gadgets.theme: fix windows bootstrap.
not sure yet why this is necessary.
2016-05-09 23:27:41 -07:00
John Benediktsson 63410f62c8 ui.theme: updates to color scheme.
Fixes circularity and adds theme switching to Mac menu.
Could use some simplification and reduction in color theme hooks.
2016-05-09 21:40:56 -07:00
nicolas-p 7a028977c4 Moved both themes into ui.theme 2016-05-09 21:40:56 -07:00
nicolas-p 35c8ec6bae Updated scrollbar buttons 2016-05-09 21:40:56 -07:00
nicolas-p 0d6ae8a8b9 Fixed USING 2016-05-09 21:40:56 -07:00
nicolas-p f650f7d869 Added listener styles in theme switching 2016-05-09 21:40:56 -07:00
nicolas-p a83c90d849 Some color changes in both themes 2016-05-09 21:40:56 -07:00
nicolas-p 5985291a4a Changed warning background in light theme 2016-05-09 21:40:56 -07:00
nicolas-p a13d2b9fbf Small change in themes 2016-05-09 21:40:56 -07:00
nicolas-p 45316318e8 Added "require" for theme.light and theme.dark 2016-05-09 21:40:56 -07:00
nicolas-p 94d9bf8c88 Added prompt style and tip style in switching 2016-05-09 21:40:56 -07:00
nicolas-p d2e645b5a2 Scrollbar buttons with transparent background 2016-05-09 21:40:56 -07:00
nicolas-p e7897dd194 Author and summary for ui.gadgets.theme.switching 2016-05-09 21:40:56 -07:00
nicolas-p f54fa08e05 Added tooltip for themes 2016-05-09 21:40:56 -07:00
nicolas-p 85ba970bed Renaming themes 2016-05-09 21:40:56 -07:00
nicolas-p 6a912e47b4 Implemented theme switching 2016-05-09 21:40:56 -07:00
nicolas-p 83a725563e Added colors in light and dark themes 2016-05-09 21:40:56 -07:00
nicolas-p 072f8e2625 Set text color almost everywhere 2016-05-09 21:40:56 -07:00
nicolas-p 61707f7fef Author and summary for dark theme 2016-05-09 21:40:56 -07:00
nicolas-p e5698281fb Replaced hard-coded colors with constants 2016-05-09 21:40:56 -07:00
nicolas-p bea90b8d1f Better copyright format 2016-05-09 21:40:56 -07:00
nicolas-p e6fe63e62b Added Solarized colors 2016-05-09 21:40:56 -07:00
John Benediktsson 465e6478ab inverse: minor cleanup. 2016-05-09 21:38:05 -07:00
Björn Lindqvist 274a0174fd cpu.x86: use INC and DEC in favor of ADD reg, 1 and SUB reg, 1
The encoding for INC reg and DEC reg is one byte shorter so using it
shaves of a few bytes from the generated code.
2016-05-08 18:44:31 +02:00
Björn Lindqvist 5a2e1c953e cpu.x86.assember: add INC and DEC instructions to the assembler 2016-05-08 18:43:51 +02:00
John Benediktsson 3edf8f594a ui: ceiling world dimensions when opening. 2016-05-06 20:57:03 -07:00
Björn Lindqvist 7f8d5cbef4 VM: when starting the sampling profiler, the data needs to be cleared 2016-05-06 19:56:13 +02:00
Björn Lindqvist c100d2256d tools.deploy.shaker: dont strip the "layout" property
Stripping it was a bad idea. It is required for constructing tuples.
2016-05-05 15:46:22 +02:00
Björn Lindqvist 5826394573 VM: the (clear-samples) primitive is unused 2016-05-05 02:33:35 +02:00
Björn Lindqvist 8911ad2a16 VM: don't end the gc event in start_gc_again, fixes #659 2016-05-04 22:47:50 +02:00
Björn Lindqvist b79490b063 tools.deploy.tests: guess we need to bump the size again 2016-05-03 01:21:03 +02:00
Björn Lindqvist 30451ebf5a compiler.cfg.*: new slots ds-height and rs-height
They are used when recording the blocks stacks height instead of the
ds-heights and rs-heights variables. It makes the code a bit simpler.
2016-05-03 01:16:50 +02:00
Alexander Iljin 8f8ab48346 colors-docs: fix wording 2016-04-30 17:53:48 +03:00
Björn Lindqvist b8e0d5e278 compiler.cfg.builder.*: the when* checks aren't needed 2016-04-30 09:28:30 +02:00
Björn Lindqvist 6f440404c3 tools.deploy.tests: changes name of the test file to local-license.txt so it is more unique 2016-04-30 09:28:30 +02:00
Björn Lindqvist 2ab41d0944 tools.deploy.shaker: Revert from f488f77 2016-04-30 09:28:29 +02:00
John Benediktsson f7d92e4712 ui.tools.listener: fix introduction font sizes.
(should be smaller than default-style)
2016-04-29 18:30:59 -07:00
John Benediktsson 3c4d232d58 locals.parser: fix docs. 2016-04-28 18:36:39 -07:00
Björn Lindqvist c581805368 tools.deploy.shaker: vocabs.loader hooks is required to resolve "vocab:"-paths 2016-04-28 03:24:09 +02:00
Björn Lindqvist 20e8ca1f9e tools.deploy.shaker: a bunch more word properties which appear safe to
strip

Help-related properties and the "layout" property of tuples
2016-04-24 22:57:42 +02:00
Björn Lindqvist d21ff7a3a0 tools.deploy.shaker: fix startup hook stripping
cpu.x86 -> cpu.x86.features and some more hooks that are safe to strip
2016-04-24 22:48:03 +02:00
Björn Lindqvist f488f77e62 tools.deploy.shaker: docs 2016-04-24 21:27:00 +02:00
Björn Lindqvist 24b6f90ab8 tools.deploy.shaker: use ignore-errors to prevent a possible infinite loop 2016-04-24 16:22:00 +02:00
John Benediktsson fb99c0ac84 inverse: remove ?word-prop which is the same as word-prop?. 2016-04-23 14:13:56 -07:00
John Benediktsson 596bedea25 vlists: fix >alist so pprint works properly for valist. 2016-04-23 13:00:03 -07:00
John Benediktsson 7cab3d61fe ui.gadgets.sliders: this fixes the previous test failure. 2016-04-23 12:41:12 -07:00
John Benediktsson 473c1cd55d Revert "ui.gadgets.scrollers: fix tests for scrollbar change."
This reverts commit 4c7eed5812.
2016-04-23 12:41:08 -07:00
John Benediktsson 4c7eed5812 ui.gadgets.scrollers: fix tests for scrollbar change. 2016-04-23 12:25:13 -07:00
Nicolas Pénet 4a9876474a help.stylesheet: increased font size to 13pt 2016-04-23 10:23:45 -07:00
John Benediktsson 6a5f3f192e ui.gadgets.sliders: restoring the arrows (temporarily?). 2016-04-23 10:04:46 -07:00
John Benediktsson b31415f8a3 ui.gadgets.scrollers: 4 space indentation. 2016-04-23 09:51:15 -07:00
nicolas-p e8c60ca890 Made scrollers disappear when disabled 2016-04-23 09:51:15 -07:00
nicolas-p 365c8d08d2 ui.gadgets.sliders: removed buttons 2016-04-23 09:51:15 -07:00
Björn Lindqvist 70e9834f2f compiler.cfg.*: new system for emitting spill/reloads for gc calls (#1471)
GC calls were treated as sync points so all registers were spilled
around them. But if the gc call isn't triggered, it is unnecessary to
spill. This commit fixes that by handling ##call-gc specially and
putting ##spill and ##reloads in the same block as the gc call itself.
2016-04-22 19:21:15 +02:00
Björn Lindqvist d5cb972a71 Docs: ui and compiler 2016-04-22 18:23:02 +02:00
Björn Lindqvist a6f159eb17 cpu.x86.assembler: fix small help-lint problem 2016-04-22 18:10:59 +02:00
Björn Lindqvist 720edcbd3b style fixes - indenting slots and word bodies 2016-04-22 13:06:41 +02:00
Björn Lindqvist 3177e7851c cpu.*: more docs 2016-04-22 13:00:46 +02:00
Björn Lindqvist 00fdb837fa cpu.x86: better code without locals 2016-04-22 12:59:21 +02:00
Björn Lindqvist 92a85ebe86 compiler.*: more compiler docs 2016-04-22 12:57:54 +02:00
Björn Lindqvist 3e14ceafe2 compiler.*: more compiler tests 2016-04-22 12:44:25 +02:00
Björn Lindqvist e58e1b9a65 compiler.cfg.ssa.interference.live-ranges: Docs 2016-04-22 12:33:39 +02:00
Björn Lindqvist cf74a4dc0f compiler.cfg.linear-scan.allocation.splitting: Docs 2016-04-22 12:16:46 +02:00
Björn Lindqvist 951c0586f0 compiler.cfg.linear-scan.allocation: removes no-free-registers? 2016-04-22 12:04:22 +02:00
John Benediktsson 8a3dd3709e ui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main word. 2016-04-21 10:13:57 -07:00
John Benediktsson 9439c5a684 io.encodings.iso2022: stop using sets:unique. 2016-04-18 21:10:17 -07:00
John Benediktsson 0add9190c2 lists: more cleanup. 2016-04-18 09:46:49 -07:00
Doug Coleman da65402ee8 ui.debugger: don't rethrow at all. it just makes an infinite loop. 2016-04-18 09:27:32 -07:00
John Benediktsson 42ae9ac015 lists: first pass at some cleanup.
Now lists.lazy:lmap-lazy and lists.lazy:lappend-lazy names differentiate
from their non-lazy counterparts in lists.
2016-04-17 13:08:32 -07:00
John Benediktsson 5a3848515e urls: remove unnecessary >secure-addr indirection. 2016-04-16 17:11:01 -07:00
John Benediktsson df868fa972 soundex: make implementation private. 2016-04-16 16:38:42 -07:00
John Benediktsson 3ffa47de6c soundex: fix soundex to handle test cases from wikipedia. 2016-04-16 16:37:44 -07:00
John Benediktsson 2a5e0e7f4f replace some 1 head* with but-last. 2016-04-16 15:54:23 -07:00
John Benediktsson 54635f5c5d suffix-arrays.words: removing, not that useful. 2016-04-16 09:17:05 -07:00
John Benediktsson a1b5839d08 suffix-arrays: remove docs of removed private word. 2016-04-15 16:02:27 -07:00
Doug Coleman 099e142200 ftp.server: Don't fetch to the same directory we serve from or else it will overwrite the file. Race condition, only shows up on Windows for some reason. 2016-04-15 15:52:06 -07:00
John Benediktsson 97e87f4a05 suffix-arrays: simplify a bit. 2016-04-15 13:20:11 -07:00
John Benediktsson 1a7547f33a delegate: use string word-prop keys. 2016-04-14 20:19:54 -07:00
John Benediktsson c52b640520 bootstrap.image.upload: use vm-git-id. 2016-04-14 16:59:23 -07:00
John Benediktsson 331483ab98 classes.algebra: removing valid-classoid? (enforced in constructors). 2016-04-13 14:29:24 -07:00
John Benediktsson 923cb0127a Revert "ftp.server: make sure the test file returns a normalized path."
This reverts commit fda3024fe9.
2016-04-13 13:06:05 -07:00