Commit Graph

12791 Commits (8073c8a77ebe92afd120d8e3cb89fdab96d0dba1)

Author SHA1 Message Date
Björn Lindqvist 37cd54cfbb io.files.windows.tests: windows test for the save-image not failing failure #1489
this one really should always throw permission denied or else something
is very spooky
2015-10-11 04:21:43 +02:00
Björn Lindqvist e35087fb22 io.files.windows: fix incorrect parsing of file attribute bitfield in win32-file-attributes 2015-10-11 04:11:30 +02:00
Björn Lindqvist e8841a4967 classes.struct: fix for struct equality and hashcode #1194
Instead of comparing the structs underlying byte arrays, get their slots
and compare that.
2015-10-10 23:58:04 +02:00
Björn Lindqvist 81ad3e21cb tuple-arrays: initial-values can be reused here to create the tuple
array sequence
2015-10-10 23:58:04 +02:00
Doug Coleman 8e90bd3dec kernel32: Fix a typo, fix a constant value, another typo, add three more
flags to the monitors api.
2015-10-09 20:38:30 -07:00
Doug Coleman db793e06f6 io.files.windows: SetFilePointer takes a PLONG not a uint pointer. 2015-10-09 19:50:06 -07:00
Doug Coleman 78f9fe9053 io.monitors.windows: make a DWORD ref instead of a uint. probably
irrelevant but it's what the win32 api header uses.
2015-10-09 19:21:24 -07:00
Björn Lindqvist 77f0d0042e unix.ffi,windows.winsock: add the rest of the AI_* flags
Currently unused, but they are useful if you are calling the getaddrinfo
function directly
2015-10-08 15:29:14 +02:00
Björn Lindqvist 75b8b4a408 io.servers: filter the list of addrspecs in listen-on so that only
usable ones remains

"localhost" resolve-host can return unusable ipv6 addresses on hosts not
supporting ipv6. So a filtering step is needed in listen-on.
2015-10-08 15:08:07 +02:00
Björn Lindqvist 2f4c8ee07a listener: only call parser-quiet? off when listener starts
it probably shouldn't be called on every input loop because then if you
set parser-quiet? to t, the setting will be undone
2015-10-05 17:04:36 +02:00
Björn Lindqvist cc4bb991b2 webapps.wiki.example: new vocab to show how the wiki webapp should be
run

it's a little tricky to figure out so a vocab demonstrating it is useful
2015-10-04 03:07:29 +02:00
Björn Lindqvist 28c179cf59 furnace.recaptcha: logic in recaptcha-url was wrong, fix and test case 2015-10-04 02:26:02 +02:00
Björn Lindqvist 0a3b4b4872 io.sockets.secure.debug: use <test-secure-config> in some places
the word can be reused in a few places when setting up ssl. it removes
some duplicated code
2015-10-04 01:25:11 +02:00
John Benediktsson 29f94f8a65 http.server.static: better fix for cgi-docs issue. 2015-10-02 11:32:20 -07:00
John Benediktsson 36c002f567 http.server.cgi: different fix maybe. 2015-10-02 11:25:36 -07:00
John Benediktsson 761f0d630e Revert "http.server.cgi: fix for the dependency cycle http.server.cgi <=>"
This reverts commit 51c5484e24.
2015-10-02 11:12:56 -07:00
Björn Lindqvist 51c5484e24 http.server.cgi: fix for the dependency cycle http.server.cgi <=>
http.server.static (#1311)
2015-10-02 14:19:47 +02:00
Björn Lindqvist 6b940cb972 furnace.auth.login: name of the realm is already set in the <login-realm> constructor 2015-10-02 13:14:26 +02:00
John Benediktsson 30182a4d38 debugger: adding strerror of the errno to io-error. 2015-10-01 08:15:39 -07:00
Björn Lindqvist dbcfc178ff io.directories.unix,environment.unix: better to use
native-string-encoding over hardcoding utf8
2015-10-01 15:52:51 +02:00
Björn Lindqvist ffc441ad63 VM: looks like ERROR_C_STRING is never thrown, so it can be removed 2015-09-29 23:12:56 +02:00
Alexander Iljin 13b4b76632 Fix a word in some old documentation on lazy lists. 2015-09-29 09:12:35 -07:00
Alexander Iljin 156a2d0b90 Minor documentation fixes. 2015-09-29 09:12:29 -07:00
John Benediktsson 2dea9bab74 ui.backend.gtk: small typo fix. 2015-09-28 14:48:20 -07:00
Björn Lindqvist 94f863f33e ui.backend.gtk: make it so configure-im is called after realize (#1307)
gtk_im_context_set_client_window must be called with a realized window
otherwise IM won't work,
http://lists.maemo.org/pipermail//maemo-developers/2006-January/002337.html
2015-09-28 15:33:36 +02:00
Björn Lindqvist be7fc6f7c9 logging: let's include the tb when logging errors, makes it way easier
to debug!
2015-09-24 11:43:48 +02:00
John Benediktsson 924fc60e30 io.ports: bring back file read performance, ignoring zeroes. 2015-09-23 20:07:53 -07:00
Doug Coleman 84e0034168 io.standard-paths.unix: iterm2 integration has some spew before every bash command if you have enabled shell integration. these commands end in ascii 7, so find the last one, strip it off, and then split on ":". Fixes the mac graphviz install problem. 2015-09-23 17:11:47 -07:00
John Benediktsson b644afb019 stack-checker.inlining: fix help-lint. 2015-09-23 17:10:43 -07:00
Björn Lindqvist 4890239c3c compiler.tree.propagation.tests: #1370 specific test 2015-09-22 09:03:16 +02:00
Björn Lindqvist 804348287c Docs: fix a bunch of help-lint warnings 2015-09-22 08:52:59 +02:00
Björn Lindqvist c5b92cedcb compiler.*: even more compiler docs 2015-09-22 08:52:59 +02:00
Björn Lindqvist 4db173cadb compiler.*: random doc and tests updates 2015-09-22 08:52:59 +02:00
Björn Lindqvist 3e485652fe compiler.tree.propagation.slots: looks like you can do without the
constructor-output-class word
2015-09-22 08:52:59 +02:00
Björn Lindqvist 09ad5bd617 compiler.tree.propagation.slots: docs & tests for the vocab 2015-09-22 08:52:59 +02:00
Björn Lindqvist 4ee88bdc3d compiler.tree.propagation.info: better logic for comparing value-infos
Now the slots of the value infos only matter if the class of the first
info is at least as large as the class of the second info
2015-09-22 08:52:37 +02:00
Björn Lindqvist bc0cdff2c6 compiler.tree.propagation.info: fixed value-info<= so that it handles
slots correctly

if a slot is defined for a value-info, then it can't be <= a value-info
without that slot defined
2015-09-22 08:52:37 +02:00
Björn Lindqvist 86d35982ac compiler.cfg.linear-scan.allocation.splitting: better def for split-uses
it seems to be just as fast as the wordier one
2015-09-22 08:52:37 +02:00
Björn Lindqvist ea67379751 compiler.tree.*: new tests 2015-09-22 08:52:37 +02:00
Björn Lindqvist b9ce4910af compiler.tree.*: docs 2015-09-22 08:52:36 +02:00
Björn Lindqvist aaef9af863 compiler.cfg.*: random doc updates 2015-09-22 08:51:46 +02:00
Björn Lindqvist a1153e6de1 compiler.tree.propagation.info: more docs and tests for the vocab 2015-09-22 08:51:46 +02:00
Björn Lindqvist bb8b77419f compiler.tree.propagation.nodes: the loop-nesting variable appears unused 2015-09-22 08:51:05 +02:00
Björn Lindqvist 44092bf78d compiler.tree.propagation.*: better to use 2array than the "cuter" /\ word 2015-09-22 08:51:05 +02:00
Björn Lindqvist 9369f8216f compiler.tree.propagation.constraints: docs for this vocab 2015-09-22 08:51:04 +02:00
Björn Lindqvist 508ddc5c0b compiler.cfg.linear-scan.ranges: merge adjacent ranges when adding them
this way, the number of live interval ranges you have to deal with is
much smaller
2015-09-22 08:51:04 +02:00
Björn Lindqvist 89e261f673 compiler.cfg.linear-scan.ranges: remove the live-range definition and
use integer pairs instead

so instead of ranges being a sequence of live-ranges it is now a
sequence of integer pairs instead. That makes the
compiler.cfg.linear-scan.ranges simpler and easier to generalize
2015-09-22 08:51:04 +02:00
Björn Lindqvist 2943e7f246 compiler.cfg.linear-scan.ranges: new word ranges-endpoints and remove relevant-ranges 2015-09-22 08:51:04 +02:00
Björn Lindqvist 8c781639ed compiler.cfg.linear-scan.ranges: move more range-related features into
this vocab
2015-09-22 08:51:04 +02:00
Björn Lindqvist fb45bc278f compiler.cfg.linear-scan.live-intervals: the reg-class slot can be
removed

it's always the same as vreg>> rep-of reg-class-of so no need to store
that data twice
2015-09-22 08:51:04 +02:00
Björn Lindqvist 68c6654763 compiler.cfg.linear-scan.*: move words for splitting and intersecting ranges to the compiler.cfg.linear-scan.ranges vocab 2015-09-22 08:51:04 +02:00
Björn Lindqvist b8d47ed845 compiler.cfg.linear-scan.ranges: new vocab to contain all the range
related stuff from live intervals
2015-09-22 08:51:03 +02:00
Björn Lindqvist d0aae5cc20 compiler.cfg.linearization: number-blocks can set the number>> accessor
instead of using the numbers dynamic variable
2015-09-22 08:51:03 +02:00
John Benediktsson d5c5a1389d ui.gadgets.paragraphs: pref-dim of { 0 0 } if no children. 2015-09-20 09:45:05 -07:00
John Benediktsson e0bcd7423b wrap.words: make it work with empty input. 2015-09-20 09:44:17 -07:00
John Benediktsson d6b545a10b html.streams: fix tests. 2015-09-14 20:32:45 -07:00
John Benediktsson ba3f342bf1 help.html: cleanup extra spaces. 2015-09-14 15:43:33 -07:00
John Benediktsson 74d8e43312 help.html: simplify html by saving styles as classes.
We store the CSS classes in the HTML <style> tag.
2015-09-14 13:32:38 -07:00
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson 75e50ec5e0 images.loader: use accessors in tests. 2015-09-06 08:23:17 -07:00
Björn Lindqvist 5684fab484 images.loader.gdiplus: fix for the call to GdipBitmapLockBits
GdipBitmapLockBits might trigger gc so the GpRect struct must be copied
to stable stack memory so that the collector doesn't move it.
2015-09-06 15:15:01 +02:00
Björn Lindqvist 721048bbb9 bootstrap.image.tests: total 20 -> 18 2015-09-03 13:18:26 +02:00
John Benediktsson 2435307fb3 peg: some cleanup. 2015-09-02 13:14:01 -07:00
Björn Lindqvist bc7f9ee669 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).
2015-09-02 21:54:41 +02:00
Björn Lindqvist 9725169ca7 compiler.cfg.intrinsics.misc: use the vm-special-object-offset word 2015-09-02 21:54:36 +02:00
Björn Lindqvist de4917e6a1 VM: give the exception handling special object a real name 2015-09-02 21:54:33 +02:00
Björn Lindqvist 22887c5816 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.
2015-09-02 21:54:30 +02:00
Björn Lindqvist 85e45ae29e compiler.constants: remove a bunch of constants that are unused
(or only used by the defunkt arm backend)
2015-09-02 21:54:24 +02:00
Björn Lindqvist a89b0c2b30 Docs: reorg of the compiler.constants docs a little 2015-09-02 21:54:21 +02:00
Björn Lindqvist cee0b19324 VM: the ffi-signal-handler and ffi-leaf-signal-handler primitives are unused 2015-09-02 21:54:15 +02:00
John Benediktsson b28a24c7df peg: fix some old docs that referred to "p1". 2015-09-02 10:34:59 -07:00
Jon Harper 6ee9fad443 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.
2015-08-30 18:43:59 +02:00
Jon Harper 03630e8100 peg.ebnf: support escaped double quote in a string 2015-08-30 18:43:58 +02:00
Doug Coleman b2a51dfeb2 vocabs.metadata: wrap test in a with-manifest to ensure there's a manifest. Fixes #1463. 2015-08-27 22:28:30 -07:00
Doug Coleman 2a520191e1 vocabs.metadata: Fix test so it stops trying to load the wrong platform vocabulary forever. Fixes #1463. 2015-08-27 18:51:40 -07:00
Doug Coleman bb16ef8a86 windows.kernel32: add more bindings 2015-08-27 11:29:26 -07:00
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 10464e7e4e VM: LEAF_FRAME_SIZE is 16 bytes on all platforms so we can simplify it 2015-08-26 20:23:15 +02: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
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 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 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
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 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
nicolas-p b81a5f9c7a ui.gadgets.labeled: flat colour on windows because of the gradient bug 2015-08-16 07:54:45 -07:00
nicolas-p 2a7cc29693 ui.tools.walker: improved status text 2015-08-16 07:54:45 -07:00
nicolas-p d71f7b955e help: fixed USING 2015-08-16 07:54:45 -07:00
nicolas-p bfb81f67cf ui.tools.browser: navigation fix 2015-08-16 07:54:16 -07:00
nicolas-p fff4ea78ec ui.gadgets.color: changed error colour
Reverted a previous unintentional change
2015-08-16 07:54:16 -07:00
nicolas-p bab79fe04c ui.theme.light: using HEXCOLOR 2015-08-16 07:54:16 -07:00
nicolas-p 1817a4b8cb Refactored prev/next buttons code 2015-08-16 07:54:16 -07:00
nicolas-p 706fe6eb4e help: Added arrows in prev/next links 2015-08-16 07:53:34 -07:00
nicolas-p 55c994f1c1 ui.gadgets.scrollers: removed 1-px gap 2015-08-16 07:53:34 -07:00
nicolas-p bf2b829846 ui.gadgets.colors moved to ui.gadgets.theme 2015-08-16 07:53:33 -07:00
nicolas-p 23a1174e81 Fixed USING in slots and deploy 2015-08-16 07:53:33 -07:00
nicolas-p 9f8736c13c Moved toolbar docs 2015-08-16 07:53:33 -07:00
nicolas-p 355e14cb5b New buttons 2015-08-16 07:53:33 -07:00
nicolas-p 9d5336777d Toolbar button pressed background 2015-08-16 07:53:33 -07:00
nicolas-p 4335698ceb ui.gadgets.colors: Several colour changes 2015-08-16 07:53:33 -07:00
nicolas-p a0eaf7a66b Fixed alignment issue in toolbars 2015-08-16 07:53:32 -07:00
nicolas-p 40c6e04128 Fixed USING: 2015-08-16 07:53:32 -07:00
nicolas-p 279795dbfd Red/orange/green thread status in Walker
John did most of the work
2015-08-16 07:53:32 -07:00
nicolas-p 61552d2901 Simplified toolbar code 2015-08-16 07:53:32 -07:00
nicolas-p 2e067a3705 Small change in roll button colour 2015-08-16 07:53:32 -07:00
nicolas-p 883d7e09d9 Other small adjustment in browser toolbar 2015-08-16 07:53:32 -07:00
nicolas-p 32ae5da655 Small adjustments in browser toolbar 2015-08-16 07:53:32 -07:00
nicolas-p c0e253a4a5 Revert previous colour change
Changed my mind
2015-08-16 07:53:31 -07:00
nicolas-p f240f189e1 Improved contents table in Inspector 2015-08-16 07:53:31 -07:00
nicolas-p 80307926f6 Colour changes 2015-08-16 07:53:31 -07:00
nicolas-p f4e8511c0a Fixed compatibility issue with labeled gadget 2015-08-16 07:53:31 -07:00
nicolas-p 18a4171572 Toolbar no longer uses images 2015-08-16 07:53:31 -07:00
nicolas-p 008614e6cb Authors and summary for ui.gadgets.toolbar 2015-08-16 07:53:31 -07:00
nicolas-p 79e273a250 Authors and summary for ui.gadgets.colors 2015-08-16 07:53:30 -07:00
nicolas-p 44a6228931 Removing menu item images
I’m under the impression that they’ve never been used.
2015-08-16 07:53:30 -07:00
nicolas-p 9d464fea9a Removing menu images 2015-08-16 07:53:30 -07:00
nicolas-p 086c90822d Removing labeled block images 2015-08-16 07:53:30 -07:00
nicolas-p 10cb51c031 help: removing prefix 2015-08-16 07:53:30 -07:00
nicolas-p e66910c3bd Centring prev/next links in Browser 2015-08-16 07:53:30 -07:00
nicolas-p 0bdeb0c60f Prev/next buttons in Browser 2015-08-16 07:53:30 -07:00
nicolas-p c8b63fa4b0 Fixed USING: 2015-08-16 07:53:30 -07:00
nicolas-p 844da3fdfd ui.tools.browser: using format-toolbar 2015-08-16 07:53:29 -07:00
nicolas-p 359b42ab15 Removed ui.gadgets.lines
with-lines moves to ui.tools.common, white-interior moves to
ui.gadgets.colors
2015-08-16 07:53:29 -07:00
nicolas-p ea40508cd9 New error-list 2015-08-16 07:53:29 -07:00
nicolas-p d0b4f7d9a3 Using ui.gadgets.colors everywhere 2015-08-16 07:53:29 -07:00
nicolas-p ba4a6b780a Added ui.gadgets.colors
All colour constants in the same place
2015-08-16 07:53:29 -07:00
nicolas-p dbe9aebe5d New menu 2015-08-16 07:53:29 -07:00
nicolas-p faa2ad6d60 Increased font size in help header path 2015-08-16 07:53:29 -07:00
nicolas-p d3b27e44b4 Actual colours for labeled gadgets 2015-08-16 07:53:28 -07:00
nicolas-p 48376ff10c Using filled-border in status bar 2015-08-16 07:53:28 -07:00