Commit Graph

84 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
Sergey Bugaev
348fdf7813 Fix direct isa access 2017-12-17 16:11:05 +03:00
Rolf
79be23bb07 fixed spelling of Japanese locale 2015-08-10 11:32:28 -03:00
Rolf
462fc9cd77 improved enumeration of locale directories 2015-08-10 11:31:20 -03:00
Christopher Lloyd
402aa391dd reorganize exceptions/autorelease for future ARC work, reclassify objc runtime as .c (instead of .m) 2015-05-31 00:53:55 -04:00
Christopher Lloyd
0b3f8a1777 merge glennganz-cocotron1-clang 2015-04-30 22:32:28 -04:00
Christopher Lloyd
5279eb5d7d merge 6cc54d3 development-arts 2015-04-23 23:09:54 -04:00
Christopher Lloyd
7a792a7cdf fix dupe methods 2015-03-30 22:57:54 -04:00
Christopher Lloyd
68d5edd8f8 merge 2fda5f3 2015-03-30 22:03:50 -04:00
Christopher Lloyd
d3c4698b6f merge 795960a 2015-03-29 23:03:19 -04:00
Robert Grant
e50588a851 Add missing URL resource accessors 2014-02-21 10:47:44 -08:00
Airy ANDRE
dc1f86a039 revert the NSFileManager change + optimisation - mainly trying to limit the number of file existence checks when looking for a resource - for some weird reason, this can be very expensive on Win32 2014-02-14 18:13:20 +01:00
Robert Grant
4373bc8030 Bug in the language selection 2013-09-23 16:31:28 -04:00
Robert Grant
4500ecb003 Allow a "preferred language" for lproj selection to be set at runtime 2013-09-23 16:11:03 -04:00
Airy ANDRE
08aabde0c8 NSBundle pathsForResources doesn't work with a "" type as it does on Cocoa 2013-04-24 15:58:33 +02:00
Glenn Ganz
072bc25fb8 Fix bundle 2012-09-27 09:54:32 +02:00
Glenn Ganz
c490601763 some fixes 2012-06-26 18:29:01 +02:00
Tilo Prütz
4e6bd05467 type correction due to Clang warning 2012-04-18 17:23:37 +02:00
Tilo Prütz
ef593014e1 Reformatting in preparation of code changes 2012-04-17 09:59:08 +02:00
Tilo Prütz
40ff5edc6d Removed possible buffer overflow. 2012-03-07 09:06:16 +01:00
Tilo Prütz
8be254a6b5 Reformatted code in preparation of code change. 2012-03-07 08:59:37 +01:00
Tilo Prütz
3b4b487c51 system C header files have to be included with “include” 2012-03-07 08:59:14 +01:00
Christopher Lloyd
80821ac428 fix warning 2012-03-06 10:04:58 -05:00
Christopher Lloyd
84b020f58c more hand merge with glennganz-cocotron1 2012-02-20 22:43:54 -05:00
Glenn Ganz
a34a29678e Merge upstream 2012-02-15 18:07:40 +01:00
Christopher Lloyd
7f2063f62d merge 2012-02-11 22:07:27 -05:00
Christopher Lloyd
b3019d1e1b merge 2012-02-11 21:44:53 -05:00
Christopher Lloyd
7bc702a7b8 merge 2012-02-11 16:18:58 -05:00
Christopher Lloyd
56e131fb52 merge 2012-02-11 16:11:11 -05:00
Christopher Lloyd
d0dd4c3a8f merge 2012-02-11 15:47:26 -05:00
Christopher Lloyd
b293a3301c hand merge of changes in Glenn Ganz's clang clone, fix warnings 2012-02-11 14:37:55 -05:00
Glenn Ganz
c192b801a7 Merge upstream 2012-02-03 15:27:42 +01:00
Tilo Prütz
9d9517cf70 Support for stock runtime
* compile switch “-DGCC_RUNTIME_3” for GCC 4.6 stock runtime
* compile switch “-DAPPLE_RUNTIME_4” for OS X 10.6 or 10.7 runtime
  - OS X 10.6 gives some warnings because of a private interface which became public in 10.7

The Foundation compiles now with GCC 4.6.2 on Linux x86.
2012-01-13 12:32:20 +01:00
Tilo Prütz
9e6e0b3105 reformatted a couple of methods in preparation of code change 2012-01-13 12:29:24 +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
Airy ANDRE
20bf613a46 Fix for nib loading 2011-12-16 17:05:49 +01:00
Glenn Ganz
1c975c837b Merge upstream 2011-10-20 17:08:12 +02:00
Autorelease Pool
2fda5f3f53 NSBundle URLForResource fix 2011-10-12 17:06:29 +02:00
Robert Grant
bd1375ea2d unicode processing and localization tweaks 2011-10-11 20:39:49 -04:00
Autorelease Pool
fc3b4b44a3 fix issue 708 2011-10-09 15:09:40 +02:00
Autorelease Pool
795960a835 fix issue 660 2011-10-09 14:54:35 +02:00
Glenn Ganz
8c9bd80c44 minimum changes to complie it with clang 2011-05-19 10:47:55 +02:00
Glenn Ganz
6bf983b47a Merge upstream 2011-04-24 22:22:55 +02:00
Christopher Lloyd
fafa3fcb8e merge with ac-work 2011-04-21 17:08:36 -04:00
Christopher Lloyd
6b86753a5e Implement orderedWindows/orderedDocument using direct retrieval of z-order. Implement runModal to execute on main thread if not. Fix NSCell/NSButtonCell title value storage behavior. Create platform window on main thread. Fix memory leak in drag&drop for Win32. Finer grained locking on cgl/window flushing 2011-03-28 16:19:16 -04:00
Glenn Ganz
04e0546b5f NSBundle functionallity 2011-03-14 19:35:46 +01:00