]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Fri, 14 Oct 2016 23:54:32 +0000 (16:54 -0700)]
redis.command-writer: adding SWAPDB command.
See: https://github.com/antirez/redis/commit/
c7a4e694ad3689d934897b0d2c37144d7b2d0b97
Sankaranarayanan Viswanathan [Fri, 14 Oct 2016 03:53:38 +0000 (23:53 -0400)]
menus: ESC should close menu popup
Björn Lindqvist [Thu, 13 Oct 2016 14:24:22 +0000 (16:24 +0200)]
VM: init_data_heap() isn't needed
Björn Lindqvist [Fri, 14 Oct 2016 11:50:47 +0000 (13:50 +0200)]
VM: checking addresses differ before memmoving
It appears to speed up compaction a bit in cases where only a few
objects need to move.
Björn Lindqvist [Wed, 12 Oct 2016 23:46:52 +0000 (01:46 +0200)]
VM: rename of collect_growing_heap_op and collect_growing_heap()
The idea is to "make room" for collect_growing_code_heap_op and
collect_growing_code_heap() to enable code heap growth.
Björn Lindqvist [Tue, 11 Oct 2016 08:45:09 +0000 (10:45 +0200)]
VM: remove the reversing from sampling profiler callstack collection #452
Björn Lindqvist [Tue, 11 Oct 2016 07:32:55 +0000 (09:32 +0200)]
VM: change callstack>array primitive so it doesn't reverse anymore
This fixes one part of the #452 bug.
Björn Lindqvist [Sun, 9 Oct 2016 09:17:30 +0000 (11:17 +0200)]
VM: merge of clone_object() and primitive_clone()
John Benediktsson [Wed, 12 Oct 2016 17:14:09 +0000 (10:14 -0700)]
concurrency.semaphores: fix typo in docs.
Björn Lindqvist [Sat, 8 Oct 2016 22:58:24 +0000 (00:58 +0200)]
webapps.*: make it so the webapps aren't initialized when compiling the vocabs
Because if they are then load-all will error out if you don't have the
needed dlls installed.
Björn Lindqvist [Sat, 8 Oct 2016 13:12:39 +0000 (15:12 +0200)]
bootstrap.image.primitives: array>quotation can't be foldable
Björn Lindqvist [Sat, 8 Oct 2016 10:26:57 +0000 (12:26 +0200)]
math.parser: (format-float) can only be flushable
Björn Lindqvist [Sat, 8 Oct 2016 09:31:08 +0000 (11:31 +0200)]
math.parser: (format-float) doesn't need to zero-terminate returned byte-array
Björn Lindqvist [Sat, 8 Oct 2016 14:42:32 +0000 (16:42 +0200)]
tools.image-analyzer.gc-info.tests: trying again to fix the test
Björn Lindqvist [Sat, 8 Oct 2016 11:55:03 +0000 (13:55 +0200)]
tools.image-analyzer.gc-info.tests: fix tc so it works on windows
Björn Lindqvist [Sat, 8 Oct 2016 07:52:35 +0000 (09:52 +0200)]
tools.image-analyzer.gc-info: updating vocab to work with new gc system
Björn Lindqvist [Sat, 8 Oct 2016 05:13:46 +0000 (07:13 +0200)]
FUEL: support for the HINTS: syntax
Björn Lindqvist [Sat, 8 Oct 2016 05:13:08 +0000 (07:13 +0200)]
VM: indent comment and change error message
Björn Lindqvist [Sat, 8 Oct 2016 05:11:47 +0000 (07:11 +0200)]
VM: simpler code for find_object_containing_card
Björn Lindqvist [Sat, 8 Oct 2016 05:10:26 +0000 (07:10 +0200)]
VM: simpler code for reallot_array
Björn Lindqvist [Sat, 8 Oct 2016 05:08:00 +0000 (07:08 +0200)]
compiler.cfg.*: bunch of doc updates
Björn Lindqvist [Mon, 3 Oct 2016 03:09:02 +0000 (05:09 +0200)]
VM: merge of the free_list and free_list_allocator classes
Seem simpler to have all the free list stuff in one class rather than
split it over two classes.
Björn Lindqvist [Sun, 2 Oct 2016 01:09:53 +0000 (03:09 +0200)]
VM: reorg and more comments
Sankaranarayanan Viswanathan [Fri, 7 Oct 2016 02:45:11 +0000 (22:45 -0400)]
tools.walker: Improve docs for breakpoint words
Sankaranarayanan Viswanathan [Fri, 7 Oct 2016 02:56:47 +0000 (22:56 -0400)]
ui.gadget.menus: improve show-menu
John Benediktsson [Thu, 6 Oct 2016 21:57:40 +0000 (14:57 -0700)]
io.directories.search.windows: merging with io.standard-paths.windows.
John Benediktsson [Thu, 6 Oct 2016 21:56:56 +0000 (14:56 -0700)]
editors.notepad: cleanup using.
John Benediktsson [Thu, 6 Oct 2016 20:50:04 +0000 (13:50 -0700)]
io.launcher.windows: need to USE: io.launcher.private.
John Benediktsson [Thu, 6 Oct 2016 18:18:41 +0000 (11:18 -0700)]
Revert "hash-sets,hashtables: make it so the array backing the hash is non-empty"
This reverts commit
6f10f06c2776c8dfa7e727f2a000dc48bd296bf0 .
John Benediktsson [Thu, 6 Oct 2016 18:18:35 +0000 (11:18 -0700)]
Revert "hash-sets,hashtables: improved key@ word"
This reverts commit
70c7f9e02910746918cc16bf588ef543fda80790 .
Björn Lindqvist [Wed, 5 Oct 2016 17:09:55 +0000 (19:09 +0200)]
hash-sets,hashtables: make it so the array backing the hash is non-empty
Commit
70c7f9e02910746918cc16bf588ef543fda80790 made it so the code
assumes the array is not empty. But it can be empty if the hashtable is
created using "hashtable new" and then it can crash because it reads
uninitialized memory. Setting the initial of the array slot to
a valid hash-array should fix that.
Björn Lindqvist [Thu, 29 Sep 2016 05:14:30 +0000 (07:14 +0200)]
VM: UAP_SET_TOC_POINTER appears to be a noop on all platforms
Björn Lindqvist [Thu, 29 Sep 2016 04:35:35 +0000 (06:35 +0200)]
VM: make visit_instruction_operands() skip over uninitialized blocks
It will crash otherwise when compacting the code heap.
Björn Lindqvist [Thu, 29 Sep 2016 01:29:14 +0000 (03:29 +0200)]
compiler.test: this word is not used
Björn Lindqvist [Wed, 28 Sep 2016 18:38:52 +0000 (20:38 +0200)]
VM: better? comment for uninitialized_blocks
Björn Lindqvist [Wed, 28 Sep 2016 03:22:32 +0000 (05:22 +0200)]
VM: removing end_gc()
Björn Lindqvist [Wed, 28 Sep 2016 03:20:12 +0000 (05:20 +0200)]
VM: better start_gc_again() code
Björn Lindqvist [Mon, 26 Sep 2016 22:31:35 +0000 (00:31 +0200)]
command-line,tools.deploy.shaker: removes refs to executable which i forgot
Björn Lindqvist [Mon, 26 Sep 2016 08:35:42 +0000 (10:35 +0200)]
benchmark: fix benchmark selection so it works like tools.test
Björn Lindqvist [Mon, 26 Sep 2016 03:16:33 +0000 (05:16 +0200)]
VM: return the loop, it is needed for best performance
Björn Lindqvist [Sun, 25 Sep 2016 21:37:04 +0000 (23:37 +0200)]
command-line: executable symbol isn't needed, vm-path is better
Björn Lindqvist [Sun, 25 Sep 2016 18:45:52 +0000 (20:45 +0200)]
benchmark: make it so you can select benchmarks to run
e.g: ./factor -benchmarks="benchmark.gc1 benchmark.gc2" extra/benchmark/benchmark.factor
Björn Lindqvist [Sun, 25 Sep 2016 18:10:16 +0000 (20:10 +0200)]
bootstrap.layouts: sync note in comments
Björn Lindqvist [Sun, 25 Sep 2016 18:07:08 +0000 (20:07 +0200)]
hash-sets,hashtables: improved key@ word
Don't need to check the length of the backing array because it can be
assumed to be > 0. That should make hash lookups a little faster.
Björn Lindqvist [Thu, 22 Sep 2016 15:03:38 +0000 (17:03 +0200)]
VM: removing the 1-arg overload of iterate() (better to be explicit about the fixup)
Björn Lindqvist [Thu, 22 Sep 2016 13:16:07 +0000 (15:16 +0200)]
VM: moving initialize_code_blocks() into primitive_modify_code_heap()
Björn Lindqvist [Thu, 22 Sep 2016 11:13:55 +0000 (13:13 +0200)]
VM: allot_large_object fits better in the allot.hpp file
Björn Lindqvist [Thu, 22 Sep 2016 10:35:38 +0000 (12:35 +0200)]
VM: big refactoring removing the gc_workhorse
Each collector were a slot_visitor containing a gc_workhorse containing
a policy class. This commit removes the gc_workhorse and the policies
and instead "inlines" the common code in the collector bodies. So there
is more code duplication, but the control flow doesn't "jump around" so
much so it is easier to understand. It also makes the nursery gc faster
because its collection code can be optimized better without the
workhorse/policy system.
Björn Lindqvist [Wed, 21 Sep 2016 23:49:12 +0000 (01:49 +0200)]
VM: renaming verify_memory_protection_error to set_memory_protection_error
and sets the signal_fault_addr and signal_fault_pc in the function.
Alexander Iljin [Tue, 20 Sep 2016 19:51:31 +0000 (22:51 +0300)]
io.launcher-docs: add notes on the hidden slot usage
Alexander Iljin [Tue, 20 Sep 2016 19:21:37 +0000 (22:21 +0300)]
help-docs: describe $unchecked-example
John Benediktsson [Tue, 20 Sep 2016 14:04:59 +0000 (07:04 -0700)]
checksums.process: change docs to use $unchecked-example.
Alexander Iljin [Wed, 29 Jun 2016 22:26:11 +0000 (01:26 +0300)]
io.launcher: hide processes created by (process-stream)
Alexander Iljin [Tue, 21 Jun 2016 20:34:44 +0000 (23:34 +0300)]
io.launcher: add the hidden slot to the process tuple
Implemented on Windows only.
John Benediktsson [Tue, 20 Sep 2016 03:20:59 +0000 (20:20 -0700)]
checksums.process: super minor cleanup, simplify trim-head.
Alexander Iljin [Mon, 19 Sep 2016 21:10:06 +0000 (00:10 +0300)]
checksums.process: in the process-state tuple rename proc slot to process
Alexander Iljin [Mon, 19 Sep 2016 21:09:12 +0000 (00:09 +0300)]
checksums.process: reimplement trim-hash and add tests
Use blank? to detect end of hash string.
Alexander Iljin [Sun, 26 Jun 2016 12:00:52 +0000 (15:00 +0300)]
checksums-docs: add link to checksums.process-docs
Alexander Iljin [Wed, 22 Jun 2016 01:07:55 +0000 (04:07 +0300)]
checksums.process: initial commit
John Benediktsson [Mon, 19 Sep 2016 15:16:37 +0000 (08:16 -0700)]
jamshred.sound: re-adding bang.wav that went missing awhile back.
John Benediktsson [Sat, 17 Sep 2016 00:41:31 +0000 (17:41 -0700)]
globs: fix glob for literal path.
Björn Lindqvist [Fri, 16 Sep 2016 17:38:02 +0000 (19:38 +0200)]
io.backend.unix.tests: missed this none reference
Björn Lindqvist [Fri, 16 Sep 2016 13:26:58 +0000 (15:26 +0200)]
none: looks like this vocab isn't needed
Because -e="..." already terminates after evaluation so using -run=none
isn't needed.
Björn Lindqvist [Fri, 16 Sep 2016 12:54:04 +0000 (14:54 +0200)]
bootstrap.stage2: deploy-vocab is never set when running the stage2 process
Björn Lindqvist [Fri, 16 Sep 2016 12:23:01 +0000 (14:23 +0200)]
tools.deploy.shaker: there is no no-def-strip property
Björn Lindqvist [Fri, 16 Sep 2016 04:42:50 +0000 (06:42 +0200)]
opengl.gl.extensions: simpler definition of gl-calling-convention
Björn Lindqvist [Fri, 16 Sep 2016 04:38:35 +0000 (06:38 +0200)]
opengl.gl.extensions: can use counter here
Björn Lindqvist [Thu, 15 Sep 2016 04:51:52 +0000 (06:51 +0200)]
VM: simplifying the load_image() code
John Benediktsson [Thu, 15 Sep 2016 22:00:24 +0000 (15:00 -0700)]
ui.tools.listener: protect vocab completion from bad vocab names.
Björn Lindqvist [Wed, 14 Sep 2016 13:53:29 +0000 (15:53 +0200)]
openal.alut: fixing alut so it should throw better error messages
Björn Lindqvist [Wed, 14 Sep 2016 13:48:35 +0000 (15:48 +0200)]
bootstrap.image: making it so special-objects isn't a global
Björn Lindqvist [Wed, 14 Sep 2016 12:54:43 +0000 (14:54 +0200)]
compiler.codegen: removing the insn-counts global
It created a histogram of instructins for debugging, but it is not so
useful...
Björn Lindqvist [Wed, 14 Sep 2016 12:02:11 +0000 (14:02 +0200)]
io.files: the paths are absolute so cwd prepend-path isn't needed
Björn Lindqvist [Tue, 13 Sep 2016 15:10:33 +0000 (17:10 +0200)]
vocabs.metadata.resources: updating the docs i forgot
Björn Lindqvist [Tue, 13 Sep 2016 04:07:14 +0000 (06:07 +0200)]
vocabs.metadata.resources: new error resource-missing, if a resources.txt line doesnt match something
So then if files declared in resources.txt are missing, that will
hopefully be caught by the deploy process.
Björn Lindqvist [Tue, 13 Sep 2016 03:29:15 +0000 (05:29 +0200)]
vocabs.metadata.resources: refactoring of code for gathering resources
Björn Lindqvist [Mon, 12 Sep 2016 00:11:51 +0000 (02:11 +0200)]
Docs: fixing docs & comments to work with new stack clearing
Björn Lindqvist [Sun, 11 Sep 2016 18:34:44 +0000 (20:34 +0200)]
compiler.*: Remove the scrubbing part of the GC maps
Instead of generating GC maps which describe which stack locations that
are uninitialized, we emit ##clear instructions for those locations in
front of ##call-gc instructions. This makes the context root scanning
much simpler because the GC can assume that all stack slots are
initialized. It also removes the compiler.cfg.stacks.vacant pass and
seem to reduce the image size slightly because many fewer GC maps needs
to be emitted.
Björn Lindqvist [Sat, 10 Sep 2016 01:17:00 +0000 (03:17 +0200)]
VM: the small return_address_index function can be implemented in the header
Björn Lindqvist [Fri, 9 Sep 2016 16:57:57 +0000 (18:57 +0200)]
compiler.codegen.*: removing the init-gc-maps word
Björn Lindqvist [Fri, 9 Sep 2016 06:06:02 +0000 (08:06 +0200)]
compiler.cfg.stacks.*: rename trace-stack-state2 -> trace-stack-state
Alexander Iljin [Sun, 21 Aug 2016 14:26:04 +0000 (17:26 +0300)]
vm: replace block comments /**/ with line comments //
Alexander Iljin [Fri, 5 Aug 2016 12:44:37 +0000 (15:44 +0300)]
Revert "vm: replace line comments // with block comments /**/ for consintency"
This reverts commit
7ee4e5dea5c9734b3e24a70681ed919d941be823 .
Alexander Iljin [Fri, 5 Aug 2016 12:44:29 +0000 (15:44 +0300)]
Revert "vm: fix typo from c++ comment patch causing compile failure."
This reverts commit
4e48e836b9f849f9bc68519cd528396120a6cafd .
Björn Lindqvist [Wed, 7 Sep 2016 23:58:30 +0000 (01:58 +0200)]
compiler.cfg.*: better way to store the block height
It is stored as a height-state instance on the height slot of the
basic-block. It will make better analysis possible because you see how
much the height increased or decreased in the block.
Björn Lindqvist [Wed, 7 Sep 2016 03:16:14 +0000 (05:16 +0200)]
compiler.cfg.stacks.*: new word local-loc>global, replacing untranslate-loc
Björn Lindqvist [Tue, 6 Sep 2016 20:46:10 +0000 (22:46 +0200)]
compiler.cfg.stacks.local: simplified code for getting kill locations
Björn Lindqvist [Tue, 6 Sep 2016 13:44:07 +0000 (15:44 +0200)]
compiler.cfg.*: changing height-state from a 2-el array to a tuple
This way, it is a little easier to see what is going on in the local
analysis phase.
John Benediktsson [Wed, 7 Sep 2016 23:04:59 +0000 (16:04 -0700)]
metar: some fixes for TAF parsing.
John Benediktsson [Wed, 7 Sep 2016 01:13:59 +0000 (18:13 -0700)]
metar: whoops, fix taf url.
John Benediktsson [Wed, 7 Sep 2016 01:11:28 +0000 (18:11 -0700)]
metar: switching urls from weather.noaa.gov to tgftp.nws.noaa.gov.
Björn Lindqvist [Mon, 5 Sep 2016 10:12:01 +0000 (12:12 +0200)]
compiler.cfg.*: removing the adjust-d word
inc-stack can be used in emit-call-block if we check if the block is a
kill block in end-local-analysis
Björn Lindqvist [Mon, 5 Sep 2016 08:37:29 +0000 (10:37 +0200)]
compiler.cfg.stacks.*: removing the adjust word which wasn't useful
Björn Lindqvist [Mon, 5 Sep 2016 05:47:39 +0000 (07:47 +0200)]
ui.*: more tests
Björn Lindqvist [Sun, 4 Sep 2016 04:40:43 +0000 (06:40 +0200)]
Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
Björn Lindqvist [Sun, 4 Sep 2016 04:23:50 +0000 (06:23 +0200)]
compiler.tree: these constructor words aren't needed
Björn Lindqvist [Sun, 4 Sep 2016 04:22:54 +0000 (06:22 +0200)]
compiler.cfg.builder: simplification of the shuffling logic
Björn Lindqvist [Fri, 2 Sep 2016 05:51:42 +0000 (07:51 +0200)]
tools.image-analyzer.*: new word for removing the tag bits
Björn Lindqvist [Thu, 1 Sep 2016 07:59:15 +0000 (09:59 +0200)]
compiler.cfg.debugger: print -> write to not add stray newlines
Björn Lindqvist [Thu, 1 Sep 2016 07:00:01 +0000 (09:00 +0200)]
bootstrap.image.primitives,tools.profiler.sampling: fixing stack effect