[pdf-devel] Unit tests for the pdf_time module

2008-09-28 Thread jemarch
Hi Anish. Any progress in the task of writing the unit tests for the time module?

[pdf-devel] Re: rldec eod management

2008-09-28 Thread jemarch
> It is ok then. The behaviour of the implementation is as expected. > Could you write a little unit test to consume the EOD marker? Sure, I send a patch at the end of this email. Applied, many thanks. BTW, It would be nice to document a bit more which error codes the Stream im

[pdf-devel] Re: rldec eod management

2008-09-28 Thread gerel
> Date: Mon, 29 Sep 2008 00:02:28 +0200 > From: [EMAIL PROTECTED] > > Hi Gerel. > >I think I know why it's not reaching there. It's particular to RL and we > may see >this behavior in other filters too. > >The thing is this, when you ask the filter to read N bytes, as soon

[pdf-devel] Re: rldec eod management

2008-09-28 Thread jemarch
Hi Gerel. I think I know why it's not reaching there. It's particular to RL and we may see this behavior in other filters too. The thing is this, when you ask the filter to read N bytes, as soon as you get the N bytes the apply() function isn't called anymore, leaving in this case

[pdf-devel] weekly post in the development blog

2008-09-28 Thread jemarch
FYI. As usual you can find the weekly post about the development of the project for this week in http://planet.gnu.org/gnupdf

[pdf-devel] Re: rldec eod management

2008-09-28 Thread gerel
I think I know why it's not reaching there. It's particular to RL and we may see this behavior in other filters too. The thing is this, when you ask the filter to read N bytes, as soon as you get the N bytes the apply() function isn't called anymore, leaving in this case the EOD marker. Other fil

[pdf-devel] Re: rldec eod management

2008-09-28 Thread gerel
> Date: Sun, 28 Sep 2008 13:59:10 +0200 > From: [EMAIL PROTECTED] > > Hi Gerel. Hey jemarch, > If you take a look to > http://www.gnupdf.org/prmgt/coverage/src/base/pdf-stm-f-rl.c.gcov.html > you will see that the lines 202 to 203 are not executed in the unit > tests: > >

[pdf-devel] [flyspray] JBIG2 filters implementation

2008-09-28 Thread GNU PDF Library
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. A new Flyspray task has been opened. Details are below. User who did this - Jose E. Marchesi (jemarch) Attached to Project - GNU PDF Library Summary - JBIG2 filters implementation Task Type - Planned Task Category - Stream Module Status - NEXT Ass

[pdf-devel] rldec eod management

2008-09-28 Thread jemarch
Hi Gerel. If you take a look to http://www.gnupdf.org/prmgt/coverage/src/base/pdf-stm-f-rl.c.gcov.html you will see that the lines 202 to 203 are not executed in the unit tests: : /* EOD mark */ 200 : else 201 : {

[pdf-devel] [flyspray] ASCII 85 Filter Implementation

2008-09-28 Thread GNU PDF Library
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has been changed. The changes are listed below. For full information about what has changed, visit the URL and click the History tab. FS#44 - ASCII 85 Filter Implementation User who did this: Jose E. Marchesi (jemarch) Status: NEX

[pdf-devel] support for rldec and rlenc in pdf-filter

2008-09-28 Thread jemarch
FYI. I just applied a patch to support the RunLength encoding and decoding filters in the pdf-filter utility.

Re: [pdf-devel] Patch for memcpy() replacements

2008-09-28 Thread jemarch
Hi Gerel. A patch to use memcpy() instead of strncpy() where it's not intended. Applied to the trunk. Many thanks.

Re: [pdf-devel] pdf-base and pdf-error minor fixes

2008-09-28 Thread jemarch
Hi Gerel. A patch to solve minor problems follow, I applied the patch to the trunk. Despite we are not using pdf-base.h in the code in the base layer, maybe we will find it useful in the object layer to include all the headers of the base layer modules. Thanks.

Re: [pdf-devel] Patch for RL filter and more

2008-09-28 Thread jemarch
Hi Gerel. Well, here is the patch for the RL filter only. Also did the modifications you asked. Applied in the trunk. Many thanks.

Re: [pdf-devel] pdf-base and pdf-error minor fixes

2008-09-28 Thread jemarch
Hi Gerel. +* src/base/pdf-base.h: added pdf-list, pdf-hash and pdf-stm APIs. http://lists.gnu.org/archive/html/pdf-devel/2008-07/msg00089.html