]> gitweb.factorcode.org Git - factor.git/log
factor.git
4 years agowindows.uniscribe: remove <cache-assoc> &dispose.
John Benediktsson [Thu, 25 Jul 2019 03:19:32 +0000 (20:19 -0700)]
windows.uniscribe: remove <cache-assoc> &dispose.

That's kind of a bug, but probably dispose should happen differently.

4 years agohelp.markup: make $complex-shuffle use $shuffle.
John Benediktsson [Wed, 24 Jul 2019 01:10:19 +0000 (18:10 -0700)]
help.markup: make $complex-shuffle use $shuffle.

4 years agokernel: fix stack effect for -rotd.
John Benediktsson [Tue, 23 Jul 2019 23:23:27 +0000 (16:23 -0700)]
kernel: fix stack effect for -rotd.

4 years agomath.extras: add test for stirling numbers.
John Benediktsson [Wed, 10 Jul 2019 16:41:12 +0000 (09:41 -0700)]
math.extras: add test for stirling numbers.

4 years agomath.extras: Fix stirling
Niklas Larsson [Sat, 6 Jul 2019 11:30:52 +0000 (13:30 +0200)]
math.extras: Fix stirling

Fixes #2149

4 years agosimple-flat-file: 1.3s -> 300ms for parsing the unicode txt file.
Doug Coleman [Sun, 7 Jul 2019 16:01:41 +0000 (11:01 -0500)]
simple-flat-file: 1.3s -> 300ms for parsing the unicode txt file.

Somehow it's spending a ton of time in <string> if split-; is not inlined.

4 years agosequences.extras: adding extract!.
John Benediktsson [Fri, 28 Jun 2019 18:27:23 +0000 (11:27 -0700)]
sequences.extras: adding extract!.

It's similar to reject! but returns the items that were removed.

4 years agoraylib.demo: cleanup change-player-position.
John Benediktsson [Wed, 12 Jun 2019 02:36:59 +0000 (19:36 -0700)]
raylib.demo: cleanup change-player-position.

4 years agoraylib.gui-demo: adding MAIN:
John Benediktsson [Wed, 12 Jun 2019 02:18:26 +0000 (19:18 -0700)]
raylib.gui-demo: adding MAIN:

4 years agoRaylib: Add Raylib 2.5 + Raygui
Jack Lucas [Sun, 7 Apr 2019 23:58:55 +0000 (19:58 -0400)]
Raylib: Add Raylib 2.5 + Raygui

4 years agoFUEL: make `fuel-refactor-inline-word` work with hyphenated words
timor [Tue, 11 Jun 2019 13:17:35 +0000 (15:17 +0200)]
FUEL: make `fuel-refactor-inline-word` work with hyphenated words

The emacs command `kill-word`, used by `fuel-factor-inline-word` does not
delete the complete word if that contains hyphens.  Using `kill-sexps` instead
exhibits correct behavior.

4 years agowindows.uniscribe: support transparency in text color 2145/head
Alexander Iljin [Sat, 8 Jun 2019 11:47:06 +0000 (13:47 +0200)]
windows.uniscribe: support transparency in text color

4 years agowindows.uniscribe: speed up pixel array processing for transparent fonts
Alexander Iljin [Sat, 8 Jun 2019 10:11:35 +0000 (12:11 +0200)]
windows.uniscribe: speed up pixel array processing for transparent fonts

The approach was suggested by John Benediktsson in a GitHub comment.

4 years agowindows.uniscribe: support text with transparent background
Alexander Iljin [Sat, 1 Jun 2019 23:42:50 +0000 (01:42 +0200)]
windows.uniscribe: support text with transparent background

This fixes issues #152 and #1658.

4 years agoRevert "ui.gadgets.labeled: flat colour on windows because of the gradient bug"
nicolas-p [Sun, 16 Aug 2015 09:14:24 +0000 (11:14 +0200)]
Revert "ui.gadgets.labeled: flat colour on windows because of the gradient bug"

This reverts commit b81a5f9c7a13f11119dfbf53a5574201b35510be.

4 years agoRevert "ui.gadgets.labeled: separate title-bar-interior with a comment why."
John Benediktsson [Sun, 16 Aug 2015 15:04:58 +0000 (08:04 -0700)]
Revert "ui.gadgets.labeled: separate title-bar-interior with a comment why."

This reverts commit cb575c1ba86d07e6dd40788c9081fba01501f8ce.

4 years agoRevert "ui.gadgets.buttons: workaround for windows gradient bug"
Alexander Iljin [Sat, 1 Jun 2019 07:36:22 +0000 (09:36 +0200)]
Revert "ui.gadgets.buttons: workaround for windows gradient bug"

This reverts commit 20a663ab0b2d9cca63e48cc144047e6495b80f44.

4 years agoRevert "slides: make it work on windows (no gradients)."
John Benediktsson [Mon, 17 Aug 2015 16:43:54 +0000 (09:43 -0700)]
Revert "slides: make it work on windows (no gradients)."

This reverts commit 9d428cbcaf22e3f7bb65c20815dd97a4d2af9e40.

4 years agoRevert "slides: fix illegible code snippets on Windows"
Alexander Iljin [Sat, 1 Jun 2019 07:27:41 +0000 (09:27 +0200)]
Revert "slides: fix illegible code snippets on Windows"

This reverts commit 4b1e2b8af856c049fd07d86737a7b648648e2a41.

4 years agosystem-info.macosx: adding macOS Catalina 10.15
John Benediktsson [Tue, 4 Jun 2019 03:50:42 +0000 (20:50 -0700)]
system-info.macosx: adding macOS Catalina 10.15

4 years agomacos32: Lock to 10.11 for build machine.
Doug Coleman [Wed, 22 May 2019 16:02:20 +0000 (11:02 -0500)]
macos32: Lock to 10.11 for build machine.

32bit macos has been deprectated and 10.13 does not seem have i386 libraries anymore.

4 years agowords: remove word-props? used only in one place.
John Benediktsson [Tue, 21 May 2019 03:45:29 +0000 (20:45 -0700)]
words: remove word-props? used only in one place.

4 years agocap: use locals to make screenshot simpler.
John Benediktsson [Tue, 21 May 2019 03:15:53 +0000 (20:15 -0700)]
cap: use locals to make screenshot simpler.

4 years agotools.disassembler.gdb: cleanup using.
John Benediktsson [Mon, 20 May 2019 19:52:31 +0000 (12:52 -0700)]
tools.disassembler.gdb: cleanup using.

4 years agobase32-crockford: swap stack effects and update tests.
John Benediktsson [Mon, 20 May 2019 17:20:47 +0000 (10:20 -0700)]
base32-crockford: swap stack effects and update tests.

4 years agobase64: fix stack effect typo.
John Benediktsson [Mon, 20 May 2019 15:39:13 +0000 (08:39 -0700)]
base64: fix stack effect typo.

4 years agobase64: cleanup using.
John Benediktsson [Mon, 20 May 2019 01:48:50 +0000 (18:48 -0700)]
base64: cleanup using.

4 years agobase64: much faster base64.
John Benediktsson [Mon, 20 May 2019 01:48:01 +0000 (18:48 -0700)]
base64: much faster base64.

4 years agoio.streams.byte-array.fast: push-all is faster for byte-array.
John Benediktsson [Mon, 20 May 2019 01:47:34 +0000 (18:47 -0700)]
io.streams.byte-array.fast: push-all is faster for byte-array.

4 years agosequences.generalizations: adding (nsequence).
John Benediktsson [Sun, 19 May 2019 23:31:19 +0000 (16:31 -0700)]
sequences.generalizations: adding (nsequence).

4 years agobase16/32/64/85/91: declare base>ch as fixnum.
John Benediktsson [Sun, 19 May 2019 23:23:35 +0000 (16:23 -0700)]
base16/32/64/85/91: declare base>ch as fixnum.

4 years agosequences: making copy-state indices integers.
John Benediktsson [Sun, 19 May 2019 22:59:31 +0000 (15:59 -0700)]
sequences: making copy-state indices integers.

4 years agoFUEL: don't jump to USING: section after updating
timor [Mon, 6 May 2019 15:19:32 +0000 (17:19 +0200)]
FUEL: don't jump to USING: section after updating

4 years agoui.backend.windows: GetKeyboardState returns 0 on error
Doug Coleman [Thu, 2 May 2019 12:55:40 +0000 (07:55 -0500)]
ui.backend.windows: GetKeyboardState returns 0 on error

4 years agowindows.factor KUSUMOTO Norio plan 2
KUSUMOTO Norio [Wed, 3 Apr 2019 13:00:45 +0000 (22:00 +0900)]
windows.factor KUSUMOTO Norio plan 2

bug fix for issue #1

Review of the structure of words

NUMPAD&OEM-keydown-codes

plugable keyboard info

keyboard auto detect

conflict

ToUnicode version

resolve conflicts

ui.backend.windows: fix whitespace

5 years agowindows.user32: add the GetKeyboardType function
Alexander Iljin [Mon, 22 Apr 2019 14:48:42 +0000 (16:48 +0200)]
windows.user32: add the GetKeyboardType function

5 years agocontinuations[-docs]: add the finally word
Alexander Iljin [Mon, 22 Apr 2019 14:49:05 +0000 (16:49 +0200)]
continuations[-docs]: add the finally word

5 years agoextra: cleanup USING: lists
Alexander Iljin [Sun, 21 Apr 2019 16:53:47 +0000 (18:53 +0200)]
extra: cleanup USING: lists

5 years agoextra: remove unnecessary yield.
John Benediktsson [Sun, 21 Apr 2019 18:07:28 +0000 (11:07 -0700)]
extra: remove unnecessary yield.

5 years agocalendar[-docs]: add week-number
Alexander Iljin [Wed, 17 Apr 2019 23:14:49 +0000 (01:14 +0200)]
calendar[-docs]: add week-number

5 years agosodium: use a more conventional parameter name
Alexander Iljin [Sun, 14 Apr 2019 13:15:39 +0000 (15:15 +0200)]
sodium: use a more conventional parameter name

5 years agosodium: add wrapper words for working with detached signatures
Alexander Iljin [Sun, 14 Apr 2019 13:17:06 +0000 (15:17 +0200)]
sodium: add wrapper words for working with detached signatures

5 years agosequences-docs: add a missing article
Alexander Iljin [Sun, 14 Apr 2019 13:14:39 +0000 (15:14 +0200)]
sequences-docs: add a missing article

5 years agoREADME: add the Gitter and the mailing list links in the Community section
Alexander Iljin [Sat, 30 Mar 2019 21:08:39 +0000 (22:08 +0100)]
README: add the Gitter and the mailing list links in the Community section

5 years agoConfig.linux: Better check for g++.
Doug Coleman [Sun, 7 Apr 2019 23:54:08 +0000 (18:54 -0500)]
Config.linux: Better check for g++.

A consistent string across platforms is 'Free Software Foundation'

5 years agotools: use base91 instead of base85
Doug Coleman [Sat, 6 Apr 2019 16:39:07 +0000 (11:39 -0500)]
tools: use base91 instead of base85

5 years agocombinators: faster hashcode for byte-arrays.
John Benediktsson [Fri, 5 Apr 2019 23:55:10 +0000 (16:55 -0700)]
combinators: faster hashcode for byte-arrays.

5 years agobase91: adding version of base91 encoding/decoding.
John Benediktsson [Fri, 5 Apr 2019 20:43:05 +0000 (13:43 -0700)]
base91: adding version of base91 encoding/decoding.

5 years agobase16: adding RFC 3548 version of base 16 encoding/decoding.
John Benediktsson [Fri, 5 Apr 2019 20:40:23 +0000 (13:40 -0700)]
base16: adding RFC 3548 version of base 16 encoding/decoding.

5 years agobase64/32/85: adding tests for all byte values.
John Benediktsson [Fri, 5 Apr 2019 20:38:00 +0000 (13:38 -0700)]
base64/32/85: adding tests for all byte values.

5 years agogame-of-life: adding deploy file.
John Benediktsson [Fri, 5 Apr 2019 20:04:01 +0000 (13:04 -0700)]
game-of-life: adding deploy file.

5 years agobase85: change alphabet to byte-array.
John Benediktsson [Fri, 5 Apr 2019 20:03:19 +0000 (13:03 -0700)]
base85: change alphabet to byte-array.

5 years agobase32-crockford: separate Douglas Crockford version of Base 32.
John Benediktsson [Fri, 5 Apr 2019 19:10:52 +0000 (12:10 -0700)]
base32-crockford: separate Douglas Crockford version of Base 32.

5 years agobase32: adding authors.txt
John Benediktsson [Fri, 5 Apr 2019 19:10:33 +0000 (12:10 -0700)]
base32: adding authors.txt

5 years agobase32: change to RFC 3548 version.
John Benediktsson [Fri, 5 Apr 2019 19:05:21 +0000 (12:05 -0700)]
base32: change to RFC 3548 version.

5 years agobase64: adding urlsafe base64 and specify RFC 3548.
John Benediktsson [Fri, 5 Apr 2019 19:03:00 +0000 (12:03 -0700)]
base64: adding urlsafe base64 and specify RFC 3548.

5 years agoio.crlf: adding read-ignoring-crlf and read1-ignoring-crlf.
John Benediktsson [Fri, 5 Apr 2019 18:34:34 +0000 (11:34 -0700)]
io.crlf: adding read-ignoring-crlf and read1-ignoring-crlf.

5 years agogeohash: adding first version of Geohash geocoding vocab.
John Benediktsson [Wed, 3 Apr 2019 00:31:41 +0000 (17:31 -0700)]
geohash: adding first version of Geohash geocoding vocab.

5 years agobase32: faster inverse operation.
John Benediktsson [Wed, 3 Apr 2019 00:26:50 +0000 (17:26 -0700)]
base32: faster inverse operation.

5 years agowindows.ole32: add a couple of constants
Alexander Iljin [Fri, 29 Mar 2019 23:53:54 +0000 (00:53 +0100)]
windows.ole32: add a couple of constants

5 years agogravatar: wrapper for Gravatar.com service.
John Benediktsson [Thu, 28 Mar 2019 20:49:58 +0000 (13:49 -0700)]
gravatar: wrapper for Gravatar.com service.

5 years agoConfig.linux: Better check for gcc.
Doug Coleman [Mon, 25 Mar 2019 05:27:27 +0000 (00:27 -0500)]
Config.linux: Better check for gcc.

To print in make:
$(info IS_GCC is $(IS_GCC))

5 years agoprettyprint-docs: fix the obsolete parser code in an example
Alexander Iljin [Sun, 24 Mar 2019 23:54:50 +0000 (00:54 +0100)]
prettyprint-docs: fix the obsolete parser code in an example

5 years agoprettyprint-docs: fix the slot accessors in a code example
Alexander Iljin [Sun, 24 Mar 2019 23:30:40 +0000 (00:30 +0100)]
prettyprint-docs: fix the slot accessors in a code example

5 years agocrontab: simplify logic max days of month.
John Benediktsson [Sun, 24 Mar 2019 22:41:19 +0000 (15:41 -0700)]
crontab: simplify logic max days of month.

5 years agocrontab: better input validation for stuff like Feb 30 or Apr 31.
John Benediktsson [Sun, 24 Mar 2019 20:32:57 +0000 (13:32 -0700)]
crontab: better input validation for stuff like Feb 30 or Apr 31.

5 years agocrontab: adding some Feb 29th tests.
John Benediktsson [Sun, 24 Mar 2019 15:34:03 +0000 (08:34 -0700)]
crontab: adding some Feb 29th tests.

5 years agocrontab: test a lot more things.
John Benediktsson [Sat, 23 Mar 2019 21:15:45 +0000 (14:15 -0700)]
crontab: test a lot more things.

5 years agotests: Don't depend on license.txt not changing.
Doug Coleman [Sat, 23 Mar 2019 17:57:26 +0000 (12:57 -0500)]
tests: Don't depend on license.txt not changing.

It's probably bad to have the year in the license file, but it's worse to depend on
the license never changing.

Add a dummy file to crc32, and for multi checksums, the file we were checksumming is
not really integral to the test since it's read into a buffer first.

5 years agocrontab: fix day-of-week to be OR instead of AND days.
John Benediktsson [Sat, 23 Mar 2019 15:21:26 +0000 (08:21 -0700)]
crontab: fix day-of-week to be OR instead of AND days.

5 years agochecksums.multi: fix tests.
John Benediktsson [Sat, 23 Mar 2019 14:20:31 +0000 (07:20 -0700)]
checksums.multi: fix tests.

5 years agocrontab: simplify (next-time-after) recursion.
John Benediktsson [Sat, 23 Mar 2019 03:57:50 +0000 (20:57 -0700)]
crontab: simplify (next-time-after) recursion.

5 years agocrontab: simplify common code paths in (next-time-after).
John Benediktsson [Sat, 23 Mar 2019 03:52:33 +0000 (20:52 -0700)]
crontab: simplify common code paths in (next-time-after).

5 years agocrontab: constraint order is month, day, day-of-week, hour, minute.
John Benediktsson [Sat, 23 Mar 2019 03:42:46 +0000 (20:42 -0700)]
crontab: constraint order is month, day, day-of-week, hour, minute.

5 years agocrontab: some more fixes.
John Benediktsson [Sat, 23 Mar 2019 03:36:16 +0000 (20:36 -0700)]
crontab: some more fixes.

5 years agoio.backend: remove comment from years ago.
John Benediktsson [Sat, 23 Mar 2019 03:08:19 +0000 (20:08 -0700)]
io.backend: remove comment from years ago.

5 years agochecksums.multi: fix test for 2019
Doug Coleman [Sat, 23 Mar 2019 02:30:18 +0000 (21:30 -0500)]
checksums.multi: fix test for 2019

5 years agowindows.kernel32: add almost useless timezone function
Doug Coleman [Sat, 23 Mar 2019 02:30:01 +0000 (21:30 -0500)]
windows.kernel32: add almost useless timezone function

5 years agozoneinfo: update to 2018i
Doug Coleman [Fri, 22 Mar 2019 23:28:52 +0000 (18:28 -0500)]
zoneinfo: update to 2018i

5 years agocleaning: update copyright year. use the same order for build
Doug Coleman [Fri, 22 Mar 2019 22:56:28 +0000 (17:56 -0500)]
cleaning: update copyright year. use the same order for build
directions.

5 years agocrontab: some fixes and additional test case.
John Benediktsson [Fri, 22 Mar 2019 22:20:32 +0000 (15:20 -0700)]
crontab: some fixes and additional test case.

5 years agomake: Allow overriding macosx sdk
Doug Coleman [Fri, 22 Mar 2019 06:32:28 +0000 (01:32 -0500)]
make: Allow overriding macosx sdk

MACOSX_SDK=MacOSX10.11.sdk ./build.sh update macosx-x86-32

5 years agomake: Use the MacOSX 10.13 SDK for x86 support.
Doug Coleman [Fri, 22 Mar 2019 05:07:38 +0000 (00:07 -0500)]
make: Use the MacOSX 10.13 SDK for x86 support.

Bugfix - CFLAGS += instead of CFLAGS = because it would get overwritten otherwise.

Also allow overwriting of XCODE_PATH for non-standard path.

Download the 10.13 SDK from
https://github.com/phracker/MacOSX-SDKs/releases

```bash
wget https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.13.sdk.tar.xz
xz --uncompress MacOSX10.13.sdk.tar.xz
tar xvf MacOSX10.13.sdk.tar
mv MacOSX10.13.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
```

5 years agoresolv-conf: Parse edns0, refactor some words, and add a unit test.
Doug Coleman [Fri, 22 Mar 2019 03:52:17 +0000 (22:52 -0500)]
resolv-conf: Parse edns0, refactor some words, and add a unit test.

5 years agoascii: faster capitalize.
John Benediktsson [Fri, 22 Mar 2019 03:11:46 +0000 (20:11 -0700)]
ascii: faster capitalize.

5 years agowindows.dragdrop-listener: cleanup using.
John Benediktsson [Fri, 22 Mar 2019 02:54:06 +0000 (19:54 -0700)]
windows.dragdrop-listener: cleanup using.

5 years agoio.directories.search: a better fix for the linux entry ordering issue.
John Benediktsson [Fri, 22 Mar 2019 02:36:05 +0000 (19:36 -0700)]
io.directories.search: a better fix for the linux entry ordering issue.

5 years agoRevert "io.directories.search: Fix the order of the depth/breadth traversals."
John Benediktsson [Fri, 22 Mar 2019 02:23:13 +0000 (19:23 -0700)]
Revert "io.directories.search: Fix the order of the depth/breadth traversals."

This reverts commit c3cfc177cd4e781acea9fccd7c1136f7ad261738.

5 years agolibc.freebsd: platforms.txt not platform.txt
Doug Coleman [Fri, 22 Mar 2019 00:52:07 +0000 (19:52 -0500)]
libc.freebsd: platforms.txt not platform.txt

Fixes linux bootstrap

5 years agoio.directories.search: Fix the order of the depth/breadth traversals.
Doug Coleman [Fri, 22 Mar 2019 00:41:26 +0000 (19:41 -0500)]
io.directories.search: Fix the order of the depth/breadth traversals.

This unit test kind of sucks.

5 years agowindows.dragdrop-listener: Fix using
Doug Coleman [Thu, 21 Mar 2019 23:38:47 +0000 (18:38 -0500)]
windows.dragdrop-listener: Fix using

5 years agotravis: Add required packages.
Doug Coleman [Thu, 21 Mar 2019 23:31:22 +0000 (18:31 -0500)]
travis: Add required packages.

==== FAILING TESTS

5 years agoregexp: try again to fix the issue with backslashes.
John Benediktsson [Thu, 21 Mar 2019 20:29:15 +0000 (13:29 -0700)]
regexp: try again to fix the issue with backslashes.

the new simple rule is inside R/ syntax all backslashes should be
escaped to allow easy regexp literal tokenization:

R/ [\/]/

but in the constructor <regexp> they shouldn't be:

"[/]" <regexp>

When the regexp is prettyprinted we make sure to visually escape the
backslashes in the raw regexp.

5 years agoRevert "crontab: instead of after= make it after."
John Benediktsson [Thu, 21 Mar 2019 17:55:22 +0000 (10:55 -0700)]
Revert "crontab: instead of after= make it after."

This reverts commit a3d5e3ffcb8ff60ec16c3bf8cadda4aa02300609.

5 years agoRevert "regexp: fix take-until to handle escapes at the end of a regexp."
John Benediktsson [Mon, 18 Mar 2019 17:42:40 +0000 (10:42 -0700)]
Revert "regexp: fix take-until to handle escapes at the end of a regexp."

This reverts commit 2136abc1d64705805c5274337a799077f4b317e4.

5 years agoRevert "regexp: slightly more complicated tokenization to handle another case."
John Benediktsson [Mon, 18 Mar 2019 17:42:29 +0000 (10:42 -0700)]
Revert "regexp: slightly more complicated tokenization to handle another case."

This reverts commit 9f0bce762259878c63d15ef171c17931276c066e.

5 years agoRevert "globs: simpler separator regexp."
John Benediktsson [Mon, 18 Mar 2019 17:42:23 +0000 (10:42 -0700)]
Revert "globs: simpler separator regexp."

This reverts commit 31f309a829160c52854cefeb86a0b6a85937b2e8.

5 years agoglobs: simpler separator regexp.
John Benediktsson [Sun, 17 Mar 2019 20:13:27 +0000 (13:13 -0700)]
globs: simpler separator regexp.

5 years agoregexp: slightly more complicated tokenization to handle another case.
John Benediktsson [Sun, 17 Mar 2019 20:12:41 +0000 (13:12 -0700)]
regexp: slightly more complicated tokenization to handle another case.

R/ [^/]/
R/ (/|abc)/

5 years agoio.sockets: fix for inet6 too.
Doug Coleman [Sun, 17 Mar 2019 17:23:34 +0000 (12:23 -0500)]
io.sockets: fix for inet6 too.

"::1" 0 <inet4> utf8 <server>
"::1" f <inet4> utf8 <server>

Fixes #2109