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
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
+ 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:
+ 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
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 -- )
readln string>number
] with-stream ;
-: make-jedit-request ( files params -- code )
+: make-jedit-request ( files -- code )
[
"EditServer.handleClient(false,false,false," write
cwd pprint
-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*
} 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;