Christopher Lloyd
4499c3564c
- First pass at axial shadings in KGContext_builtin, functional but does not honor extends
...
- KGImage/KGSurface cleanup
2008-07-15 17:14:12 +00:00
Christopher Lloyd
ebd8caa2c3
- Issue #128 patch from Stephane at Sente, fix for NSSizeFromString, NSIntegralRect
...
- Issue #129 patch from Stephane at Sente, fix for KGPDFContext
- Issue #130 patch from Stephane at Sente, fix for NSTabViewItem
2008-07-12 19:26:13 +00:00
Johannes Fortmann
289c66689a
- several KVC/KVO fixes for the new compiler's signatures (which include stack offsets; it's no longer a good idea to compare function call signatures with @encode signatures)
...
- small improvements to NSRecursiveLock and NSValue
2008-07-09 19:44:16 +00:00
Christopher Lloyd
f89b680522
- KGContext, renamed mutableBytes to pixelBytes, fixed drawImage: transform
...
- KGSurface allocate pixel data is an NSMutableData to allow ownership sharing
- KGImage, couple image formats added
- Moved code from KGContext_gdi to KGDeviceContext_gdi to reduce copy&pasteitis
- Fixed NSGraphicsStyle_uxtheme so it works with KGContext_builtin_gdi
2008-07-08 15:59:34 +00:00
Dr. Rolf Jansen
d1cf8b1aa2
NSTextView.m: implemented RTFFromRange: and replaceCharactersInRange:withRTF:
...
Note: In Cocoa the RTF and RTFD methods behave differently.
In Cocotron RTF/RTFD methods currently do the same.
2008-07-08 13:23:34 +00:00
Dr. Rolf Jansen
6021275b90
acc. Cocoa Docs., NSComboBoxCell objectValueOfSelectedItem should log a message if it is called when usesDataSource is set to YES
2008-07-08 13:11:15 +00:00
Dr. Rolf Jansen
550372950a
KGPDFContext added dummy methods -deviceClipReset, and -deviceSelectFontWithName. This prevents Invalid Abstract Invocation Exceptions in KGContext when generating a PDF.
2008-07-07 18:43:53 +00:00
Dr. Rolf Jansen
e2bc4792e9
KGContext_gdi drawPathInDeviceSpace: made all stroking PS_GEOMETRIC, and set the dashes array to NULL in the case of non-dashed strokes
2008-07-07 17:57:46 +00:00
Johannes Fortmann
ca801bdde4
- NSCalenderDate patch by tob...@platen-software.de (next time, attach to bug please)
...
- stringByAppendingPathComponent doesn't prepend slash if empty path
- fix for alignment on Linux: embedded alignment for e.g. doubles is 4
- fix for overflow in ObjCArray
- Forwarding test tests float separately
- Test for mixed C/C++ exceptions
2008-07-07 17:41:23 +00:00
Dr. Rolf Jansen
757645dc6b
corrected spelling of NSBezierPath relativeLineToPoint
2008-07-04 20:55:44 +00:00
Dr. Rolf Jansen
aa297a661e
added missing blank at the end of the rtf type specifier in NSRichTextWriter writeRichText. Without the blank, RichText readers (Cocotron and Cocoa) would eat the first char of the content.
2008-07-04 18:33:34 +00:00
Christopher Lloyd
6693bf2b93
- Issue #125 , Cédric Luthi's fix for NSDate timeIntervalSince1970
...
- Issue #126 , Cédric Luthi's fix for NSNumber numberWith(Unsigned)Integer
- Fixed KGPath isRect:
- Fixed addRect: to be a clockwise rect
- Enable path bounding box clipping in KGContext_builtin
- Enable path clipping in KGContext_builtin_gdi, moved clipped code to KGDeviceContext_gdi and fixed transforms for clip path.
2008-07-04 16:25:38 +00:00
Dr. Rolf Jansen
28cb583b7f
NSComboBoxCell: implemented -(int)indexOfSelectedItem and -objectValueOfSelectedItem
2008-07-02 21:06:31 +00:00
Dr. Rolf Jansen
b83623594d
NSPopUpButton: implemented -(BOOL)selectItemWithTag:(int)tag
2008-07-02 18:24:22 +00:00
Christopher Lloyd
d4de5f7d02
- KGImage/KGSurface direct read/writing of native ARGB format optimization.
2008-07-02 15:26:20 +00:00
Christopher Lloyd
fda9e90f30
- Enabled miter limit in GDI context and set default in gstate to proper value
2008-07-01 16:52:56 +00:00
Christopher Lloyd
c5674a539a
- Issue #124 , Cédric Luthi's fix for -[NSWindow _makeSureIsOnAScreen]
...
- Improved path stroking in the GDI context, line cap, line join and dashes enabled, along with improved coordinate/size transformation
- Fixed drawing cached image rep's in KGContext_builtin_gdi
2008-07-01 16:01:56 +00:00
Christopher Lloyd
d50b2f9fbf
- CGAffineTransformConcat, switched multiplication to proper order, changed affected callers
...
- KGContext, path points transformed by CTM during construction as they should
- minor cleanup, fixes, optimizations
2008-06-30 16:18:49 +00:00
Christopher Lloyd
c2299dbf93
- Split the PDF encoding/decoding of KG objects into separate +PDF.h/.m's
...
- Added KGSurface_DIBSection, KGContext_builtin_gdi
2008-06-27 17:35:48 +00:00
Christopher Lloyd
a9297cfc39
- Issue #121 Cédric Luthi's KGMutablePath addArcAtPoint: fix
2008-06-25 20:30:34 +00:00
Christopher Lloyd
9d8e020688
- SWRender, private AA quality gstate ivar, fill/blend optimizations, bugfix in surface resize
2008-06-23 18:58:30 +00:00
Christopher Lloyd
f057bee1b4
- Issue #120 , Cédric Luthi's -[NSBezierPath curveToPoint:controlPoint1:controlPoint2:] fix.
2008-06-20 15:17:50 +00:00
Christopher Lloyd
d0884ba052
- Fixed usage of __stdcall for Linux, related to 'func' error when compiling
2008-06-18 02:26:24 +00:00
Christopher Lloyd
388529fe06
- Dan Knapp's CoreData patch, model reading functionality
2008-06-17 16:37:08 +00:00
Dr. Rolf Jansen
4da5ed923e
added the Debug configuration to the Cocoa-Windows-i386 target
2008-06-17 06:05:59 +00:00
Johannes Fortmann
f86db673c0
applied image base patch
2008-06-15 04:04:51 +00:00
Christopher Lloyd
01264c16d8
- SWRender, KGContext/KGFont uses an NSString instead of C string for font name, allow KGContext_builtin and KGSurface to be resized. cleanup
...
- [Win32Workspace iconForFile:] rough in, non-functional needs more graphics support
2008-06-10 17:01:59 +00:00
Christopher Lloyd
357779ec3b
- SWRender, converted active edge table to linked list, variety of small optimizations in scanline fill
2008-06-06 19:45:56 +00:00
Christopher Lloyd
d3486245a5
-SWRender, changed coverage from float to int (0-256), switched from circle gaussian filter to box filter, optimization to only generate and use scanline sample buffer entries that are touched
2008-06-04 19:36:53 +00:00
Christopher Lloyd
40c4ca01e3
- -[NSApplication targetForAction:] will ask the shared document controller after the application delegate, this enabled File -> New and Open ... to enable and work in a document based app.
2008-06-02 16:12:28 +00:00
Christopher Lloyd
5d0704eb45
- Issue #87 , -[NSApplication finishLaunching] NSDocumentController related fixes by Dan Knapp
2008-06-02 15:50:42 +00:00
Christopher Lloyd
0dd6b2310d
- SWRender, converted scanline fill to sampling scanline buffer
2008-05-31 02:20:19 +00:00
Christopher Lloyd
ff9d04c303
- SWRender, merged KGRasterizer/KGContext_builtin, implemented a variety of blending,resampling,sampling functions for RGBA8888 color based on their RGBAffff counterparts.
2008-05-26 18:06:53 +00:00
Johannes Fortmann
eb93a400e9
- current thread now remains current during its dealloc
...
- guard against use of _sharedObjects ivar during dealloc of shared objects (shared objects will be nil during dealloc)
- performOnThread:withObject: now works if object is nil
- NSDate caches distantFuture/Past
- NSSavePanel & NSOpenPanel "sheets" should work now
- NSSavePanel gives proper return value
2008-05-25 19:25:43 +00:00
Christopher Lloyd
a48da75f2b
- SWRender, fixed regression in scanline fill due to float inaccuracy
2008-05-21 18:01:21 +00:00
Christopher Lloyd
ea7a8a921e
- Removed CGContextSetCalibrated* functions, the Windows user colors defined within their own color space and gamma adjustment of device/calibrated pushed into KGContext_gdi
...
- Fixed problem with NSPopUpButton cell having a blank title introduced with the NSButtonCell attributed title changes
- SWRender, AA Sample structure flattened
2008-05-19 20:30:25 +00:00
Johannes Fortmann
f78101fc5b
new implementation of NSGetSizeAndAlignment using code from PyObjC;
...
works with complicated structs, unions etc.
2008-05-17 13:08:53 +00:00
Johannes Fortmann
eadf769593
fix for KVO: removing the last observer would trigger a setObservationInfo:nil,
...
which would access the already-released observationInfo dictionary
2008-05-17 13:08:22 +00:00
Christopher Lloyd
22bbe557d3
- Issue #115 patch by steph...@sente.ch, split -[NSColor set] into -[NSColor setFill] and -[NSColor setStroke]
2008-05-16 18:59:00 +00:00
Johannes Fortmann
575468bbbb
- implement lazy lock allocation for NSThread
...
- fixed a bug where NSWillBecomeMultiThreadedNotification would not be sent if thread was started via -start
2008-05-15 19:39:33 +00:00
Christopher Lloyd
812b0eb2ce
- NSExpression_constant retains constant value instead of copy per correct behavior
2008-05-15 14:48:01 +00:00
Christopher Lloyd
d1f381cc6f
- Issue #114 patch by steph...@sente.ch, fixes for compiler warnings
2008-05-15 14:00:27 +00:00
Christopher Lloyd
f4c3f39620
- Issue #113 , fixed problem in nib loading which caused crash
...
- Fixed exceptions with unimplemented NSBrowserCell -image
2008-05-14 20:03:31 +00:00
Johannes Fortmann
bcdb9dbd09
add NSLock to forward classes
2008-05-14 19:45:12 +00:00
Christopher Lloyd
4b46450367
- Issue #110 patch from steph...@sente.ch, nib unarchiving issues
...
- Issue #111 patch from steph...@sente.ch , NSBrowserCellColorList
- Issue #112 patch from steph...@sente.ch , leak in -[NSToolbarButton copyWithZone:]
- Issue #113 , -[NSView defaultMenu] added, and menuForEvent: will use it there is no menu for the view
2008-05-14 18:44:15 +00:00
Johannes Fortmann
5a8fbcb491
This should fix issue 107.
...
The problem was that allocating a lock for objc_sync_enter would call NSPlatform currentPlatform for the lock class, which in turn
would try to get the thread dictionary, which would call sync_enter. Changed NSThread to use a traditional NSLock.
2008-05-14 17:34:15 +00:00
Christopher Lloyd
1ea7bc8547
- Issue #109 patch from steph...@sente.ch, NSStringFromPoint/Size/Rect(), NSPoint/Size/RectFromString()
...
- Issue #108 patch from steph...@sente.ch , NSAffineTransform fixes
2008-05-14 13:44:55 +00:00
Johannes Fortmann
d7813c6420
- replace @synchronized in _NSThreadSharedInstance with FIXME
2008-05-13 22:04:37 +00:00
Johannes Fortmann
04fd6ebef9
fix for locking-related crash on NSThread creation
2008-05-13 21:28:07 +00:00
Christopher Lloyd
e64bcd2609
- NSAlert implemented
...
- NSButton expanded to match doc.s, NSCell, NSButtonCell attributedTitle work
2008-05-13 18:43:48 +00:00