Comment: | Save a few bytes on the encodings |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8ae231f5154ec101221c79fd04f9d0fc |
User & Date: | js on 2017-02-12 13:33:37 |
Other Links: | manifest | tags |
2017-02-12
| ||
16:26 | More efficient UTF-8 -> ISO-8859-2 conversion check-in: 66c759859a user: js tags: trunk | |
13:33 | Save a few bytes on the encodings check-in: 8ae231f515 user: js tags: trunk | |
09:33 | ofzip: Nicer error message when seeking fails check-in: 32a5446a7f user: js tags: trunk | |
Modified src/OFString_UTF8.m from [b5d78abf98] to [4a1023ff16].
︙ | |||
34 35 36 37 38 39 40 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + | #import "OFInvalidFormatException.h" #import "OFOutOfMemoryException.h" #import "OFOutOfRangeException.h" #import "of_asprintf.h" #import "unicode.h" |
︙ | |||
218 219 220 221 222 223 224 | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | - + | encoding: (of_string_encoding_t)encoding length: (size_t)cStringLength { self = [super init]; @try { const of_char16_t *table; |
︙ | |||
290 291 292 293 294 295 296 | 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | - - - - + + + + + + + - + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - - + - - + + + - - + - + - + - + - + - - + - + - - + + | _s->cString[_s->cStringLength] = 0; return self; } switch (encoding) { |
︙ |
Modified src/encodings/codepage_437.m from [91f16dfa9a] to [c2c354bb49].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/codepage_850.m from [439cbe0d6e] to [45087484af].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/codepage_858.m from [af62f33273] to [c7b9f04e27].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/iso_8859_15.m from [ea6f1172e2] to [e7f05e3dae].
︙ | |||
14 15 16 17 18 19 20 | 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 | - + - - - - + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/iso_8859_2.m from [2027f831bd] to [3c02c37635].
︙ | |||
14 15 16 17 18 19 20 | 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 | - + - - - - + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/iso_8859_3.m from [34c3f86b95] to [c69421d1b9].
︙ | |||
14 15 16 17 18 19 20 | 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 | - + - - - - + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/koi8_r.m from [7def00b22a] to [50cff4d7ad].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/koi8_u.m from [2867893b70] to [a607fc1f73].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/mac_roman.m from [bca8320e0e] to [c59a713077].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/windows_1251.m from [77ad44fe85] to [157cfc4141].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |
Modified src/encodings/windows_1252.m from [4e7a49cc4a] to [0b9f3c6c61].
︙ | |||
14 15 16 17 18 19 20 | 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 45 46 47 | - + + + | * file. */ #include "config.h" #import "OFString.h" |
︙ |