Commit Graph

27996 Commits (663e5e2a09f0e2de852998b9cd188374e40e2ebf)

Author SHA1 Message Date
Björn Lindqvist 663e5e2a09 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.
2015-08-26 20:23:25 +02:00
Björn Lindqvist 316b16f377 VM: instead of enqueue_safepoint() just call set_safepoint_guard() directly 2015-08-26 20:23:23 +02:00
Björn Lindqvist 5a39631b4b VM: refactoring, new function get_thread_pc() and simpler logic in exception_handler() 2015-08-26 20:23:20 +02:00
Björn Lindqvist 2a852915d2 VM: signal_fault_pc probably should be set here... 2015-08-26 20:23:17 +02:00
Björn Lindqvist 10464e7e4e VM: LEAF_FRAME_SIZE is 16 bytes on all platforms so we can simplify it 2015-08-26 20:23:15 +02:00
Doug Coleman 05de24e9a1 factor.sh: pass CC and CXX to make script. 2015-08-26 04:58:42 +00:00
Doug Coleman 7a75694d91 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. 2015-08-26 04:11:19 +00:00
John Benediktsson 8db66d9dd3 ui.gestures: update action gesture docs, thanks @jonenst! 2015-08-24 10:27:00 -07:00
John Benediktsson e45e669fd6 locals.parser: change docs for with-lambda-scope. 2015-08-24 10:21:35 -07:00
Björn Lindqvist cb0bf3b1ce VM: merge memory_protection_error() with memory_signal_handler_impl() 2015-08-24 07:23:40 -07:00
Björn Lindqvist 39c888230a VM: new function set_safepoint_guard to replace the functions (un)guard_safepoint 2015-08-24 07:23:40 -07:00
Björn Lindqvist 56ddb59b00 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
2015-08-24 07:23:40 -07:00
Björn Lindqvist a2e8af2581 io.files: command line params is in the system's native encoding 2015-08-24 07:23:40 -07:00
Björn Lindqvist 94eb855903 VM: make the debug output a little prettier 2015-08-24 07:23:40 -07:00
Björn Lindqvist 51daaf6be4 VM: the windows_image_path method is unused 2015-08-24 07:23:40 -07:00
Doug Coleman 0a5c181c9e words: cleaning up word-props 2015-08-23 22:40:56 -07:00
Doug Coleman de4e42b6ca classes.parser: add a create-class word. 2015-08-23 22:40:56 -07:00
Doug Coleman 92e576e544 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.
2015-08-23 22:39:00 -07:00
John Benediktsson 3154e70b88 vocabs.metadata: add some tests. 2015-08-23 18:43:36 -07:00
John Benediktsson 087b8df798 vocabs.metadata: fix for error refactoring. 2015-08-23 18:37:34 -07:00
Björn Lindqvist 4efef7bfd9 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
2015-08-23 18:36:31 -07:00
Björn Lindqvist a53d5be683 VM: make allot_alien() and ffi_dlsym() use cell instead of void*
this way we get rid of a bunch of superfluous casts
2015-08-23 18:36:31 -07:00
Björn Lindqvist 1045f41778 VM: gc required here because we are iterating all objects 2015-08-23 18:36:31 -07:00
Björn Lindqvist 7f545271f4 VM: new iteration method each_object_each_slot()
used by find_data_references() and dump_edges() instead of the functor structs
2015-08-23 18:36:31 -07:00
Björn Lindqvist 59b7a50567 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!
2015-08-23 18:36:30 -07:00
Doug Coleman f6c1d00c37 ui.baseline-alignment: Don't divide f by 2. Also, can't put ``0 or`` after
``max-cap-height`` because it breaks something else.
2015-08-19 17:20:45 -05:00
Doug Coleman 3649dd2764 ui.backend.cocoa.views: Don't throw an error on weird mouse buttons. Fixes #1453. 2015-08-18 23:22:55 -07:00
John Benediktsson ac5da311f7 more cleanup. 2015-08-17 20:48:48 -07:00
John Benediktsson e8cc383388 minor cleanup. 2015-08-17 20:32:28 -07:00
John Benediktsson 399d01f56e strings.parser: finish removing triple-strings.
parse-string => parse-short-string (on the same line)
parse-multiline-string-until => parse-full-string
2015-08-17 19:49:12 -07:00
Doug Coleman 048bdca050 factor.cmd: git pull from http doesn't update my local master to remote's
master. using git:// instead.
2015-08-17 13:23:11 -05:00
John Benediktsson 9d428cbcaf slides: make it work on windows (no gradients). 2015-08-17 09:43:54 -07:00
John Benediktsson ff880262cb ui.gadgets.editors: make it easier to set and get default-text. 2015-08-16 14:29:21 -07:00
John Benediktsson 6de244da44 ui.tools.browser: use default-text to make search box prettier. 2015-08-16 13:45:29 -07:00
John Benediktsson f24444e990 ui.gadgets.editors: allow action-fields to have a default text. 2015-08-16 13:45:16 -07:00
John Benediktsson f3608deb63 ui.tools.browser: better to remove page-color than change it. 2015-08-16 12:58:38 -07:00
John Benediktsson 7dd0acbf0f help.stylesheet: add back page-color and override in ui.tools.browser. 2015-08-16 12:54:56 -07:00
John Benediktsson c957ab876c prettyprint: fix for -> rename. 2015-08-16 12:39:08 -07:00
John Benediktsson ace299b5c7 help: fix some html navigation styles. 2015-08-16 11:38:38 -07:00
John Benediktsson 81cbf71d27 help: make the default print prev/next links but then modify ui.tools.browser to do what it used to do. 2015-08-16 11:33:24 -07:00
John Benediktsson 92762cb56b help.html: fix navigation links at top. 2015-08-16 11:33:24 -07:00
Doug Coleman f414323d1d prettyprint: change -> to => for newparser and -> cocoa syntax. Alternatives are possible. 2015-08-16 10:59:03 -07:00
John Benediktsson 6b440e5e81 ui.gadgets: fix help-lint warnings. 2015-08-16 10:46:28 -07:00
John Benediktsson 15b0753457 ui.gadgets: fix some tests. 2015-08-16 10:41:16 -07:00
John Benediktsson 29d4908ff5 ui.gadgets: move some buttons-tests to toolbar-tests. 2015-08-16 10:33:52 -07:00
John Benediktsson bfbab98d57 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.
2015-08-16 10:22:11 -07:00
John Benediktsson 0af0f5c424 gopher-ui: use ui.gadgets.toolbar. 2015-08-16 08:12:37 -07:00
John Benediktsson cb575c1ba8 ui.gadgets.labeled: separate title-bar-interior with a comment why. 2015-08-16 08:04:58 -07:00
nicolas-p 87a31f1f35 ui.gadgets.labeled: fixed USING 2015-08-16 07:54:45 -07:00
nicolas-p 61f8db4c81 ui.gadgets.theme.light: colour changes 2015-08-16 07:54:45 -07:00