138 check-ins using file src/OFCollection.h version ee176f4168
2011-07-17
| ||
16:25 | Update PLATFORMS. check-in: 938574d7fe user: js tags: trunk | |
02:11 | Include sys/types.h in of_asprintf.m. check-in: 506c012ec2 user: js tags: trunk | |
02:03 |
Use sockaddr_storage instead of sockaddr in OFTCPSocket. This ensures it's big enough and correctly aligned. check-in: 7a5b65ee4d user: js tags: trunk | |
01:55 | Define __NO_EXT_QNX in files using unistd.h or fcntl.h. check-in: da2701ad14 user: js tags: trunk | |
00:57 | Get rid of unnecessary includes of unistd.h in headers. check-in: eced1d58ea user: js tags: trunk | |
2011-07-15
| ||
10:30 | Make sure restrict is always defined. check-in: 77fe5572fe user: js tags: trunk | |
2011-07-14
| ||
23:19 | Fix a memory leak in OFArray. check-in: 41cdf54612 user: js tags: trunk | |
23:17 | Fix a memory leak in OFURL. check-in: 06bbeb185a user: js tags: trunk | |
23:15 | Fix missing autoreleases in OFBlockTests.m. check-in: 33c7abb54b user: js tags: trunk | |
23:06 | Fix reference counting for blocks. check-in: 5b3aebb65a user: js tags: trunk | |
23:04 | Always do nothing if OF_BLOCK_BYREF_CALLER is set. check-in: eb207e5ecd user: js tags: trunk | |
22:56 | Fix missing return. check-in: 7455987d6e user: js tags: trunk | |
21:18 | Allow passing NULL to _Block_object_assign() / _Block_object_dispose(). check-in: 017a85770c user: js tags: trunk | |
2011-07-12
| ||
23:13 | Fix missing cast. check-in: 8c40feec2b user: js tags: trunk | |
2011-07-10
| ||
18:44 | Include sys/types.h in objc_sync.m. check-in: 47f179bc09 user: js tags: trunk | |
17:43 | Include sys/types.h for off_t. check-in: 5870131a84 user: js tags: trunk | |
03:19 | Include objc/runtime.h when using the new GNU runtime. check-in: 19bb966105 user: js tags: trunk | |
03:18 | Clang with the new GNU runtime does not like blocks checked against nil. check-in: bb68bc87dd user: js tags: trunk | |
2011-07-09
| ||
22:03 | OFDate: Fix wrong format specifier for microseconds. check-in: 75dde25734 user: js tags: trunk | |
21:58 | Only add -fgnu89-inline if it doesn't generate a warning. check-in: 4f8cf7e3ec user: js tags: trunk | |
14:45 | Cache the length of a string. check-in: 36e8a94f34 user: js tags: trunk | |
14:34 | Use OFDataArray instead of OFMutableString for cache in OFXMLParser. check-in: bbe98ea6c2 user: js tags: trunk | |
13:33 | Get rid of -[appendCStringWithoutUTF8Checking:] in base64.m. check-in: 56c98bf847 user: js tags: trunk | |
13:29 | OFString+XMLUnescaping: Get rid of -[appendCStringWithoutUTF8Checking:]. check-in: 898c2a781b user: js tags: trunk | |
13:15 | Use OFDataArray instead of OFMutableString in OFXMLElement. check-in: a2c6391204 user: js tags: trunk | |
12:04 | Optimize +[stringWithPath:]. check-in: 1c65e229e8 user: js tags: trunk | |
03:10 | Emphasize that -[readNBytes:intoBuffer:] reads at most n bytes. check-in: e1285e3ba9 user: js tags: trunk | |
00:00 | Check for more invalid UTF-8 byte sequences. check-in: 51dff30395 user: js tags: trunk | |
2011-07-08
| ||
21:26 | Adjust TableGenerator to (not so) recent style changes. check-in: 30cdebfa2a user: js tags: trunk | |
21:08 | Optimize +[stringWithString:] and -[appendString:]. check-in: e250800382 user: js tags: trunk | |
20:13 | Rename -[deleteLeadingAndTrailingWhitespaces]. check-in: 7c66260ead user: js tags: trunk | |
20:07 | Rename OF_PATH_DELIM to OF_PATH_DELIMITER. check-in: 7d9efc3924 user: js tags: trunk | |
19:58 | Fix wrong calculated cStringLength in +[stringWithUTF16String:]. check-in: 2fca00b926 user: js tags: trunk | |
19:50 |
Add -std=gnu99 to OBJCFLAGS in objfw-config. This is required now as we use restrict. check-in: ce742708e6 user: js tags: trunk | |
19:15 | Rename ivars in OFString struct to prevent prospective name conflicts. check-in: 3ffa55524a user: js tags: trunk | |
15:34 | Don't kill the old string in -[setToCString:] due to invalid encoding. check-in: 348ac73b77 user: js tags: trunk | |
15:29 | Make it possible to add more ivars to OFConstantString. check-in: 0b846bcc4a user: js tags: trunk | |
2011-07-07
| ||
23:19 | Fix missing character check in +[stringWithUTF16String:]. check-in: f6c05b68cf user: js tags: trunk | |
18:07 | -framework has to be before -f* in objfw-compile. check-in: 4c36c01ae3 user: js tags: trunk | |
17:03 | Add a note about the %@ format specifier. check-in: d0085d2c5d user: js tags: trunk | |
2011-07-06
| ||
23:27 | Some broken glibc versions need -fgnu89-inline... check-in: 521809b613 user: js tags: trunk | |
22:55 | Only allow an OFConstantString as format. check-in: 7558e235fe user: js tags: trunk | |
22:49 | Add +[threadWithBlock:] to OFThread. check-in: d966ede8fe user: js tags: trunk | |
22:39 | Documentation fixes. check-in: 16ce0fea69 user: js tags: trunk | |
22:32 | Retain blocks instead of copying them. check-in: cbdd00f28d user: js tags: trunk | |
17:44 | Add +[new] to OFObject for compatibility and convenience. check-in: 0319e89d4b user: js tags: trunk | |
2011-07-05
| ||
02:10 | Fix too big allocation size in OFDictionary. check-in: 3825c5fc9a user: js tags: trunk | |
2011-06-30
| ||
23:44 | Added tag 0.5.3-release for changeset 1c8cdf13be9c check-in: 5dd66a8549 user: js tags: trunk | |
23:24 | Update ChangeLog. check-in: 558a10fff3 user: js tags: trunk | |
12:36 | Nicer initializers for OF{Double,Float}{Matrix,Vector}. check-in: e129012224 user: js tags: trunk | |
2011-06-29
| ||
21:16 | objfw-compile: Pass -f flags to the compiler. check-in: 4450b2d98a user: js tags: trunk | |
19:17 | Check for libobjc / libobjfw-rt and abort if not found. check-in: f19d3dcf08 user: js tags: trunk | |
19:06 | Add a handler for unknown entities to OFXMLElementBuilderDelegate. check-in: d534f49a7d user: js tags: trunk | |
2011-06-28
| ||
22:56 | Add -[readStringWithLength:] to OFStream. check-in: 90a9d9475a user: js tags: trunk | |
22:21 | Add OFCopying to OFXMLElement. check-in: 33ac65f8f7 user: js tags: trunk | |
22:20 | Use isa as class for the copy where useful. check-in: 6d3b3d0468 user: js tags: trunk | |
21:07 | Add serialization and deserialization to OFDataArray. check-in: bfa01e9b5c user: js tags: trunk | |
18:14 | Use floats for of_point_t and of_dimension_t. check-in: 722f0808e8 user: js tags: trunk | |
01:51 | Change serialization format to be way more readable and shorter. check-in: 756bb26c98 user: js tags: trunk | |
2011-06-27
| ||
23:44 | Add -[elements] and -[elementsForNamespace:] to OFXMLElement. check-in: 9b1baaa39b user: js tags: trunk | |
00:10 | Style improvements. check-in: d13ff5382a user: js tags: trunk | |
2011-06-26
| ||
23:54 | Add -[{decimal,hexadecimal,float,double}Value] to OFXMLAttribute. check-in: 0952a96827 user: js tags: trunk | |
23:40 | Check the item size of the passed data array in of_base64_decode(). check-in: be49630777 user: js tags: trunk | |
13:12 | Add OFDoubleVector and OFDoubleMatrix. check-in: 3c47f319dd user: js tags: trunk | |
12:48 | Add methods to read/write arrays with correct byte ordering to OFStream. check-in: 1ccbecd52a user: js tags: trunk | |
00:59 | Check for buggy -Wcast-align. check-in: 05b17b8de4 user: js tags: trunk | |
00:45 | Handle q length modifier in of_asprintf on iOS. check-in: 58f7af5290 user: js tags: trunk | |
00:40 | Copy serialization.xml to iOS host. check-in: c36c369395 user: js tags: trunk | |
00:32 | Use TEST_LAUNCHER on remote host in target run-on-ios. check-in: 1b62412349 user: js tags: trunk | |
00:30 | Don't use _NSGetEnviron or environ on iOS. check-in: 932c2eb049 user: js tags: trunk | |
2011-06-25
| ||
20:47 | Fix a possible warning in macros.h. check-in: b0b3a22b9a user: js tags: trunk | |
2011-06-20
| ||
19:26 | Let -[writeNBytes:fromBuffer:] return void. check-in: 2a2d5c4c47 user: js tags: trunk | |
2011-06-17
| ||
00:35 | Add -[removeLastItem] and -[removeLastObject]. check-in: 5a127a0804 user: js tags: trunk | |
00:29 | Check for M_PI and define it if it's missing. check-in: b1fa976eaa user: js tags: trunk | |
2011-06-16
| ||
02:33 | -[readNBytes:intoBuffer:] & -[writeNBytes:fromBuffer:] take a void* now. check-in: 8440a70457 user: js tags: trunk | |
02:25 | Add -[setDimension:] to OFFloatVector. check-in: ef368d182c user: js tags: trunk | |
02:14 | Add -[rotateWithVector:angle:] to OFFloatMatrix. check-in: 91f446cfd8 user: js tags: trunk | |
01:05 | of_asprintf: Work around Win32 breaking C99 standard length modifiers. check-in: 6c20d8bff4 user: js tags: trunk | |
2011-06-15
| ||
21:38 | We need OFObject.h in macros.h now for of_{point,dimension,rectangle}_t. check-in: 674acc5082 user: js tags: trunk | |
2011-06-14
| ||
19:34 | Add -[crossProductWithVector:] to OFFloatVector. check-in: aadec90b2f user: js tags: trunk | |
2011-06-13
| ||
23:53 | Add of_range(). check-in: a9c38eb137 user: js tags: trunk | |
23:52 | Add of_{point,dimension,rectangle}(). check-in: 6f357e67bd user: js tags: trunk | |
23:47 | Add of_{point,dimension,rectangle}_t. check-in: f86ac97de4 user: js tags: trunk | |
21:28 | Fix a typo in README. check-in: 31ad00b702 user: js tags: trunk | |
14:08 | Reduce ObjC method calls in OFFloatVector and OFFloatMatrix. check-in: f4313d070a user: js tags: trunk | |
03:47 | Fix -[conformsToProtocol:] for the old GNU runtime. check-in: a1769f0105 user: js tags: trunk | |
03:08 | Add -[multiplyWithMatrix:] to OFFloatVector. check-in: 5e9d6fea1c user: js tags: trunk | |
02:30 | Add -[translateWithVector:] and -[scaleWithVector:] to OFFloatMatrix. check-in: a07cf9ee16 user: js tags: trunk | |
00:59 | Add a note about -[OFDataArray cArray]. check-in: 32660bf70f user: js tags: trunk | |
00:55 | Make the GNU runtime happy by not comparing isa directly. check-in: 208e94917e user: js tags: trunk | |
00:10 | Add OFFloatMatrix. check-in: 4276459937 user: js tags: trunk | |
00:06 | Replace a forgotten SIZE_MAX with UINT_MAX in OFObject.m. check-in: 287d598b5a user: js tags: trunk | |
2011-06-11
| ||
00:24 | Add OFFloatVector. check-in: d94b9059f2 user: js tags: trunk | |
2011-06-10
| ||
18:19 | Save 16 bytes per object on 64 bit systems with a 16 byte alignment. check-in: def4850926 user: js tags: trunk | |
2011-06-07
| ||
14:10 | Small changes to OF_SETTER/OF_GETTER. check-in: 9e2ea02a08 user: js tags: trunk | |
2011-06-06
| ||
16:28 | Use memset() for indentation in OFXMLElement. check-in: af23d890f1 user: js tags: trunk | |
16:19 | Add -Wsemicolon-before-method-body if available. check-in: 831997311c user: js tags: trunk | |
16:18 | Remove semicolons that should not have been there. check-in: 65ec63f7c1 user: js tags: trunk | |
16:07 | Correctly add -Wshorten-64-to-32. check-in: dec81cbbb6 user: js tags: trunk | |
15:53 | Add missing imports to make gcc from trunk happy. check-in: df329a38cd user: js tags: trunk | |
13:34 | Fix float*/uint32_t* casts forgotten in the last commit. check-in: b507c330f5 user: js tags: trunk | |
03:19 | Always use unions to access a float as a uint32_t. check-in: 4b8e8836c8 user: js tags: trunk | |
00:46 | Don't let a comment prevent indentation and indent comments correctly. check-in: ddc9f8ac04 user: js tags: trunk | |
00:35 | Don't add unwanted whitespaces to character data on indentation. check-in: a36135d018 user: js tags: trunk | |
00:22 | Add -[{decimal,hexadecimal,float,double}Value] to OFXMLElement. check-in: 2447ceff6e user: js tags: trunk | |
00:02 | Add serialization.xml to Xcode project. check-in: 26da62682d user: js tags: trunk | |
2011-06-05
| ||
23:59 | Add -[XMLStringWithIndentation:] to OFXMLElement. check-in: 14991e7035 user: js tags: trunk | |
22:26 | Nicer API for serialization. check-in: 29988c434b user: js tags: trunk | |
21:26 | Serialize floats and doubles in a format that does not lose precision. check-in: ac2714dd86 user: js tags: trunk | |
20:45 | Add -[stringByPrependingString:] to OFString. check-in: 5b7d19e956 user: js tags: trunk | |
19:27 | Add OFNull class. check-in: 183825f113 user: js tags: trunk | |
19:12 | Add import for OFSerialization.h to ObjFW.h. check-in: 0449004f4e user: js tags: trunk | |
18:53 | Rename -[connetToHost:onPort:] to -[connectToHost:port:]. check-in: 1940d72ec7 user: js tags: trunk | |
18:44 | Check size of float and double. check-in: c3f475701c user: js tags: trunk | |
18:32 | Add methods to read / write floats and doubles to OFStream. check-in: f31197a153 user: js tags: trunk | |
18:13 | Always hash floats and doubles in big endian. check-in: 4560e88c45 user: js tags: trunk | |
18:07 | Add methods for byte swapping floats and doubles. check-in: 2be6a03c5a user: js tags: trunk | |
17:50 | Check floating point endianess. check-in: 0348b9b3b3 user: js tags: trunk | |
2011-06-04
| ||
18:49 | Fix a bug in -[OFDictionary initWithKeys:arguments:]. check-in: 50457cd1fd user: js tags: trunk | |
18:07 | Add missing include for old GNU runtime. check-in: c53d58fef3 user: js tags: trunk | |
18:01 | Use %g instead of %f in -[OFNumber description]. check-in: 0ed2ea0df3 user: js tags: trunk | |
17:50 | Add a note about fast enumeration to OFDictionary. check-in: da4d353d45 user: js tags: trunk | |
16:37 | Add tests for OFSerialization. check-in: 591b598230 user: js tags: trunk | |
16:30 | Also escape \r in -[stringByXMLEscaping]. check-in: f5f074e27e user: js tags: trunk | |
16:07 | Add -[hash] to OFXMLElement and OFXMLAttribute. check-in: a698b98203 user: js tags: trunk | |
16:02 | Add OF_HASH_ADD_INT{16,32,64}. check-in: 871fcf6e0b user: js tags: trunk | |
15:40 | Add -[hash] to OFDate, as it is required if there's -[isEqual:]. check-in: eee0aa1848 user: js tags: trunk | |
15:26 | Add missing include. check-in: e5017153bb user: js tags: trunk | |
14:00 | Add -[isEqual:] to OFXMLElement and OFXMLAttribute. check-in: cee604408e user: js tags: trunk | |
13:56 | Also set finishedParsing if the root element is in short form. check-in: 1bcc25c6fd user: js tags: trunk | |
13:36 | Better sanity checks in +[OFSerialization objectByDeserializingString:]. check-in: ef62225e51 user: js tags: trunk | |
13:34 | Remove useless casts. check-in: 675eda4ad3 user: js tags: trunk | |
13:29 | Fix -[OFURL isEqual:]. check-in: 9d48ed225c user: js tags: trunk | |
2011-06-03
| ||
15:14 | Add deserialization. check-in: dca3061dfc user: js tags: trunk | |
2011-05-29
| ||
21:47 | Inline of_condition_* on Win32 as well to prevent warnings. check-in: a1c5b19c7c user: js tags: trunk | |
21:46 | Fix 3 typos introduced by style changes. check-in: 4090b00720 user: js tags: trunk | |
21:45 | Properly check for thread-safe getaddrinfo if it's unknown. check-in: f1bea237ab user: js tags: trunk | |
2011-05-26
| ||
17:23 | Add OFEnumerating protocol. check-in: 6ddfe1975c user: js tags: trunk | |