John Benediktsson
a2ded18a0b
db.tuples: fix tests for select-me table not exists.
...
the first time run, the table can't be dropped because it doesn't exist.
2018-02-22 08:26:28 -08:00
Alexander Iljin
0d7fdb92b5
db.tuples-tests: add tests for each-tuple and update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
e3a2cf3a0f
db.tuples[-docs]: update copyright headers
2018-02-21 15:05:20 -08:00
Alexander Iljin
9e13db52a7
db.tuples[-docs]: add update-tuples
2018-02-21 15:05:20 -08:00
Alexander Iljin
16be5d0353
db.tuples[-docs]: add each-tuple
2018-02-21 15:05:20 -08:00
Alexander Iljin
e077aad163
db.{tuples,types}-docs: fix an indefinite article
...
Replace "a SQL" with "an SQL".
2018-02-21 15:05:20 -08:00
John Benediktsson
03a18c060b
io.streams.string: implement stream-tell for sbufs.
2018-02-21 15:05:20 -08:00
John Benediktsson
6073e211ee
io.streams.byte-array: implement stream-tell for byte-vector.
2018-02-21 15:05:20 -08:00
Doug Coleman
435ce60165
assocs.extras: fry can easily curry the top item of the stack.
2018-02-20 01:21:28 -06:00
Doug Coleman
4a258dbc00
windows: Add some words that would be useful for Windows notifications.
2018-02-19 23:46:30 -06:00
Doug Coleman
618baf6753
ui.backend.windows: Refactoring how messages are handled a bit.
...
This is using a word from extra/
2018-02-19 23:45:21 -06:00
Doug Coleman
f3934d53c7
assocs.extras: go nuts on the crazy assoc words.
2018-02-19 23:04:33 -06:00
Doug Coleman
0b4ec06460
python: Fix docs for when python dll is missing.
2018-02-19 17:09:59 -06:00
Doug Coleman
9c72ab89b2
python: Fix like three thinko bugs but it works now.
2018-02-19 16:32:25 -06:00
Doug Coleman
f2a86e0bae
python: Fix unit tests -- only test when library is loaded.
...
Also reformat some unit tests that have a quot as the stack output.
2018-02-19 15:01:08 -06:00
Doug Coleman
7a729b7637
python: Only call the init if python is actually present.
...
Fixes #1952
2018-02-19 10:41:46 -06:00
Doug Coleman
310a4a247c
alien.libraries: load-library is misnamed, refactor library-dll.
...
load-library implies that dlopen() is called, which is totally not the
case. add-library calls dlopen() and load-library just looks the opened
library up in the ``libraries`` global. What load-library did is now
library-dll.
If we want to do it right, add-library should be a declarative top-level
form that tries to call a real load-library on demand instead of
memoizing the first try which would fix the case where the library is
not found, is moved into position by the user and Factor declines to
look it up again.
2018-02-19 10:38:21 -06:00
John Benediktsson
75b0289e74
shapefiles: reorder words to match read-shape enum list.
2018-02-19 08:13:00 -08:00
John Benediktsson
010d0ef2de
shapefiles: fix stacke effect names in read-shp.
2018-02-18 16:12:31 -08:00
John Benediktsson
a2d76ffda9
shapefiles: use null-shape singleton for... null shapes.
2018-02-18 16:08:18 -08:00
John Benediktsson
d910ed5572
shapefiles: more cleanup.
2018-02-18 16:06:42 -08:00
John Benediktsson
a90ef73d6b
shapefiles: cleanup, simplify a bit.
2018-02-18 15:54:39 -08:00
John Benediktsson
827cee0c8d
shapefiles: adding parser for ESRI Shapefiles.
2018-02-18 15:48:21 -08:00
John Benediktsson
1c59001abc
named-tuples: few more test cases.
2018-02-18 08:17:10 -08:00
John Benediktsson
a3e1364c4f
named-tuples: make work with bignum indices.
2018-02-17 18:34:32 -08:00
John Benediktsson
fb382b52c7
sequences.modified: little bit more cleanup.
2018-02-17 17:08:24 -08:00
John Benediktsson
baddc58f93
sequences.modified: simplify M\ summed modified-nth.
2018-02-17 17:03:39 -08:00
John Benediktsson
8cfeab92f3
named-tuples: use ?offset-of-slot in M\ named-tuple at*.
2018-02-17 12:56:43 -08:00
John Benediktsson
edc1b3f65d
classes.tuple: adding ?offset-of-slot that returns n/f.
2018-02-17 12:56:27 -08:00
John Benediktsson
0f0ca3ecf7
named-tuples: mention assocs in summary.txt.
2018-02-17 10:02:45 -08:00
John Benediktsson
0ea0285e33
named-tuples: experiment to treat some tuples as sequences/assocs.
2018-02-17 10:00:34 -08:00
John Benediktsson
52de821e19
ui.gadgets.worlds: rethrow error so traceback is more obvious.
2018-02-16 16:19:51 -08:00
John Benediktsson
d64536e43c
minesweeper: better smiley faces.
2018-02-16 16:14:39 -08:00
John Benediktsson
88d2fdb7ac
minesweeper: better fix for hand click.
2018-02-16 15:48:36 -08:00
John Benediktsson
0d878f2873
minesweeper: fix bug when running before ever clicking on anything.
2018-02-16 15:09:00 -08:00
John Benediktsson
ca3b44b39b
sequences.extras: fix test case for interleaved/join-with.
2018-02-16 14:48:00 -08:00
John Benediktsson
2938c9b017
sequences.extras: making evens/odds mutable sequences.
2018-02-16 09:21:05 -08:00
John Benediktsson
dbd3febbf6
assoc-heaps: removing unused and uncompleted vocab.
2018-02-16 08:50:31 -08:00
John Benediktsson
a4dcc12b98
sequences.extras: rename join-with to interleaved.
2018-02-16 08:42:07 -08:00
John Benediktsson
7203df0152
sequences.extra: make evens/odds virtual sequences.
2018-02-16 08:40:57 -08:00
John Benediktsson
b38c1ffa16
sequences.repeating: cleanup repeats.
2018-02-16 08:31:22 -08:00
John Benediktsson
2d13cecc22
sequences.extras: fix evens/odds to not cache length.
2018-02-16 08:25:57 -08:00
John Benediktsson
fc40ab3fb8
sequences.interleaved: use 2/ (shift) instead of 2 / (divide).
2018-02-16 07:06:50 -08:00
John Benediktsson
192cf2a352
sequences.interleaved: adding a interleaved sequence.
2018-02-15 17:33:34 -08:00
John Benediktsson
fb0a6c6c5e
sequences.extras: adding join-with-as, test with strings.
2018-02-15 16:56:37 -08:00
John Benediktsson
05df842e85
english: use ?pluralize in count-of-things.
2018-02-15 15:15:58 -08:00
John Benediktsson
112d374aed
sequences.extras: faster join-with.
...
If we initialize the array with the glue, then we just set every
other element from the input sequence.
2018-02-15 15:03:28 -08:00
John Benediktsson
7f5f4c348a
english: use join-with.
2018-02-15 14:46:57 -08:00
John Benediktsson
58e77d10f9
sequences.extras: adding join-with.
2018-02-15 14:46:19 -08:00
John Benediktsson
03141d93c1
english: simplify or-markup-example.
2018-02-15 14:12:42 -08:00