]> gitweb.factorcode.org Git - factor.git/log
factor.git
4 years agobasis: Fix Windows 10 select-all for emojis.
Doug Coleman [Fri, 2 Aug 2019 22:06:19 +0000 (17:06 -0500)]
basis: Fix Windows 10 select-all for emojis.

This is @kusumotonorio's patch but his branch is not up to date so there
are a ton of merge conflicts so I'm just pulling his changes into a new
patch. Sorry for my lack of git to do this cleanly while maintaining his
credit for this patch.

4 years agotools.deploy: up the size.
Doug Coleman [Wed, 31 Jul 2019 22:52:34 +0000 (17:52 -0500)]
tools.deploy: up the size.

4 years agofactor: fix bootstrap and test and doc
Doug Coleman [Tue, 30 Jul 2019 23:00:40 +0000 (18:00 -0500)]
factor: fix bootstrap and test and doc

4 years agoui.text.uniscribe: fix using
Doug Coleman [Tue, 30 Jul 2019 23:00:02 +0000 (18:00 -0500)]
ui.text.uniscribe: fix using

4 years agounicode.case: Change test, somewhere in the Unicode data files it's now capitalizing...
Doug Coleman [Tue, 30 Jul 2019 07:24:08 +0000 (02:24 -0500)]
unicode.case: Change test, somewhere in the Unicode data files it's now capitalizing the ``M`` in ``I'M``

Look into this but we should still merge this branch back into master.

Fixes #1402

4 years agounicode.collation: Fix all the tests.
Doug Coleman [Tue, 30 Jul 2019 07:07:34 +0000 (02:07 -0500)]
unicode.collation: Fix all the tests.

Basically, there are some errors in the unicode collation tests if you fix up the DUCET table for Tibetan according to the recommendations in the Unicode spec. So we ignore those errors and document it everywhere.

4 years agoui: Fix circular dependency.
Doug Coleman [Mon, 29 Jul 2019 00:59:56 +0000 (19:59 -0500)]
ui: Fix circular dependency.

4 years agounicode: Minor cleanups.
Doug Coleman [Sun, 28 Jul 2019 20:51:05 +0000 (15:51 -0500)]
unicode: Minor cleanups.

This fixes/breaks some of the tests. Why?
{ 3953 3958 3960 3968 3969 } [ canonical-map delete-at ] each

4 years agounicode.collation: Fix ducet for Tibetan using allkeys.txt
Doug Coleman [Sun, 28 Jul 2019 20:04:32 +0000 (15:04 -0500)]
unicode.collation: Fix ducet for Tibetan using allkeys.txt

Fixes two more tests.

4 years agounicode.collation: some cleanup, no test fixes
Doug Coleman [Sun, 28 Jul 2019 19:45:51 +0000 (14:45 -0500)]
unicode.collation: some cleanup, no test fixes

4 years agoRevert Unnecessary Changes
KUSUMOTO Norio [Sat, 27 Jul 2019 01:10:57 +0000 (10:10 +0900)]
Revert Unnecessary Changes

4 years agoImproved background rendering when selecting text, including emojis
KUSUMOTO Norio [Sat, 27 Jul 2019 00:56:37 +0000 (09:56 +0900)]
Improved background rendering when selecting text, including emojis

4 years agounicode.collation: Add Nushu block, it's like Tangut
Doug Coleman [Sun, 28 Jul 2019 18:38:42 +0000 (13:38 -0500)]
unicode.collation: Add Nushu block, it's like Tangut

https://www.unicode.org/reports/tr10/tr10-41.html#Order_DUCET
https://wiki.computercraft.cc/Module:Unicode_data
https://ko.wiktionary.org/wiki/%EB%AA%A8%EB%93%88:Unicode_data

12 failing tests!

4 years agocollation: Adding more character ranges
Doug Coleman [Sun, 28 Jul 2019 18:10:11 +0000 (13:10 -0500)]
collation: Adding more character ranges

4 years agounicode.collation: illegal? is now gone, do AAAA BBBB for every code point
Doug Coleman [Sun, 28 Jul 2019 17:57:23 +0000 (12:57 -0500)]
unicode.collation: illegal? is now gone, do AAAA BBBB for every code point

remove some tests that pass now

4 years agoBetter support to NSTextInputClient
KUSUMOTO Norio [Fri, 26 Jul 2019 12:58:29 +0000 (21:58 +0900)]
Better support to NSTextInputClient

4 years agococoa inline input using IM
KUSUMOTO Norio [Sat, 20 Jul 2019 12:42:29 +0000 (21:42 +0900)]
cocoa inline input using IM

4 years agounicode.collation: Write out explicity the failing tests
Doug Coleman [Sat, 6 Jul 2019 14:32:47 +0000 (09:32 -0500)]
unicode.collation: Write out explicity the failing tests

4 years agoUNICODE TEXT SEGMENTATION 12.0.0
KUSUMOTO Norio [Fri, 5 Jul 2019 14:32:49 +0000 (23:32 +0900)]
UNICODE TEXT SEGMENTATION 12.0.0

4 years agowindows.uniscribe: Apply the patch from #1402 for Windows.
Doug Coleman [Sat, 22 Jun 2019 14:55:17 +0000 (09:55 -0500)]
windows.uniscribe: Apply the patch from #1402 for Windows.

4 years agoui.text.core-text: Add patch from issue #1402 by kusumotonorio
Doug Coleman [Sat, 22 Jun 2019 14:50:13 +0000 (09:50 -0500)]
ui.text.core-text: Add patch from issue #1402 by kusumotonorio

4 years agounicode: Update to 11.0
Doug Coleman [Sat, 22 Jun 2019 14:47:07 +0000 (09:47 -0500)]
unicode: Update to 11.0

4 years agoboids: fix wrap-pos to wrap at row/col 511 instead of 510. clean-macosx-x86-32
John Benediktsson [Sat, 27 Jul 2019 01:38:08 +0000 (18:38 -0700)]
boids: fix wrap-pos to wrap at row/col 511 instead of 510.

4 years agotrails: use ``f`` to represent "invisible" points.
John Benediktsson [Thu, 25 Jul 2019 16:19:23 +0000 (09:19 -0700)]
trails: use ``f`` to represent "invisible" points.

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.