Doug Coleman
5091780740
io.streams.peek: Add file position indicator api calls.
2014-10-10 11:55:14 -07:00
Björn Lindqvist
78830a476a
images.loader.tests: restructure the tests because the gtk linux backend doesn't handle some formats that the windows backend does
2014-10-10 10:55:52 -07:00
Björn Lindqvist
9d384c14ba
images.loader.gtk: fix fall-through in case problem in image>GdkPixbuf
2014-10-10 10:55:45 -07:00
Doug Coleman
38e0b0643f
prettyprint: @mrjbq7's funny word for . that doesn't limit the length of things.
2014-10-09 18:54:14 -07:00
Doug Coleman
659572f30a
imap-tests: Reset test folder.
2014-10-09 15:40:41 -07:00
Björn Lindqvist
c0b4537e1a
images.loader.gdiplus: implementation of the image>stream word for GDI+
...
for Windows
2014-10-09 14:37:58 -07:00
Björn Lindqvist
c10c5f5736
images: move rowstride to the images vocab because it will be used by
...
gdi too
2014-10-09 14:37:58 -07:00
Doug Coleman
56217afcbb
tools.deploy-tests: inc size for linux32
2014-10-09 12:23:12 -07:00
Doug Coleman
8fc2ecc281
stack-checker.alien: We just want to track callbacks to see if we leak them, but not actually dispose of them yet. Fixes #1151 .
2014-10-09 09:56:28 -07:00
John Benediktsson
794baf3222
calendar.format: change rfc3339 to always print microseconds.
2014-10-08 15:40:04 -07:00
Doug Coleman
7328fa306f
tools.deploy: Bump the build size. This is a comparatively sizeable bump
...
compared to usual, but I really want clean builds.
2014-10-08 11:41:34 -07:00
Doug Coleman
d4234ab1af
smtp: Make the test pass on Windows.
2014-10-08 11:37:19 -07: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
Doug Coleman
424e1983e4
tools.profiler.sampling: Kick it down a notch. Makes win32 tests finish!
2014-10-07 23:56:50 -07:00
Björn Lindqvist
c6d419e0fe
imap: fix parse-store-mail parsing because it breaks on gmail
...
gmail responses include lines with the order of UID and FLAGS reversed
to indicate the previous flags for a mail. Just ignore those lines
because they aren't useful and non-standard.
2014-10-07 15:12:02 -07:00
Doug Coleman
d8121a9622
io.launcher.windows.test/env.factor: Fix script for new . behavior.
2014-10-07 13:51:13 -07:00
Doug Coleman
61676954d4
tools.gc-decode: Just make sure that the gc-decode tests work. Any answer
...
is ok.
2014-10-07 13:13:58 -07:00
Doug Coleman
dc67fe0a9f
compression.snappy: Add support for snappy compression by Google. Could possibly be optimized?
2014-10-03 22:56:21 -07:00
Björn Lindqvist
527318be63
graphviz.render.windows: need to return with the whole path in case
...
graphivz directory is not in PATH
2014-10-03 07:12:28 -07:00
Björn Lindqvist
12862dd313
webapps.mason.backend.tests: change db filename to mason-test.db to
...
avoid interference from other tests
2014-10-03 07:12:28 -07:00
Björn Lindqvist
239deaeaaa
lists.lazy.tests: plugs file descriptor leak
2014-10-03 07:12:28 -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
d952ac0c07
smtp.tests: send-mail should be called to get the mock-smtp-server to terminate
2014-10-03 07:12:27 -07:00
Björn Lindqvist
8b01a47358
openssl.libcrypto.tests: BIO_free should be called to release connections
2014-10-03 07:12:27 -07:00
Björn Lindqvist
43dc1ba259
python: docs for python-error
2014-10-02 08:32:39 -07:00
Björn Lindqvist
a530a10187
python: tests and plug a reference leak in the exception throwing code
2014-10-02 08:32:39 -07:00
Björn Lindqvist
ab75bcb60f
python.throwing: new module to support capturing python tracebacks
2014-10-02 08:32:39 -07:00
Doug Coleman
90094dffac
build-support: test failed on mac somehow, add a timeout so it fails faster.
2014-09-30 12:42:25 -07:00
John Benediktsson
3fdea2c66b
prettyprint.backend: use , not % in unparse-ch.
2014-09-30 08:23:32 -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
be372831f5
compiler.tests.alien: wrap all callback tests in special
...
unit-test-with-destructor blocks, that way they dont leak memory in the
callback heap
2014-09-29 07:30:22 -07:00
Björn Lindqvist
5cf8c7cfba
alien,stack-checker.alien: move callback-destructor to the alien vocab
...
It can't be placed in stack-checker.alien because that vocab isn't
included in deployed images which lead to weird errors when the
destructors trigger.
2014-09-29 07:30:22 -07:00
Björn Lindqvist
3f65984055
stack-checker.alien: use free-callback as a destructor when creating
...
callbacks
+ tests proving it works. now in case you create temporary callbacks you
can enclose them in with-destructors and it will just work(tm).
2014-09-29 07:30:21 -07:00
Björn Lindqvist
8fb317b721
alien: a test and docs for free-callback
2014-09-29 07:30:21 -07:00
Björn Lindqvist
e00798cd2a
VM: new primitive free-callback which is able to free a callback
...
previously allocated using <callback>
2014-09-29 07:30:21 -07:00
Björn Lindqvist
a338fa08e7
stack-checker.known-words: stack effect for <callback> is switched, it
...
should be ( word integer -- alien )
2014-09-29 07:30:21 -07:00
Björn Lindqvist
4a96e6163b
VM: new primitive (callback-room) for querying the VM about memory usage
...
The word works exactly like (code-room) except it looks at the memory
usage in the callback heap instead of the code heap.
2014-09-29 07:30:21 -07:00
Björn Lindqvist
85dade6914
VM: use a free_list_allocator for the callbacks, that way they can
...
individually be freed
2014-09-29 07:30:20 -07:00
Björn Lindqvist
4015565cf6
VM: "formalize" the callback_heaps object allocation using a
...
bump_allocator<code_block>
The advantage of doing it this way is that you can reuse the existing
each_object method to iterate all callbacks
2014-09-29 07:30:20 -07:00
Björn Lindqvist
4867e7bc96
VM: try and recover with a kernel error from the callback heap running out
2014-09-29 07:30:20 -07:00
Björn Lindqvist
1824680ad1
furnace.db: db-persistence needs a dispose word that delegates to its pool slot
...
tests in http.tests refactored using "with-words" so that they always
dispose any db-persistence instances they create.
2014-09-28 20:39:25 -07:00
John Benediktsson
3ca2801d33
mason.report: dos2unix.
2014-09-28 20:31:39 -07:00
Björn Lindqvist
2a7a2b32ff
benchmark.reverse-complement.tests,mason.report.tests: fix for the test
...
cases so they write to temp files instead of in resource:
2014-09-28 20:31:18 -07:00
John Benediktsson
e5925cf5ad
lists: cleanup usings.
2014-09-28 17:21:04 -07:00
Iskander Sitdikov
edff21ada3
Refactor >list to be a generic word
2014-09-28 17:17:22 -07:00
Björn Lindqvist
8d6df6d128
tools.deploy.backend: with-variables need to be on the whole block
2014-09-28 22:57:24 +02:00
Björn Lindqvist
07dd28c94d
tools.deploy.backend: rearranging the order of parameters in the deploy process, -run needs to be last
2014-09-28 13:14:42 -07:00