Commit Graph

57 Commits (b212e8edd0b7e8b3cb146c24d02d99ccf46ce80f)

Author SHA1 Message Date
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Joe Groff 3a6a588532 destroy window-resources in reverse order 2009-07-04 19:13:53 -05:00
Joe Groff 97adae24f0 pardon my dust 2009-07-01 17:57:21 -05:00
Joe Groff 77104b7256 put a slot on worlds for window-resources which get disposed when window is closed 2009-07-01 13:54:42 -05:00
Joe Groff 76b1f9ce03 some new UI words: handles-gesture? checks whether a gesture will be handled. topmost-window returns the topmost world object 2009-06-22 19:01:50 -05:00
Joe Groff 54ad8f9dd9 stupid mutable state 2009-06-18 22:01:31 -05:00
Joe Groff 0169934f6d null-world class for interactive OpenGL use 2009-06-03 11:03:34 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Doug Coleman 0d8115a940 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -05:00
Doug Coleman 31e3fe5a2f rename set-fullscreen? to set-fullscreen, add a toggle-fullscreen word, fix windows backend for fullscreen* 2009-05-13 20:05:22 -05:00
Joe Groff 30bfce2ce0 improve error handling when begin-world fails 2009-05-11 12:35:41 -05:00
Joe Groff 9992817c65 input grabbing support 2009-05-08 15:07:15 -05:00
Slava Pestov 51fff49708 find-window: don't bomb if a world has no child. Reported by Joe Groff 2009-05-06 23:40:27 -05:00
Joe Groff 4504907736 add a resize-world generic to handle window resizes 2009-05-03 22:01:35 -05:00
Joe Groff 6ccd82faba world API changes: open-window can take a world-attributes tuple with additional parameters besides title. new begin-world, end-world, and draw-world* generics 2009-05-03 15:52:26 -05:00
Slava Pestov 9bb70c2c4d Update usages of global ... change-at to use the new change-global combinator 2009-04-30 21:38:14 -05:00
slava 509869ca70 X11 UI: Fix resize flicker, exception when closing window, unsuccessful attempt at fixing raise-window 2009-04-10 13:29:07 -04:00
Slava Pestov e2c858da34 Add better error check for 'window' word 2009-04-10 06:20:23 -05:00
Slava Pestov 6082a98c7c If (open-window) or similar fails, don't enter an infinite loop of opening error windows, just try to open one and then give up 2009-04-07 22:30:13 -05:00
Slava Pestov 474e74a232 Re-organize things so that bootstrap.ui doesn't load ui.text 2009-03-31 23:44:38 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 36d03dfa08 Use call( so that with-ui infers 2009-03-16 03:01:47 -05:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov 58e55d4f45 Working on documentation 2009-02-19 16:54:27 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Slava Pestov 39a4969faa Listener doesn't print a garbage quotation when commands are invoked 2009-02-12 09:48:05 -06:00
Slava Pestov d1a5bf2073 Working on ui.images; change draw-gadget to translate to origin for you 2009-02-10 18:47:34 -06:00
Slava Pestov 5be7a6777b Clean up Core Text rendering code, and factor our basis/cache and basis/opengl/texture-cache 2009-02-10 02:45:43 -06:00
Slava Pestov 7b8e7f8092 Use call( in a bunch of places in the UI; update-ui infers now 2009-02-09 00:49:48 -06:00
Slava Pestov 3045777f02 Fix conflict 2009-02-09 00:34:00 -06:00
Daniel Ehrenberg b65b88364c Updating lots of things to use call( -- ) 2009-02-08 22:12:11 -06:00
Slava Pestov 0835eb374b UI cleanup: make some ui.gadgets words private, give labels a virtual slot instead of label-string/set-label-string words 2009-02-01 20:31:42 -06:00
Slava Pestov af744e4511 Use singletons instead of empty tuples, add undo/redo to editor gadgets 2009-01-28 00:30:57 -06:00
Slava Pestov 2a7d353251 Debugging Core Text, get colored text working and fix memory management issue 2009-01-21 19:34:42 -06:00
Slava Pestov 9f76476d26 Refactor Core Foundation binding a bit, add new >cf word to convert Factor objects to CF values 2009-01-20 23:06:23 -06:00
Slava Pestov 723626a9d2 Add slot editing to UI inspector, remove slot editing from TTY inspector 2009-01-08 17:02:54 -06:00
Slava Pestov 268b995116 Remove the ui word, and ui-hook kludge; with-ui is now the only way to start the UI. ui.tools vocabulary is now runnable 2009-01-07 20:56:09 -06:00
slava 7bf857650c Remove stop-after-last-window? option, it's obsolete, get ui.event-loop (only used on X11 and Windows) to load 2008-12-13 03:49:22 -06:00
Slava Pestov 053c15e476 This is where all the recent I/O and core foundation work comes together: use core-foundation.run-loop to receive events on Mac OS X instead of weak-ass Squeak-style polling every 10ms 2008-12-12 23:58:28 -06:00
Joe Groff ed45192b6d Merge branch 'master' of git://factorcode.org/git/factor 2008-12-11 17:16:12 -08:00
Slava Pestov 6346999f66 Fix race condition with gesture handling and grafting 2008-12-10 16:40:05 -06:00
Doug Coleman 4f20c0813f Merge branch 'master' of git://repo.or.cz/factor/jcg
Conflicts:

	basis/ui/cocoa/cocoa.factor
2008-12-09 21:16:37 -06:00
Joe Groff 98c0daae2a Move offscreen-world widget and support words into ui.offscreen vocab 2008-12-09 10:07:57 -08:00
Joe Groff ec98a6c83d offscreen-world widgets and offscreen pixel format fixes 2008-12-09 09:22:23 -08:00
Slava Pestov f8bce98850 Remove unnecessary prettyprinter and debugger dependencies from UI 2008-12-08 13:58:57 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -06:00
Slava Pestov fb918ab756 The event loop thread now adds events to a queue slurped by the UI update thread instead of handling them directly. This fixes a race condition where a gadget could end up handling an event before it was grafted or laid out 2008-11-21 23:01:20 -06:00
Slava Pestov 1477a0f6f5 Code cleanups 2008-11-20 18:11:25 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00