Slava Pestov
fa6c8117aa
cocoa.messages: cleanup
2010-02-24 20:18:48 +13:00
Joe Groff
f6183703b2
ui: add a "system-alert" hook that can raise a system modal dialog without involving any potentially stripped gadget, io, or debugger code
2010-02-23 19:28:57 -08:00
Joe Groff
4cfa1a6c77
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
2010-02-23 11:42:02 -08:00
Slava Pestov
1b508b9c37
cocoa.messages: fix
2010-02-22 13:17:46 +13:00
Slava Pestov
0da6f78088
cocoa.messages: if a class cannot be found, IMPORT: no longer fails at parse time. Instead, there will be a runtime error when the class word is executed
2010-02-21 22:27:32 +13:00
Slava Pestov
c3f4bcb616
Fix load errors exposed by platforms.txt change
2010-02-20 13:31:09 +13:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
bd0ca0e2aa
Clean up some tags
2010-02-17 00:12:55 +13:00
Slava Pestov
f804c9c422
Move compile-call and related words only meant to be used for debugging to compiler.test
2010-01-23 00:39:56 +13:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Slava Pestov
1c10196c43
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side
2010-01-13 18:08:18 +13:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
cc194416f9
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman
7ce4b746e5
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Doug Coleman
649323ebe0
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-22 13:20:17 -05:00
Joe Groff
f9320e229f
update cocoa tests
2009-10-21 18:19:35 -05:00
Joe Groff
cc5f9ff98a
update cocoa bridge to use c-type words
2009-10-21 18:17:29 -05:00
Doug Coleman
0d4b9132d7
fix a bunch of typos in docs
2009-10-21 17:40:43 -05:00
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Joe Groff
e0157c55d1
support textured windows on os x and windows 6.x
2009-09-24 13:05:27 -05:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov
a054ec3d64
specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor
2009-09-04 22:01:55 -05:00
Joe Groff
3ea364bc80
suppress "no such C type" warnings from cocoa for "?" and private apple types
2009-08-31 18:10:35 -05:00
Joe Groff
0df9884ee5
change c-type-* to c-* everywhere
2009-08-30 19:05:29 -05:00
Joe Groff
2eff554273
update cocoa and core-foundation stuff to use classes.struct and boxed malloc-arrays
2009-08-29 12:22:55 -05:00
Doug Coleman
a17250bd1b
use constant
2009-08-27 11:24:26 -05:00
Slava Pestov
449be040f8
Use utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii into deployed apps
2009-08-23 19:07:21 -05:00
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
Slava Pestov
a598030fd7
cocoa.windows: Fix help lint
2009-06-20 15:14:45 -05:00
Joe Groff
3231fcd052
interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend
2009-06-17 22:47:51 -05:00
Slava Pestov
a0eb60906d
Fix even more usings
2009-05-16 10:45:17 -05:00
Slava Pestov
9de34ab3cd
Fix deployment of UI apps and implement various tricks to make deployed images smaller
2009-05-10 21:33:13 -05:00
Slava Pestov
a366909c25
Removing slip usage from basis
2009-05-10 15:28:22 -05:00
Joe Groff
cd4530adca
iokit game-input backend improvements:
...
- avoid some needless allocation when dispatching input events
- some gamepads claim to be pointers too; only match actual mouses
- don't mess with the calibration settings if the axis min/max attributes aren't available
also, throw a more helpful error when plist> fails
2009-05-08 18:47:44 -05:00
Slava Pestov
4c756a1147
cocoa: don't need to explicitly compile words anymore, as if more than a year ago...
2009-05-05 09:40:58 -05:00
U-FROGGER\erg
0668b1252e
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-02 20:12:06 -05:00
Doug Coleman
e5217b928e
Merge branch 'master' of git://github.com/bogiebro/factor
2009-05-01 15:57:33 -05:00
Joe Groff
c8739f5430
Merge branch 'master' of http://factorcode.org/git/factor
2009-05-01 13:01:04 -05:00
Joe Groff
b45ea14d39
compilation fixes
2009-05-01 12:56:52 -05:00
Joe Groff
ba8abd6cad
cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic
2009-05-01 09:09:38 -05:00
Joe Groff
b6074b95fa
get rid of variable-based pixel format crap in cocoa.views
2009-04-30 22:35:15 -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
Sam Anklesaria
a18c5816e0
refactoring cocoa.dialogs for directories
2009-04-30 08:29:49 -05:00
Slava Pestov
1dfa621f4d
Tweak some code to reduce deployed image size
2009-03-31 08:03:27 -05:00
Slava Pestov
53369cf5ff
Round mouse co-ordinates
2009-03-23 23:15:53 -05:00
Slava Pestov
919f544d64
cocoa.messages: cleanup
2009-03-23 19:25:17 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Slava Pestov
786475102d
Make more code infer
2009-03-17 02:19:50 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
58582ab4d9
Fix memory management for CFArrays
2009-03-09 20:22:56 -05:00
Slava Pestov
91fff87c0f
Fixing bootstrap after merge
2009-02-24 01:32:46 -06:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -06:00
Slava Pestov
91d0c4ed1f
Fix conflict
2009-02-22 20:02:13 -06:00
Doug Coleman
990513db60
use CONSTANT: in basis
2009-02-22 19:13:08 -06:00
Slava Pestov
421ee726b8
Merge branch 'master' into new_ui
2009-02-16 21:22:12 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Slava Pestov
fb84b8dd6a
Merge branch 'master' into new_ui
2009-02-10 16:53:09 -06:00
Slava Pestov
9060905983
Fix bootstrap
2009-02-10 16:52:27 -06:00
Slava Pestov
ab386d01aa
Merge branch 'master' into new_ui
2009-02-10 16:23:14 -06:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -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
dd9cf39467
Fix conflict in libc
2009-02-06 05:10:41 -06:00
Slava Pestov
d6aa376ed0
Removing now-redundant underlying>> calls
2009-02-06 04:37:28 -06:00
Slava Pestov
aa331e451b
Eliminate more tuck usages
2009-02-02 16:11:16 -06:00
Slava Pestov
1951d739a0
Stack effect declarations are mandatory on all words now
...
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
Slava Pestov
b856cc5491
Better error checking for Cocoa bridge, update for NSRect -> CGRect renaming
2009-01-21 19:47:17 -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
12d693f3fb
More work on Core Text binding
2009-01-19 22:30:32 -06:00
Slava Pestov
fd7a47613e
Move core-graphics types from cocoa.types to core-graphics.types, clean up some code
2009-01-19 16:29:52 -06:00
Slava Pestov
daf2857d7b
define-inline now takes an effect parameter
...
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov
59f7b60f4d
Fix cocoa.views help lint
2008-12-13 19:41:23 -06:00
Slava Pestov
44a8bac6ce
Remove more dead code
2008-12-13 05:20:50 -06:00
Slava Pestov
e79e6d6056
Remove dead code
2008-12-13 05:00:23 -06:00
Slava Pestov
36c36a7f83
Update code for core-foundation split, add core-foundation.timers
2008-12-12 01:11:37 -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
ec98a6c83d
offscreen-world widgets and offscreen pixel format fixes
2008-12-09 09:22:23 -08:00
Joe Groff
02e961ac77
cocoa ui compile fixes
2008-12-08 21:00:47 -08:00
Joe Groff
50887f0cfe
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-08 19:32:49 -08:00
Joe Groff
0b42f11683
cocoa backend for offscreen world rendering
2008-12-08 19:30:10 -08:00
Slava Pestov
1604e18d71
Remove ascii dependency from Mac OS X bootstrap
2008-12-08 19:13:58 -06:00
Slava Pestov
7940020491
Untangling more dependencies
2008-12-08 16:02:31 -06:00
Slava Pestov
5e0653ce6b
Fix USING:
2008-12-05 09:03:55 -06:00
Slava Pestov
8db24bdd34
assert-depth now has a static stack effect. This fixes a UI unit test failure
2008-12-05 08:25:26 -06:00
Slava Pestov
0e0e79eb7e
Redo how Cocoa event loop is done; fixes problem with expose, focus issue when closing windows
2008-12-05 01:49:46 -06:00
Slava Pestov
12c8ffc194
Fix adding methods to existing classes
2008-12-04 21:22:48 -06:00
Slava Pestov
402da00390
Fixing bootstrap with specialized arrays
2008-12-02 02:44:19 -06:00
Slava Pestov
f51708386d
Fix conflicts
2008-12-01 20:39:43 -06:00
Slava Pestov
52c5b53e27
Refactoring usages of >r, r>, -rot, rot
2008-11-30 22:21:37 -06:00
Slava Pestov
6dce834d91
Get rid of some more >r/r> usages
2008-11-30 18:28:15 -06:00
Slava Pestov
0e91763333
More tweaks
2008-11-29 15:35:39 -06:00
Slava Pestov
7bb90d07f0
Fix USING:
2008-11-29 15:24:20 -06:00
Slava Pestov
8b863ed5e5
Cleanups
2008-11-29 15:21:23 -06:00
Doug Coleman
338e592935
remove >r r>
2008-11-29 13:47:45 -06:00
Slava Pestov
e8a69a3aea
Fix conflict
2008-11-29 05:14:49 -06:00