]>
gitweb.factorcode.org Git - factor.git/log
Björn Lindqvist [Tue, 1 Sep 2015 12:40:32 +0000 (14:40 +0200)]
VM: always use undecorated names when loading ffi functions
For win32, Factor tries four different function names when loading
stdcall and fastcall functions, in case decorated names are used in the
dll. It seems to not be necessary because a dll meant for 3rd party use
will always export undecorated
names (http://blogs.msdn.com/b/oldnewthing/archive/2004/01/12/57833.aspx).
Björn Lindqvist [Mon, 31 Aug 2015 00:10:05 +0000 (02:10 +0200)]
VM: callback_entry_point() and update() can be removed
Björn Lindqvist [Mon, 31 Aug 2015 00:08:01 +0000 (02:08 +0200)]
compiler.cfg.intrinsics.misc: use the vm-special-object-offset word
Björn Lindqvist [Sun, 30 Aug 2015 10:44:33 +0000 (12:44 +0200)]
VM: give the exception handling special object a real name
Björn Lindqvist [Sun, 30 Aug 2015 10:21:20 +0000 (12:21 +0200)]
VM: get rid of the odd RT_EXCEPTION_HANDLER relocation
The address to the win32 relocation handler can be stored in a special
object and be accessed by jit-install-seh. Doing it that way is better
because you can remove a lot of special code related to that relocation
type.
Björn Lindqvist [Sun, 30 Aug 2015 10:15:22 +0000 (12:15 +0200)]
VM: clear commented out code
Björn Lindqvist [Sat, 29 Aug 2015 21:49:36 +0000 (23:49 +0200)]
compiler.constants: remove a bunch of constants that are unused
(or only used by the defunkt arm backend)
Björn Lindqvist [Sat, 29 Aug 2015 21:41:17 +0000 (23:41 +0200)]
Docs: reorg of the compiler.constants docs a little
Björn Lindqvist [Sat, 29 Aug 2015 21:09:01 +0000 (23:09 +0200)]
VM: nicer way of initializing those special objects that are aliens
Björn Lindqvist [Sat, 29 Aug 2015 16:29:06 +0000 (18:29 +0200)]
VM: the ffi-signal-handler and ffi-leaf-signal-handler primitives are unused
John Benediktsson [Wed, 2 Sep 2015 17:34:59 +0000 (10:34 -0700)]
peg: fix some old docs that referred to "p1".
Jon Harper [Mon, 24 Aug 2015 20:40:39 +0000 (22:40 +0200)]
formatting: fix docs for padding and use a better example
Make the padding number coherent between the example and the docs.
Also bump it from 3 to 10 because [[3.14 "%'#5f" printf]] is "3.140000"
because the default precision is 6.
Jon Harper [Mon, 24 Aug 2015 21:41:02 +0000 (23:41 +0200)]
peg.ebnf: support escaped double quote in a string
Doug Coleman [Fri, 28 Aug 2015 05:27:54 +0000 (22:27 -0700)]
vocabs.metadata: wrap test in a with-manifest to ensure there's a manifest. Fixes #1463.
Doug Coleman [Fri, 28 Aug 2015 01:51:40 +0000 (18:51 -0700)]
vocabs.metadata: Fix test so it stops trying to load the wrong platform vocabulary forever. Fixes #1463.
Doug Coleman [Thu, 27 Aug 2015 18:29:26 +0000 (11:29 -0700)]
windows.kernel32: add more bindings
Björn Lindqvist [Wed, 26 Aug 2015 18:15:42 +0000 (20:15 +0200)]
VM: better way to set signal_resumable
Björn Lindqvist [Wed, 26 Aug 2015 16:17:33 +0000 (18:17 +0200)]
VM: fix jit-signal-handler-prolog/epilog to account for the home space
Windows 64bit abi requires callers to reserve 32 bytes of home space in
the stack frame which the callee is free to clobber. Previous versions
of VS didn't compile code to take advantage of the home space so it
worked fined. VS2015 however, is using the home space which causes
registers and flags that were supposed to be saved to be
overwritten. The fix is to put a little extra empty space at the bottom
of the stack frame.
Björn Lindqvist [Wed, 26 Aug 2015 14:56:55 +0000 (16:56 +0200)]
VM: instead of enqueue_safepoint() just call set_safepoint_guard() directly
Björn Lindqvist [Wed, 26 Aug 2015 10:00:11 +0000 (12:00 +0200)]
VM: refactoring, new function get_thread_pc() and simpler logic in exception_handler()
Björn Lindqvist [Wed, 26 Aug 2015 09:58:39 +0000 (11:58 +0200)]
VM: signal_fault_pc probably should be set here...
Björn Lindqvist [Mon, 24 Aug 2015 20:44:30 +0000 (22:44 +0200)]
VM: LEAF_FRAME_SIZE is 16 bytes on all platforms so we can simplify it
Doug Coleman [Wed, 26 Aug 2015 04:58:42 +0000 (04:58 +0000)]
factor.sh: pass CC and CXX to make script.
Doug Coleman [Wed, 26 Aug 2015 04:11:19 +0000 (04:11 +0000)]
factor.sh: add g++ to deps-apt-get. Add all() function to make sure we have both gcc and g++ (since they install separately). Add any() function to tell which of the commands it finds. Fix bug with wget/curl where the function was not meant to accept multiple arguments.
John Benediktsson [Mon, 24 Aug 2015 17:27:00 +0000 (10:27 -0700)]
ui.gestures: update action gesture docs, thanks @jonenst!
John Benediktsson [Mon, 24 Aug 2015 17:21:35 +0000 (10:21 -0700)]
locals.parser: change docs for with-lambda-scope.
Björn Lindqvist [Mon, 24 Aug 2015 07:47:36 +0000 (09:47 +0200)]
VM: merge memory_protection_error() with memory_signal_handler_impl()
Björn Lindqvist [Mon, 24 Aug 2015 06:58:03 +0000 (08:58 +0200)]
VM: new function set_safepoint_guard to replace the functions (un)guard_safepoint
Björn Lindqvist [Mon, 24 Aug 2015 06:47:36 +0000 (08:47 +0200)]
VM: new function set_memory_locked(true/false)
it wraps the mprotect/VirtualProtect platform differences and makes it
so you can unify some windows/unix code path forks
Björn Lindqvist [Sat, 22 Aug 2015 16:22:28 +0000 (18:22 +0200)]
io.files: command line params is in the system's native encoding
Björn Lindqvist [Fri, 21 Aug 2015 05:42:03 +0000 (07:42 +0200)]
VM: make the debug output a little prettier
Björn Lindqvist [Fri, 21 Aug 2015 05:23:05 +0000 (07:23 +0200)]
VM: the windows_image_path method is unused
Doug Coleman [Sun, 23 Aug 2015 20:48:20 +0000 (13:48 -0700)]
words: cleaning up word-props
Doug Coleman [Sun, 23 Aug 2015 20:32:24 +0000 (13:32 -0700)]
classes.parser: add a create-class word.
Doug Coleman [Mon, 24 Aug 2015 05:39:00 +0000 (22:39 -0700)]
factor.sh: Prefer clang to gcc and stop special-casing mac.
Add deps-dnf command to install all Fedora packages.
Add full-report command to see what's installed.
John Benediktsson [Mon, 24 Aug 2015 01:43:36 +0000 (18:43 -0700)]
vocabs.metadata: add some tests.
John Benediktsson [Mon, 24 Aug 2015 01:37:34 +0000 (18:37 -0700)]
vocabs.metadata: fix for error refactoring.
Björn Lindqvist [Tue, 18 Aug 2015 07:47:11 +0000 (09:47 +0200)]
VM: merge the compute_dlsym_toc_address() with the
compute_dlsym_address() method
it makes the code slightly more cluttered but you get rid of a lot of
special casing for the ppc platform
Björn Lindqvist [Tue, 18 Aug 2015 06:18:41 +0000 (08:18 +0200)]
VM: make allot_alien() and ffi_dlsym() use cell instead of void*
this way we get rid of a bunch of superfluous casts
Björn Lindqvist [Tue, 18 Aug 2015 05:58:44 +0000 (07:58 +0200)]
VM: gc required here because we are iterating all objects
Björn Lindqvist [Tue, 18 Aug 2015 05:55:36 +0000 (07:55 +0200)]
VM: new iteration method each_object_each_slot()
used by find_data_references() and dump_edges() instead of the functor structs
Björn Lindqvist [Mon, 17 Aug 2015 09:37:24 +0000 (11:37 +0200)]
VM: removing the get_datastack/retainstack/callstack primitives
they can all be implemented using the
datastack/retainstack/callstack-for primitives and the less primitives
the better!
Doug Coleman [Wed, 19 Aug 2015 22:20:45 +0000 (17:20 -0500)]
ui.baseline-alignment: Don't divide f by 2. Also, can't put ``0 or`` after
``max-cap-height`` because it breaks something else.
Doug Coleman [Wed, 19 Aug 2015 06:22:55 +0000 (23:22 -0700)]
ui.backend.cocoa.views: Don't throw an error on weird mouse buttons. Fixes #1453.
John Benediktsson [Tue, 18 Aug 2015 03:48:48 +0000 (20:48 -0700)]
more cleanup.
John Benediktsson [Tue, 18 Aug 2015 03:32:28 +0000 (20:32 -0700)]
minor cleanup.
John Benediktsson [Tue, 18 Aug 2015 02:49:12 +0000 (19:49 -0700)]
strings.parser: finish removing triple-strings.
parse-string => parse-short-string (on the same line)
parse-multiline-string-until => parse-full-string
Doug Coleman [Mon, 17 Aug 2015 18:23:11 +0000 (13:23 -0500)]
factor.cmd: git pull from http doesn't update my local master to remote's
master. using git:// instead.
John Benediktsson [Mon, 17 Aug 2015 16:43:54 +0000 (09:43 -0700)]
slides: make it work on windows (no gradients).
John Benediktsson [Sun, 16 Aug 2015 21:29:21 +0000 (14:29 -0700)]
ui.gadgets.editors: make it easier to set and get default-text.
John Benediktsson [Sun, 16 Aug 2015 20:45:29 +0000 (13:45 -0700)]
ui.tools.browser: use default-text to make search box prettier.
John Benediktsson [Sun, 16 Aug 2015 20:45:16 +0000 (13:45 -0700)]
ui.gadgets.editors: allow action-fields to have a default text.
John Benediktsson [Sun, 16 Aug 2015 19:58:38 +0000 (12:58 -0700)]
ui.tools.browser: better to remove page-color than change it.
John Benediktsson [Sun, 16 Aug 2015 19:54:56 +0000 (12:54 -0700)]
help.stylesheet: add back page-color and override in ui.tools.browser.
John Benediktsson [Sun, 16 Aug 2015 19:39:08 +0000 (12:39 -0700)]
prettyprint: fix for -> rename.
John Benediktsson [Sun, 16 Aug 2015 18:38:38 +0000 (11:38 -0700)]
help: fix some html navigation styles.
John Benediktsson [Sun, 16 Aug 2015 18:32:54 +0000 (11:32 -0700)]
help: make the default print prev/next links but then modify ui.tools.browser to do what it used to do.
John Benediktsson [Sun, 16 Aug 2015 18:11:11 +0000 (11:11 -0700)]
help.html: fix navigation links at top.
Doug Coleman [Sun, 16 Aug 2015 17:57:40 +0000 (10:57 -0700)]
prettyprint: change -> to => for newparser and -> cocoa syntax. Alternatives are possible.
John Benediktsson [Sun, 16 Aug 2015 17:46:28 +0000 (10:46 -0700)]
ui.gadgets: fix help-lint warnings.
John Benediktsson [Sun, 16 Aug 2015 17:41:16 +0000 (10:41 -0700)]
ui.gadgets: fix some tests.
John Benediktsson [Sun, 16 Aug 2015 17:33:52 +0000 (10:33 -0700)]
ui.gadgets: move some buttons-tests to toolbar-tests.
John Benediktsson [Sun, 16 Aug 2015 17:22:11 +0000 (10:22 -0700)]
ui.tools.browser: remove spacer for right now...
...until we have the text-within-empty-label thing fixed it gives
us a little more space to type into.
John Benediktsson [Sun, 16 Aug 2015 15:12:37 +0000 (08:12 -0700)]
gopher-ui: use ui.gadgets.toolbar.
John Benediktsson [Sun, 16 Aug 2015 15:04:58 +0000 (08:04 -0700)]
ui.gadgets.labeled: separate title-bar-interior with a comment why.
nicolas-p [Sun, 16 Aug 2015 10:44:14 +0000 (12:44 +0200)]
ui.gadgets.labeled: fixed USING
nicolas-p [Sun, 16 Aug 2015 09:14:48 +0000 (11:14 +0200)]
ui.gadgets.theme.light: colour changes
nicolas-p [Sun, 16 Aug 2015 09:14:24 +0000 (11:14 +0200)]
ui.gadgets.labeled: flat colour on windows because of the gradient bug
nicolas-p [Sun, 16 Aug 2015 09:09:04 +0000 (11:09 +0200)]
ui.tools.walker: improved status text
nicolas-p [Sun, 16 Aug 2015 09:01:32 +0000 (11:01 +0200)]
help: fixed USING
nicolas-p [Fri, 7 Aug 2015 16:36:11 +0000 (18:36 +0200)]
ui.tools.browser: navigation fix
nicolas-p [Fri, 7 Aug 2015 15:42:14 +0000 (17:42 +0200)]
ui.gadgets.color: changed error colour
Reverted a previous unintentional change
nicolas-p [Fri, 7 Aug 2015 15:29:10 +0000 (17:29 +0200)]
ui.theme.light: using HEXCOLOR
nicolas-p [Thu, 6 Aug 2015 22:05:48 +0000 (00:05 +0200)]
Refactored prev/next buttons code
nicolas-p [Thu, 30 Jul 2015 20:58:00 +0000 (22:58 +0200)]
help: Added arrows in prev/next links
nicolas-p [Thu, 30 Jul 2015 17:48:11 +0000 (19:48 +0200)]
ui.gadgets.scrollers: removed 1-px gap
nicolas-p [Thu, 30 Jul 2015 17:43:32 +0000 (19:43 +0200)]
ui.gadgets.colors moved to ui.gadgets.theme
nicolas-p [Wed, 29 Jul 2015 15:31:19 +0000 (17:31 +0200)]
Fixed USING in slots and deploy
nicolas-p [Wed, 29 Jul 2015 15:30:48 +0000 (17:30 +0200)]
Moved toolbar docs
nicolas-p [Sun, 26 Jul 2015 20:45:23 +0000 (22:45 +0200)]
New buttons
nicolas-p [Sun, 26 Jul 2015 16:55:59 +0000 (18:55 +0200)]
Toolbar button pressed background
nicolas-p [Sun, 26 Jul 2015 13:33:37 +0000 (15:33 +0200)]
ui.gadgets.colors: Several colour changes
nicolas-p [Sun, 26 Jul 2015 08:40:18 +0000 (10:40 +0200)]
Fixed alignment issue in toolbars
nicolas-p [Sun, 26 Jul 2015 08:38:33 +0000 (10:38 +0200)]
Fixed USING:
nicolas-p [Sun, 26 Jul 2015 07:39:18 +0000 (09:39 +0200)]
Red/orange/green thread status in Walker
John did most of the work
nicolas-p [Sat, 25 Jul 2015 18:10:26 +0000 (20:10 +0200)]
Simplified toolbar code
nicolas-p [Sat, 25 Jul 2015 14:46:22 +0000 (16:46 +0200)]
Small change in roll button colour
nicolas-p [Sat, 25 Jul 2015 14:31:49 +0000 (16:31 +0200)]
Other small adjustment in browser toolbar
nicolas-p [Sat, 25 Jul 2015 13:10:04 +0000 (15:10 +0200)]
Small adjustments in browser toolbar
nicolas-p [Sat, 25 Jul 2015 13:05:53 +0000 (15:05 +0200)]
Revert previous colour change
Changed my mind
nicolas-p [Sat, 25 Jul 2015 09:53:00 +0000 (11:53 +0200)]
Improved contents table in Inspector
nicolas-p [Sat, 25 Jul 2015 09:14:04 +0000 (11:14 +0200)]
Colour changes
nicolas-p [Sat, 25 Jul 2015 07:39:46 +0000 (09:39 +0200)]
Fixed compatibility issue with labeled gadget
nicolas-p [Fri, 24 Jul 2015 19:16:42 +0000 (21:16 +0200)]
Toolbar no longer uses images
nicolas-p [Fri, 24 Jul 2015 18:23:54 +0000 (20:23 +0200)]
Authors and summary for ui.gadgets.toolbar
nicolas-p [Fri, 24 Jul 2015 18:20:05 +0000 (20:20 +0200)]
Authors and summary for ui.gadgets.colors
nicolas-p [Fri, 24 Jul 2015 18:04:19 +0000 (20:04 +0200)]
Removing menu item images
I’m under the impression that they’ve never been used.
nicolas-p [Fri, 24 Jul 2015 18:03:20 +0000 (20:03 +0200)]
Removing menu images
nicolas-p [Fri, 24 Jul 2015 18:01:20 +0000 (20:01 +0200)]
Removing labeled block images
nicolas-p [Fri, 24 Jul 2015 16:50:16 +0000 (18:50 +0200)]
help: removing prefix