John Benediktsson
e137cde7f8
cocoa.plists: use new NSFastEnumeration>hashtable word.
2014-07-08 16:12:41 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -07:00
John Benediktsson
ec0741da35
cocoa.apple-script: adding some docs.
2013-10-11 08:25:11 -07:00
John Benediktsson
6069aef790
cocoa.apple-script: add APPLESCRIPT: syntax for defining words.
2013-10-11 08:17:25 -07:00
John Benediktsson
55f72a8568
cocoa.apple-script: adding a simple applescript runner.
2013-10-10 15:52:05 -07:00
John Benediktsson
88ec7ef7de
cocoa.messages: name sender-stubs by signature since they are cached that way.
2013-04-26 16:56:53 -07:00
John Benediktsson
bf83eaccfc
cocoa: maybe this is cleaner...
2013-03-30 13:44:11 -07:00
John Benediktsson
a99f66f505
cocoa: add ?-> to remember messages being used at runtime.
2013-03-30 13:14:51 -07:00
John Benediktsson
d94977ac0c
cocoa.messages: fix for deploy problem.
2013-03-30 13:05:04 -07:00
John Benediktsson
d1ae334046
ui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter).
2013-03-29 20:34:24 -07:00
John Benediktsson
fe952b2f8e
cocoa.messages: add super-sender for completeness.
2013-03-29 14:45:41 -07:00
John Benediktsson
fe1bfe173b
ui.backend.cocoa.views: simplify and add os version check.
2013-03-29 14:29:41 -07:00
John Benediktsson
886cf4df07
cocoa.messages: some support for runtime message sending.
2013-03-29 14:18:57 -07:00
John Benediktsson
64822a7a30
cocoa.messages: use ERROR:.
2013-03-29 14:18:57 -07:00
Doug Coleman
8012f60829
cococa.messages: Rename selector.
2013-03-23 16:54:55 -07:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
559b5bfa5b
using the new H{ } make.
2012-07-19 09:50:09 -07:00
Doug Coleman
e490331dd8
cocoa.plists: Remove duplicate using.
2012-06-22 13:47:17 -07:00
John Benediktsson
ba663e2fd5
cocoa.plists: import cocoa to fix bootstrap issue.
2012-04-16 12:06:42 -07:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Doug Coleman
e435a7aa59
cocoa.messages: Apply mrjbq's patch to show the name of the cooca function in sender stubs. rename 'method' in stack effects to 'signature' since we are passing an array with the return value and arguments, not the method.
2011-11-21 16:38:16 -08:00
John Benediktsson
80e1c8e3f2
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
Doug Coleman
76580da5d5
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
John Benediktsson
4f42c72012
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Joe Groff
9b23085c95
cocoa.runtime: remove bindings to obsolete objc runtime functions
2011-09-11 16:45:44 -07:00
Slava Pestov
4045eeca20
cocoa.subclassing: sometimes, compiled Cocoa method bodies would not be updated when words were redefined. Fixes #66
2011-08-28 22:56:58 -07:00
Slava Pestov
f699714a16
cocoa: clean up tests
2011-08-28 22:20:39 -07:00
Slava Pestov
4aaab7af34
cocoa.plists: fix for recent change to cocoa binding: char* returns are now treated like void* and not like c-string
2011-08-28 22:19:50 -07:00
Joe Groff
9040ee37e0
Merge remote-tracking branch 'Blei/gtk-image-loader'
...
Conflicts:
basis/alien/enums/enums-tests.factor
basis/alien/enums/enums.factor
basis/alien/parser/parser.factor
basis/gdk/pixbuf/ffi/ffi.factor
basis/glib/ffi/ffi.factor
basis/tools/deploy/shaker/shaker.factor
basis/ui/backend/gtk/gtk.factor
basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
John Benediktsson
9f34c9c676
Spelling fixes to documentation.
2011-08-26 16:20:31 -07:00
Slava Pestov
74af9abf20
Update code for brave new world where alien.parser doesn't special-case void, and instead looks it up like any other word
2010-08-15 02:32:13 -07:00
Slava Pestov
168dd1f825
FFI rewrite part 7: compile callback bodies with the optimizing compiler
2010-07-28 00:49:26 -04:00
Philipp Brüschweiler
d2530a4365
Merge remote branch 'origin/native-image-loader' into gtk-image-loader
2010-07-17 11:26:45 +02:00
Slava Pestov
446ee6896d
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary
2010-07-16 17:32:05 -04:00
Joe Groff
e2237afd61
Merge branch 'master' of http://factorcode.org/git/factor into native-image-loader
2010-07-07 13:09:41 -07:00
Slava Pestov
425c572fa8
cocoa.subclassing: cleaner CLASS: syntax; ui.backend.cocoa: ignore events delivered after window closed to fix FEP (reported by Doug Coleman)
2010-07-06 19:02:52 -04:00
Slava Pestov
bb4dae64f3
cocoa.subclassing: new METHOD: syntax cleans up class definitions
2010-07-06 17:59:35 -04:00
Slava Pestov
bc87b269c5
Remove Cocoa exception handling support since it no longer works
2010-07-06 17:48:37 -04:00
Slava Pestov
1106c03318
Remove cocoa.callbacks since nothing uses it
2010-07-06 17:45:50 -04:00
Joe Groff
e433b16b42
cocoa.messages: return cocoa char* values as void* instead of c-string
2010-06-27 12:42:14 -07:00
Joe Groff
05faf6919b
new vocab images.cocoa: load image objects using native cocoa api
2010-06-27 12:29:21 -07:00
Slava Pestov
70a99e1cdb
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Slava Pestov
0cde5c8fb5
Eliminate compiler.alien
2010-05-11 23:24:47 -04:00
Erik Charlebois
baab8c060d
Remove ENUM: f and replace uses with CONSTANTs.
...
Fix bootstrap and load-all errors from enum classes.
2010-04-19 20:08:40 -07:00
Joe Groff
4bc915d526
C-ENUM: -> ENUM:
2010-04-19 20:07:16 -07:00
Slava Pestov
2b4a55b53a
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-04-10 18:01:19 -07:00
Erik Charlebois
5768ae0af4
Forget to save some files for enum change
2010-04-10 00:12:59 -07:00
Joe Groff
ef884ef7f2
Merge branch 'master' into abi-symbols
2010-04-01 15:28:36 -07:00
Joe Groff
65c3259761
"cdecl" -> cdecl
2010-03-31 19:20:35 -07:00