182 check-ins using file src/objc_sync.m version f34c1be170
2011-05-02
| ||
00:51 | Close 0.1 branch. Closed-Leaf check-in: 9835584b2f user: js tags: 0.1 | |
2010-02-12
| ||
22:10 | Fix version in configure.ac in 0.2 branch. check-in: f8c1ad44a4 user: js tags: 0.2 | |
2010-02-07
| ||
14:15 | Reduce #ifdefs in OFObject.m. check-in: 623c89300a user: js tags: trunk | |
14:09 | Add +[superclass] to OFObject. check-in: 047af7a8ad user: js tags: trunk | |
12:40 | Add +[arrayWithCArray:length:] to OFArray. check-in: bf310bcc5d user: js tags: trunk | |
2010-02-05
| ||
22:16 | Conditional imports in ObjFW.h. check-in: a5c1129e8d user: js tags: trunk | |
14:03 | Rename of_atomic_*32 to of_atomic_*_32 and add of_atomic_cmpswap_ptr. check-in: 4e1ab53403 user: js tags: trunk | |
14:00 | Small optimization for -[componentsJoinedByString:]. check-in: 0ccbebce04 user: js tags: trunk | |
2010-02-03
| ||
10:39 | Added tag 0.2-release for changeset a7a1b42d5b3b check-in: 211de4aa60 user: js tags: 0.2 | |
10:39 | Fix VERSION in objfw-config.in in 0.2 branch. check-in: 5b535655f8 user: js tags: 0.2, 0.2-release | |
2010-02-02
| ||
18:58 | Rename OFMacros.h to macros.h, as it's not a class. check-in: 832188d759 user: js tags: trunk | |
15:41 | Fix VERSION in objfw-config.in. check-in: 999bfb135f user: js tags: trunk | |
2010-02-01
| ||
18:23 | Added tag 0.2-release for changeset 966e6a383bf8 check-in: 1d5f042ba5 user: js tags: trunk | |
18:11 | Merge latest changes from default branch into 0.2 branch. check-in: c9a2f95a9c user: js tags: 0.2 | |
18:07 | Update ChangeLog to include changes of 0.2. check-in: 3f91c686ff user: js tags: trunk | |
17:11 | Improve documentation for +[arrayWithCArray:]. check-in: 4133c5055d user: js tags: trunk | |
16:29 | Retain object passed to OFThread instead of copying. check-in: 7ebc9b62e0 user: js tags: trunk | |
14:20 | More secure way to unlock spinlocks. check-in: cb6e353487 user: js tags: trunk | |
2010-01-31
| ||
22:05 | Small optimization. check-in: 305317e5ea user: js tags: trunk | |
21:51 | Move OFFastEnumeration protocol to OFEnumerator.h. check-in: 8347c2ef5e user: js tags: trunk | |
2010-01-30
| ||
21:07 | Create 0.2 branch and remove unfinished XML stuff from it. check-in: 9a9211e963 user: js tags: 0.2 | |
20:54 | Remove TODO file as this is not a good way to keep track of things. check-in: b6132938c0 user: js tags: trunk | |
18:29 | Change how the Unicode table is stored. check-in: 13f2a20288 user: js tags: trunk | |
15:47 | Make OFEnumerator more general, implement it for OFArray & OFDictionary. check-in: daae7ffbf3 user: js tags: trunk | |
14:26 | Don't define methods unavailable on Windows. check-in: c9e9ea561c user: js tags: trunk | |
14:14 | Fix missing includes and typos. check-in: 35f59c61c6 user: js tags: trunk | |
13:33 | Move some stuff from OFSocket to OFTCPSocket. check-in: fe6787bc79 user: js tags: trunk | |
12:46 | Change -[retainCount] back to size_t and cast, so we keep the old API. check-in: 2cb37ce407 user: js tags: trunk | |
12:33 | Convert more macros to OF_INLINE functions. check-in: 8acda3b3fd user: js tags: trunk | |
12:00 | Only install atomic.h if atomic ops are available. check-in: e31d209120 user: js tags: trunk | |
11:58 | Add -march=i486 to OBJCFLAGS in objfw-config if required. check-in: 0ec98003aa user: js tags: trunk | |
11:56 | Nicer checking for atomic ops. check-in: 5950e1c6a6 user: js tags: trunk | |
10:47 | Check return value of of_spinlock_*. check-in: 8a97fac06f user: js tags: trunk | |
02:09 |
Replace some macros with OF_INLINE functions. This way, there won't be a warning about unused results. check-in: 839f45a293 user: js tags: trunk | |
01:50 | Fall back to spinlocks if atomic ops are unavailable. check-in: bd6a71aad3 user: js tags: trunk | |
01:17 | Change spinlock implementation, add fallbacks and move to threading.h. check-in: 921b158d17 user: js tags: trunk | |
00:50 | Add -[tryLock] to OFMutex. check-in: 20e1c0e24b user: js tags: trunk | |
00:45 |
Define OF_ATOMIC_OPS if we don't have threads. Without threads, we just don't care about atomicity. check-in: 1823d543f3 user: js tags: trunk | |
2010-01-29
| ||
19:31 | Add OF_ATOMIC_OPS define to work around missing atomic ops if needed. check-in: 953895c116 user: js tags: trunk | |
19:29 | Introduce OF_HAVE_PTHREADS define instead of #ifndef _WIN32. check-in: d08376bc1f user: js tags: trunk | |
15:22 | Add more atomic ops. check-in: 78537d6ff3 user: js tags: trunk | |
15:21 | Make retain count int32_t. check-in: b725e983ae user: js tags: trunk | |
2010-01-25
| ||
22:40 | Use spinlocks in objc_properties.m. check-in: 2be191ec57 user: js tags: trunk | |
22:39 | Add of_atomic_cmpswap32 and spinlocks to atomic.h. check-in: 212482d8c6 user: js tags: trunk | |
22:34 | clang does not reuse constant strings, thus fix test to use the same. check-in: 612a252fdf user: js tags: trunk | |
22:14 | Check for atomic ops in configure.ac. check-in: c2af363418 user: js tags: trunk | |
15:22 | Make retain counter 32 bit due to atomic ops being 32 bit. check-in: 831ebcd4f5 user: js tags: trunk | |
2010-01-24
| ||
20:07 | Fix a missing return in objc_setProperty. check-in: 63c5c7d501 user: js tags: trunk | |
18:54 | Make retain/release atomic. check-in: b4a9924066 user: js tags: trunk | |
2010-01-23
| ||
11:25 | Make -[readLineWithEncoding:] compatible with \r\n linebreaks. check-in: 1421bc837b user: js tags: trunk | |
2010-01-22
| ||
18:55 | Apple allows BOOL copy to be 2 for mutableCopy on properties. check-in: 89db847794 user: js tags: trunk | |
18:52 | Differentiate more between OFArray and OFMutableArray in tests. check-in: 7e47fcb96a user: js tags: trunk | |
18:40 |
Clean up OFStream and OFSocket interface. This allows better compile-time checks. check-in: 273d5b90f8 user: js tags: trunk | |
2010-01-17
| ||
13:11 | uintptr_t might be better here. check-in: 453532ccf3 user: js tags: trunk | |
2010-01-16
| ||
15:22 | Fix Makefiles forgotten in lib version bump. check-in: 5b43f00359 user: js tags: trunk | |
15:21 | Fix missing imports in Unicode table generator. check-in: 47af750809 user: js tags: trunk | |
15:05 | Reduce dependencies between headers. check-in: 1433aef0d0 user: js tags: trunk | |
14:43 | Remove mutation methods from immutable classes' interfaces. check-in: 1348a32d47 user: js tags: trunk | |
13:38 | Add missing file to Xcode project. check-in: 632e991fba user: js tags: trunk | |
13:37 | Test if compiler supports properties and if so run property tests. check-in: df5b90cf6a user: js tags: trunk | |
13:20 | Make properties behave like with the Apple runtime. check-in: aac3aaf9cc user: js tags: trunk | |
13:19 | Remove useless definitions in headers. check-in: 9f3151f200 user: js tags: trunk | |
13:18 | Make properties work with the Apple runtime. check-in: 4c069e571f user: js tags: trunk | |
12:01 | Update lib version as we already have incompatible API changes. check-in: 2099ba5e3c user: js tags: trunk | |
11:58 | Add -fexceptions to OBJCFLAGS. check-in: e5f9d3c096 user: js tags: trunk | |
2010-01-15
| ||
13:03 | Added tag 0.1.2-release for changeset 0454ac1b8d0b check-in: 172a3ea720 user: js tags: trunk | |
13:03 | Update ChangeLog in default branch as well. check-in: 3cbb7bfcbc user: js tags: trunk | |
13:03 | Update ChangeLog. check-in: 5560a17e7b user: js tags: 0.1, 0.1.2-release | |
13:01 | Backport fixes from default branch. check-in: dbded176ee user: js tags: 0.1 | |
2010-01-14
| ||
19:40 | Fix a bug in OFMutableArray's -[removeObject(IdenticalTo):]. check-in: 879ff84d38 user: js tags: trunk | |
2010-01-08
| ||
15:26 | Generate and use smaller Unicode tables. check-in: be4c0f34c5 user: js tags: trunk | |
2010-01-07
| ||
11:54 | Change URL in framwork plist. check-in: 259737827b user: js tags: trunk | |
2010-01-05
| ||
23:24 | Add support for ObjC 2 properties. check-in: 8df894fc8a user: js tags: trunk | |
2010-01-04
| ||
15:00 | Add ChangeLog to default branch as well. check-in: c3cb23d274 user: js tags: trunk | |
14:52 | Added tag 0.1.1-release for changeset 7d8fa75b6de6 check-in: a5403e4717 user: js tags: trunk | |
14:36 | Add ChangeLog. check-in: 292eaf1b86 user: js tags: 0.1, 0.1.1-release | |
14:29 | Backport a few fixes from default branch to 0.1. check-in: 98f171212d user: js tags: 0.1 | |
14:04 | Make -[readLineWithEncoding:] more fault tolerant. check-in: 32d166557b user: js tags: trunk | |
00:18 | Fix forgotten static for enumeration_mutation_handler. check-in: c46f609578 user: js tags: trunk | |
2010-01-03
| ||
21:08 | Implement Fast Enumeration for OFDictionary. check-in: b110e218cb user: js tags: trunk | |
21:03 | OFMutableDictionary: Add mutations counter. check-in: 4f18e380bf user: js tags: trunk | |
20:59 | Improve Fast Enumeration test. check-in: 28543f9fd0 user: js tags: trunk | |
19:38 | Throw an exception when trying to use +[dealloc]. check-in: 5e88aed650 user: js tags: trunk | |
18:48 | Check for objc_enumerationMutation and provide it if it's missing. check-in: 2c40c95434 user: js tags: trunk | |
18:39 | Check for fast enumeration support in compiler and run tests. check-in: a2effa2a7f user: js tags: trunk | |
18:28 | Implement fast enumeration for OFArray. check-in: 45869ac8ac user: js tags: trunk | |
18:14 | OFMutableArray: Add mutation counter, required for fast enumeration. check-in: fe56ea4a9c user: js tags: trunk | |
17:36 | OFMutableArray: Safer removing of objects. check-in: 0c9d2a8ce9 user: js tags: trunk | |
17:28 | Fix missing retain + autorelease on return. check-in: 0d9f732af1 user: js tags: trunk | |
17:28 | OFMutableArray: Fix out of range check for -[removeNItems:atIndex:]. check-in: 14fe09e7fa user: js tags: trunk | |
17:22 | Add OFFastEnumeration protocol and OFEnumerationMutationException. check-in: 9a881883be user: js tags: trunk | |
2010-01-02
| ||
18:18 | Fix a typo. check-in: bd408f1cee user: js tags: trunk | |
2009-12-30
| ||
13:30 |
Rename OFIterator to OFEnumerator. This way, we avoid name inconsistency when introducing fast enumeration. check-in: b9e9dfb384 user: js tags: trunk | |
2009-12-24
| ||
09:19 | Added tag 0.1-release for changeset 9d5a0c42ccbf check-in: 6e1e487368 user: js tags: trunk | |
09:19 | Merge latest changes from default branch to 0.1 branch. check-in: 80820d91b3 user: js tags: 0.1, 0.1-release | |
09:17 | Change type of object in OFThread to id. check-in: 77092d1160 user: js tags: trunk | |
2009-12-23
| ||
22:38 | Some minor build improvements. check-in: 66f00a133d user: js tags: trunk | |
22:38 | Throw an exception when trying to use chown on Windows. check-in: 6cd75d4826 user: js tags: trunk | |
22:36 | Release local objects before releasing self in @catch. check-in: d80e2fb1bc user: js tags: trunk | |
22:30 | Documentation improvements. check-in: 19ac0520ae user: js tags: trunk | |
22:25 | Unicode Table Generator: Store used tables in object. check-in: a4918da65c user: js tags: trunk | |
15:47 | Remove TODO from 0.1 branch as it is only useful in the default branch. check-in: bf9e659a92 user: js tags: 0.1 | |
2009-12-21
| ||
17:02 | Create 0.1 branch and remove unfinished XML stuff from it. check-in: b3c14e1dfa user: js tags: 0.1 | |
16:58 | Documentation improvement. check-in: 7cae2b95fb user: js tags: trunk | |
2009-12-20
| ||
23:20 | Update PLATFORMS. check-in: 092f7652a2 user: js tags: trunk | |
23:15 | Clean up includes in OFTCPSocket. check-in: 1d68cfa595 user: js tags: trunk | |
2009-12-17
| ||
13:20 | Update buildsys. check-in: 50e7f419d0 user: js tags: trunk | |
11:26 | Add -[replaceObject:withObject:] and others to OFMutableArray. check-in: c0326c7cc5 user: js tags: trunk | |
10:53 | Further improve OFTCPSocket. check-in: 1f7898f109 user: js tags: trunk | |
2009-12-12
| ||
14:19 | Remove OBJC_SYNC variable as it is not used anymore. check-in: b7e505ba7f user: js tags: trunk | |
2009-12-11
| ||
12:52 | Make it possible to build ObjFW without support for threads. check-in: 6caac0826e user: js tags: trunk | |
2009-12-09
| ||
19:09 | Check whether getaddrinfo is thread-safe and use locks if not. check-in: c8398d985d user: js tags: trunk | |
18:43 | Indent defines and imports where it is useful. check-in: 66f6ca045c user: js tags: trunk | |
2009-12-07
| ||
20:12 | Fix typo. check-in: ed366ad8f8 user: js tags: trunk | |
2009-12-06
| ||
14:13 | Add README. check-in: ed2c649ede user: js tags: trunk | |
14:06 | Move ObjFW definitions to a header that gets installed. check-in: 3631d46ccc user: js tags: trunk | |
00:27 | Remove two method implementations not used anymore. check-in: a0a5ecf01f user: js tags: trunk | |
2009-12-05
| ||
18:15 | Update TODO. check-in: 741eca944e user: js tags: trunk | |
18:12 | Improve -[initWithKey:argList:]. check-in: de26b7668a user: js tags: trunk | |
17:19 | Fix optimization in OFDictionary / OFMutableDictionary. check-in: 011e248c30 user: js tags: trunk | |
17:15 | Improve -[initWithObjects:forKeys:]. check-in: f6e79c23b4 user: js tags: trunk | |
16:54 | Improve readability of -[initWithDictionary:]. check-in: e1b790cdfe user: js tags: trunk | |
16:52 | Improve error handling in OFDictionary and OFMutableDictionary. check-in: 0fcd9ed4d3 user: js tags: trunk | |
16:43 | Improve -[initWithObject:forKey:]. check-in: 776cc1c033 user: js tags: trunk | |
16:33 | Improve OFDictionary. check-in: 725b23f325 user: js tags: trunk | |
13:19 | Get rid of float in OFMutableDictionary. check-in: 7d0a27a751 user: js tags: trunk | |
11:06 | Add +[isSubclassOfClass:] to OFObject. check-in: c7bfcc9e92 user: js tags: trunk | |
10:50 | Don't try to find another CC in acx_pthread.m4. check-in: 84dd396274 user: js tags: trunk | |
10:45 | Move LDFLAGS for rpath in objfw-config to a separate --rpath flag. check-in: d4a60cdef5 user: js tags: trunk | |
2009-12-03
| ||
18:50 | Make OFStream caching invisible to the programmer. check-in: fc0b2500b9 user: js tags: trunk | |
11:51 | Add -[componentsJoinedByString:] to OFArray. check-in: fb651428aa user: js tags: trunk | |
10:29 | More documentation improvements. check-in: 012cee4f80 user: js tags: trunk | |
10:14 | Add documentation for OFXMLParser. check-in: a0b676019d user: js tags: trunk | |
2009-12-02
| ||
20:02 | Introduce some consistency when to use OFObject* and when to use id. check-in: c7ab3a46d1 user: js tags: trunk | |
09:45 | Fix one more missing LD = ${OBJC}. check-in: 25d8c4c030 user: js tags: trunk | |
09:38 | Add -[addObject:atIndex:] to OFArray. check-in: 806b5b24db user: js tags: trunk | |
09:29 | Add -[addNItems:fromCArray:atIndex:] to OFDataArray. check-in: 806550f7ed user: js tags: trunk | |
2009-12-01
| ||
17:45 | Fix -[removeItemAtIndex:], -[removeNItems:atIndex:], -[removeObject:]. check-in: b83a3b4d9c user: js tags: trunk | |
14:54 | Update buildsys. check-in: bab351d9a5 user: js tags: trunk | |
13:35 | Better checking which runtime we use. check-in: 240b72cd71 user: js tags: trunk | |
13:28 | Adjust OFObject test to recent change to -[freeMemory:]. check-in: 5b8ab2c427 user: js tags: trunk | |
13:27 | Add missing LD = ${OBJC} to two Makefiles. check-in: 4b763dd49a user: js tags: trunk | |
13:17 | Use OF_BSWAP32_NONCONST instead of OF_BSWAP32 in OF_BSWAP64_NONCONST. check-in: d60757d3a0 user: js tags: trunk | |
12:55 | Make sure we never even check for CC by using OBJCPP as CPP. check-in: 9a733d824f user: js tags: trunk | |
2009-11-29
| ||
16:23 | Allow NULL as parameter for -[freeMemory:]. check-in: d57228d9d6 user: js tags: trunk | |
14:00 | Fix inline assembly on x86_64 for gcc with -O. check-in: 1f38dbc88e user: js tags: trunk | |
11:49 | Let OF_BSWAP{16,32,64} automatically detect whether we swap a constant. check-in: f4d5af029a user: js tags: trunk | |
03:03 | Add run-on-iphone target to tests for more comfortable testing. check-in: 3a290a9951 user: js tags: trunk | |
02:33 | Add ARMv6 inline assembly. Tested on iPhone. check-in: e5d734d1a7 user: js tags: trunk | |
01:59 | Add OF_BSWAP{16,32,64}_CONST[_IF_{BE,LE}]. check-in: 68fb0166a7 user: js tags: trunk | |
2009-11-28
| ||
20:48 | Add -[removeObject:] and -[removeObjectIdenticalTo:] to OFMutableArray. check-in: bd9f5d90ae user: js tags: trunk | |
20:44 | Don't care in OFDataArray if realloc failed if we only made it smaller. check-in: 044eee2ed9 user: js tags: trunk | |
20:29 | Add -[indexOfObject:] and -[indexOfObjectIdenticalTo:] to OFArray. check-in: f1e3f965fc user: js tags: trunk | |
2009-11-26
| ||
09:50 | Add -[firstItem] to OFDataArray and -[firstObject] to OFArray. check-in: 4d523be264 user: js tags: trunk | |
2009-11-22
| ||
16:57 | Make it very clear that OFExceptions don't use autorelease pools. check-in: 0fbbfb7158 user: js tags: trunk | |
16:33 | Add -[drain] to OFAutoreleasePool. check-in: 2f85ceeed7 user: js tags: trunk | |
15:44 | Add -[removeObjectAtIndex] and -[removeNObjects:atIndex:] to OFArray. check-in: 0b6fc2523a user: js tags: trunk | |
2009-11-19
| ||
15:41 | Add -[removeItemAtIndex:] and -[removeNItems:atIndex:] to OFDataArray. check-in: 24928c1da1 user: js tags: trunk | |
2009-11-18
| ||
23:11 | Remove now unnecessary CFLAGS from Makefile. check-in: 7b1079712b user: js tags: trunk | |
2009-11-15
| ||
14:25 | Get rid of 3 more FIXMEs. check-in: 51833ec7a7 user: js tags: trunk | |
02:10 | Improve handling of failed init in OFTLSKey. check-in: 344d7506df user: js tags: trunk | |
01:39 | Improve OFFile and add a few new exceptions. check-in: 5cb7f93a1f user: js tags: trunk | |
01:17 | Add +[load] to OFObject. check-in: 1bae432025 user: js tags: trunk | |
00:59 | Update buildsys. check-in: 76f03bb012 user: js tags: trunk | |
2009-11-14
| ||
12:46 | Fix two more FIXMEs. check-in: 8afa16c9e9 user: js tags: trunk | |
12:17 | New solution for TLS key destructors that works on any OS. check-in: 12101c192f user: js tags: trunk | |
2009-11-13
| ||
23:18 | Implement -[isEqual:] and -[hash] for OFDictionary. check-in: 2555952c42 user: js tags: trunk | |
23:17 | Fix a bug in OFDictionary's -[initWithDictionary:]. check-in: 679bce8526 user: js tags: trunk | |
21:07 | Fix yet another FIXME. check-in: d3d1f36316 user: js tags: trunk | |
21:02 | Fix one more FIXME. check-in: d7d45d4b69 user: js tags: trunk | |
18:53 | Resolve more FIXMEs. check-in: f1637e9310 user: js tags: trunk | |
18:42 | Add OFMutex(Lock|Unlock)FailedException and fix a few FIXMEs. check-in: 9a623a35d0 user: js tags: trunk | |
18:29 | Add -[hash] for OFList. check-in: eb67bc40fa user: js tags: trunk | |
14:30 | Add -[caseInsensitiveCompare:] and fix -[compare:]. check-in: 35fda90cf5 user: js tags: trunk | |
2009-11-10
| ||
20:13 | Fix a typo in TableGenerator.m and the resulting unicode.h. check-in: c628317621 user: js tags: trunk | |
15:34 | Improve of_string_utf8_to_unicode. check-in: 3d007c8393 user: js tags: trunk | |
15:32 | Improve -[compare:]. check-in: 6772512e3e user: js tags: trunk | |
2009-11-09
| ||
23:18 | Fix a bug in OFStream that was introduced by the new \0 behaviour. check-in: 16786b4e7e user: js tags: trunk | |
23:08 | Fix a forgotten rename. check-in: e94f3f9452 user: js tags: trunk | |
22:59 | Rename tests to match the name of the class they test. check-in: 9a18482367 user: js tags: trunk | |
22:53 | Remove tests from .xcodeproj as they don't make much sense there. check-in: 82d43735d7 user: js tags: trunk | |
22:45 | Rename libobjfw to ObjFW. check-in: a3cc34b139 user: js tags: trunk | |