Alexander Iljin
e606ce278d
db.queries: add ensure-index
2016-06-29 14:17:57 -07:00
Alexander Iljin
9c9764cc2d
db.(sqlite.)errors: add sql-index-exists error
2016-06-29 14:17:57 -07:00
Alexander Iljin
ca19a01c1b
db.sqlite.errors: simplify implementation
2016-06-29 14:17:57 -07:00
John Benediktsson
2269b07d33
use with-temp-file and with-temp-directory in some tests.
2016-04-04 10:33:03 -07:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
John Benediktsson
6ec952c436
db.errors: move to db.{postgresql,sqlite}.errors.
2016-03-22 12:44:50 -07:00
John Benediktsson
baae677276
io.files.unique: change to create unique files and directories relative to the current-directory.
2016-03-18 10:57:54 -07:00
John Benediktsson
3affad7681
docs: using $maybe.
2015-12-11 17:05:45 -08:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
eeb7cf508f
db.sqlite: fix ERROR:
2015-08-13 00:18:29 -07:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
e4c39bcf3c
factor: superclass -> superclass-of, superclasses -> superclasses-of
2015-07-20 00:46:33 -07:00
Doug Coleman
e2d80fee5f
db.postgresql.ffi: fix
2015-07-19 17:45:52 -07:00
Doug Coleman
af553861e0
factor: fix a few spots where FUNCTION: was malformed
2015-07-19 17:43:09 -07:00
Doug Coleman
0176591527
factor: actual patch to remove ; from all c/fortran functions
2015-07-19 16:25:30 -07:00
Doug Coleman
4ec2311406
factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.
2015-07-18 20:14:22 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson
b366a06c41
use reject instead of [ ... not ] filter.
2015-05-12 18:50:34 -07:00
John Benediktsson
7e4d1178c3
interpolate: don't break backwards compatibility.
2015-04-18 20:22:29 -07:00
John Benediktsson
c5ed2c89fe
interpolate: some fixes for recent API change.
2015-04-18 19:36:49 -07:00
John Benediktsson
de179243ce
basis/extra: cleanup uses of add-library.
2014-11-13 13:05:14 -08:00
John Benediktsson
3a0c04340e
Revert "alien.libraries.finder: using find-library for some often missing libs"
...
This reverts commit a6b3f50e2c
.
Conflicts:
basis/gtk/ffi/ffi.factor
2014-11-13 09:33:30 -08:00
Doug Coleman
f8e858652d
db.postgresql: This is not actually the case on my Mac.
2014-10-08 10:12:16 -07:00
Doug Coleman
63895f04e4
db.tester: postgresql template1 database name should be "template1"
2014-10-08 10:11:04 -07:00
Björn Lindqvist
5fe8dd7604
db.tester: with-disposal needed to release the db connections in the pool
2014-10-03 07:12:27 -07:00
Björn Lindqvist
655797ff34
db.postgresql: ensure that 2 line error messages are handled
2014-09-30 14:53:22 +02:00
Björn Lindqvist
97b3ee37ff
db.tester: the postgresql-db variable shouldn't be mutated
2014-09-30 14:51:07 +02:00
Björn Lindqvist
e62acb7db3
db.postgresql: configurable test db setting
...
adds a \ postgresql-db global (analoguous to the \ imap-settings one)
which holds settings to a postgres db so that the tests have something
to test against.
2014-09-29 20:47:39 +02:00
Björn Lindqvist
101780d2cd
db.postgresql.lib: if PQsetdbLogin fails, PQfinish must be called
2014-09-22 14:29:57 -07:00
Björn Lindqvist
60ffe0680e
kernel: new combinator 2with = with with
2014-07-22 07:40:13 -07:00
Doug Coleman
6612867742
db.postgresql: Enable postgresql tests on win64! YAY!!
2014-07-08 01:26:52 -05:00
Björn Lindqvist
a6b3f50e2c
alien.libraries.finder: using find-library for some often missing libs
2014-06-07 11:48:05 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
115f53b0be
db.tester: put cpu in sqlite-test-db name.
2013-04-17 16:14:09 -07:00
Doug Coleman
5759f72745
db, db.sqlite: If we are in a transaction, don't start another transaction. Add a unit test. Fixes #631 . Fixes #623 .
2013-03-29 17:33:54 -07:00
John Benediktsson
41227954e7
Revert "db: don't nest transactions.
...
This reverts commit e599a83de7
.
2012-09-26 13:29:40 -07:00
John Benediktsson
14c6bad2f6
db: don't nest transactions.
2012-09-26 10:35:22 -07:00
Doug Coleman
8b51ddcbe2
sqlite: Fix using.
2012-08-26 11:57:24 -07:00
Doug Coleman
22178a9475
db.sqlite: Fix using.
2012-08-26 01:20:06 -07:00
Doug Coleman
bf4d4f73a2
db.sqlite: Append layouts:cell to sqlite file test db name. Fixes #647 .
2012-08-26 00:09:31 -07:00
John Benediktsson
30a198e2ab
classes.tuple: moving get-slot-named and set-slot-named from db.types.
2012-07-24 11:55:16 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
51c033a1f6
Fix all failures in the linux64 build email
2011-10-24 19:33:09 -07:00
Doug Coleman
763d9a3f7d
Missed yet more renames
2011-10-24 17:00:09 -07:00
John Benediktsson
d61de12011
Cleanup more lint warnings.
2011-10-14 12:31:46 -07:00
John Benediktsson
1987deb359
Fix M: stack effects.
2011-10-13 16:41:17 -07:00
John Benediktsson
3207244c60
sequences: define ?first and ?second.
2011-10-13 12:53:46 -07:00
John Benediktsson
4f42c72012
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Doug Coleman
bf2a96e9e0
Remove Windows CE from core/ basis/ and build-support/
...
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84 .
2011-09-18 23:19:06 -05:00
Doug Coleman
c441d2a629
Only test postgresql on win32
2011-09-07 00:35:26 -07:00
Doug Coleman
deb1ac9e1d
Change postgresql test database to prepend the cpu string so that running two builders on the Mac Pro build machine will not cause random failures due to interference.
2011-09-06 17:51:46 -07:00
John Benediktsson
9f34c9c676
Spelling fixes to documentation.
2011-08-26 16:20:31 -07:00
John Benediktsson
bac951a618
Merge branch 'master' of git://github.com/slavapestov/factor
2011-03-14 22:47:02 -07:00
otoburb
5dab713692
basis/db/tuples: Minor doc fix for 'select-tuples'
2011-03-14 06:07:32 +00:00
John Benediktsson
604f242862
db.sqlite: update word documentation.
2011-03-07 15:06:28 -08:00
Keita Haga
dce56c8f8f
db: fix a couple of typos in docs
2011-01-15 02:03:20 +09:00
Keita Haga
dbfc6ec386
db.tuples, timers: few $unchecked-examples turn into $codes
2011-01-08 22:31:07 +09:00
Keita Haga
7bd8c3deba
db.tuples: fix a couple of examples in tutorial article a little
2010-12-06 06:14:24 +09:00
Keita Haga
2dbee396fb
db: fix some examples
2010-11-28 03:34:27 +09:00
John Benediktsson
6c4ba923ae
db.sqlite.lib: fixing sqlite-row word.
2010-08-13 14:23:05 -07:00
John Benediktsson
0b7ed3bdb9
db: fix typo in docs.
2010-07-26 08:11:51 -07:00
Slava Pestov
446ee6896d
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary
2010-07-16 17:32:05 -04:00
Slava Pestov
70a99e1cdb
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Doug Coleman
bdecd564a3
Use keys/values where appropriate
2010-05-21 12:48:04 -05:00
Joe Groff
5f71d2bb18
db.sqlite.ffi: remove leftover stack effects from converted FUNCTION-ALIAS:es
2010-04-15 11:27:33 -07:00
Joe Groff
343856307e
db.sqlite.ffi: use FUNCTION-ALIAS:
2010-04-14 21:58:52 -07:00
Joe Groff
65c3259761
"cdecl" -> cdecl
2010-03-31 19:20:35 -07:00
Joe Groff
4cfa1a6c77
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
2010-02-23 11:42:02 -08:00
Joe Groff
b0bf5f3106
get rid of the last few pointer typedefs in db.postgresql.ffi, windows.usp10, and windows.winsock
2010-02-23 10:17:48 -08:00
Joe Groff
33f1a7b03b
db.sqlite.ffi: replace some TYPEDEF: void* foo* with C-TYPE: foo
2010-02-22 19:36:14 -08:00
Slava Pestov
b59da05347
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-19 12:35:21 +13:00
Slava Pestov
220dd88a2c
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Erik Charlebois
c8192adf71
Fix some doc typos, metadata
2010-02-16 03:25:03 -08:00
Doug Coleman
3d8f77ca56
ERROR:s is immutable now, so don't use it in db
2010-02-03 12:25:55 -06:00
Slava Pestov
7846074b3b
db: update for ERROR: change
2010-02-03 23:11:31 +13:00
Doug Coleman
8c1d202b4c
Rename accumulator to collector, pusher to selector
2010-01-22 15:00:53 -06:00
Doug Coleman
4c71d71907
random is generic now -- iota random -> random
2010-01-14 12:48:57 -06:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
ffd7de02d6
Update a few places that used string C type names to use words; fixes some deploy tests
2009-11-20 03:21:48 -06:00
Joe Groff
61d579360d
remove non-primitive-related uses of tuck from basis
2009-11-05 17:03:24 -06:00
Joe Groff
c3b8847936
update a bunch of alien-callbacks and alien-indirects to use c-type words
2009-10-21 21:10:11 -05:00
Joe Groff
7fac3682a6
update some naked alien-invokes to use c-type words
2009-10-21 18:44:00 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Joe Groff
866b62755e
replace all TYPEDEF: void* XXX* with C-TYPE: XXX
2009-09-27 22:21:24 -05:00
Joe Groff
630e5ecc3b
update vocabs so a load-all on macosx works without parsing c-type strings
2009-09-27 15:11:21 -05:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Vesa Kaihlavirta
eec0e5230b
temp-file is in io.files.temp nowadays
2009-09-26 10:49:57 +03:00
Slava Pestov
0be72153ff
db.tuples: add 'inline' declaration to example in docs
2009-09-26 02:26:07 -05:00
Doug Coleman
05ddfb37dc
fixing docs
2009-09-23 12:52:42 -05:00
Doug Coleman
b9bc619b1b
fix db docs for multiline strings
2009-09-23 12:49:30 -05:00
Doug Coleman
5cb34724b7
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/classes/struct/struct-tests.factor
basis/functors/functors-tests.factor
basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00