| 1 |
Examples |
| 2 |
======== |
| 3 |
|
| 4 |
Example 1 |
| 5 |
--------- |
| 6 |
|
| 7 |
.. literalinclude:: ../src/pptest1.c |
| 8 |
|
| 9 |
Example 2 |
| 10 |
--------- |
| 11 |
|
| 12 |
.. literalinclude:: ../src/pptest2.c |
| 13 |
|
| 14 |
Example 3 |
| 15 |
--------- |
| 16 |
|
| 17 |
.. literalinclude:: ../src/pptest3.c |
| 18 |
|
| 19 |
ppapi.h |
| 20 |
------- |
| 21 |
|
| 22 |
.. literalinclude:: ../src/ppapi.h |
| 23 |
|
| 24 |
|
| 25 |
Changes |
| 26 |
======= |
| 27 |
|
| 28 |
v0.97 |
| 29 |
----- |
| 30 |
First release integrated with luatex sources, plus portability changes from Luigi. |
| 31 |
|
| 32 |
v0.98 |
| 33 |
----- |
| 34 |
Changed references resolving in case of incremental updates; tech notes ppxref_find() in ppxref.c. |
| 35 |
|
| 36 |
v0.99 |
| 37 |
----- |
| 38 |
Fixed streams handling; null characters should NOT be gobbled after "stream" keyword |
| 39 |
|
| 40 |
v1.00 |
| 41 |
----- |
| 42 |
Fixed streams handling (Luigi); object streams updated before other streams |
| 43 |
Revised streams handling, ppstream API extended |
| 44 |
|
| 45 |
v1.01 |
| 46 |
----- |
| 47 |
Fixed names handling (thanks Hans); digits after '#' weren't skipped |
| 48 |
|
| 49 |
v1.02 |
| 50 |
----- |
| 51 |
Fixed page finder (thanks Luigi) |
| 52 |
|
| 53 |
v1.03 |
| 54 |
----- |
| 55 |
Fixed TIFF predictor (thanks folks) |
| 56 |
|
| 57 |
v1.04 |
| 58 |
----- |
| 59 |
Fixed TIFF predictor for ARM |
| 60 |
|
| 61 |
v1.05 |
| 62 |
----- |
| 63 |
Attempt to fix parsing inline images crap |
| 64 |
|
| 65 |
v2.00 |
| 66 |
----- |
| 67 |
Deep rework on allocators. |
| 68 |
Deep rework on strings and names. |
| 69 |
|
| 70 |
v2.01 |
| 71 |
----- |
| 72 |
Fixed invalid stream buffer handling; ``iof_discard()`` no longer reclaims the source (``filter->next``) filter. |
| 73 |
Sanity alignment adjustments in ``iof_heap``. |
| 74 |
|
| 75 |
v2.02 |
| 76 |
----- |
| 77 |
Fixed incorrect encoding of strings alterego with octal escaping, thanks Luigi. |
| 78 |
On Hans request added ``ppdoc_filehandle()`` function and ``ppdoc_file()`` macro for loading ppdoc from ``FILE *``. |
| 79 |
|
| 80 |
v2.03 |
| 81 |
----- |
| 82 |
Fixed alloc/free of ``ppdoc`` heap; ``ppdoc`` is now mallocated, no longer taken from its own heap. Again, thanks Luigi. |
| 83 |
Fixed warnings about dereferencing type-puned pointers, and some others. |
| 84 |
|
| 85 |
v2.04 |
| 86 |
----- |
| 87 |
Byte lookups for names/strings loaders are now int8_t, as char might be signed. |
| 88 |
ppdoc_first_page() / ppdoc_next_page() iterator now handles a case when /Kids array is empty. |
| 89 |
Fixed generating keys for encrypted streams; ppstring_internal() returns the string of the proper size. |
| 90 |
More stream tests in pptest3.c. |
| 91 |
Some rework on md5 and sha2. |
| 92 |
|
| 93 |
v2.05 |
| 94 |
----- |
| 95 |
uint8_t instead of ppbyte in internals; ppbyte intent is "the most natural 8-bit integer", so it is 'char', |
| 96 |
but internally we almost always need uint8_t (char may be signed or not..) |
| 97 |
|
| 98 |
v2.10 |
| 99 |
----- |
| 100 |
Rework on encryption; algorithms /V5 /R6. |
| 101 |
Passwords passed to ppdoc_crypt_pass() should be UTF-8 (backward incompatible). |