Alec Berryman
43a7facd09
json reader: correctly handle empty objects in objects
...
Attempting to parse { "foo" : {} } previously resulted in an error.
(close-hash) expected to consolidate an object into the values of the
containing object (in the first line of code). While there is none in
the case of the empty hash, the structure of the accumulator looked like
it contained an unconsolidated object, so it folded the values into the
keys and got very confused.
2009-12-27 01:29:12 +13:00
Doug Coleman
92393c7df7
Add 0xe06d7363 to debugger.windows. Remove case 0xe06d7363 from SEH.
2009-12-23 14:04:52 -06:00
Doug Coleman
d7f6c17a71
remove debug output
2009-12-22 14:39:30 -06:00
Doug Coleman
984a458394
try a different approach to fix the windows monotonic counter
2009-12-22 14:36:33 -06:00
Doug Coleman
c92eae83b8
Ignore yet another undocumented exception. Tricks of the trade, I guess.
2009-12-22 13:33:39 -06:00
Slava Pestov
c6c351ffb0
vm: if an aging GC is triggered while uninitialized code blocks are in the code heap, the code heap remembered set becomes out of date, resulting in code blocks pointing at invalid data
2009-12-22 15:49:21 +13:00
otoburb
ed7e909924
Updated post-data slot names in http-docs.factor
2009-12-15 18:12:48 -05:00
Slava Pestov
6d9c17eea3
Fix PowerPC compiler backend for recent changes
2009-12-15 09:51:20 -05:00
Slava Pestov
9a149a47ab
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-15 07:21:17 -05:00
Slava Pestov
742126cadc
threads, io.streams.c: cleanups
2009-12-15 07:20:41 -05:00
Slava Pestov
31a260b74c
vm: big overhaul of non-optimizing compiler
...
- change some primitives into sub-primitives: fixnum+ fixnum- fixnum* inline-cache-miss inline-cache-miss-tail
- rename some relocation types for clarity
- some other minor re-organizations and cleanups
2009-12-15 07:20:09 -05:00
Slava Pestov
08a81abb7f
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-14 01:09:40 -06:00
Slava Pestov
0244c90414
vm: fep out if monotonic counter decreases
2009-12-14 01:09:04 -06:00
Doug Coleman
c1fd4a2fcf
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-13 21:39:14 -06:00
Doug Coleman
1b5a9b42c8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
vm/os-windows-nt.cpp
2009-12-13 20:45:40 -06:00
Doug Coleman
6ba4e7c8c4
workaround for QueryPerformanceCounter: if the high part of the count doesn't increment when the low part overflows, keep track of this and add the correction on future calls to nano_count
2009-12-13 20:42:51 -06:00
Doug Coleman
f749d14e86
fix a couple of warnings on win64
2009-12-13 20:00:02 -06:00
Slava Pestov
ffe5fb62ca
vm/os-windows-nt.cpp: fix formatting
2009-12-13 16:52:59 -06:00
Slava Pestov
8961b69e20
windows.dinput.constants: use C type symbols rather than strings
2009-12-13 16:52:36 -06:00
Slava Pestov
1994fd1c73
fix compiler warning on linux
2009-12-13 16:10:30 -06:00
Doug Coleman
76261256da
triyng to rice crc32 a bit
2009-12-13 02:03:06 -06:00
Doug Coleman
8003b74abb
add MAIN: run-unix-factor to math.primes.factors
2009-12-12 23:39:59 -06:00
Slava Pestov
2a30ef7dc9
sequences: fix map-reduce and 2map-reduce docs, reported by Ben Schlingelhof
2009-12-12 15:16:11 -05:00
Slava Pestov
0277c1bd08
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-11 19:31:58 -05:00
Slava Pestov
ace18280e8
vm: OS X version ccheck was failing on 10.5.0
2009-12-11 19:31:19 -05:00
Doug Coleman
3c21804246
fix unit test in circular
2009-12-08 17:05:17 -06:00
Doug Coleman
ac9263b89e
fix unit test
2009-12-08 17:05:11 -06:00
Doug Coleman
c975a3c4f2
randomize poker decks in <deck> word
2009-12-07 19:28:11 -06:00
Doug Coleman
37622f88dd
change behavior of circular-while
2009-12-07 19:27:36 -06:00
Doug Coleman
7b1e089d98
fix project euler 54
2009-12-07 18:24:57 -06:00
Doug Coleman
ed17c5a549
better minmax
2009-12-07 17:26:33 -06:00
Doug Coleman
12127bbe60
link pusher and accumulator in docs
2009-12-07 16:26:24 -06:00
Doug Coleman
b9b03524f1
add utility words for changing file permissions
2009-12-06 17:53:35 -06:00
Doug Coleman
a2948fd340
fix typo
2009-12-06 17:22:02 -06:00
Doug Coleman
45091e52ad
add circular-while, optimize circular a bit
2009-12-06 17:20:46 -06:00
Doug Coleman
3dafb80153
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-06 02:28:46 -06:00
Joe Groff
d6c1137115
move simd operation methods onto simd-128 instead of concrete classes to save image space
2009-12-05 21:19:17 -08:00
Joe Groff
82bb560b00
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-05 17:18:49 -08:00
Joe Groff
1ad9dc14b4
fix simd tests
2009-12-05 17:17:16 -08:00
Slava Pestov
705360e1de
vm: grow the heap if a full collection doesn't reclaim enough space
2009-12-05 19:03:53 -05:00
Joe Groff
c09b20fdf5
add v*high, v*hs+, vsad, and vavg to simd fuzz tests
2009-12-05 15:42:41 -08:00
Joe Groff
5d911d41f5
missing USING:s
2009-12-05 15:38:57 -08:00
Joe Groff
1fbbe91e73
implement %scalar>integer for longlong reps on x86.64
2009-12-05 15:38:43 -08:00
Slava Pestov
7ab3d38ed4
tools.deploy.shaker: "specializations" word-prop no longer used
2009-12-05 18:21:46 -05:00
Slava Pestov
aa472ee281
math.combinatorics: remove 'mirrors' from using list since its not needed
2009-12-05 18:21:32 -05:00
Slava Pestov
9e5c44dd11
math.vectors.simd: ensure that set-alien-vector is open-coded in the actual set-nth-unsafe method on SIMD specialized arrays, not just inlined instances
2009-12-05 18:20:57 -05:00
Joe Groff
5d8a929ede
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-05 14:52:30 -08:00
Joe Groff
d674ff8191
simd intrinsic implementation for v*high, v*hs+, vavg, and vsad
2009-12-05 14:52:18 -08:00
Joe Groff
c7f4284710
add v*high, v*hs+, vavg, and vsad operations to math.vectors
2009-12-05 11:32:31 -08:00
Slava Pestov
20711a9bfd
vm: remove DEFPUSHPOP macro
2009-12-04 20:56:48 -05:00