Doug Coleman
d3d9c1ffcf
Merge remote-tracking branch 'origin/master' into modern-harvey3
2020-03-12 17:01:05 -05: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
Doug Coleman
b6e518e4bb
Merge remote-tracking branch 'origin/master' into modern-harvey3
2020-03-04 19:19:01 -06: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
John Benediktsson
290d0ed7d2
html.templates: adding meta tag and some chloe tests.
2020-03-02 15:57:19 -08:00
John Benediktsson
3b18827044
tools.errors: fix to match current behavior: "show".
2020-03-02 15:40:37 -08:00
John Benediktsson
ab9eca2454
bootstrap.image: add make-my-image to docs.
2020-03-02 15:40:22 -08:00
John Benediktsson
b9bd328f2e
webapps: remove floating factorcode.org links.
2020-03-02 15:39:53 -08:00
John Benediktsson
9abc2ae873
webapps.help: matching style for navbar.
2020-03-02 08:48:25 -08:00
John Benediktsson
5acf0512b9
websites.concatenative: make navbar use line-height.
2020-03-02 08:44:17 -08:00
John Benediktsson
52d371320f
webapps.wiki: 24px hamburger instead of 32px.
2020-03-02 08:40:23 -08:00
John Benediktsson
1c1d23fd99
webapps.help: responsive search.
2020-03-02 07:03:55 -08:00
John Benediktsson
a8d35345c4
extra: moving hash-sets.numbers, hashtables.numbers to basis.
2020-03-01 20:50:58 -08:00
John Benediktsson
50bd41d82f
help.html: move pre-wrap to css style fixup.
2020-03-01 18:32:47 -08:00