Steve Ayerhart
3dd8221447
wip
2020-05-03 21:07:58 -05:00
Steve Ayerhart
1b67ebac16
more wip
2020-05-02 15:58:16 -05:00
Steve Ayerhart
c91134d0ba
wip
2020-04-30 17:39:46 -05:00
Steve Ayerhart
440365c072
wip
2020-04-30 15:34:14 -05:00
Steve Ayerhart
77d5b75257
more wip
2020-04-21 11:49:47 -05:00
Steve Ayerhart
c1fd2077a2
wip
2020-04-14 14:37:56 -05:00
Steve Ayerhart
97eccfaa2e
bitmask cleanup
2020-04-11 21:07:27 -05:00
Doug Coleman
59e0ec6513
build.sh: Only find the mingw compiler on Windows.
...
Fixes #2269
2020-04-11 20:36:39 -05:00
Doug Coleman
648ffe8d46
build.sh: Support MINGW64 as 64bit Windows.
...
This is for msys2 64bit mode.
2020-04-11 20:36:38 -05:00
Doug Coleman
ff4c3d8517
build.sh: Only support 32/64bit word sizes.
2020-04-11 20:36:37 -05:00
Doug Coleman
0d2a36f081
basis: Move more extra to basis.
...
I missed these because they were already loaded in my saved image.
2020-04-11 20:36:36 -05:00
Doug Coleman
62f2496e56
basis: Move any vocabularies required by basis into basis.
2020-04-11 20:36:35 -05:00
John Benediktsson
e9060cfb9d
formatting: simplify using assoc>map instead of unzip map map zip.
2020-04-11 20:36:35 -05:00
John Benediktsson
3f89def94d
formatting: support other sequences in printf.
2020-04-11 20:36:34 -05:00
Doug Coleman
67aa7b8b11
unix.process: Add posix_spawn stub.
...
I couldn't get this to work in all cases to replace spawn-process yet.
```
! works
{ "/bin/ls" "-al" } posix-spawn-args-with-path
! Broken on Linux64 for some reason
{
"/usr/bin/code"
"-g"
"-r"
"/home/erg/factor-master/basis/io/launcher/launcher.factor"
} posix-spawn-args-with-path
```
2020-04-11 20:36:33 -05:00
Doug Coleman
d8ec9dca97
build.sh: Tab snuck into my commit...
2020-04-11 20:36:32 -05:00
Doug Coleman
feadedd8dc
windows: Move types to ole32
2020-04-11 20:36:31 -05:00
Doug Coleman
0c7a4f2648
windows: Move IStream to windows.com to fix bootstrap.
2020-04-11 20:36:30 -05:00
Doug Coleman
fcfb1e43f7
factor: Update all repos to point to github.com.
...
factorcode.org repo can get behind the github one due to #1862 and low RAM on the new factorcode.org server
Change strategy for calling git fetch to not include the branch name if we are on a detached HEAD
2020-04-11 20:36:29 -05:00
Cat Stevens
c5b38ebfd7
fix various typos; cleanup and fully document boyer-moore
2020-04-11 20:36:28 -05:00
kusumotonorio
19bb304391
Reduced stack waste, added LOGIC-RED: and LOGIC-VAR:, a little speed up.
2020-04-11 20:36:27 -05:00
John Benediktsson
38a7945bf4
ui.text.core-text: apply @kusumotonorio patch.
2020-04-11 20:36:27 -05:00
Doug Coleman
d194f3f724
windows: Add more COM code.
2020-04-11 20:36:26 -05:00
John Benediktsson
a614efdbb2
images.loader: fix tests.
2020-04-11 20:36:25 -05:00
Doug Coleman
c1ed591ad4
images.loader: fix using and kick the tires
2020-04-11 20:36:24 -05:00
Doug Coleman
fb4550f30c
images.loader: Disable saving a bmp on win32.
...
This is probably fixable with enough auditing of the gdiplus flat
interface.
2020-04-11 20:36:23 -05:00
Doug Coleman
4c90482e51
vm/allot.hpp: Print more room info when allot() fails.
...
This is to help debug win64.
Some interesting observations:
fails without any error:
factor.com -codeheap=74000
fails with VirtualAlloc error:
factor.com -codeheap=80000
2020-04-11 20:36:22 -05:00
Doug Coleman
37c790ed22
windows: Fix user32/shcore DPI functions.
2020-04-11 20:36:21 -05:00
Doug Coleman
c300ea7aca
nmake: Fix caching on Windows when compiling without a manifest.
2020-04-11 20:36:20 -05:00
Doug Coleman
63ca066767
windows: Add a bunch of HighDPI functions.
2020-04-11 20:36:19 -05:00
Doug Coleman
4b3d6392f0
vm: Add AS_UTF and use it to print wchar_t in Windows terminal.
...
There may be more places to add AS_UTF8 calls--anywhere that prints a
wchar_t string in the Windows vm.
Fixes #992 .
2020-04-11 20:36:19 -05:00
Doug Coleman
11d98d07f3
Nmakefile: Add default flags and add command to add the manifest to .exe
...
The manifest is disabled for now, but once we fix the resolution we
should enable it.
to test:
nmake /f Nmakefile factor.exe.manifest
Right now the UI looks tiny if you compile for the factor.exe and
include the manifest.
Lastly, sorry for the WIP but it seems pretty harmless and has been
sitting in a branch for almost three years.
2020-04-11 20:36:18 -05:00
Benjamin Pollack
cef1a59cb1
windows; add functions to determine DPI scaling
2020-04-11 20:36:17 -05:00
Niklas Larsson
e7512d4240
cache: Don't use in-place filter
...
This solves a UI corruption problem by not reusing the hashtable when
purging the cache. The root cause of why the hashtable gets corrupted
when filtering in place hasn't been found.
Fixes #1978 .
2020-04-11 20:36:16 -05:00
nomennescio
608a03f044
Added instructions on fetching replace objects for source history
2020-04-11 20:36:15 -05:00
Doug Coleman
d60aaca120
images.loader: Windows can save bmp files.
...
If there is a crasher, we can debug it.
2020-04-11 20:36:14 -05:00
Doug Coleman
caa5156df9
ui.render.test: Replace reference image with an uncorrupted one.
...
To generate a rendering image:
USE: ui.render.test
"ui-render-test" run
render-output get-global "resource:reference.bmp" save-graphic-image
Fixes #2210 .
2020-04-11 20:36:13 -05:00
Doug Coleman
60d6f6a572
images.loader.gdiplus: Allow writing .bmp and do a better lookup.
2020-04-11 20:36:12 -05:00
Doug Coleman
d862f6c65b
ui.gadgets: Stale gestures can lose the associated gadget.
...
The gesture queue can send messages where the
focusable-child has disappeared.
Handle ``M: f focusable-child*`` by doing nothing.
Fixes #2117 .
2020-04-11 20:36:11 -05:00
Doug Coleman
41ff579608
windows.ole32: Add more LONG: constants.
2020-04-11 20:36:11 -05:00
Doug Coleman
8ed441d97a
windows.ole32: Add more error constants as long.
...
These are -2B..2B instead of positive integers because long is s32 on
Windows.
2020-04-11 20:36:10 -05:00
John Benediktsson
e61f1ebc14
vocabs.metadata: cleanup a couple uses of metadata paths.
2020-04-11 20:36:09 -05:00
John Benediktsson
685c3eae2c
vocabs.metadata: cleanup paths to be fully specified.
2020-04-11 20:36:08 -05:00
John Benediktsson
761cf1a5dd
ui.gadgets.panes: fix tests under dark-theme.
2020-04-11 20:36:07 -05:00
John Benediktsson
6cacce4d5c
pdf: heuristic for dealing with table wrapping.
2020-04-11 20:36:06 -05:00
John Benediktsson
97029fbee9
pdf.values: fix names for some fonts.
2020-04-11 20:36:05 -05:00
John Benediktsson
4c4dcc0480
help.pdf: use 1.25 line-height on pdf.
2020-04-11 20:36:04 -05:00
John Benediktsson
29e15fef76
pdf.canvas: add concept of line-height multiplier.
2020-04-11 20:36:04 -05:00
John Benediktsson
014eaa51f3
logic.examples: cleanup, make hanoi tests assert output.
2020-04-11 20:36:03 -05:00
kusumotonorio
e2ecab70c1
logic.factor: [ quot call( -- ) ] --> quot
2020-04-11 20:36:02 -05:00