| 1 |
2022-11-06 Riccardo Mottola <[email protected]> |
| 2 |
|
| 3 |
* Framework/Pantomime/CWPOP3Store.m |
| 4 |
* Framework/Pantomime/NSScanner+Extensions.m |
| 5 |
* Framework/Pantomime/CWDNSManager.m |
| 6 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 7 |
* Framework/Pantomime/NSData+Extensions.m |
| 8 |
Fix some types and casts |
| 9 |
|
| 10 |
2022-11-01 Riccardo Mottola <[email protected]> |
| 11 |
|
| 12 |
* Framework/Pantomime/CWFolder.h |
| 13 |
* Framework/Pantomime/CWFolder.m |
| 14 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 15 |
* Framework/Pantomime/CWIMAPFolder.m |
| 16 |
* Framework/Pantomime/CWIMAPStore.m |
| 17 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 18 |
* Framework/Pantomime/CWLocalFolder+maildir.m |
| 19 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 20 |
* Framework/Pantomime/CWLocalFolder.m |
| 21 |
* Framework/Pantomime/CWPOP3Folder.m |
| 22 |
* Framework/Pantomime/CWPOP3Store.m |
| 23 |
* Framework/Pantomime/CWVirtualFolder.m |
| 24 |
Make allMessages of CWFolder private, make count explicit as |
| 25 |
countVisible. |
| 26 |
|
| 27 |
2022-11-01 Riccardo Mottola <[email protected]> |
| 28 |
|
| 29 |
* Framework/Pantomime/CWDNSManager.m: |
| 30 |
CWDNSRequest: make servers and name protected, add accessors and |
| 31 |
fix assignment memory leak. |
| 32 |
|
| 33 |
2022-09-28 Riccardo Mottola <[email protected]> |
| 34 |
|
| 35 |
* Framework/Pantomime/NSString+Extensions.m |
| 36 |
Match string format specifier to unichar. |
| 37 |
|
| 38 |
2022-02-04 Riccardo Mottola <[email protected]> |
| 39 |
|
| 40 |
* Framework/Pantomime/NSString+Extensions.m |
| 41 |
Match string encoding latest GS base, which matched Apple. |
| 42 |
|
| 43 |
2020-10-03 Riccardo Mottola <[email protected]> |
| 44 |
|
| 45 |
* Framework/Pantomime/io.h |
| 46 |
* Framework/Pantomime/io.m |
| 47 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 48 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 49 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 50 |
* Framework/Pantomime/CWPOP3CacheManager.m: |
| 51 |
rename read/write method from int/short to explicit 16bit and 32bit versions |
| 52 |
|
| 53 |
2020-01-19 Riccardo Mottola <[email protected]> |
| 54 |
|
| 55 |
* Framework/Pantomime/CWIMAPMessage.m |
| 56 |
use 64 bit methods and provide replacements for 10.4 |
| 57 |
|
| 58 |
2020-01-14 Riccardo Mottola <[email protected]> |
| 59 |
|
| 60 |
* Framework/Pantomime/CWIMAPStore.m |
| 61 |
* Framework/Pantomime/CWLocalStore.m |
| 62 |
* Framework/Pantomime/CWPOP3Store.m |
| 63 |
Explicit casts to subclasses since their methods are accessed. |
| 64 |
|
| 65 |
2020-01-07 Riccardo Mottola <[email protected]> |
| 66 |
|
| 67 |
* Framework/Pantomime/CWCacheManager.h |
| 68 |
* Framework/Pantomime/CWCacheManager.m |
| 69 |
* Framework/Pantomime/CWPOP3CacheManager.m |
| 70 |
Declare expunge method in CWCacheManager and provide a dummy implementation for POP3Cache where it is currently not used. |
| 71 |
|
| 72 |
2020-01-07 Riccardo Mottola <[email protected]> |
| 73 |
|
| 74 |
* Framework/Pantomime/CWLocalFolder+maildir.m |
| 75 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 76 |
Revert previous commit - call expunge indeed, which is a CWLocalCacheManager method. |
| 77 |
|
| 78 |
2020-01-06 Riccardo Mottola <[email protected]> |
| 79 |
|
| 80 |
* Framework/Pantomime/CWPOP3Folder.m |
| 81 |
Fix signedness in retain period interval. |
| 82 |
|
| 83 |
2020-01-06 Riccardo Mottola <[email protected]> |
| 84 |
|
| 85 |
* Framework/Pantomime/CWMessage.m |
| 86 |
explicit recipient type to PantomimeRecipientType |
| 87 |
|
| 88 |
2020-01-05 Riccardo Mottola <[email protected]> |
| 89 |
|
| 90 |
* Framework/Pantomime/CWLocalFolder+maildir.m |
| 91 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 92 |
Actually call synchronize on the CacheManager, not expunge which is a Folder method. |
| 93 |
|
| 94 |
2020-01-05 Riccardo Mottola <[email protected]> |
| 95 |
|
| 96 |
* Framework/Pantomime/CWFolder.h |
| 97 |
* Framework/Pantomime/CWIMAPFolder.m |
| 98 |
* Framework/Pantomime/CWLocalFolder+maildir.m |
| 99 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 100 |
* Framework/Pantomime/CWPOP3Folder.m |
| 101 |
Explicit CacheManager instead of id and use appropriate casts in subclasses. |
| 102 |
|
| 103 |
2019-12-01 Riccardo Mottola <[email protected]> |
| 104 |
|
| 105 |
* Framework/Pantomime/io.h |
| 106 |
* Framework/Pantomime/io.m |
| 107 |
* Framework/Pantomime/CWLocalCacheManager.h |
| 108 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 109 |
Clean-up some types, use fileSize to get size directly. |
| 110 |
|
| 111 |
2019-11-11 Riccardo Mottola <[email protected]> |
| 112 |
|
| 113 |
* Framework/Pantomime/CWParser.m |
| 114 |
Clean up types a little bit. |
| 115 |
|
| 116 |
2019-05-27 Riccardo Mottola <[email protected]> |
| 117 |
|
| 118 |
* Framework/Pantomime/NSString+Extensions.m |
| 119 |
No need to use isa, class is more than enough! |
| 120 |
|
| 121 |
2019-03-07 Riccardo Mottola <[email protected]> |
| 122 |
|
| 123 |
* Framework/Pantomime/NSData+Extensions.m: (decodeBase64:) |
| 124 |
Check first for broken content, to avoid working for nothing, |
| 125 |
change lengths to unsigned. |
| 126 |
|
| 127 |
2019-03-06 Riccardo Mottola <[email protected]> |
| 128 |
|
| 129 |
* Framework/Pantomime/CWMessage.h |
| 130 |
* Framework/Pantomime/CWMessage.m |
| 131 |
Return NSUInteger instead of unsigned. |
| 132 |
|
| 133 |
2018-05-30 Riccardo Mottola <[email protected]> |
| 134 |
|
| 135 |
* Framework/Pantomime/CWStore.h |
| 136 |
* Framework/Pantomime/CWIMAPStore.m |
| 137 |
* Framework/Pantomime/CWPOP3Store.m |
| 138 |
* Framework/Pantomime/CWLocalStore.m |
| 139 |
folderSeparator - return unichar |
| 140 |
|
| 141 |
2018-05-29 Riccardo Mottola <[email protected]> |
| 142 |
|
| 143 |
* Framework/Pantomime/CWDNSManager.m |
| 144 |
Clean up code slightly and improve unsigned type usage. |
| 145 |
|
| 146 |
2018-04-30 Riccardo Mottola <[email protected]> |
| 147 |
|
| 148 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 149 |
Local variable for better type cast. |
| 150 |
|
| 151 |
2018-04-19 Riccardo Mottola <[email protected]> |
| 152 |
|
| 153 |
* Framework/Pantomime/CWMessage.m: (reply:) |
| 154 |
Fix signatore sig-dash detection and make it RFC compliant. |
| 155 |
|
| 156 |
2018-04-17 Riccardo Mottola <[email protected]> |
| 157 |
|
| 158 |
* Framework/Pantomime/NSString+Extensions.m: convertToNSStringEncoding:) |
| 159 |
Correct conversion, in case of CF encoding, add some manually tweaked IANA mappings. |
| 160 |
|
| 161 |
2018-04-17 Riccardo Mottola <[email protected]> |
| 162 |
|
| 163 |
* Framework/Pantomime/NSString+Extensions.h |
| 164 |
* Framework/Pantomime/NSString+Extensions.m: |
| 165 |
use unsigned long to return encoding, which may be mixed between NS and CF |
| 166 |
|
| 167 |
2018-04-12 Riccardo Mottola <[email protected]> |
| 168 |
|
| 169 |
* Framework/Pantomime/CWIMAPCacheManager.h |
| 170 |
* Framework/Pantomime/CWIMAPCacheManager.m: (initWithPath: folder:) |
| 171 |
Expose method in header and type folder to CWFolder* |
| 172 |
|
| 173 |
2018-04-12 Riccardo Mottola <[email protected]> |
| 174 |
|
| 175 |
* Framework/Pantomime/NSString+Extensions.m: (stringWithData: charset:) |
| 176 |
Fix usage of iconv, use pointer returned by realloc(), handle grow of buffer and finally avoid shrinking at all by initing NSString with NSData inited with freeWhenDone:NO |
| 177 |
|
| 178 |
2018-04-02 Riccardo Mottola <[email protected]> |
| 179 |
|
| 180 |
* Framework/Pantomime/CWLocalStore.m: (folderForName) |
| 181 |
When calling folderForName automatically set up cache and load all messages |
| 182 |
|
| 183 |
2018-03-30 Riccardo Mottola <[email protected]> |
| 184 |
|
| 185 |
* Framework/Pantomime/CWLocalFolder.m: |
| 186 |
Rewrite appendMessageFromRawSource by splitting it in two and handling errors better. appendMessageFromRawSource toStream works agnostic the way different mailboxes open the stream and the caller closes or rewinds the file according. |
| 187 |
|
| 188 |
2018-03-29 Riccardo Mottola <[email protected]> |
| 189 |
|
| 190 |
* Framework/Pantomime/NSData+Extensions.m: |
| 191 |
Handle better empty or null strings and data. |
| 192 |
|
| 193 |
2018-03-29 Riccardo Mottola <[email protected]> |
| 194 |
|
| 195 |
* Framework/Pantomime/NSData+Extensions.m: (dataByTrimmingWhiteSpaces) |
| 196 |
Return empty NSData in case of empty or space-only data. Previously, space only data returned as-is. |
| 197 |
|
| 198 |
* Framework/Pantomime/CWParser.m |
| 199 |
Handle case of empty data better. |
| 200 |
|
| 201 |
* Framework/Pantomime/CWInternetAddress.m: (initWithString) |
| 202 |
Check for empty string and safer init code for failed super init. |
| 203 |
|
| 204 |
2018-03-29 Riccardo Mottola <[email protected]> |
| 205 |
|
| 206 |
* Framework/Pantomime/NSData+Extensions.m: (dataByTrimmingWhiteSpaces) |
| 207 |
Fix back-search index and also optimize for all-spaces string. |
| 208 |
|
| 209 |
2018-03-28 Riccardo Mottola <[email protected]> |
| 210 |
|
| 211 |
* Framework/Pantomime/CWLocalFolder.m: |
| 212 |
Do not close stream for mbox storage (fix bug #51852 and possibly #53063) |
| 213 |
|
| 214 |
2018-03-22 Riccardo Mottola <[email protected]> |
| 215 |
|
| 216 |
* Framework/Pantomime/io.h |
| 217 |
* Framework/Pantomime/io.m: |
| 218 |
Make read_unsigned_int and read_string return bytes read and return negative on error. |
| 219 |
|
| 220 |
* CWIMAPCacheManager.m |
| 221 |
* CWLocalCacheManager.m |
| 222 |
* CWPOP3CacheManager.m |
| 223 |
Adapt to new methods returning error. |
| 224 |
|
| 225 |
2018-03-21 Riccardo Mottola <[email protected]> |
| 226 |
|
| 227 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 228 |
* Framework/Pantomime/io.h |
| 229 |
* Framework/Pantomime/io.m |
| 230 |
add write_data function and use it to write record fields (no need to pass length) |
| 231 |
|
| 232 |
2018-03-20 Riccardo Mottola <[email protected]> |
| 233 |
|
| 234 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 235 |
* Framework/Pantomime/CWLocalMessage.h |
| 236 |
* Framework/Pantomime/CWLocalMessage.m |
| 237 |
Change also Local to cache_record initialization. |
| 238 |
|
| 239 |
2018-03-18 Riccardo Mottola <[email protected]> |
| 240 |
|
| 241 |
* io.m |
| 242 |
* io.h |
| 243 |
use uint32_t and uint16_t instead of int and short. |
| 244 |
|
| 245 |
* Framework/Pantomime/CWLocalMessage.h |
| 246 |
* Framework/Pantomime/CWLocalMessage.m |
| 247 |
adapt file length to long |
| 248 |
|
| 249 |
2018-03-18 Riccardo Mottola <[email protected]> |
| 250 |
|
| 251 |
* io.m |
| 252 |
* io.h |
| 253 |
make read_string_memory return an NSString* instead of working on a char* buffer. |
| 254 |
|
| 255 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 256 |
Use the new function. |
| 257 |
|
| 258 |
2018-03-17 Riccardo Mottola <[email protected]> |
| 259 |
|
| 260 |
* Framework/Pantomime/CWLocalCacheManager.h |
| 261 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 262 |
* Framework/Pantomime/CWIMAPCacheManager.h |
| 263 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 264 |
Rename initInRange readMessagesInRange and implement readAllMessages as a convenience method. |
| 265 |
|
| 266 |
2018-03-17 Riccardo Mottola <[email protected]> |
| 267 |
|
| 268 |
* io.m (renamed from io.c) |
| 269 |
* io.h |
| 270 |
Add read_data_memory method to return directly an NSData object instead of passing through a string. |
| 271 |
|
| 272 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 273 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 274 |
Use read_data_memory instead of read_string_memory. |
| 275 |
|
| 276 |
2018-03-17 Riccardo Mottola <[email protected]> |
| 277 |
|
| 278 |
* io.c |
| 279 |
Clean up byte swapping: use htonl instead of hard-coded ifdef and do not swap twice. |
| 280 |
|
| 281 |
2018-03-17 Riccardo Mottola <[email protected]> |
| 282 |
|
| 283 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 284 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 285 |
Clean up types, define a specific record_length variable and do not abuse of len, used for single chunks. |
| 286 |
|
| 287 |
2018-03-17 Riccardo Mottola <[email protected]> |
| 288 |
|
| 289 |
* Framework/Pantomime/CWIMAPMessage.m |
| 290 |
* Framework/Pantomime/CWIMAPMessage.h |
| 291 |
new initWithCacheRecord method. |
| 292 |
|
| 293 |
* Framework/Pantomime/CWIMAPCacheManager.m (initInRange) |
| 294 |
Read message in a cache_record and use the new initWithCacheRecord |
| 295 |
|
| 296 |
2018-03-16 Riccardo Mottola <[email protected]> |
| 297 |
|
| 298 |
* Framework/Pantomime/CWLocalMessage.m |
| 299 |
* Framework/Pantomime/CWMessage.m |
| 300 |
* Framework/Pantomime/CWPart.m |
| 301 |
Clean up and put setVersion in initialize method. |
| 302 |
|
| 303 |
2018-03-15 Riccardo Mottola <[email protected]> |
| 304 |
|
| 305 |
* Framework/Pantomime/CWMessage.m |
| 306 |
Init only if self is valid and do not realloc properties and recipients, already allocated in super. |
| 307 |
|
| 308 |
2018-03-02 Riccardo Mottola <[email protected]> |
| 309 |
|
| 310 |
* Framework/Pantomime/NSString+Extensions.h |
| 311 |
* Framework/Pantomime/NSString+Extensions.m |
| 312 |
indexOfLastCharacter: method to look for the last occourence instead of the first. |
| 313 |
|
| 314 |
* Framework/Pantomime/CWInternetAddress.m (initWithString:): |
| 315 |
Fix parsing of personal part with double nested parentheses. |
| 316 |
|
| 317 |
2018-03-01 Riccardo Mottola <[email protected]> |
| 318 |
|
| 319 |
* Framework/Pantomime/CWInternetAddress.m (initWithString:): |
| 320 |
Fix parsing of addresses where the personal part contains angle brackets (another address) by looking for the address start from the end. |
| 321 |
|
| 322 |
2018-02-19 Riccardo Mottola <[email protected]> |
| 323 |
|
| 324 |
* Framework/Pantomime/CWInternetAddress.m (initWithString:): |
| 325 |
Handle quotes more generally, unquoting only specific known cases here the |
| 326 |
Personal part starts with a " |
| 327 |
|
| 328 |
2018-02-17 Riccardo Mottola <[email protected]> |
| 329 |
|
| 330 |
* Framework/Pantomime/CWInternetAddress.m (initWithString:): |
| 331 |
Unescape also quotes in the name part |
| 332 |
|
| 333 |
2018-02-17 Riccardo Mottola <[email protected]> |
| 334 |
|
| 335 |
* Framework/Pantomime/CWFlags.m |
| 336 |
Better init and copy code. |
| 337 |
|
| 338 |
2018-02-12 Riccardo Mottola <[email protected]> |
| 339 |
|
| 340 |
* Framework/Pantomime/CWMessage.m |
| 341 |
Consider a message without content-type as text/plain (also for forwarding) |
| 342 |
|
| 343 |
2018-02-11 Riccardo Mottola <[email protected]> |
| 344 |
|
| 345 |
* Framework/Pantomime/CWMessage.m |
| 346 |
* Framework/Pantomime/CWPart.m |
| 347 |
Consider a message without content-type as text/plain |
| 348 |
|
| 349 |
2018-02-09 Riccardo Mottola <[email protected]> |
| 350 |
|
| 351 |
* Framework/Pantomime/NSData+Extensions.h |
| 352 |
* Framework/Pantomime/NSData+Extensions.m |
| 353 |
Further unsigned conversion. |
| 354 |
|
| 355 |
2018-02-09 Riccardo Mottola <[email protected]> |
| 356 |
|
| 357 |
* Framework/Pantomime/NSData+Extensions.h |
| 358 |
* Framework/Pantomime/NSData+Extensions.m |
| 359 |
NSUInteger conversions, safety checks for quote levels |
| 360 |
|
| 361 |
2018-02-08 Riccardo Mottola <[email protected]> |
| 362 |
|
| 363 |
* Framework/Pantomime/CWParser.m |
| 364 |
* Framework/Pantomime/CWLocalStore.m |
| 365 |
* Framework/Pantomime/CWMessage.m |
| 366 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 367 |
NSUInteger conversions as well as unsigned coding/decoding |
| 368 |
|
| 369 |
* Framework/Pantomime/CWMIMEUtility.m |
| 370 |
Cast time type to long to be safe. |
| 371 |
|
| 372 |
2018-02-05 Riccardo Mottola <[email protected]> |
| 373 |
|
| 374 |
* Framework/Pantomime/NSString+Extensions.h |
| 375 |
* Framework/Pantomime/NSString+Extensions.m |
| 376 |
Make parameter an unichar. |
| 377 |
|
| 378 |
* Framework/Pantomime/CWIMAPStore.h |
| 379 |
Make separator an unichar. |
| 380 |
|
| 381 |
2018-01-10 Riccardo Mottola <[email protected]> |
| 382 |
|
| 383 |
* Framework/Pantomime/NSData+Extensions.m (rangeOfCString): |
| 384 |
If C String can'tbe contained in NSData because of length, return not found. |
| 385 |
* Framework/Pantomime/CWMessage.m: |
| 386 |
Check for location and length to see if something was found. |
| 387 |
|
| 388 |
2018-01-10 Riccardo Mottola <[email protected]> |
| 389 |
|
| 390 |
* Framework/Pantomime/CWParser.m: |
| 391 |
Fix error, checking for not found was converted wrong from -1 to NSNotFound |
| 392 |
|
| 393 |
2018-01-05 Riccardo Mottola <[email protected]> |
| 394 |
|
| 395 |
* Framework/Pantomime/CWService.m |
| 396 |
Minor NSUInteger transitions |
| 397 |
|
| 398 |
2018-01-03 Riccardo Mottola <[email protected]> |
| 399 |
|
| 400 |
* Framework/Pantomime/CWParser.m: |
| 401 |
Put a default case and log the unexpected type condition. |
| 402 |
|
| 403 |
2017-12-29 Riccardo Mottola <[email protected]> |
| 404 |
|
| 405 |
* Framework/Pantomime/CWMIMEMultipart.h |
| 406 |
* Framework/Pantomime/CWMIMEMultipart.m |
| 407 |
Index as unsigned NSUInteger |
| 408 |
|
| 409 |
* Framework/Pantomime/CWLocalFolder+maildir.m |
| 410 |
* Framework/Pantomime/CWLocalFolder.m |
| 411 |
* Framework/Pantomime/CWDNSManager.m |
| 412 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 413 |
* Framework/Pantomime/CWIMAPFolder.m |
| 414 |
NSUInteger conversions |
| 415 |
|
| 416 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 417 |
Transition to NSUInteger and also cast doubles to integer types explicitely. |
| 418 |
|
| 419 |
2017-12-28 Riccardo Mottola <[email protected]> |
| 420 |
|
| 421 |
* Framework/Pantomime/CWPOP3Store.m |
| 422 |
Cast types to match scanf unsigned long format |
| 423 |
|
| 424 |
2017-12-28 Riccardo Mottola <[email protected]> |
| 425 |
|
| 426 |
* Framework/Pantomime/NSString+Extensions.m: (charset) |
| 427 |
Only return available Charsets on MacOS. |
| 428 |
|
| 429 |
2017-12-27 Riccardo Mottola <[email protected]> |
| 430 |
|
| 431 |
* Framework/Pantomime/NSString+Extensions.m: |
| 432 |
Cleanup charset find code with nested loops and change charset priority order. |
| 433 |
|
| 434 |
2017-12-25 Riccardo Mottola <[email protected]> |
| 435 |
|
| 436 |
* Framework/Pantomime/CWPart.h: |
| 437 |
* Framework/Pantomime/CWPart.m: |
| 438 |
* Framework/Pantomime/NSString+Extensions.m: |
| 439 |
* Framework/Pantomime/CWService.h: |
| 440 |
* Framework/Pantomime/CWPOP3Folder.h: |
| 441 |
* Framework/Pantomime/CWPOP3Folder.m: |
| 442 |
* Framework/Pantomime/CWPOP3Store.m: |
| 443 |
* Framework/Pantomime/CWFolder.h: |
| 444 |
* Framework/Pantomime/CWFolder.m: |
| 445 |
* Framework/Pantomime/CWMIMEUtility.m: |
| 446 |
* Framework/Pantomime/CWIMAPStore.m: |
| 447 |
* Framework/Pantomime/CWIMAPCacheManager.m: |
| 448 |
* Framework/Pantomime/CWDNSManager.m: |
| 449 |
unsigned transitions |
| 450 |
|
| 451 |
* Framework/Pantomime/CWPart.m |
| 452 |
Safer init code. |
| 453 |
|
| 454 |
* Framework/Pantomime/CWConstants.h |
| 455 |
Add NSDebugLog |
| 456 |
|
| 457 |
2017-12-24 Riccardo Mottola <[email protected]> |
| 458 |
|
| 459 |
* Framework/Pantomime/CWFolderInformation.h |
| 460 |
* Framework/Pantomime/CWFolderInformation.m: |
| 461 |
Unsigned coversion for message count and folder size. |
| 462 |
|
| 463 |
2017-12-24 Riccardo Mottola <[email protected]> |
| 464 |
|
| 465 |
* Framework/Pantomime/CWMIMEUtility.m |
| 466 |
When decoding header do not loose last character(s) after quoted insert. |
| 467 |
|
| 468 |
2017-12-23 Riccardo Mottola <[email protected]> |
| 469 |
|
| 470 |
* Framework/Pantomime/CWInternetAddress.m |
| 471 |
Improve not found check and print a Log in case personal part was not pasrseable. |
| 472 |
|
| 473 |
2017-12-19 Riccardo Mottola <[email protected]> |
| 474 |
|
| 475 |
* Framework/Pantomime/CWInternetAddress.m |
| 476 |
* Framework/Pantomime/CWLocalFolder+maildir.m |
| 477 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 478 |
* Framework/Pantomime/CWParser.m |
| 479 |
* Framework/Pantomime/NSData+Extensions.h |
| 480 |
* Framework/Pantomime/NSData+Extensions.m |
| 481 |
* Framework/Pantomime/NSString+Extensions.h |
| 482 |
* Framework/Pantomime/NSString+Extensions.m |
| 483 |
Make characterAtIndex return NSNotFound and NSUInteger instead of -1 and int |
| 484 |
|
| 485 |
2017-03-31 Riccardo Mottola <[email protected]> |
| 486 |
|
| 487 |
* Framework/Pantomime/CWLocalFolder.m |
| 488 |
Close stream. |
| 489 |
|
| 490 |
2017-03-28 Riccardo Mottola <[email protected]> |
| 491 |
|
| 492 |
* Framework/Pantomime/NSData+Extensions.m |
| 493 |
* Framework/Pantomime/NSString+Extensions.m |
| 494 |
Further NSUInteger transitions. Also, componentsSeparatedByCString returns nil if the string is empty. |
| 495 |
|
| 496 |
2017-03-28 Riccardo Mottola <[email protected]> |
| 497 |
|
| 498 |
* Framework/Pantomime/NSData+Extensions.m (characterAtIndex) |
| 499 |
Rewrite without loop with direct access. |
| 500 |
|
| 501 |
2017-03-28 Riccardo Mottola <[email protected]> |
| 502 |
|
| 503 |
* Framework/Pantomime/NSData+Extensions.m (dataByTrimmingWhiteSpaces) |
| 504 |
return self if data is empty. |
| 505 |
|
| 506 |
2017-03-28 Riccardo Mottola <[email protected]> |
| 507 |
|
| 508 |
* Framework/Pantomime/CWParser.m |
| 509 |
Remove unused variables. |
| 510 |
|
| 511 |
2017-03-27 Riccardo Mottola <[email protected]> |
| 512 |
|
| 513 |
* Framework/Pantomime/NSData+Extensions.h |
| 514 |
* Framework/Pantomime/NSData+Extensions.m |
| 515 |
more int->NSUInteger transitions. |
| 516 |
|
| 517 |
2017-03-24 Riccardo Mottola <[email protected]> |
| 518 |
|
| 519 |
* Framework/Pantomime/CWParser.m |
| 520 |
Refactor since skip of last comma gave sometimes an invalid range. |
| 521 |
|
| 522 |
* Framework/Pantomime/CWMIMEUtility.m |
| 523 |
int -> NSUInteger for lengths and locations |
| 524 |
|
| 525 |
2017-03-24 Riccardo Mottola <[email protected]> |
| 526 |
|
| 527 |
* Framework/Pantomime/NSData+Extensions.h |
| 528 |
* Framework/Pantomime/NSData+Extensions.m |
| 529 |
Make indexes NSUInteger as the underlying NSRange is. |
| 530 |
|
| 531 |
2017-03-17 Riccardo Mottola <[email protected]> |
| 532 |
|
| 533 |
* Framework/Pantomime/CWInternetAddress.m |
| 534 |
Pass through NSMutableString and do it only if something to escape exists. Becomes pre 10.5 compatible. |
| 535 |
|
| 536 |
2017-03-17 Riccardo Mottola <[email protected]> |
| 537 |
|
| 538 |
* Framework/Pantomime/CWInternetAddress.m |
| 539 |
Do not store personal name quoted, but quote on request (stringValue) |
| 540 |
|
| 541 |
2017-03-16 Riccardo Mottola <[email protected]> |
| 542 |
|
| 543 |
* Framework/Pantomime/CWInternetAddress.m |
| 544 |
Implement parsing of addresses in format: [email protected] (Joe User) |
| 545 |
|
| 546 |
2017-03-16 Riccardo Mottola <[email protected]> |
| 547 |
|
| 548 |
* Framework/Pantomime/CWInternetAddress.m |
| 549 |
Simplify quote parsing, more reliably remove quotes and insert some un-quoting. |
| 550 |
|
| 551 |
2017-03-16 Riccardo Mottola <[email protected]> |
| 552 |
|
| 553 |
* Framework/Pantomime/CWInternetAddress.m |
| 554 |
Refactor a, b into explicit index name (avoid aliasing) and check for closing " with NSBackwardsSearch. |
| 555 |
|
| 556 |
2017-03-16 Riccardo Mottola <[email protected]> |
| 557 |
|
| 558 |
* Framework/Pantomime/NSString+Extensions.h |
| 559 |
* Framework/Pantomime/NSString+Extensions.m |
| 560 |
Use NSUInteger/NSInteger instead of unsigned int / int. |
| 561 |
|
| 562 |
2016-11-30 Riccardo Mottola <[email protected]> |
| 563 |
|
| 564 |
* Framework/Pantomime/io.h |
| 565 |
* Framework/Pantomime/io.c |
| 566 |
* Framework/Pantomime/CWTCPConnection.m |
| 567 |
Use ssize_t and size_t instead of int. |
| 568 |
|
| 569 |
2016-07-06 Riccardo Mottola <[email protected]> |
| 570 |
|
| 571 |
* Framework/Pantomime/io.c (write_unsigned_int) |
| 572 |
More extended information on write_unsigned_int() error. |
| 573 |
|
| 574 |
2016-01-13 Riccardo Mottola <[email protected]> |
| 575 |
|
| 576 |
* Framework/Pantomime/CWMessage.h |
| 577 |
* Framework/Pantomime/CWMessage.m |
| 578 |
Use NSComparisonResult as a result, use unsignged int to store message numbers. |
| 579 |
|
| 580 |
* Framework/Pantomime/CWIMAPStore.m |
| 581 |
Check that the object is not nil or dereferencing a structure is wrong. |
| 582 |
|
| 583 |
2015-12-15 Riccardo Mottola <[email protected]> |
| 584 |
|
| 585 |
* Framework/Pantomime/NSData+Extensions.m (decodeQuotedPrintableInHeader) |
| 586 |
Ignore last = if data ends. |
| 587 |
|
| 588 |
2015-12-11 Riccardo Mottola <[email protected]> |
| 589 |
|
| 590 |
* Framework/Pantomime/CWParser.m |
| 591 |
If no charset is found, still return a NSString and not NSData; furthermore, |
| 592 |
fix off-by one errors when skipping *= |
| 593 |
|
| 594 |
2015-12-01 Riccardo Mottola <[email protected]> |
| 595 |
|
| 596 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 597 |
fgets() returns NULL on error, but the static array aLine can never be NULL. |
| 598 |
|
| 599 |
2015-11-20 Riccardo Mottola <[email protected]> |
| 600 |
|
| 601 |
* Framework/Pantomime/CWParser.m |
| 602 |
Get the charset without the language bit |
| 603 |
Patch suggested by Andreas Schik. |
| 604 |
|
| 605 |
2015-11-20 Riccardo Mottola <[email protected]> |
| 606 |
|
| 607 |
* Framework/Pantomime/CWParser.m |
| 608 |
Fix off by one when parsing lines after 1 and ; terminated. |
| 609 |
Patch suggested by Andreas Schik. |
| 610 |
|
| 611 |
2015-11-20 Riccardo Mottola <[email protected]> |
| 612 |
|
| 613 |
* Framework/Pantomime/CWParser.m |
| 614 |
Check for * when looking for character extension in multi-line encoding. |
| 615 |
Patch suggested by Andreas Schik. |
| 616 |
|
| 617 |
2015-01-29 Riccardo Mottola <[email protected]> |
| 618 |
|
| 619 |
* Framework/Pantomime/CWParser.m |
| 620 |
Fix initializations, avoid warnings. |
| 621 |
|
| 622 |
2014-07-25 Riccardo Mottola <[email protected]> |
| 623 |
|
| 624 |
* Framework/Pantomime/NSString+Extensions.m |
| 625 |
Fix warning on FreeBSD too |
| 626 |
|
| 627 |
2014-06-15 Riccardo Mottola <[email protected]> |
| 628 |
|
| 629 |
* Framework/Pantomime/io.c |
| 630 |
Fix cast to signed ssize_t or error cannot be checked. |
| 631 |
|
| 632 |
* Framework/Pantomime/CWIMAPStore.m |
| 633 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 634 |
* Framework/Pantomime/CWMIMEUtility.m |
| 635 |
Cast safely and properly chars to int. |
| 636 |
|
| 637 |
2014-06-12 Riccardo Mottola <[email protected]> |
| 638 |
|
| 639 |
* Framework/Pantomime/CWPOP3Folder.m |
| 640 |
Rewrite not to misues NSDate as NSCalendarDate, but to use only NSDate only. |
| 641 |
|
| 642 |
2014-06-12 Riccardo Mottola <[email protected]> |
| 643 |
|
| 644 |
* Framework/Pantomime/io.c |
| 645 |
Better check for fread() results and print some info. |
| 646 |
|
| 647 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 648 |
Fix recently introduced stuid bug of double ftruncate() |
| 649 |
|
| 650 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 651 |
Add minor debug logs. |
| 652 |
|
| 653 |
2014-06-12 Riccardo Mottola <[email protected]> |
| 654 |
|
| 655 |
* Framework/Pantomime/NSString+Extensions.m |
| 656 |
Fix iconv cast. |
| 657 |
|
| 658 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 659 |
Check for file function return values. |
| 660 |
|
| 661 |
2014-06-11 Riccardo Mottola <[email protected]> |
| 662 |
|
| 663 |
* Framework/Pantomime/NSString+Extensions.m |
| 664 |
in case of realloc() failure, return |
| 665 |
|
| 666 |
2014-06-09 Riccardo Mottola <[email protected]> |
| 667 |
|
| 668 |
* Framework/Pantomime/GNUmakefile |
| 669 |
Use LIBRARIES_DEPEND_UPON instead of ADDITIONAL_LDFLAGS. Extended version of Yavor Doganov's patch. |
| 670 |
|
| 671 |
2014-06-09 Riccardo Mottola <[email protected]> |
| 672 |
|
| 673 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 674 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 675 |
Check for write() writing the requested number of bytes. |
| 676 |
|
| 677 |
2014-06-09 Riccardo Mottola <[email protected]> |
| 678 |
|
| 679 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 680 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 681 |
* Framework/Pantomime/CWPOP3CacheManager.m |
| 682 |
check for ftruncate() return values. Extended rewrite of Yavor Doganov's patch. |
| 683 |
|
| 684 |
2014-01-12: Sebastian Reitenbach <[email protected]> |
| 685 |
* Framework/Pantomime/io.c |
| 686 |
* remove a commented out line and comment out printf debug string |
| 687 |
|
| 688 |
2014-01-10 Riccardo Mottola <[email protected]> |
| 689 |
|
| 690 |
* Framework/Pantomime/NSData+Extensions.m |
| 691 |
Inizialize char and throw an Exception if non-hex data is supplied. |
| 692 |
|
| 693 |
2014-01-05 German Arias <[email protected]> |
| 694 |
|
| 695 |
* Framework/Pantomime/NSData+Extensions.m (-unwrapWithLimit:): Revert |
| 696 |
last change. |
| 697 |
|
| 698 |
2014-01-04 German Arias <[email protected]> |
| 699 |
|
| 700 |
* Framework/Pantomime/CWParser.m (+_parameterValueUsingLine:range: |
| 701 |
decode:charset:): Ensure the length isn't a negative value. |
| 702 |
|
| 703 |
2014-01-02 German Arias <[email protected]> |
| 704 |
|
| 705 |
* Framework/Pantomime/NSData+Extensions.m (-unwrapWithLimit:): Use |
| 706 |
-setLength:, not -replaceBytesInRange:withBytes:length: which don't |
| 707 |
allows read the message. |
| 708 |
|
| 709 |
2013-12-30 Riccardo Mottola <[email protected]> |
| 710 |
|
| 711 |
* Framework/Pantomime/NSData+Extensions.m |
| 712 |
Revert patch that broke extended char decoding. |
| 713 |
|
| 714 |
2013-11-01 Sebastian Reitenbach <[email protected]> |
| 715 |
* Framework/Pantomime/NSData+Extensions.m |
| 716 |
* fix memory leak |
| 717 |
|
| 718 |
2013-11-01 Sebastian Reitenbach <[email protected]> |
| 719 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 720 |
* fix mem leak introduced with one of the last commits |
| 721 |
* Framework/Pantomime/CWSendmail.m |
| 722 |
* Framework/Pantomime/CWSMTP.m |
| 723 |
* introduce a _fail method to CWSMTP private category, and |
| 724 |
make the code similar to CWSendmail for better comparison, and |
| 725 |
fix potential initialization of dictionary with nil object |
| 726 |
* fix mem leak introduced in last commit to both files |
| 727 |
* Framework/Pantomime/CWIMAPStore.m |
| 728 |
* prevent initializing dictionary with nil object |
| 729 |
|
| 730 |
2013-10-31 Sebastian Reitenbach <[email protected]> |
| 731 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 732 |
* do not malloc( 0 or negative amount of memory) |
| 733 |
* do not memcpy( 0 or negative amount of bytes) |
| 734 |
* do not read( 0 or negative amount of bytes) |
| 735 |
* little reformatting |
| 736 |
* fixes a lot of crashers in GNUMail for me |
| 737 |
* Framework/Pantomime/CWIMAPFolder.m |
| 738 |
* initialize super correctly in init methods |
| 739 |
* Framework/Pantomime/CWLocalStore.m |
| 740 |
* remove unnecessary assignment |
| 741 |
* Framework/Pantomime/CWPOP3CacheManager.m |
| 742 |
* initialize super correctly in init methods |
| 743 |
* Framework/Pantomime/CWSendmail.m |
| 744 |
* do not autorelease too often, and line break fixes |
| 745 |
* Framework/Pantomime/CWPart.m |
| 746 |
* restructure init method a bit |
| 747 |
* Framework/Pantomime/CWIMAPStore.m |
| 748 |
* fix a couple of memory leaks |
| 749 |
* do not try to access uninitialized pointers |
| 750 |
* some line breaks |
| 751 |
|
| 752 |
2013-10-24 German Arias <[email protected]> |
| 753 |
|
| 754 |
* Framework/Pantomime/CWParser.m (_parameterValueUsingLine:...): |
| 755 |
Fix error when parse RFC2231 and don't assume that always are a |
| 756 |
language specified. |
| 757 |
|
| 758 |
2013-10-21: Sebastian Reitenbach <[email protected]> |
| 759 |
* Framework/Pantomime/CWDNSManager.m |
| 760 |
* Framework/Pantomime/CWIMAPStore.m |
| 761 |
* Framework/Pantomime/CWLocalFolder+mbox.m |
| 762 |
* Framework/Pantomime/CWLocalStore.m |
| 763 |
* Framework/Pantomime/CWMIMEUtility.m |
| 764 |
* Framework/Pantomime/CWMessage.m |
| 765 |
* Framework/Pantomime/CWParser.m |
| 766 |
* Framework/Pantomime/CWPart.m |
| 767 |
* Framework/Pantomime/NSData+Extensions.m |
| 768 |
* Framework/Pantomime/NSString+Extensions.m |
| 769 |
fix some problems reported by clang static analyzer |
| 770 |
|
| 771 |
2013-10-20: Sebastian Reitenbach <[email protected]> |
| 772 |
* Framework/Pantomime/CWIMAPFolder.m |
| 773 |
* Framework/Pantomime/CWLocalFolder.m |
| 774 |
* Framework/Pantomime/CWLocalStore.m |
| 775 |
* Framework/Pantomime/NSString+Extensions.m |
| 776 |
fix format strings and other few warnings emitted by clang |
| 777 |
* GNUmakefile |
| 778 |
add version variables to allow make dist to create a |
| 779 |
sane tarball |
| 780 |
* Framework/Pantomime/CWIMAPCacheManager.h |
| 781 |
* Framework/Pantomime/CWLocalCacheManager.h |
| 782 |
add - (void) initInRange: (NSRange) theRange; to the header, |
| 783 |
GNUMail is using it and otherwise whining about it |
| 784 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 785 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 786 |
* Framework/Pantomime/CWLocalFolder.m |
| 787 |
get rid of some useless assignments spotty by clang static |
| 788 |
analyzer |
| 789 |
|
| 790 |
2013-05-26: Sebastian Reitenbach <[email protected]> |
| 791 |
* Framework/Pantomime/CWService.m |
| 792 |
fix tautological compare, and fix comment |
| 793 |
* Framework/Pantomime/CWMD5.m |
| 794 |
use memset correctly |
| 795 |
|
| 796 |
2013-04-27 Riccardo Mottola <[email protected]> |
| 797 |
|
| 798 |
* Framework/Pantomime/CWDNSManager.h |
| 799 |
Fix count to NSUInteger. |
| 800 |
|
| 801 |
* Framework/Pantomime/CWFolder.[h,m] |
| 802 |
Fix count to NSUInteger. |
| 803 |
|
| 804 |
2013-03-04: Sebastian Reitenbach <[email protected]> |
| 805 |
* Framework/Pantomime/NSString+Extensions.m |
| 806 |
make comparison work on 64 bit |
| 807 |
* Framework/Pantomime/CWCacheManager.h |
| 808 |
* Framework/Pantomime/CWDNSManager.h |
| 809 |
* Framework/Pantomime/CWFolder.h |
| 810 |
* Framework/Pantomime/CWIMAPCacheManager.[h|m] |
| 811 |
* Framework/Pantomime/CWIMAPMessage.h |
| 812 |
* Framework/Pantomime/CWMIMEMultipart.[h|m] |
| 813 |
some int -> NS(U)Integer transitions |
| 814 |
* Framework/Pantomime/CWIMAPMessage.h |
| 815 |
* Framework/Pantomime/CWIMAPMessage.m |
| 816 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 817 |
some transitions missed |
| 818 |
|
| 819 |
2013-02-24: Sebastian Reitenbach <[email protected]> |
| 820 |
* Framework/Pantomime/CWIMAPCacheManager.m |
| 821 |
* Framework/Pantomime/CWLocalCacheManager.m |
| 822 |
* Framework/Pantomime/CWMessage.m |
| 823 |
* Framework/Pantomime/CWPOP3Folder.m |
| 824 |
* Framework/Pantomime/CWPart.m |
| 825 |
* Framework/Pantomime/CWService.m |
| 826 |
* Fix warnings found with clang |
| 827 |
|
| 828 |
2012-08-15: Sebastian Reitenbach <[email protected]> |
| 829 |
|
| 830 |
* Framework/Pantomime/io.c |
| 831 |
include missing header |
| 832 |
|
| 833 |
2012-05-21 Riccardo Mottola <[email protected]> |
| 834 |
|
| 835 |
* Framework/Pantomime/CWDNSManager.m |
| 836 |
Fix warning. |
| 837 |
|
| 838 |
2012-04-13 Riccardo Mottola <[email protected]> |
| 839 |
|
| 840 |
* Framework/Pantomime/CWDNSManager.m |
| 841 |
Use res_ninit() on NetBSD to fix long-standing incompatibility |
| 842 |
|
| 843 |
2011-06-04 German Arias <[email protected]> |
| 844 |
|
| 845 |
* Framework/Pantomime/NSString+Extensions.m: Removed GNUstepBase/ |
| 846 |
GSCategories.h and added GNUstepBase/Additions.h. |
| 847 |
|
| 848 |
2011-06-01 German Arias <[email protected]> |
| 849 |
|
| 850 |
* GNA: Initial repository at gna.org. |
| 851 |
|
| 852 |
Copyright (C) 2011-2017 German Arias, Sebastian Reitenbach, Riccardo Mottola and others |
| 853 |
|
| 854 |
This file is part of Pantomime |
| 855 |
|
| 856 |
This library is free software; you can redistribute it and/or |
| 857 |
modify it under the terms of the GNU Lesser General Public |
| 858 |
License as published by the Free Software Foundation; either |
| 859 |
version 2.1 of the License, or (at your option) any later version. |
| 860 |
|
| 861 |
This library is distributed in the hope that it will be useful, |
| 862 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 863 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 864 |
Lesser General Public License for more details. |
| 865 |
|
| 866 |
You should have received a copy of the GNU General Public License |
| 867 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |