]> gitweb.factorcode.org Git - factor.git/commitdiff
Fixes
authorslava <slava@factorcode.org>
Tue, 14 Nov 2006 21:59:20 +0000 (21:59 +0000)
committerslava <slava@factorcode.org>
Tue, 14 Nov 2006 21:59:20 +0000 (21:59 +0000)
Makefile
README.txt
TODO.FACTOR.txt
contrib/httpd/html.factor
contrib/jedit/jedit.factor
library/ui/test/search.factor
vm/run.h

index 36c09ac16959217627b39f809dc243ed05569ef1..e24815308e68a244e7504446c0c2c4ff96b96563 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,10 @@ DISK_IMAGE = Factor-$(VERSION).dmg
 LIBPATH = -L/usr/X11R6/lib
 
 ifdef DEBUG
-       CFLAGS = -g
+       CFLAGS = -pg -O1
        STRIP = touch
 else
-       # Temporary workaround for a Windows gcc issue; later we'll find a
-       # real fix, for now just -fno-inline-functions
-       CFLAGS = -Wall -O3 -ffast-math -fomit-frame-pointer \
-               -fno-inline-functions $(SITE_CFLAGS)
+       CFLAGS = -Wall -O3 -ffast-math -fomit-frame-pointer $(SITE_CFLAGS)
        STRIP = strip
 endif
 
index 56de2973b47c83419b0a5449e90153d213caca70..082406f06930393bbabc022bf73684f0cfffe992 100644 (file)
@@ -137,9 +137,6 @@ application bundle:
 This copies the runtime executable, factor.image (which must exist at
 this point), and the library source into a self-contained Factor.app.
 
-Factor.app runs the UI when double-clicked and can be transported
-between PowerPC Macs.
-
 * Running Factor on Mac OS X - X11 UI
 
 The X11 UI is available on Mac OS X, however its use is not recommended
index 6946f3419e368535dfacbf024b03f38b67c4e527..203dd0616cbc49d7cd300554b8dca81a00f04361 100644 (file)
@@ -1,5 +1,6 @@
 + 0.87:
 
+- fix search unit test
 - these things are "Too Slow":
   - all-words
   - make-image
 - cross-word type inference
 - callback scheduling issue
 - windows crash
+- ui docs
+- some kind of declarative wiring framework for ui
+- overhaul models, set-model* is crap
+- allow rebinding styles
+- fix windows gcc issue
+- robustify stepper -- see if step back past a throw works
+- empty callstack: should throw an exception instead of being a critical error
 
 + ui:
 
@@ -81,6 +89,7 @@
 
 + misc:
 
+- should be possible to reload any source file in library
 - growable data heap
 - minor GC takes too long now, we should card mark code heap
 - buffer-ptr should be an alien
index e04838ee8e1d35776123b57cdec05a09db34c942..5c7ca29f4e6f7b0fd389fccdad7fa99127556762 100644 (file)
@@ -194,7 +194,7 @@ M: html-stream stream-terpri [ <br/> ] with-stream* ;
     link/> ;
 
 : xhtml-preamble
-    xml-preamble write-html
+    "<?xml version=\"1.0\"?>" write-html
     "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">" write-html ;
 
 : html-document ( title quot -- )
index 4454084bbca1438bf13306b1b4e807d3c4b8a449..d9b61fde0645c900ed4802e8a96abb003d18c4da 100644 (file)
@@ -11,7 +11,7 @@ namespaces parser prettyprint sequences strings words shells ;
         readln string>number
     ] with-stream ;
 
-: make-jedit-request ( files params -- code )
+: make-jedit-request ( files -- code )
     [
         "EditServer.handleClient(false,false,false," write
         cwd pprint
index 8e5a836e54f205b328510fd813989bac73ee1006..477eece1525012a34053834cfc3e4372b4748487 100644 (file)
@@ -1,22 +1,22 @@
-IN: temporary
-USING: gadgets-search io test namespaces gadgets 
-sequences threads ;
-
-[ "hey man (score: 123)" ]
-[
-    [
-        { "hey man" 123 } [ <pathname> ] string-completion.
-    ] string-out
-] unit-test
-
-"set-word-prop" [ ] <word-search> "search" set
-"search" get graft*
-
-1000 sleep
-
-[ f ]
-[ "search" get live-search-list control-value empty? ]
-unit-test
-
-"search" get ungraft*
+IN: temporary
+USING: gadgets-search io test namespaces gadgets 
+sequences threads ;
+! 
+[ "hey man (score: 123)" ]
+[
+    [
+        { "hey man" 123 } [ <pathname> ] string-completion.
+    ] string-out
+] unit-test
+! 
+"set-word-prop" [ ] <word-search> "search" set
+"search" get graft*
+! 
+1000 sleep
+! 
+[ f ]
+[ "search" get live-search-list control-value empty? ]
+unit-test
+! 
+"search" get ungraft*
 
index 7a93750747b74c45cea6bf8dece1a0d22e80d546..8a56a4fd5dfa28021221345119559cf98d85188f 100644 (file)
--- a/vm/run.h
+++ b/vm/run.h
@@ -170,7 +170,9 @@ typedef enum
 } F_ERRORTYPE;
 
 /* Are we throwing an error? */
-bool throwing;
+/* XXX Why is this volatile? The resulting executable crashes when compiled
+under gcc on windows otherwise. Proper fix pending */
+volatile bool throwing;
 /* When throw_error throws an error, it sets this global and
 longjmps back to the top-level. */
 CELL thrown_error;