Christopher Lloyd
ccf18d8eed
merge with mainline
2012-04-22 22:31:08 -04:00
Christopher Lloyd
044f30cc90
sizeToFit fixes
2012-04-22 10:27:12 -04:00
Christopher Lloyd
03aa68c916
preserve selection in setStringValue
2012-04-22 00:45:20 -04:00
Christopher Lloyd
6633b3b395
plasqdev improved sizing and keywindow changes, send will size/did size when zooming
2012-04-21 23:28:11 -04:00
Robert Grant
24a321bb14
Don't blindly trust WM_SIZE to always deliver valid coords - it has various "modes"
2012-04-21 14:14:39 -04:00
Christopher Lloyd
6190d36396
fix out of bounds error in PNG encoder
2012-04-21 01:06:28 -04:00
Christopher Lloyd
300ea6c3b3
updated projects for Xcode 4
2012-04-20 23:08:25 -04:00
Christopher Lloyd
da37436be1
_currentEditor from plasq's branch
2012-04-20 23:08:11 -04:00
Robert Grant
0560942016
isKindOfClass: and isSubclassOfClass: return NO when testing against an object's own class which is incorrect
2012-04-19 17:52:42 -04:00
Robert Grant
63501a7622
Allow window resizing to be limited to their specified max and add some WM debugging logs
2012-04-19 17:04:46 -04:00
Christopher Lloyd
e86b27bbab
merge with ac-2
2012-04-19 09:55:57 -04:00
Christopher Lloyd
628a3cfdc8
dont save too many events when running a modal
2012-04-19 09:53:44 -04:00
Tilo Prütz
6677f8c393
fixed a bug with “#pragma pack” and Clang
...
“#pragma pack” does not work exactly the same way with Clang as with GCC.
Apparently the packed struct has to be top level defined or the usage of sizeof(…) has to be between the pack-set and the pack-reset.
I changed the code to the former solution. The tzType struct is now defined beside the tzhead struct. Both are packed.
2012-04-18 16:54:55 +02:00
Tilo Prütz
5736b9def5
removed constant number hack in favor of a working solution
...
When compiling with Clang on Linux the constant object hack was not working but generating crashes.
The current solution cannot provide “NSNumber * const <identifier>” (because the variables are initialized via NSNumber+initialize) but it is reliable.
2012-04-18 16:49:43 +02:00
Tilo Prütz
deb6852a21
changes on CoreFoundation's opaque References (CFHostRef and CF*StreamRef) for Clang
...
Clang differentiates between “struct __CFHost” and “@class __CFHost”.
To make the code work again I had to implement a dummy struct for __CFHost.
Since the CoreFoundation garbage is wanted by Apple we cannot dump it for good :(.
Also some casts where needed for the CFStream implementation.
2012-04-18 17:30:19 +02:00
Tilo Prütz
30df33a256
replaced “*(char *)0 = 0” with “__builtin_trap()” as Clang suggested
2012-04-18 17:25:02 +02:00
Tilo Prütz
4e6bd05467
type correction due to Clang warning
2012-04-18 17:23:37 +02:00
Tilo Prütz
bda8100699
fix in NSConcreteDirectoryEnumerator-initWithPath:
...
The implementation was depending on the implementation of NSFileManager's -directoryContentsAtPath:.
2012-04-18 17:23:00 +02:00
Tilo Prütz
ab09601a89
current implementation of struct returning invocation is not supported by Clang
...
see http://llvm.org/bugs/show_bug.cgi?id=9254
2012-04-18 17:21:36 +02:00
Tilo Prütz
d39dde434b
fix Clang warning
...
One should not rely on the implementation details of a Class (as struct objc_class).
2012-04-18 17:20:29 +02:00
Tilo Prütz
073268363e
fix NSLog() arguments
...
Clang knows about the format option of NSLog() and found some “%s” where a SEL was given instead of a char*.
2012-04-18 17:17:39 +02:00
Tilo Prütz
f52e092196
log formatting fix in NSZombieObject
2012-04-18 17:15:15 +02:00
Tilo Prütz
3f38b04395
bugfix in NSString-stringByAppendingPathComponent:
...
Clang had found an always true condition which could lead to buffer overflows.
2012-04-18 17:14:38 +02:00
Tilo Prütz
ac72160152
fixed NSURLResponse
...
Clang has found that NSURLResponse was not correctly implemented.
The _url property was (partly) treated as NSString.
2012-04-18 17:12:09 +02:00
Tilo Prütz
5693564160
casts and type specifications for Clang
...
Clang has more knowledge/assumptions on return types.
Therefore more casts are needed in some cases.
In some cases more specific types have to be specified.
Also Clang has found overrides of “-release” lacking the “oneway” keyword.
2012-04-18 17:10:35 +02:00
Tilo Prütz
7e9b6636a2
Reformatting fixes Clang-Warning due to empty if-body
2012-04-17 10:41:11 +02:00
Tilo Prütz
ef593014e1
Reformatting in preparation of code changes
2012-04-17 09:59:08 +02:00
Tilo Prütz
bba5050248
removed unused variables and fixed one 'nil' to 'NULL' (wrong pointer type)
2012-04-18 10:04:56 +02:00
Tilo Prütz
80f0dd5426
Reformatted code in preparation of code change.
2012-04-18 09:41:53 +02:00
Tilo Prütz
bcd10037ad
merge current mainline (3d83f8fe4082)
2012-04-18 08:15:33 +02:00
Christopher Lloyd
9177217ee9
merge from andyvn22-cocotron
2012-04-15 17:23:28 -04:00
Christopher Lloyd
5623d3f5cb
fix issue #942 from glennganz-cocotron1
2012-04-15 17:18:59 -04:00
Andy Van Ness
601eac679b
Merge
2012-04-11 18:40:58 -04:00
Andy Van Ness
705151c033
Fixed missing htons() causing NSSocket not to find port
2012-04-11 18:38:16 -04:00
Andy Van Ness
14e34ba971
Fixed failed NSXMLDocument init
2012-04-11 18:37:36 -04:00
Christopher Lloyd
a50ab96a53
fix warnings, use of deprecated method
2012-04-05 09:22:54 -04:00
Christopher Lloyd
5902873489
merge with ac-2
2012-04-03 18:38:28 -04:00
Christopher Lloyd
abe380d694
preserve unprocessed events and requeue
2012-04-03 10:46:46 -04:00
Christopher Lloyd
afd3388bd3
add schemes
2012-03-30 21:42:35 -04:00
Christopher Lloyd
e565f4c16d
add scheme
2012-03-30 21:42:00 -04:00
Christopher Lloyd
04fa5bf86c
update projects, remove build rules
2012-03-30 21:41:22 -04:00
Christopher Lloyd
8902ca0c38
update project for Xcode 4
2012-03-30 21:39:37 -04:00
Christopher Lloyd
7dbc2bc898
add Examples
2012-03-30 20:54:05 -04:00
Christopher Lloyd
cc67b25b86
update for Xcode 4
2012-03-30 19:54:53 -04:00
Christopher Lloyd
d65fdfe57f
fine tune key view behavior around editable
2012-03-29 18:50:15 -04:00
Christopher Lloyd
c3d6fa4d51
merge
2012-03-28 23:34:24 -04:00
Christopher Lloyd
82f816e816
merge with ac-2
2012-03-28 23:32:56 -04:00
Christopher Lloyd
4cdbb11a67
refuse first responder in imageview
2012-03-28 22:46:45 -04:00
Christopher Lloyd
1dcf12cf77
refuse first responder in NSTextView if not editable
2012-03-28 22:46:10 -04:00
Christopher Lloyd
2255ab18e3
fix slowdown in modal window display
2012-03-28 22:45:39 -04:00