Commit Graph

380 Commits (5e1976633069c0be53edd4f71627667577faa363)

Author SHA1 Message Date
Eduardo Cavazos 308a5db996 Binary on winnt is now 'factor.exe' instead of 'factor-nt.exe' 2008-02-25 12:42:52 -06:00
Slava Pestov 2535436f19 Friedlier fep sequence printing 2008-02-21 17:07:05 -06:00
Slava Pestov d657821f3e Tested and documented all new concurrency features 2008-02-18 16:20:18 -06:00
Slava Pestov 2c6afdfee6 Working on new threads 2008-02-18 05:07:40 -06:00
Slava Pestov de8b804abe Fix method redefinition bug 2008-02-17 18:38:29 -06:00
Slava Pestov 0b19589630 linkage errors don't thwart compilation anymore 2008-02-16 00:54:54 -06:00
Slava Pestov f944f2b20c Add experimental disassembler 2008-02-14 17:56:47 -06:00
Slava Pestov 98d8621ac1 First class compose, curry is now a tuple class 2008-02-11 13:50:29 -06:00
Slava Pestov 8672ede540 Fix compilation of VM on Mac OS X 2008-02-11 00:41:58 -06:00
Slava Pestov 125e949200 Add new "refs" command to FEP, finds references to an object 2008-02-10 01:40:51 -06:00
Slava Pestov 7fbbe94d80 FEP work in progress 2008-02-09 02:19:26 -06:00
Doug Coleman 8d3ac25553 Merge git://factorcode.org/git/factor
Conflicts:

	Makefile
2008-02-05 22:48:44 -06:00
Slava Pestov 20e4fcecda Make OS name more consistent for extra/builder 2008-02-05 18:48:38 -06:00
Slava Pestov ba1a958a32 Move cd and cwd primitives to native I/O, fix Windows normalize-pathname 2008-02-05 13:11:36 -06:00
Doug Coleman 480e21bc3c Merge branch 'master' of git://factorcode.org/git/factor 2008-02-04 16:41:17 -06:00
Slava Pestov bc2ce8a77b Space one byte per string 2008-02-04 14:05:31 -06:00
Doug Coleman fcbf7b4c4c Merge git://factorcode.org/git/erg 2008-02-04 13:34:38 -06:00
Slava Pestov 0311c0a842 Remove broken optimization 2008-02-04 13:07:34 -06:00
Slava Pestov 81098989ec Merge branch 'master' of git://factorcode.org/git/factor 2008-02-04 12:59:21 -06:00
Slava Pestov a75afb18d7 Fix GCC error 2008-02-04 12:58:38 -06:00
Doug Coleman bc3bf6b2b4 make factor compile on win64 2008-02-04 11:45:53 -06:00
Slava Pestov e7722c02b7 Add unit test for float alignment 2008-02-03 17:28:57 -06:00
Slava Pestov 62bbb0597e Fix dodgy memory management 2008-02-03 14:51:35 -06:00
sheeple ff46bfaa96 Linux inotify support work in progress 2008-02-02 11:51:16 -06:00
sheeple b22a40f906 inotify bindings 2008-02-02 07:02:32 -06:00
Slava Pestov 9f1bcc5d22 Fix resize-string 2008-02-01 18:36:13 -06:00
Slava Pestov 6c3d2775a9 Merge branch 'master' of git://factorcode.org/git/factor 2008-02-01 17:18:49 -06:00
Slava Pestov 3917a9472a Implement default_vm_path() on netbsd 2008-02-01 17:14:10 -06:00
Slava Pestov cef80543ad Fix set-string-nth GC issue 2008-02-01 16:26:11 -06:00
Slava Pestov d9f7acae0f VM changes for record1 strings 2008-01-31 23:03:10 -06:00
Slava Pestov 6530057512 Starting work on record1 strings 2008-01-31 20:11:46 -06:00
Daniel Neri 118583024e Tweak LIBS and LIBPATH for NetBSD 2008-01-30 12:10:42 +01:00
Daniel Neri ac2fb043cf Add NetBSD support 2008-01-30 10:57:38 +00:00
Slava Pestov fcf5801899 Data type cleanups 2008-01-29 23:13:47 -06:00
Slava Pestov 0cd2f857fe bit-vectors byte-vectors float-vectors 2008-01-29 15:04:26 -06:00
Slava Pestov 03db080df7 Working on new resizables 2008-01-28 18:15:21 -06:00
Slava Pestov 578ee72509 Fix conflict 2008-01-27 23:17:48 -06:00
Slava Pestov a09e216582 Replace memory>string and string>memory with four primitives and update io.windows.nt.monitor 2008-01-26 23:38:30 -04:00
Joe Groff e396023d51 Use [NSString UTF8String] instead of [NSString cString] in os-macosx.m to suppress deprecation warnings 2008-01-26 17:32:12 -08:00
Slava Pestov 309a1c179c Add stderr stream; more Unix I/O work 2008-01-18 19:43:14 -05:00
Slava Pestov c6bc074472 Simplify code heap layout 2008-01-16 15:45:04 -05:00
Slava 6c305c0532 Merge branch 'master' of git://factorcode.org/git/factor 2008-01-16 01:16:57 -05:00
Slava 112c37b990 Fix Linux and FreeBSD signal handling on x86 2008-01-16 01:16:53 -05:00
Slava Pestov 952c559b52 Faster compilation of dispatch primitive 2008-01-13 17:07:59 -05:00
Slava Pestov a2a43e9980 New fixnum-shift primitive 2008-01-12 21:13:40 -05:00
Slava Pestov 028e0075d8 PowerPC support work in progress 2008-01-09 01:33:40 -05:00
Slava Pestov ac5f758bce PowerPC support work in progress 2008-01-08 17:04:45 -04:00
Slava Pestov 928c68b506 JIT improvements; simpler 'current XT' relocation logic 2008-01-07 17:14:09 -04:00
Slava Pestov 96f4f3ff40 Fix profiler 2008-01-02 23:07:25 -04:00
Slava Pestov b7327b6228 Redo the profiler 2008-01-02 20:36:36 -04:00
Slava Pestov 6922bded81 Speed up compile-call 2007-12-30 21:34:44 -05:00
Slava Pestov af41a0efe7 Re-implement callstack>array 2007-12-30 16:54:01 -05:00
Slava Pestov 5378c05508 Fix bootstrap 2007-12-29 22:44:25 -05:00
Slava Pestov 2b37b76d65 Working on profiler 2007-12-29 12:44:01 -05:00
Slava Pestov c5d91d12df Fix implementation of deferred words 2007-12-26 20:40:46 -05:00
Slava Pestov 93e1bdfcd7 Simplify JIT, fix tuples unit tests 2007-12-26 20:02:41 -05:00
Slava Pestov 1b9e04fdc5 Deferred words are now compound words 2007-12-26 17:28:34 -05:00
Slava Pestov f91ec96425 Fix code heap compaction and clean up VM a bit 2007-12-26 17:14:33 -05:00
Slava Pestov 4bb2a43a10 Early binding JIT work in progress 2007-12-26 02:33:49 -05:00
Slava Pestov c09af2f2c6 Improved JIT compiler design; better REGISTER_ROOT/UNREGISTER_ROOT stuff 2007-12-26 01:45:16 -05:00
Slava Pestov 3d784c7927 Simplify quotation calling convention: no need to pass XT 2007-12-25 23:40:36 -05:00
Slava Pestov 423c22e4ef Symbols are compound defs now; SYMBOL: foo == : foo \ foo ; 2007-12-25 22:55:17 -05:00
Slava Pestov 07a4022d62 Parser, definitions, source-files refactoring work in progress 2007-12-21 21:18:24 -05:00
Slava Pestov 308cf5aef7 Listener auto-compiles; more smart recompile work in progress 2007-12-17 16:29:54 -05:00
Slava Pestov 3c5b2073ef Fix save-image-and-exit, clean up compiler a bit 2007-12-16 18:42:56 -05:00
Slava Pestov c9646d20c5 Working on smarter recompilation 2007-12-16 15:17:28 -05:00
Doug Coleman 0e20f7eb7e Fix compile on 64bit linux 2007-12-12 16:22:41 -06:00
Slava Pestov 73f393ad28 Merge commit 'erg/master' 2007-12-12 16:20:00 -05:00
Doug Coleman c9daaa8eca disable RemoveVectoredExceptionHandler error checking
it's failing with error 258 - wait operation timed out
if c_to_factor(quot) is not called, it still "fails" with error 0 - operation successful
perhaps we need to clean up resources like the master io completion port?
2007-12-12 13:01:25 -06:00
Slava Pestov b17c2388cb Merge commit 'erg/master' 2007-12-12 02:35:02 -05:00
Doug Coleman 8cb2675a70 Add error checking to AddVectoredExceptionHandler 2007-12-12 01:29:41 -06:00
Slava Pestov 37227b8e68 Merge commit 'littledan/master' 2007-12-12 00:36:59 -05:00
Slava Pestov fbcd41be39 Clean up 2007-12-12 00:32:43 -05:00
Daniel Ehrenberg 637c1ad0e4 macosx-x86-64 2007-12-11 23:33:05 -05:00
Daniel Ehrenberg 4ea887e766 macosx-x86-64 more 2007-12-11 23:19:06 -05:00
Daniel Ehrenberg 4dec62ade9 macosx-x86-64 2007-12-11 22:48:20 -05:00
Doug Coleman 7559286288 Merge git://spitspat.com/git/factor 2007-12-09 18:28:10 -06:00
Doug Coleman 7053f84244 Merge git://factorcode.org/git/factor 2007-12-09 00:05:02 -06:00
Slava Pestov 9bbde3f60a Fix Linux/x86-64 signal handler problem 2007-12-08 23:26:35 -05:00
Doug Coleman b967f7747d Change stat to be more forgiving 2007-12-06 02:18:56 -06:00
Doug Coleman 9c79dc1fa7 Better error handling for safe_sigaction 2007-12-04 15:47:26 -06:00
Doug Coleman e7cbbaa692 Use MAX_UNICODE_PATH for outrageously long c:\windows directory names 2007-12-04 14:38:36 -06:00
Slava Pestov 1f2001143c Add type check to curry primitive 2007-11-25 15:27:11 -05:00
Doug Coleman 096b9fe4b7 Clean up C code a bit 2007-11-24 18:17:25 -06:00
U-C4\Administrator b8ab6a8cb1 Comment out the AllocConsole() code for windows
Add WINDRES variable to NT 32-bit backend
2007-11-24 18:07:05 -06:00
U-C4\Administrator 5849496a93 add Config file for win64 2007-11-24 18:00:18 -06:00
Doug Coleman 0da81b3018 Reuse existing console if present, or else open a new console, when -console is supplied 2007-11-21 14:47:15 -06:00
Doug Coleman 01682c1cd2 Open a console when calling factorbug() 2007-11-21 14:31:36 -06:00
Doug Coleman ea571c54dd Add open_console() command line parameter and stubs on each platform
Add Config.windows.nt
2007-11-21 14:27:25 -06:00
Slava Pestov f05f919973 Fix code heap compaction bug introduced recently 2007-11-17 04:31:26 -05:00
Slava Pestov 1bc4a852e1 Remove run.s 2007-11-16 00:10:34 -05:00
Yuuki Daruma 9ccb9f0559 Fixing environ for freebsd and linux 2007-11-14 13:36:48 -08:00
Slava Pestov 1382d9d045 Implement (os-envs) primitive on Windows 2007-11-13 01:09:38 -05:00
Slava Pestov a81a3387bf os-envs primitive to get current environment 2007-11-12 23:18:29 -05:00
Slava Pestov 53690f2500 Give credit where credit is due 2007-11-07 19:26:26 -05:00
Slava Pestov 8f2c563e57 Memory defaults tweak 2007-11-06 21:51:03 -05:00
Slava Pestov 6d3d12667b Merge branch 'master' of git://factorcode.org/git/factor 2007-11-05 15:34:03 -05:00
Slava Pestov 7cdfb02781 Better error handling in save-image 2007-11-05 13:39:20 -05:00
Slava Pestov 0051acbb2e Linux/ARM fixes with help from doublec 2007-11-05 01:40:48 -05:00
Slava Pestov af83b87b7d Minor improvement to fep's object dumpmer 2007-11-05 01:37:23 -05:00
Slava Pestov b2d2b47610 ARM fixes 2007-11-04 23:18:05 -05:00
Doug Coleman e7a36ef912 Fix error message for dlopen on windows 2007-11-02 13:05:38 -05:00
Slava Pestov c014cf1aeb Fix x86 stack alignment in Mach exception handler code 2007-10-29 02:23:16 -04:00
Slava Pestov d124669dc5 Merge git://factorcode.org/git/factor 2007-10-29 01:31:58 -04:00
Slava Pestov c69f19bb64 Remove obsolete file 2007-10-29 00:19:58 -05:00
Slava Pestov 2e78ce3d4a Profiler fixes 2007-10-29 01:12:27 -04:00
Samuel Tardieu ed295cd8fe Free posix_argv after use 2007-10-28 14:54:42 -04:00
Slava Pestov 589ea40b58 Add attributions to mach_signal files 2007-10-28 14:41:28 -04:00
Slava Pestov ef22d57ef6 Improved profiler doesn't require all words to be recompiled to enable/disable 2007-10-28 04:33:36 -04:00
Slava Pestov d69ad235f6 Remove non-working Windows CE SEH code 2007-10-28 01:21:37 -04:00
Slava Pestov 850c145a09 Fix bootstrap hang 2007-10-24 02:01:43 -04:00
Slava Pestov 9d80b13932 Add sanity check 2007-10-22 03:49:19 -04:00
U-SLAVA-FB3999113\Slava 507d0ca150 More ARM fixes 2007-10-21 15:18:31 -04:00
U-SLAVA-FB3999113\Slava bf82687051 More ARM changes 2007-10-15 19:59:35 -04:00
U-SLAVA-FB3999113\Slava e9b42fa635 Move more math stuff to extra/, get compiler to work without ratios/complex numbers 2007-10-14 20:38:23 -04:00
U-SLAVA-FB3999113\Slava 4d30644576 Got various things working on CE/ARM 2007-10-13 17:57:29 -04:00
U-SLAVA-FB3999113\Slava de7e596622 Fix trailing whitespace 2007-10-13 00:57:24 -04:00
Slava Pestov 5c58a50ac8 VM portion of improved deployment 2007-10-09 02:08:20 -04:00
Slava Pestov 764addb9b2 VM portion of new unit tests 2007-10-09 02:08:09 -04:00
Marie-Pascal c67c694f29 Fix typo 2007-10-08 01:04:24 -04:00
Slava Pestov ba6648f526 Fix argument order issue 2007-10-06 23:47:06 -04:00
Slava Pestov 2b13c74dfa Third time lucky 2007-10-06 23:26:43 -04:00
Slava Pestov 7b12b5e649 VM fixes 2007-10-06 23:12:52 -04:00
Slava Pestov 37e591e12f Use F_FASTCALL for save_callstack_top 2007-10-06 23:01:41 -04:00
Slava Pestov 038cbed6e6 Inhibit assignment re-ordering 2007-10-06 22:52:55 -04:00
Slava Pestov b07986d0d0 Once again, -fomit-frame-pointer on Windows is causing problems 2007-10-06 20:49:48 -04:00
Slava 1f3ca10e8e Improve FEP callstack display 2007-10-06 20:58:33 -04:00
Slava Pestov b23e109447 Clean up Windows support 2007-10-06 18:09:22 -04:00
Slava Pestov 92fef17698 Merge commit 'erg/master' 2007-10-06 17:57:05 -04:00
Slava Pestov 51595cc78e New call-clear primitive 2007-10-06 13:34:34 -04:00
Slava Pestov 71d907887f Code cleanup 2007-10-05 17:54:06 -04:00
Slava Pestov 98c9e69e1e Use same call frame struct on x86 and ppc 2007-10-05 17:35:51 -04:00
Slava Pestov 6b0b7bebf9 Simpler callstack layout 2007-10-05 17:30:10 -04:00
Slava Pestov 1d0ebde8dc Merge commit 'yuuki/master' into ppc_callstack_up 2007-10-05 04:18:28 -04:00
Slava Pestov 6fb134f1aa Update non-optimizing compiler for new PowerPC calling convention 2007-10-05 04:17:38 -04:00
Yuuki Daruma c1581f2ee1 updating the mv for Leopard. untested on ppc. 2007-10-04 23:54:35 -07:00
U-C4\Administrator d3f637abf0 dllexport symbols in cpu-x86.*.S 2007-10-04 11:56:12 -05:00
U-C4\Administrator c0e72118fd Add vim swap files to .gitignore (foo/bar/.baz.factor.swp)
Remove -fomit-frame-pointer from Windows optimized compiles because it causes incorrect code
Add -fomit-frame-pointer to Config.unix
2007-10-04 11:53:12 -05:00
Slava 0183a40717 Fixing tools.interpreter 2007-10-03 20:49:17 -04:00
Slava 443fc8fb04 Get vm/callstack.c to compile on x86 2007-10-03 18:53:43 -04:00
Slava Pestov fb2cd92262 datastack capture after underflow should be an ordinary error not a critical error 2007-10-03 17:11:52 -04:00
Slava Pestov fab1453bfc Re-implemented single stepper for new evaluation model 2007-10-03 16:56:49 -04:00
Slava Pestov d3ae70c53d VM cleanup 2007-10-02 17:53:05 -04:00
Slava Pestov 304242bf5c New unit test which fails on PowerPC 2007-09-30 16:20:07 -04:00
Slava Pestov 592886c783 alien-address primitive fix 2007-09-30 01:46:44 -04:00
Slava 48bd56ca03 Fix profiler on x86 2007-09-30 02:25:21 -04:00
Slava Pestov e7cd1e2ce2 Fix some stuff in cpu/ppc, fix bootstrap bug 2007-09-29 23:57:29 -04:00
Slava Pestov 15057fd349 Don't allow byte arrays to be stored in aliens 2007-09-28 04:02:06 -04:00
U-C4\Administrator 9a0ac0e975 Attempt to merge in changes
F_FASTCALL
2007-09-27 15:10:37 -05:00
U-C4\Administrator 07ba1de580 Merge git://spitspat.com/git/factor 2007-09-27 14:35:35 -05:00
U-C4\Administrator 9666ceecaf Merge git://factorcode.org/git/factor 2007-09-27 14:34:46 -05:00
Slava Pestov b28dd55121 x86 compile fix 2007-09-26 00:42:11 -04:00
Slava Pestov 30fdd20f96 Update x86 for lazy JIT 2007-09-26 00:34:37 -04:00
Slava Pestov 99a42aa089 Fix crash if GC runs during lazy_jit_compile 2007-09-26 00:34:10 -04:00
Slava Pestov f400729792 The JIT now compiles quotations when first invoked, not when constructed 2007-09-26 00:26:19 -04:00
Slava Pestov 0c6865a10b Lazy JIT 2007-09-25 21:23:20 -04:00
Slava Pestov 6529e17067 Fix PowerPC callstack traces 2007-09-25 20:31:45 -04:00
U-3ADF\Administrator 544c2370cf Fix SEH and USING: errors on windows nt 2007-09-25 10:37:45 +02:00
Slava Pestov b9ada9413f New icons from Elie 2007-09-24 15:34:17 -04:00
U-C4\Administrator 5e663a91d8 Try to get Windows NT bootstrapping with the latest compiler changes
SEH is broken
2007-09-23 23:52:58 -05:00
Slava 64e3e0c0d6 Fix callstack relocation 2007-09-22 18:56:27 -04:00
Slava Pestov 05e66a0659 Remove dead code; code_fixup stack frame return addrs 2007-09-22 17:17:37 -04:00
Slava Pestov 77d8a844f3 Untested Linux/x86 support 2007-09-22 04:00:22 -04:00
Slava Pestov 34465cf837 Remove debug message 2007-09-22 03:26:09 -04:00
Slava Pestov dacab19574 AMD64 fixes 2007-09-22 03:09:18 -04:00
Slava Pestov 136e249f6d x86-64 fixes 2007-09-22 02:28:49 -04:00
Slava Pestov 7b45efc69d VM fixes for Linux/x86-64 2007-09-22 00:28:55 -04:00
Slava 88cdd6ca9c Mac Intel compile fix 2007-09-22 00:13:01 -04:00
Slava Pestov 5d01a369e4 Update Config.* fixes (???) 2007-09-22 00:03:47 -04:00
Slava 6dc28869ce More build system work 2007-09-22 00:44:27 -04:00
Slava 2892083014 Merge branch 'master' of git://factorcode.org/git/factor 2007-09-22 00:41:36 -04:00
Slava 7475278aea Build system cleanup 2007-09-22 00:41:17 -04:00
Slava Pestov ae74818efa x86 fixes 2007-09-21 23:56:34 -04:00
Slava Pestov 3a1d458b29 More changes 2007-09-21 23:30:47 -04:00
Slava e2c65cbc2d FreeBSD/x86 support 2007-09-21 23:44:13 -04:00
Slava Pestov 7ff85dd33e Clean up x86 support code 2007-09-21 22:56:01 -04:00
Slava Pestov 1ba96d255b Tweak asm.h for Mac Intel 2007-09-21 16:55:55 -04:00
Slava d1b70d8b13 Mac OS X/x86 fixes 2007-09-21 16:43:55 -04:00
Slava 8c022cced5 Updates for Intel Mac 2007-09-20 19:17:17 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00