Overview
Comment: | Add OFHashes. Only MD5 so far. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9a0cc3bc23baf47102d567f3a262836d |
User & Date: | js on 2008-10-26 02:45:59 |
Other Links: | manifest | tags |
Context
2008-10-26
| ||
02:47 | Forgot call to - free. check-in: b2df7acabb user: js tags: trunk | |
02:45 | Add OFHashes. Only MD5 so far. check-in: 9a0cc3bc23 user: js tags: trunk | |
00:08 | D'oh. check-in: f6f343580c user: js tags: trunk | |
Changes
Modified TODO from [3bc4d8c53a] to [9dfe96e62a].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | + + - | OFArray OFDictionary OFSortedArray OFSocket OFThread OFAutoreleasePool OFStack OFQueue OFPlugin OFXMLParser |
Modified configure.ac from [ca3e8cb004] to [977f62d996].
︙ | |||
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 | + | OBJCFLAGS="$OBJSFLAGS -Wall -Werror -pipe -g" ;; esac OBJCFLAGS="$OBJCFLAGS -fobjc-exceptions" BUILDSYS_SHARED_LIB AC_C_BIGENDIAN([AC_DEFINE(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, [AC_DEFINE(HAVE_SEL_GET_NAME, 1, [Whether we have sel_get_name])]) AC_CHECK_LIB(objc, sel_getName, [AC_DEFINE(HAVE_SEL_GETNAME, 1, [Whether we have sel_getName])]) |
︙ |
Modified src/Makefile from [95c2cb6098] to [bfb2e35d1d].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + | LIB = ${LIB_PREFIX}objfw${LIB_SUFFIX} LIB_MAJOR = 1 LIB_MINOR = 0 SRCS = OFConstCString.m \ OFCString.m \ OFConstWideCString.m \ OFExceptions.m \ OFHashes.m \ OFFile.m \ OFList.m \ OFListObject.m \ OFObject.m \ OFString.m \ OFWideCString.m \ OFXMLFactory.m |
︙ |
Modified src/OFFile.h from [fb39a1e440] to [f9dde14242].
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 <stdio.h> #import <stdint.h> #import "OFObject.h" @interface OFFile: OFObject { FILE *fp; } |
︙ | |||
31 32 33 34 35 36 37 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + - + - + | + (int)symlink: (const char*)src to: (const char*)dest; - initWithPath: (const char*)path andMode: (const char*)mode; - free; - (BOOL)atEndOfFile; |
Modified src/OFFile.m from [4069e4ea59] to [2d25231c0e].
︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | + + + - + - + - + | } - initWithPath: (const char*)path andMode: (const char*)mode { if ((self = [super init])) { if ((fp = fopen(path, mode)) == NULL) { [[OFOpenFileFailedException newWithObject: self andPath: path andMode: mode] raise]; [self free]; return nil; } } return self; } - free { fclose(fp); return [super free]; } - (BOOL)atEndOfFile { return (feof(fp) == 0 ? NO : YES); } |
︙ | |||
123 124 125 126 127 128 129 | 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | - + | @throw e; return NULL; } return ret; } |
︙ |
Added src/OFHashes.h version [714154ae18].
|
Added src/OFHashes.m version [5bb7027c8f].