Commit Graph

8279 Commits (192d9d565903f821be265d3d25d45c20c3ebbb02)

Author SHA1 Message Date
Erik Charlebois 192d9d5659 Extend C-ENUM: to allow specifying the constant vvalues like in C. Add C-TYPED-ENUM: to automatically typedef a type. 2010-04-06 02:46:23 -07:00
Erik Charlebois c011b7b10b Merge branch 'master' of git://github.com/slavapestov/factor into techniques 2010-04-04 20:38:59 -07:00
Slava Pestov 639a1f7043 cpu.x86.assembler: add support for absolute addressing on x86-64; [RIP+] now behaves like [] did, and [] now does absolute addressing just like in 32-bit mode 2010-04-04 19:42:57 -04:00
Erik Charlebois 5031c7725b PGM image loading and saving 2010-04-04 03:23:04 -07:00
Slava Pestov 44b3977c2b cpu.x86.64: fix typo that caused bootstrap crash 2010-04-03 21:11:04 -04:00
Slava Pestov cdc4fb3b62 Get green threads working on Windows
- store stack base and limit in TIB
- set up a frame-based structured exception handler in each context's callstack
- boot.x86.32.image has now been replaced by boot.winnt-x86.32.image and boot.unix-x86.32.image
2010-04-03 20:24:33 -04:00
Slava Pestov fc5f7b822e windows.errors: redundant USING: list entry 2010-04-02 15:58:47 -04:00
Slava Pestov 4e058a0f33 vm: re-organize context structure 2010-04-02 15:42:29 -04:00
Slava Pestov 47f86898d7 vm: pre-allocate context alien 2010-04-02 00:02:21 -04:00
Slava Pestov 62eaecdac3 cpu.ppc: fix optimizing compiler backend 2010-04-01 21:41:13 -05:00
Slava Pestov e330fcb0f9 cpu.ppc: stick old stack pointer in a register for use by callbacks 2010-04-01 22:39:46 -04:00
Slava Pestov 4f585f991d compiler: new set-special-object intrinsic; more efficient special-object intrinsic 2010-04-01 20:09:14 -04:00
Slava Pestov e0648bf767 Some minor pointless optimizations 2010-04-01 20:09:14 -04:00
Doug Coleman 6dc57594f8 Fix bootstrap on windows 2010-04-01 18:48:41 -05:00
Joe Groff bb2f4317c2 add note to deploy docs that «deploy» creates a bundle directory with all the parts, and «deploy-image-only» deploys only the image 2010-04-01 15:25:08 -07:00
Joe Groff 3140fedf1e tools.deploy: add a «deploy-image-only» word that only builds the image file to a specified location 2010-04-01 15:11:52 -07:00
Joe Groff c8b0acf0b9 tools.deploy.macosx: make sure Contents/Frameworks dir still gets created for apps that deploy third-party libraries 2010-04-01 14:44:18 -07:00
Joe Groff cab0ec8fcf update deploy backends not to include dll in deployed apps 2010-04-01 14:26:56 -07:00
Doug Coleman 0b65c9baf6 Fix bootstrap 2010-04-01 15:37:57 -05:00
Doug Coleman 636f2ed2e5 Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Erik Charlebois 47a2b0cfd7 PPM image loading and saving 2010-04-01 00:44:32 -07:00
Slava Pestov cab0cadf4d cpu.ppc: updating optimizing compiler backend for recent changes (untested) 2010-04-01 00:22:10 -04:00
Slava Pestov 9acd33d547 cpu.ppc: non-optimizing compiler backend fixes 2010-04-01 00:21:41 -04:00
Slava Pestov a8eeff7c48 cpu.x86.assembler: add segment override prefixes 2010-03-31 20:47:13 -04:00
Slava Pestov eb8432061c cpu.x86.64: eliminate useless instruction from primitive call sequence for a marginal to non-existent gain 2010-03-31 19:32:36 -04:00
Doug Coleman e96c884617 Fix calendar docs 2010-03-31 17:37:22 -05:00
Doug Coleman d17ac3c283 Add utiltity words for io.files.unique 2010-03-31 15:09:51 -05:00
Doug Coleman 29a7f10a4c Link a word in math docs 2010-03-31 15:09:51 -05:00
Doug Coleman 71eff3c7c2 Always do a leap year check when adding timestamps 2010-03-31 15:09:51 -05:00
Doug Coleman 8c51af2a5a More constants and functions in windows.advapi32 2010-03-31 15:03:35 -05:00
Doug Coleman 0d3dad21d5 Make literals work with aliases, add flags{ parsing word to clean boilerplate with $[ 2010-03-31 15:03:33 -05:00
Doug Coleman 333851281e Report the Win32 error code along with the error message 2010-03-31 15:03:32 -05:00
Slava Pestov 2aada86da7 cpu.ppc: updating non-optimizing compiler backend for green threads (untested) 2010-03-31 15:19:14 -04:00
Slava Pestov 22c7654e78 cpu.x86: remove useless crap from c-to-factor sub-primitive 2010-03-31 15:19:00 -04:00
Slava Pestov 4309d2c0ed tools.deploy.shaker: make sure an io-multiplex method remains even if C streams are stripped out 2010-03-31 13:29:44 -04:00
Slava Pestov e5bc4c915a tools.deploy.shaker: don't strip out io-thread, since new thread implementation requires at least one thread to be runnable at any time 2010-03-31 10:27:24 -04:00
Slava Pestov 6ad12e7345 locals: remove some dead code 2010-03-30 21:56:51 -04:00
Slava Pestov de0c2801d2 threads: delete old contexts immediately instead of handing them off to a 'context recycler' thread 2010-03-30 21:47:48 -04:00
Slava Pestov 20539a0681 models.product: fix example (reported by Muzzleflash) 2010-03-30 17:33:08 -04:00
Slava Pestov 64cbe8b80b Document (free), move it out of libc.private and mention it in the "c-strings" help article (reported by Blei) 2010-03-30 17:32:51 -04:00
Slava Pestov b4bc30702c validators: fix v-default (reported by Niklas Waern) 2010-03-30 15:35:36 -04:00
Slava Pestov 8b49344a37 concurrency.distributed: fix for removal of 'thread' word 2010-03-30 01:17:39 -04:00
Slava Pestov 92b66ada71 sets, hash-sets, bit-sets: fix some typos in the documentation 2010-03-30 01:10:39 -04:00
Slava Pestov cea2bf4189 threads: use context-switching primitives 2010-03-29 20:40:17 -04:00
Slava Pestov a78f549918 ui.gadgets.buttons: fix incorrect parameter order in <radio-controls> 2010-03-29 15:08:15 -04:00
Slava Pestov 94787b962b bootstrap.compiler: fix joint dependencies declared here 2010-03-29 13:14:26 -04:00
Joe Groff 7db4fb6a45 someone screwed up the kernel-error codes in debugger 2010-03-28 18:31:11 -07:00
Daniel Ehrenberg cacb1f8ebd Merge branch 'master' into conditional 2010-03-28 19:49:32 -04:00
Slava Pestov 9a40c14e15 threads: fix thread-local variables 2010-03-28 12:33:41 -04:00
Slava Pestov 2e63c730b6 cpu.x86.bootstrap: fix jit-profiling regression 2010-03-28 08:29:55 -04:00