Commit Graph

221 Commits (ebdf57d175ab2005dbc48fd6e94d74de135f47c7)

Author SHA1 Message Date
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
Doug Coleman fb8bdfe7e5 rename last-slice1 to slice1-last 2008-11-22 20:00:37 -06:00
Slava Pestov 281657dd82 Fix conflict 2008-11-18 22:18:14 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -06:00
Slava Pestov b3f30fb807 Fix load error 2008-10-17 20:04:08 -05:00
Slava Pestov 7d6e919929 Fix conflict 2008-10-17 18:46:56 -05:00
Doug Coleman 171c235c96 Merge branch 'master' of git://repo.or.cz/factor/jcg
Conflicts:

	basis/cocoa/messages/messages.factor
2008-10-15 23:56:42 -05:00
Slava Pestov a222168f74 Fix bootstrap 2008-10-13 14:01:33 -05:00
Joe Groff 52a12c2387 Merge branch 'master' of git://factorcode.org/git/factor 2008-09-30 18:22:41 -07:00
Slava Pestov 4b19afdb4e Fixing issues found by stricter help lint 2008-09-24 01:59:05 -05:00
Slava Pestov efe0bf2ecd Document cocoa-app combinator 2008-10-02 10:53:12 -05:00
Slava Pestov dbae275dc2 Don't need cocoa.standalone 2008-10-02 10:52:57 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov b4d918caa5 Some minor new features for Cocoa binding 2008-10-02 07:10:22 -05:00
Joe Groff a4210afd62 some debugging aids for cocoa libs 2008-09-13 09:32:47 -07:00
Joe Groff 3e0ea36346 cleanup on aisle 5 2008-09-12 20:18:47 -07:00
Joe Groff f6ac828f46 yup, more type bugs 2008-09-12 20:01:07 -07:00
Joe Groff eb77923e09 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	basis/cocoa/types/types.factor
2008-09-12 06:37:24 -07:00
Slava Pestov 10e9f09ccf Add missing type 2008-09-12 04:02:42 -05:00
Joe Groff 7eb6ceb08c typo 2008-09-11 21:35:52 -07:00
Joe Groff 8c8dd51136 one more cocoa type bug 2008-09-10 21:40:41 -07:00
Joe Groff 6575c06816 oops--broke the alien>objc-types reverse mapping 2008-09-10 21:28:38 -07:00
Joe Groff 32dfcd36ac more cocoa 64-bit type fixes 2008-09-10 20:19:57 -07:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Joe Groff 727f0689d4 change cocoa and core foundation types to be 64-bit clean 2008-09-09 19:19:59 -07:00
Joe Groff fddcd3d475 bring back method redefinition 2008-09-08 22:53:22 -07:00
Joe Groff d0281c58d1 it's always the line you least expect 2008-09-08 22:47:20 -07:00
Joe Groff d4835de50b disable method redefinition--is it really necessary when the class is being redefined? 2008-09-08 22:32:19 -07:00
Joe Groff 593f25fde4 clean up. disable method type verification for debugging 2008-09-08 22:09:05 -07:00
U-VICTORIA\Administrator 3958798934 i are good at the facterz. let me show u 2008-09-08 17:38:00 -07:00
Joe Groff 3c42ef1da6 first crack at objc2 runtime. need to update type encoding parsing and fix bug in CLASS: compilation 2008-09-08 07:28:02 -07:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Slava Pestov 56ed8b8637 Fix test 2008-09-02 02:41:52 -05:00
Slava Pestov 110a5e5162 Change equality semantics 2008-09-02 02:02:05 -05:00
Slava Pestov 5a0e548a47 Merge branch 'master' of git://repo.or.cz/factor/jcg 2008-08-31 03:09:23 -05:00
Joe Groff da3677dafb Change -in-place words in math.blas to use the "!" convention for destructive words. Update the math.blas documentation to match the expectations of help.lint 2008-08-30 18:54:04 -07:00
Doug Coleman 313b5c2821 new accessors 2008-08-29 10:24:22 -05:00
Doug Coleman e0810c727d Revert "remove old accessors from cocoa"
This reverts commit 4f8bc90cca.
2008-08-29 10:14:34 -05:00
Doug Coleman 4f8bc90cca remove old accessors from cocoa 2008-08-29 00:52:00 -05:00
Slava Pestov 86f11713e3 Fixing some more bugs 2008-08-22 03:12:15 -05:00
Slava Pestov 48fa2e2d0e Updating some code 2008-08-12 03:31:48 -05:00
Slava Pestov 6408b01e9d Add 'unportable' tag in place of hard-coded list of 'dangerous' vocabs in load-everything 2008-07-29 16:47:52 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00