Commit Graph

119 Commits

Author SHA1 Message Date
Christopher Lloyd
1320c34588 - SWRender, small fill rate and resampling optimizations, removed tile reflect mode 2008-04-14 17:04:59 +00:00
Christopher Lloyd
d6fa1e1f91 - SWRender, fill rate improvements, migration towards CGImage API. 2008-04-12 03:50:37 +00:00
Christopher Lloyd
a287c303f1 - SWRender, more cleanup, implemented bicubic resampling, fill rate optimizations 2008-04-11 01:37:26 +00:00
Johannes Fortmann
081518cf21 fix for issue 78 2008-04-10 21:54:42 +00:00
Christopher Lloyd
44511579a1 - SWRender, more fill optimizations, added blending test, several blend formulas fixed and tested. 2008-04-07 20:07:41 +00:00
Johannes Fortmann
5d821940fd - now it actually works and is enabled. Really. 2008-04-07 12:38:59 +00:00
Johannes Fortmann
1da880ac2a - do not release lock in objc_sync_exit 2008-04-06 18:12:21 +00:00
Johannes Fortmann
89d714df1b - NSLock tryLock, lockBeforeDate: implementation for Windows
- that means @synchronized now works
- performSelector:onThread: and friends
- NSFastEnumeration is now located in NSEnumerator.h
2008-04-06 17:03:54 +00:00
Christopher Lloyd
522e29b18b - John Engelhart's NSAssertionHandler implementation, NSObjCRuntime fixes, NSZone NS*Integer fixes, Darwin virtual memory functions
- Changed Linux compiler to "default"
- Enabled ObjC exceptions in compiler for Windows target
2008-04-06 00:24:57 +00:00
Johannes Fortmann
ddbe03a7a2 - implemented NSRecursiveLock
- moved objc_sync to own source file
- platform-agnostic, very unoptimized implementation of objc_sync calls (currently nonfunctional on Windows because of missing NSLock lockBeforeDate:)
- small fix for NSThread on Windows
2008-04-05 18:28:53 +00:00
Johannes Fortmann
481975b150 - stubs for objc_sync_enter & friends (no locking done yet)
- only one instance of NSThread per thread; some additional methods implemented
- objc_thread_detach renamed to NSPlatformDetachThread; moved to NSMemoryFunctions; implementations for Win32 & Linux
- NSRunloop: mainRunLoop implemented; performSelector:... method is threadsafe (or would be, if objc_sync_enter were implemented properly)
2008-04-05 15:02:05 +00:00
Christopher Lloyd
73ec73721e - SWRender, active edge table incremental update optimization, color space fixes 2008-04-05 05:19:57 +00:00
Christopher Lloyd
7136a67490 - SWRender, a few optimizations, more tests 2008-04-03 16:46:49 +00:00
Christopher Lloyd
862c256963 - Disable unroll loops in AppKit/Foundation so that gcc 4.3.0 can be used 2008-03-31 19:51:55 +00:00
Johannes Fortmann
532e5084c3 setProperty now releases old property
fix for c++ destructors in Linux
renamed instance variables in binder classes
2008-03-31 16:11:19 +00:00
Christopher Lloyd
eb55681783 - SWRender, some fill optimizations 2008-03-29 02:54:20 +00:00
Johannes Fortmann
7c822ee1dc - NSAutoreleasePool -drain as alias for -release
- _NSPrintForDebugger (so po works in gdb)
- NSFastEnumerationState, countByEnumeratingWithState: in NSArray and NSEnumerator (protocol probably needs its own file)
- KVC accessors _key, isKey, _isKey
- objc_setProperty
- C++ constructors are only called if CLASS_HAS_CXX_STRUCTORS is set on the class
- small NSObjectController KVO deps fix
2008-03-28 18:47:18 +00:00
Christopher Lloyd
70af24fe87 - SWRender, C-ification done, more removal of unneeded/unused code 2008-03-27 19:32:41 +00:00
Christopher Lloyd
cc2483f54d - SWRender, more C-ification 2008-03-26 19:25:23 +00:00
Christopher Lloyd
4173aff156 - SWRender, more C-ification 2008-03-26 01:09:33 +00:00
Christopher Lloyd
7718e15a4a - SWRender, C-ification of several classes, removal of unneeded&unused functions 2008-03-22 13:42:46 +00:00
Johannes Fortmann
40651f7eb8 forgot NSArrayController.m 2008-03-20 17:27:01 +00:00
Johannes Fortmann
d54accc0e9 - KVO dependent key would overwrite each other before. Fixed.
- if NSDebugEnabled is set, KVO will emit diagnostics for methods which look like setters but have the wrong signature
- NSArrayController selectionIndex and friends now fire the right change messages
- NSPopUpButton content, contentValues and selectionIndex bindings now work
2008-03-20 17:26:13 +00:00
Johannes Fortmann
b42d87028f C++ destructors enabled; new-style exception handling helper functions (@try/@catch) 2008-03-18 13:27:05 +00:00
Christopher Lloyd
512a6f1756 - SWRender, image resampling test added, removal of scissoring code, some active edge optimizations for Rasterize::fill 2008-03-13 15:09:26 +00:00
Christopher Lloyd
d204ace317 - Issue #75, Johannes Fortmann's C++ constructor and bindings patch:
With this patch, the .cxx_construct and .cxx_destruct methods will be called on NSAllocateObject/NSDeallocateObject. Note that you'll have to run gcc with -fobjc-call-cxx-cdtors to have these methods created.
Additionally, there are some KVO and bindings fixes:
- observing a change inside a hierarchy would give the wrong object as being changed
- array operator @sum implemented
- NSArrayController selectedObjects now depends on selection
- some additional binding parameters implemented
2008-03-12 19:25:28 +00:00
Christopher Lloyd
e331c69257 - Issue #74, Johannes Fortmann's To-Many support for KVO patch:
Attached patch will enable KVO to act on insertIn<Key>, removeFrom<Key> and replaceIn<Key> messages. Old/New values and index sets will be attached to the change dictionary as documented by Apple. Also implemented are the Leopard options NSKeyValueObservingOptionPrior and NSKeyValueObservingOptionInitial.
2008-03-12 18:06:32 +00:00
Christopher Lloyd
23fadb88e4 - NSFileHandle_stream related changes suggested by Kirk Kerekes, closeOnDealloc closes and fileDescriptor returns a value. 2008-03-10 16:40:10 +00:00
Christopher Lloyd
d95b4f424f - John Engelhart's patch for Darwin-ppc build errors. 2008-03-10 15:31:53 +00:00
Christopher Lloyd
f9dbe61902 - Added testing/SWRender software renderer test application 2008-03-07 18:08:43 +00:00
Christopher Lloyd
c2c1bbb3f5 - Added NSFileHandle_stream.h/.m 2008-03-05 16:12:30 +00:00
Christopher Lloyd
56b68bb294 - NSFileHandle readInBackgroundAndNotifyForModes:, readToEndOfFileInBackgroundAndNotifyForModes:, acceptConnectionInBackgroundAndNotifyForModes:, waitForDataInBackgroundAndNotifyForModes: implemented for socket file handles
- NSInputStream_socket fixed to function (used by NSFileHandle)
2008-03-05 06:09:10 +00:00
Christopher Lloyd
4fc8f36f24 -[NSBundle pathsForResourcesOfType:inDirectory:] fixed to return all files if type==nil
-CoreGraphics cleanup:
+ KGGraphicsState_gdi, KGRenderingContext_gdi, Win32Region removed, KGRenderingContext_gdi functionaltiy moved into KGContext_gdi
+ CGLineCap, CGLineJoin enums added.
+ Removed dependancy on GDI's gstate stack for clipping state, clip state maintained in KGGraphicsState
+ KGContext will now look for subclasses in .cgContext bundles
+ Separation of CTM and Device Space transform in KGGraphicsState
+ support for DIB section backing store
+ rect stroking/filling now done with paths
2008-02-29 17:56:38 +00:00
Christopher Lloyd
366538c8d8 - NSKeyUnarchiver fixed to return 0 if key not present for double/float/int/bool value (double/float were returning NaN)
- -[KGMutablePath addEllipseInRect:withTransform:] fixed, generated control points were being added wrong
- NSProgressIndicator indeterminate, determinate and spinning will display and function. Use of UxTheme for determinate. (Spinning/indeterminate not the desired look)
2008-02-17 05:18:42 +00:00
Christopher Lloyd
62bd11e1ad - Issue #72, Rolf Jansen's implementation of -[NSBitmapImageRep initWithFocusedViewRect:]
- Dirk Theisen's mergesort() and -[NSMutableArray removeObjectsFromIndices:numIndices:]
- Rolf Jansen's NSLocale related changes.
2008-02-16 20:27:01 +00:00
Christopher Lloyd
91eb22e3ea - Fixed -[NSMutableArray_concrete initWithObjects:...] 2008-02-11 15:17:04 +00:00
Christopher Lloyd
58b02671b7 -[NSFleHandle_win32 offsetInFile] implemented 2008-02-11 15:01:35 +00:00
Christopher Lloyd
a00972020f - Added missing NSLocale+windows.h/.m files 2008-02-09 19:16:15 +00:00
Christopher Lloyd
a14ef3693f - Rolf Jansen's NSLocale improvements 2008-02-08 03:51:09 +00:00
Christopher Lloyd
e723c6102a - NSLocale fix so it doesn't raise during string formatting 2008-02-05 21:18:22 +00:00
Christopher Lloyd
4828f93eba - Issue 63 fix by thinker at thinkertons.com, odd length unicode on pasteboard
- Issue 64 fix by thinker at thinkertons.com -[NSDictionary keysSortedByValueUsingSelector:]  implementation
- Issue 65 fix by thinker at thinkertons.com -[NSString getLineStart🔚contentsEnd:forRange:] fix
- Issue 66 fix by thinker at thinkertons.com, NSStringWithDateFormatLocale() missing %e format
- Issue 67 fix by thinker at thinkertons.com, -[NSDate description] "unimplemented"
- Rolf Jansen's NSStringFormatter partial fix for alternate formats
- glext.h made public
2008-02-04 06:27:14 +00:00
Christopher Lloyd
56d74a9e06 - added glext.h to OpenGL framework 2008-02-03 06:12:55 +00:00
Christopher Lloyd
c365e20d59 - Fixed problem with -[NSWindow setMenu:] causing window display prior to awakeFromNib
- Changed some of the build install permissions from a-w to og-w as u-w was causing problems
2008-02-03 06:10:46 +00:00
Christopher Lloyd
add665f492 - Added skeleton CoreData project 2008-02-02 05:43:19 +00:00
Christopher Lloyd
c4a43051a7 - New 'Debug' configurations in AppKit/Foundation/objc provided by Rolf Jansen. 'Deployment' configuration renamed 'Release' in all projects 2008-01-31 15:26:21 +00:00
Christopher Lloyd
27ebcb2bcb - Issue #60, Julian Mayer's makeObjectsPerformSelector: fix
- thinker at thinkertons -[NSScanner scanCharactersFromSet:intoString:] fix
- NSOpenGLView display fix
- added simple OpenGL framework for header compatibility
2008-01-24 18:32:05 +00:00
Christopher Lloyd
cd258cbd9b - Removed the gcc 4.0.3 specific project targets. 2008-01-19 19:02:10 +00:00
Christopher Lloyd
9f59fb4946 - Issue #59, Julian Mayer's NSSound patch to play sounds via Windows media. 2008-01-19 18:52:56 +00:00
Christopher Lloyd
871e8e19d6 - Issue #58, Rolf Jansen's implementation of NSDocument using-[NSWindowController shouldCloseDocument] 2008-01-16 14:48:40 +00:00
Christopher Lloyd
e74537fe1e - Issue #57, Rolf Jansen's NSSystemInfoPanel implementation
- Rolf Jansen's NSImageCell's NSCoding implementation
- NSCharacterSet interface/behavior fix suggestion by thinker at thinkertons
2008-01-09 15:53:47 +00:00