Commit Graph

51 Commits

Author SHA1 Message Date
TheBrokenRail
b6548a202d Fix Continuation Indent 2020-05-12 17:04:16 -04:00
TheBrokenRail
55c7b99e5d Proper Braces 2020-05-12 17:04:16 -04:00
TheBrokenRail
cda40d9947 Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
Rolf Jansen
bbba7c2199 in the *.xcodeproj files, set indent and tab width to 4 and use tabs to 0, so file editing within the respective projects will honour these settings instead of any custom user settings 2015-10-05 08:11:19 -03:00
Christopher Lloyd
631462795d Reformat entire project using newer style 2015-05-23 20:15:45 -04:00
Christopher Lloyd
426eaa4bcd overhaul of targets and configurations, move from multiple targets to single targets and multiple configurations 2015-05-16 11:07:53 -04:00
Christopher Lloyd
5279eb5d7d merge 6cc54d3 development-arts 2015-04-23 23:09:54 -04:00
Glenn Ganz
5dcefb1af3 switch to solaris i686 2013-07-04 17:46:17 +02:00
Glenn Ganz
b35c2207bc add target for solaris/i386 2013-07-04 16:20:19 +02:00
Christopher Lloyd
9918958baa fix __declspec use 2013-05-26 01:07:20 -04:00
Christopher Lloyd
29537572e1 fix Darwin 64bit Foundation build 2013-04-07 22:12:55 -04:00
Christopher Lloyd
2ad3151efb upgrade some projects to 4.6, remove xcconfigs from resources build phase 2013-04-05 11:24:24 -04:00
Christopher Lloyd
54c3412526 move bulk of build settings to xcconfigs, clean out unneeded build rules, phases and settings 2013-04-05 11:01:56 -04:00
Christopher Lloyd
a797940597 delete MacOS AppKit target and move some settings to xcconfig 2013-04-04 09:37:30 -04:00
Christopher Lloyd
794364bc65 add xcconfigs to projects 2013-03-31 23:27:37 -04: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
ef593014e1 Reformatting in preparation of code changes 2012-04-17 09:59:08 +02:00
Christopher Lloyd
f442357e0d validated projects with Xcode 4 2012-03-06 09:56:28 -05:00
Christopher Lloyd
be53f5e0b9 replace build rule with compiler variable in build setting for Windows 386 2012-03-05 22:12:14 -05:00
Glenn Ganz
a34a29678e Merge upstream 2012-02-15 18:07:40 +01:00
Tilo Prütz
5cc5b7a4ef Use 'include' instead of 'import' on system headers.
When using 'import' for system headers on Linux with GCC 4.6.2 the header control macros do not work
as intended and therefore everything is messed up.
2012-01-13 12:27:09 +01:00
Tilo Prütz
e1a0b6eb79 removed some trailing whitespaces 2012-01-13 12:26:06 +01:00
Tilo Prütz
34ef634a5c [PATCH] Prepare compile CF+F under Linux/GCC4.6 without warnings
That is with:
CFLAGS += -Wall -Werror -std=gnu99 -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-sequence-point

Improvements made:

- <process.h> does not exists in Linux
- some Windows special code was not wrapped into #ifdef WINDOWS
- corrected case in at least one import
- replaced nil by NULL or 0 when used for non-object pointers or numbers
- added missing imports
- removed/commented out unused variables
- added dummy usage for some needed variables (i.e. localException in NS_HANDLER)
- removed noop fprintf
- added casts if necessary
- initialized variables if necessary
- replaced *<variable>++ by *<variable> += 1 since the former returns a value wich was ignored
- surrounded assignments used as boolean expression by braces
- added missing return statements

N.B.: Since this commit does not contain any runtime related changes the result will not compile at
all with stock gcc under Linux :).
2012-01-10 09:47:53 +01:00
Glenn Ganz
d7fe98fe49 update Foundation to Xcode 4.2 2011-11-18 11:07:59 +01:00
Glenn Ganz
0d40efc5c4 Merge upstream 2011-09-29 17:38:42 +02:00
Christopher Lloyd
16d286b6de move generic OTHER_LDFLAGS for windows to xcconfig 2011-09-28 10:55:06 -04:00
Christopher Lloyd
1200b1f942 remove almost all top-level configuration build variables 2011-09-28 10:14:44 -04:00
Christopher Lloyd
5fbac7dc5c move deployment options to xcconfig 2011-09-27 10:25:49 -04:00
Christopher Lloyd
1fc511eda0 remove EXECUTABLE_SUFFIX, fix Foundation base xcconfig 2011-09-26 23:28:47 -04:00
Christopher Lloyd
028364941e move DEPLOYMENT_LOCATION to xcconfig 2011-09-26 23:19:53 -04:00
Christopher Lloyd
a9a5306e07 add framework xcconfig 2011-09-26 18:06:39 -04:00
Christopher Lloyd
fe2733fa5a move Windows INSTALL_PATH to xcconfig 2011-09-26 14:32:36 -04:00
Christopher Lloyd
2d69bdf6a3 add basic xcconfig's for current targets and update build paths to use EFFECTIVE_PLATFORM_NAME 2011-09-26 14:16:24 -04:00
Glenn Ganz
4bed6d3d91 Fix compiler warnings for windows-, linux-, solaris-, darwin-target 2011-01-19 15:55:53 +01:00
Glenn Ganz
c859049b3e Remove NSInitializeProcess, initializing called now from library constructor (DllMain or libmain) 2010-11-04 19:30:43 +01:00
Glenn Ganz
0706ed59d1 Merging upstream 2010-10-31 14:09:28 +01:00
Christopher Lloyd
e6e74b8aae cooperative thread debug support in CFHost 2010-10-28 23:05:22 -04:00
Glenn Ganz
8de39856c6 Merge upstream 2010-10-25 10:27:30 +02:00
Christopher Lloyd
e8a26f6712 CoreServices/CFNetwork project fix 2010-10-20 12:10:14 -04:00
Glenn Ganz
4ef2e82e8e Solaris build fixes 2010-10-05 11:24:20 +02:00
Christopher Lloyd
956eeec4cb merged changes 2010-05-18 16:02:03 -04:00
Christopher Lloyd
589f709a12 - addresses issue #491 for borderless windows and opaque opengl surface
- Fixes issues in the FreeBSD build
2010-05-17 21:14:13 -04:00
Christopher Lloyd
bcb17abeb4 - Added NSAccessibility, NSNibAXRelationshipConnector, NSCIImageRep, CI* classes to AppKit project
- enable CIContext on NSGraphicsContext
- NSMenu decodes parent menu from coder instead of setting it programmatically
- NSException prints exception if NSDebugEnabled instead of raising
- NSKeyedUnarchiver properly decodes NSNumber's
- forwarding code added to NSProxy
2010-04-29 14:55:24 -04:00
Christopher Lloyd
61d3e2f55e standardize all build directories as in project directory 2010-04-01 13:01:05 -04:00
Christopher Lloyd
257b62b973 - cleanup NSWindowBackgroundView border type
- fixed Info.plist for new CFNetwork, CoreServices targets for Linux/Darwin
2010-03-23 15:20:48 +00:00
Christopher Lloyd
2fefe01644 - enable -Wreturn-type, -Wswitch, -Wmissing-braces, -Wparentheses, -Wunused-function, -Wunused-label for Foundation and AppKit Release configurations, and fixed all accompanying warnings.
- CFNetwork and CoreServices targets for Darwin and Linux i386
2010-03-23 15:02:22 +00:00
Christopher Lloyd
b8bc414c64 - CFCopyDescription fix
- CFArrayGetCountOfValue fix
- NSString * to NSString * const fixes
- requestUserAttention: implementation
- NSTrackingArea fix, retains userInfo, does not retain userData
- removed unused code from NSWindowBackgroundView
- couple more font mappings in NSFont
- fixes to NSTrackingArea behavior in NSView
- faster visibleRect, precalculate as zero rect if hidden
- Fixed NSTrackingInVisibleRect behavior, doesn't do hit test
- Fixed NSTrackingArea testing to properly order exit/enter events
- setFrame: doesn't do anything if the new value is the same as the old value
- reorganize NSWIndow setFrame:display:/setFrame:display:animation:
- mark window as needing display if display called and not visible
- Win32Display will load fonts in main bundle for private usage
- use of setControlView: for cells in NSOutlineView and NSTableView
- _setSelectedRowIndexes: added to NSTableView for KVO
- NSString cString related fixes
- NSStringFormatter changes to accomodate NSNumberFormatter grouping separator
- NSNumberFormatter fixes
- appendFloat_generic removed, might cause problems
- NSSet fixes
- NSSocket_windows fixes for SSL handler
- per thread select capabilities
- NSLog uses fprintf instead of WriteFile so it synchronizes with NSCLog
2010-03-16 20:38:14 +00:00
Christopher Lloyd
8a72262d0c - Common mode behavior added to NSRunLoop
- NSRunLoop modified to fire only one timer each time through run loop
- NSRunLoop -cancelPerformSelectorsWithTarget: implemented
- NSObject +cancelPreviousPerformRequestsWithTarget: implemented
- KVO fixes and optimizations
- pthread functions added to Foundation project for Windows target
- CFHost added to Foundation project
- CFStream, CFRunLoop work
- NSCollectionViewItem subclass now NSViewController per 10.6 change
- NSColor catalog color cleanup
- NSTrackingArea made public header
- NSStream fixes, CFStream additions
- NSUserDefaults improved boolForKey:
2010-03-15 18:51:01 +00:00
Christopher Lloyd
3c0f029d38 - NSBitmapImageRep use of CF* for CF types
- NSScroller use of display fixes
- NSMenuView use of display fixes
- NSToolbar fixes for delegate based default items
- NSToolbarItemView selection drawing
- NSControl fixes
- NSGraphicsContext behavior fixes
- NSBundle pathForResourceFile:inDirectory:, pathsForResourcesOfType:inDirectory fixes, localization table caching
- NSAffineTransform decoding
- NSString boolValue, intValuem integerValue, longLongValue fixes
- NSPathUtilities constants, skeletons
- renamed objc_msg_send to objc_msgSendv, objc_msgSendv_stret implementation for Windows (unused)
- NSOldXMLReader fixes when disabling exceptions
- NSCurrentLocaleIsMetric for windows
- Switch Foundation to use -l ws2_32
2010-03-09 18:14:48 +00:00
Christopher Lloyd
98eb99c63a - some POSIX pthread functions
- some CFByteOrder implementation
- CFHost implementation with asynchronous resolver
- CFPreferences skeletons
- CIImage category in NSCIImageRep
- NSTabView resizes item view even if autoresizing is off
- NSCustomObject -description
- NSNibLoading use of autorelease pool to reduce memory pressure
- NSNib use of autorelease pool to reduce memory pressure
- NSIBObjectData warning if it can't create  custom instance instead of NSArray exception (adding nil)
- changed NSBox to non-opaque, doesn't fill with background color
- NSTableHeaderView use of setControlView:
- NSMatrix use of setControlView:
- NSAnimation/NSViewAnimation fixes to behave properly with timer
- NSSheetContext check for nil
- NSGraphicsStyle_uxtheme fix for menu separators
- NSEvent -userData method added
- minor cleanup of NSInvocation
- NSDateFormatter fixes and update
- NSArray+KVC.m fix for nil values
2010-03-08 19:43:05 +00:00