Comment: | Clean up imports. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4b8666fe154ecbd11747bbf111adf4b2 |
User & Date: | js on 2008-11-30 15:17:09 |
Other Links: | manifest | tags |
2008-12-06
| ||
15:14 | Rename cString to getCString, as this needs to be generated. check-in: 9c420c6cc3 user: js tags: trunk | |
2008-11-30
| ||
15:17 | Clean up imports. check-in: 4b8666fe15 user: js tags: trunk | |
2008-11-29
| ||
11:59 | Optimize branch prediction for ifs inside loops. check-in: 92c12b1d4f user: js tags: trunk | |
Modified configure.ac from [90c3c4ccac] to [85a5c43ae7].
︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + | OBJCFLAGS="$OBJSFLAGS -Wall -Werror -pipe -g" ;; esac OBJCFLAGS="$OBJCFLAGS -fobjc-exceptions" BUILDSYS_SHARED_LIB AC_DEFINE(OF_CONFIG_H, 1, [Define so that we know we got our config.h]) AC_C_BIGENDIAN([AC_DEFINE(OF_BIG_ENDIAN, 1, [Whether we are big endian])]) AC_CHECK_HEADER(objc/runtime.h, [AC_DEFINE(HAVE_OBJC_RUNTIME_H, 1, [Whether we have objc/runtime.h])]) AC_CHECK_LIB(objc, sel_get_name, [ have_sel_get_name="yes" |
︙ |
Modified src/OFArray.h from [8aff812fdb] to [d5e6d44d98].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ |
︙ |
Modified src/OFArray.m from [b60d88894a] to [c0503870b0].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | + + - | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdio.h> #import <string.h> #import <unistd.h> #import "OFArray.h" |
︙ |
Modified src/OFExceptions.h from [7c1fcb25b2] to [60259d3ade].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ |
︙ |
Modified src/OFFile.h from [c20fa8faf0] to [8e748f0d5d].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - - | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import <stdio.h> |
︙ |
Modified src/OFFile.m from [c1131eae69] to [1bbfec1dfa].
︙ | |||
8 9 10 11 12 13 14 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | - + | * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdio.h> |
︙ |
Modified src/OFHashes.h from [7296eed131] to [e8ac1f901b].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ |
︙ |
Modified src/OFHashes.m from [4f4ce61c2e] to [f7a4a929b8].
︙ | |||
8 9 10 11 12 13 14 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - | * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <string.h> |
︙ |
Modified src/OFListObject.m from [69d0af82c6] to [24a5cb35a1].
︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + | * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdlib.h> #import "OFListObject.h" @implementation OFListObject + newWithData: (void*)ptr { return [[OFListObject alloc] initWithData: ptr]; } |
︙ |
Modified src/OFMacros.h from [9f2e3ed2ba] to [215b4e1f29].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | + + + + + + + + + + + + + + - + - - - - - - - - | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #ifndef OF_CONFIG_H #error "You need to have the objfw defines in your config.h and include it!" #endif #ifdef __GNUC__ #define OF_INLINE inline __attribute__((always_inline)) #define OF_LIKELY(cond) __builtin_expect(!!(cond), 1) #define OF_UNLIKELY(cond) __builtin_expect(!!(cond), 0) #else #define OF_INLINE inline #define OF_LIKELY(cond) cond #define OF_UNLIKELY(cond) cond #endif #ifdef OF_BIG_ENDIAN |
Modified src/OFObject.h from [f0d19652e8] to [0778c8e9f4].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import <objc/Object.h> #import <stdint.h> /** * The OFObject class is the base class for all other classes inside ObjFW. */ @interface OFObject: Object { |
︙ |
Modified src/OFString.h from [451f517c16] to [91deba8372].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import <wchar.h> |
︙ |
Modified src/OFString.m from [46f93c5dbb] to [66c9692dfd].
︙ | |||
9 10 11 12 13 14 15 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | - | * the packaging of this file. */ #import "config.h" #import <stdlib.h> #import <string.h> |
︙ |
Modified src/OFXMLFactory.h from [56a8d83d1c] to [74179aac78].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ |
︙ |
Modified src/OFXMLFactory.m from [117b639361] to [d880516120].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | + + - - - + + + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdarg.h> |
︙ |
Modified tests/OFArray/Makefile from [20740d678d] to [4e30259198].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | PROG_NOINST = ofarray SRCS = OFArray.m include ../../buildsys.mk |
︙ |
Modified tests/OFArray/OFArray.m from [ad07c5ffd2] to [2327b3b399].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdio.h> #import <stdlib.h> #import <string.h> #import "OFArray.h" #import "OFExceptions.h" |
︙ |
Modified tests/OFHashes/Makefile from [b71bf3a70f] to [68e552ae83].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | PROG_NOINST = ofhashes SRCS = OFHashes.m include ../../buildsys.mk |
︙ |
Modified tests/OFHashes/OFHashes.m from [2a964a3068] to [14ae7b2f3f].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdio.h> #import <string.h> #import "OFHashes.h" #import "OFFile.h" |
︙ |
Modified tests/OFList/Makefile from [8c5c1db81e] to [07ad5576dd].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | PROG_NOINST = oflist SRCS = OFList.m include ../../buildsys.mk |
︙ |
Modified tests/OFList/OFList.m from [e9fc459af1] to [12d3a8d721].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + + + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #define _ISOC99_SOURCE #import <string.h> #import <wchar.h> #import "OFString.h" #import "OFList.h" /* TODO: Do real checks */ |
︙ |
Modified tests/OFObject/Makefile from [3f781e6a27] to [492f08f96d].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | PROG_NOINST = ofobject SRCS = OFObject.m include ../../buildsys.mk |
︙ |
Modified tests/OFObject/OFObject.m from [49c951c9b1] to [efc895790f].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdio.h> #import <stdlib.h> #import "OFObject.h" #import "OFExceptions.h" |
︙ |
Modified tests/OFString/Makefile from [6002e1099f] to [56a769c240].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | PROG_NOINST = ofstring SRCS = OFString.m include ../../buildsys.mk |
︙ |
Modified tests/OFString/OFString.m from [f1742cd2ab] to [ca4b87f3ad].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #import <stdio.h> #import <string.h> #import "OFString.h" /* TODO: Do real checks */ |
︙ |
Modified tests/OFXMLFactory/Makefile from [87a4221816] to [c7546ace0e].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | PROG_NOINST = ofxmlfactory SRCS = OFXMLFactory.m include ../../buildsys.mk |
︙ |
Modified tests/OFXMLFactory/OFXMLFactory.m from [20703f949d] to [9182c852bf].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | + + + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "config.h" #define _ISOC99_SOURCE #import <stdlib.h> #import <string.h> #import <wchar.h> #import "OFXMLFactory.h" inline void |
︙ |