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
kusumotonorio
241b902134
factlog vocab ==> logic vocab
2020-04-11 20:36:01 -05:00
kusumotonorio
8520361b0c
Rename directory, files.
2020-04-11 20:36:00 -05:00
kusumotonorio
ca0859ff18
catb0t's PR: add a Prolog-like %! ... multiline comment #6
2020-04-11 20:35:59 -05:00
kusumotonorio
9a94c2d54d
factlog
2020-04-11 20:35:58 -05:00
John Benediktsson
583e0470c4
html.templates.chloe: adding missing tests.
2020-04-11 20:35:57 -05:00
John Benediktsson
a8b6de2a35
webapps.planet: use factor color.
2020-04-11 20:35:56 -05:00
John Benediktsson
3eccec19f3
webapps.wiki: remove footer border-top.
2020-04-11 20:35:55 -05:00
John Benediktsson
ca3551a9d4
websites.concatenative: navbar background.
2020-04-11 20:35:54 -05:00
John Benediktsson
d0d46c3dff
webapps.wiki: better spacing on article list.
2020-04-11 20:35:54 -05:00
John Benediktsson
2597a4a8f6
html.templates: adding meta tag and some chloe tests.
2020-04-11 20:35:53 -05:00
John Benediktsson
94378fb7c2
tools.errors: fix to match current behavior: "show".
2020-04-11 20:35:52 -05:00
John Benediktsson
2156d5babd
bootstrap.image: add make-my-image to docs.
2020-04-11 20:35:51 -05:00
John Benediktsson
3628f979d5
webapps: remove floating factorcode.org links.
2020-04-11 20:35:50 -05:00
John Benediktsson
0796f95679
webapps.help: matching style for navbar.
2020-04-11 20:35:49 -05:00
John Benediktsson
83750e9f8f
websites.concatenative: make navbar use line-height.
2020-04-11 20:35:48 -05:00
John Benediktsson
578169f5e7
webapps.wiki: 24px hamburger instead of 32px.
2020-04-11 20:35:47 -05:00
John Benediktsson
221b89f0b2
webapps.help: responsive search.
2020-04-11 20:35:46 -05:00
John Benediktsson
ee42db5436
extra: moving hash-sets.numbers, hashtables.numbers to basis.
2020-04-11 20:35:45 -05:00