John Benediktsson
7577837621
cocoa: maybe this is cleaner...
2013-03-30 13:44:11 -07:00
John Benediktsson
c743316390
cocoa.messages: fix for deploy problem.
2013-03-30 13:05:04 -07:00
John Benediktsson
0e954554c8
ui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter).
2013-03-29 20:34:24 -07:00
John Benediktsson
4b0c6b02e8
cocoa.messages: add super-sender for completeness.
2013-03-29 14:45:41 -07:00
John Benediktsson
b06d1bd16b
ui.backend.cocoa.views: simplify and add os version check.
2013-03-29 14:29:41 -07:00
John Benediktsson
37f63443d9
cocoa.messages: some support for runtime message sending.
2013-03-29 14:18:57 -07:00
John Benediktsson
9da523dbbc
cocoa.messages: use ERROR:.
2013-03-29 14:18:57 -07:00
Doug Coleman
9caf50d9f7
cococa.messages: Rename selector.
2013-03-23 16:54:55 -07:00
Doug Coleman
c5c8c3b516
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
f2741b34a4
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
John Benediktsson
0e3d598e69
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
Philipp Brüschweiler
d328935498
Merge remote branch 'origin/native-image-loader' into gtk-image-loader
2010-07-17 11:26:45 +02:00
Slava Pestov
cf6b910c9f
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
0e1763ac8b
cocoa.messages: return cocoa char* values as void* instead of c-string
2010-06-27 12:42:14 -07:00
Slava Pestov
5d9993d46f
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Slava Pestov
5a102c717d
Eliminate compiler.alien
2010-05-11 23:24:47 -04:00
Slava Pestov
64cbe8b80b
Document (free), move it out of libc.private and mention it in the "c-strings" help article (reported by Blei)
2010-03-30 17:32:51 -04:00
Slava Pestov
16cfa13cae
cocoa.messages: cleanup
2010-02-24 20:18:48 +13:00
Joe Groff
96ab4492d2
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
f5723e5e3a
cocoa.messages: fix
2010-02-22 13:17:46 +13:00
Slava Pestov
6f5f68b923
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
0aad3e6e12
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
880fb747fc
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Slava Pestov
08b6ebc7fa
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
3323072613
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman
3453fa4778
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-22 13:20:17 -05:00
Joe Groff
dbd2f1b7f2
update cocoa bridge to use c-type words
2009-10-21 18:17:29 -05:00
Doug Coleman
aabaccff5e
fix a bunch of typos in docs
2009-10-21 17:40:43 -05:00
Doug Coleman
6fa23d7ea4
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Slava Pestov
527db8995a
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
430f4a83f9
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
0ce669da36
suppress "no such C type" warnings from cocoa for "?" and private apple types
2009-08-31 18:10:35 -05:00
Joe Groff
ee4735eec9
update cocoa and core-foundation stuff to use classes.struct and boxed malloc-arrays
2009-08-29 12:22:55 -05:00
Doug Coleman
d1ce837569
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
80d6233913
Fix even more usings
2009-05-16 10:45:17 -05:00
Slava Pestov
64a9585dd0
Fix deployment of UI apps and implement various tricks to make deployed images smaller
2009-05-10 21:33:13 -05:00
Slava Pestov
919f544d64
cocoa.messages: cleanup
2009-03-23 19:25:17 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -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
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
1604e18d71
Remove ascii dependency from Mac OS X bootstrap
2008-12-08 19:13:58 -06:00