Doug Coleman
45d090738d
build.sh: Only support 32/64bit word sizes.
2020-03-30 17:28:02 -05:00
Doug Coleman
2d85dafa98
basis: Move more extra to basis.
...
I missed these because they were already loaded in my saved image.
2020-03-28 10:39:06 -05:00
Doug Coleman
59c2956570
basis: Move any vocabularies required by basis into basis.
2020-03-28 09:30:37 -05:00
John Benediktsson
497d6491e6
formatting: simplify using assoc>map instead of unzip map map zip.
2020-03-24 11:13:55 -07:00
John Benediktsson
5525313757
formatting: support other sequences in printf.
2020-03-24 11:11:15 -07:00
Doug Coleman
5cc97a4d1b
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-03-15 17:23:21 -05:00
Doug Coleman
8c97ea20de
build.sh: Tab snuck into my commit...
2020-03-15 13:46:42 -05:00
Doug Coleman
c23230ed82
windows: Move types to ole32
2020-03-15 13:31:46 -05:00
Doug Coleman
1abde46c79
windows: Move IStream to windows.com to fix bootstrap.
2020-03-15 13:21:38 -05:00
Doug Coleman
172649f667
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-03-15 13:06:02 -05:00
Cat Stevens
426d8f09b2
fix various typos; cleanup and fully document boyer-moore
2020-03-15 14:58:43 +00:00
kusumotonorio
d8f813a531
Reduced stack waste, added LOGIC-RED: and LOGIC-VAR:, a little speed up.
2020-03-15 03:22:57 +00:00
John Benediktsson
ee4e977fbb
ui.text.core-text: apply @kusumotonorio patch.
2020-03-11 20:59:20 -07:00
Doug Coleman
85d15e865a
windows: Add more COM code.
2020-03-10 18:34:24 -05:00
John Benediktsson
717dce055a
images.loader: fix tests.
2020-03-10 10:20:21 -07:00
Doug Coleman
d98f0134ab
images.loader: fix using and kick the tires
2020-03-10 09:57:47 -05:00
Doug Coleman
39f8abc764
images.loader: Disable saving a bmp on win32.
...
This is probably fixable with enough auditing of the gdiplus flat
interface.
2020-03-10 03:53:14 -05:00
Doug Coleman
fcc225466f
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-03-10 03:33:20 -05:00
Doug Coleman
96d3482475
windows: Fix user32/shcore DPI functions.
2020-03-09 21:59:10 -05:00
Doug Coleman
67d5e633f1
nmake: Fix caching on Windows when compiling without a manifest.
2020-03-09 17:30:24 -05:00
Doug Coleman
37871d87f4
windows: Add a bunch of HighDPI functions.
2020-03-07 13:26:25 -06:00
Doug Coleman
fe83a4a164
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-03-06 23:57:57 -06:00
Doug Coleman
34029cf1e4
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-03-06 23:33:26 -06:00
Benjamin Pollack
bafb101b7a
windows; add functions to determine DPI scaling
2020-03-06 23:21:02 -06:00
Niklas Larsson
8df1d1fbe6
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-03-06 23:14:44 -06:00
nomennescio
d1be15c28d
Added instructions on fetching replace objects for source history
2020-03-06 23:03:42 -06:00
Doug Coleman
96b891f5d8
images.loader: Windows can save bmp files.
...
If there is a crasher, we can debug it.
2020-03-06 22:59:30 -06:00
Doug Coleman
9bb9afd5cc
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-03-06 19:37:02 -06:00
Doug Coleman
d188bcf592
images.loader.gdiplus: Allow writing .bmp and do a better lookup.
2020-03-06 19:35:16 -06:00
Doug Coleman
97532d020a
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-03-06 19:05:27 -06:00
Doug Coleman
8da5c2fc91
windows.ole32: Add more LONG: constants.
2020-03-06 19:05:07 -06:00
Doug Coleman
92cb20163f
windows.ole32: Add more error constants as long.
...
These are -2B..2B instead of positive integers because long is s32 on
Windows.
2020-03-06 17:53:38 -06:00
John Benediktsson
7eee21ab94
vocabs.metadata: cleanup a couple uses of metadata paths.
2020-03-05 09:33:41 -08:00
John Benediktsson
d94b135087
vocabs.metadata: cleanup paths to be fully specified.
2020-03-05 08:59:36 -08:00
John Benediktsson
3efe23cc71
ui.gadgets.panes: fix tests under dark-theme.
2020-03-03 15:23:18 -08:00
John Benediktsson
0be0c69ea5
pdf: heuristic for dealing with table wrapping.
2020-03-03 11:31:00 -08:00
John Benediktsson
9d16162371
pdf.values: fix names for some fonts.
2020-03-03 11:09:11 -08:00
John Benediktsson
5a1b773899
help.pdf: use 1.25 line-height on pdf.
2020-03-03 09:46:45 -08:00
John Benediktsson
b23fc52850
pdf.canvas: add concept of line-height multiplier.
2020-03-03 09:46:32 -08:00
John Benediktsson
ab81a957c9
logic.examples: cleanup, make hanoi tests assert output.
2020-03-03 08:09:52 -08:00
kusumotonorio
4ecc1110c8
logic.factor: [ quot call( -- ) ] --> quot
2020-03-03 15:59:07 +00:00
kusumotonorio
14ac76fc2c
factlog vocab ==> logic vocab
2020-03-03 15:59:07 +00:00
kusumotonorio
a37cb9857a
Rename directory, files.
2020-03-03 15:59:07 +00:00
kusumotonorio
431282afcf
catb0t's PR: add a Prolog-like %! ... multiline comment #6
2020-03-03 15:59:07 +00:00
kusumotonorio
c760a5aa8f
factlog
2020-03-03 15:59:07 +00:00
John Benediktsson
a462587833
html.templates.chloe: adding missing tests.
2020-03-02 19:01:01 -08:00
John Benediktsson
8fd4552b45
webapps.planet: use factor color.
2020-03-02 17:07:30 -08:00
John Benediktsson
c57580b06a
webapps.wiki: remove footer border-top.
2020-03-02 17:03:25 -08:00
John Benediktsson
711297690b
websites.concatenative: navbar background.
2020-03-02 17:01:01 -08:00
John Benediktsson
36553b34fb
webapps.wiki: better spacing on article list.
2020-03-02 16:07:09 -08:00