pdclib
11 years agoComment on v0.5 release origin/tags/v0.5 v0.5
solar [Wed, 22 Dec 2010 21:44:28 +0000 (21:44 +0000)]
Comment on v0.5 release

11 years agoBasic tests for %c, %s, %[ and %p.
solar [Mon, 20 Dec 2010 07:15:23 +0000 (07:15 +0000)]
Basic tests for %c, %s, %[ and %p.

11 years agoSome testcases for scanf(). Fixed bug with %*... . Fixed artifact in Makefile.
solar [Mon, 20 Dec 2010 05:17:35 +0000 (05:17 +0000)]
Some testcases for scanf(). Fixed bug with %*... . Fixed artifact in Makefile.

11 years agoMoved the macro magic into the common header.
solar [Fri, 17 Dec 2010 06:05:00 +0000 (06:05 +0000)]
Moved the macro magic into the common header.

11 years agoCleaning up TODOs.
solar [Thu, 16 Dec 2010 07:05:57 +0000 (07:05 +0000)]
Cleaning up TODOs.

11 years agoCleaning up TODOs.
solar [Thu, 16 Dec 2010 06:00:24 +0000 (06:00 +0000)]
Cleaning up TODOs.

11 years agoMore cleaning up.
solar [Wed, 15 Dec 2010 06:35:38 +0000 (06:35 +0000)]
More cleaning up.

11 years agoTightening the code a bit.
solar [Tue, 14 Dec 2010 12:09:18 +0000 (12:09 +0000)]
Tightening the code a bit.

11 years agoFixed safeguard calculation in ftell().
solar [Tue, 14 Dec 2010 06:16:35 +0000 (06:16 +0000)]
Fixed safeguard calculation in ftell().

11 years agoNine-to-five job calling, leaving this intermediate.
solar [Mon, 13 Dec 2010 07:40:43 +0000 (07:40 +0000)]
Nine-to-five job calling, leaving this intermediate.

11 years agoWhoops. That wouldn't have worked...
solar [Sun, 12 Dec 2010 21:32:44 +0000 (21:32 +0000)]
Whoops. That wouldn't have worked...

11 years agoEOL handling is for text mode conversion.
solar [Sat, 11 Dec 2010 09:16:11 +0000 (09:16 +0000)]
EOL handling is for text mode conversion.

11 years agoWe will cross that bridge when we come to it.
solar [Sat, 11 Dec 2010 09:14:39 +0000 (09:14 +0000)]
We will cross that bridge when we come to it.

11 years agoReplaced the dumb PATCHFILES with a smart for-find.
solar [Sat, 11 Dec 2010 09:12:24 +0000 (09:12 +0000)]
Replaced the dumb PATCHFILES with a smart for-find.

11 years agoAdded testdriver for signals, make links now including signal.h
solar [Fri, 10 Dec 2010 07:41:09 +0000 (07:41 +0000)]
Added testdriver for signals, make links now including signal.h

11 years agoAdjusted Makefile and svn:ignore for signal/.
solar [Fri, 10 Dec 2010 06:26:29 +0000 (06:26 +0000)]
Adjusted Makefile and svn:ignore for signal/.

11 years agoCompleted <signal.h>, and moved into platform.
solar [Fri, 10 Dec 2010 06:21:48 +0000 (06:21 +0000)]
Completed <signal.h>, and moved into platform.

11 years agoPut printf() / scanf() test macros in seperate header.
solar [Thu, 9 Dec 2010 07:14:21 +0000 (07:14 +0000)]
Put printf() / scanf() test macros in seperate header.

11 years agoPreliminary signal handling.
solar [Thu, 9 Dec 2010 07:13:57 +0000 (07:13 +0000)]
Preliminary signal handling.

11 years agoSVN properties cleanup.
solar [Thu, 9 Dec 2010 05:18:55 +0000 (05:18 +0000)]
SVN properties cleanup.

11 years agoReworked scanf() testing. General cleanups.
solar [Wed, 8 Dec 2010 05:53:09 +0000 (05:53 +0000)]
Reworked scanf() testing. General cleanups.

11 years agoTest drivers for fgetpos, fsetpos, and perror. Cannot really test closeall().
solar [Mon, 6 Dec 2010 21:21:45 +0000 (21:21 +0000)]
Test drivers for fgetpos, fsetpos, and perror. Cannot really test closeall().

11 years agofseek() test driver.
solar [Mon, 6 Dec 2010 19:54:29 +0000 (19:54 +0000)]
fseek() test driver.

11 years agoTest driver (and much-needed fixes) to fgets().
solar [Fri, 3 Dec 2010 05:59:00 +0000 (05:59 +0000)]
Test driver (and much-needed fixes) to fgets().

11 years agoTestdriver for gets(). Turns out fseek() was not tested yet.
solar [Thu, 2 Dec 2010 21:16:06 +0000 (21:16 +0000)]
Testdriver for gets(). Turns out fseek() was not tested yet.

11 years agoTestdriver for tmpfile().
solar [Thu, 2 Dec 2010 07:36:59 +0000 (07:36 +0000)]
Testdriver for tmpfile().

11 years agoTest driver for freopen().
solar [Thu, 2 Dec 2010 07:19:35 +0000 (07:19 +0000)]
Test driver for freopen().

11 years agoUsing constants for testfile names
solar [Thu, 2 Dec 2010 06:20:16 +0000 (06:20 +0000)]
Using constants for testfile names

11 years agoSwitched to tmpfile() where appropriate.
solar [Wed, 1 Dec 2010 22:01:42 +0000 (22:01 +0000)]
Switched to tmpfile() where appropriate.

11 years agoSome cleanups and corrected typos.
solar [Wed, 1 Dec 2010 21:34:16 +0000 (21:34 +0000)]
Some cleanups and corrected typos.

11 years ago*Much* better.
solar [Wed, 1 Dec 2010 21:05:43 +0000 (21:05 +0000)]
*Much* better.

11 years agoBetter error reporting on printf's.
solar [Tue, 30 Nov 2010 23:56:38 +0000 (23:56 +0000)]
Better error reporting on printf's.

11 years agoStatus review.
solar [Sun, 21 Nov 2010 12:17:15 +0000 (12:17 +0000)]
Status review.

11 years agoFixed broken filename handling in freopen().
solar [Sat, 20 Nov 2010 08:53:56 +0000 (08:53 +0000)]
Fixed broken filename handling in freopen().

11 years agoBug #39: fclose( stdout ) corrupts memory
solar [Sat, 20 Nov 2010 06:01:42 +0000 (06:01 +0000)]
Bug #39: fclose( stdout ) corrupts memory

11 years agoThanks where thanks is due.
solar [Fri, 19 Nov 2010 05:36:52 +0000 (05:36 +0000)]
Thanks where thanks is due.

11 years agoFixing bug #37 and #38.
solar [Fri, 19 Nov 2010 05:33:50 +0000 (05:33 +0000)]
Fixing bug #37 and #38.

11 years agoprintf / scanf macros in inttypes.h.
solar [Tue, 9 Nov 2010 06:52:32 +0000 (06:52 +0000)]
printf / scanf macros in inttypes.h.

11 years ago(no commit message)
solar [Tue, 2 Nov 2010 20:54:11 +0000 (20:54 +0000)]

11 years agoStreamlined printf testing.
solar [Fri, 1 Oct 2010 18:28:28 +0000 (18:28 +0000)]
Streamlined printf testing.

11 years agoImproved reporting by printf tests.
solar [Sun, 26 Sep 2010 15:40:37 +0000 (15:40 +0000)]
Improved reporting by printf tests.

11 years agoProper handling of dependencies. (Related to #26.)
solar [Sun, 26 Sep 2010 08:36:44 +0000 (08:36 +0000)]
Proper handling of dependencies. (Related to #26.)

11 years agoProper handling of dependencies. (Related to #26.)
solar [Sun, 26 Sep 2010 07:11:41 +0000 (07:11 +0000)]
Proper handling of dependencies. (Related to #26.)

11 years agoProper handling of dependencies. (Related to #26.)
solar [Sun, 26 Sep 2010 06:30:44 +0000 (06:30 +0000)]
Proper handling of dependencies. (Related to #26.)

12 years agoReworked dependency handling.
solar [Sun, 1 Aug 2010 07:19:28 +0000 (07:19 +0000)]
Reworked dependency handling.

12 years agoUncovered severe formatting bug with one-digit numbers. Not fixed yet, but better...
solar [Wed, 21 Jul 2010 06:08:13 +0000 (06:08 +0000)]
Uncovered severe formatting bug with one-digit numbers. Not fixed yet, but better than before.

12 years agoFormatting bug.
solar [Tue, 20 Jul 2010 04:27:34 +0000 (04:27 +0000)]
Formatting bug.

12 years agoSet svn:ignore on testing. Modified Makefile.
solar [Mon, 19 Jul 2010 20:11:00 +0000 (20:11 +0000)]
Set svn:ignore on testing. Modified Makefile.

12 years agoMoved reference files to platform subdirs.
solar [Mon, 19 Jul 2010 20:04:10 +0000 (20:04 +0000)]
Moved reference files to platform subdirs.

12 years agoMade printf() testcases 32/64 bit agnostic.
solar [Mon, 19 Jul 2010 15:17:37 +0000 (15:17 +0000)]
Made printf() testcases 32/64 bit agnostic.

12 years agoFurther streamlined testing.
solar [Mon, 19 Jul 2010 14:16:52 +0000 (14:16 +0000)]
Further streamlined testing.

12 years agoForgot to switch this one to unified include.
solar [Mon, 19 Jul 2010 11:44:34 +0000 (11:44 +0000)]
Forgot to switch this one to unified include.

12 years agoCleaned up the testing a bit.
solar [Mon, 19 Jul 2010 11:36:38 +0000 (11:36 +0000)]
Cleaned up the testing a bit.

12 years agoMoved test-related files to testing subdirectory (i.e., out of the way).
solar [Mon, 19 Jul 2010 09:47:39 +0000 (09:47 +0000)]
Moved test-related files to testing subdirectory (i.e., out of the way).

12 years agoScrapped seperate testing for vscanf().
solar [Mon, 19 Jul 2010 09:22:54 +0000 (09:22 +0000)]
Scrapped seperate testing for vscanf().

12 years agoDisabled 'special case' tests for regression.
solar [Mon, 19 Jul 2010 09:00:16 +0000 (09:00 +0000)]
Disabled 'special case' tests for regression.

12 years agoProper handling of end-of-string.
solar [Mon, 19 Jul 2010 07:40:52 +0000 (07:40 +0000)]
Proper handling of end-of-string.

12 years agoType error resulting in improper handling of values > 127 and EOF.
solar [Mon, 19 Jul 2010 07:35:14 +0000 (07:35 +0000)]
Type error resulting in improper handling of values > 127 and EOF.

12 years agoscanf() returns -1 on early input error.
solar [Mon, 19 Jul 2010 05:19:04 +0000 (05:19 +0000)]
scanf() returns -1 on early input error.

12 years agoCorrected _MIN testcases.
solar [Sun, 18 Jul 2010 20:01:35 +0000 (20:01 +0000)]
Corrected _MIN testcases.

12 years agoBetter size-safe checking for integer widths.
solar [Sun, 18 Jul 2010 12:05:46 +0000 (12:05 +0000)]
Better size-safe checking for integer widths.

12 years agoIntermediate work improving printf() family unified testing.
solar [Fri, 16 Jul 2010 16:31:35 +0000 (16:31 +0000)]
Intermediate work improving printf() family unified testing.

12 years agoMoved printf() family tests to unified testing.
solar [Fri, 16 Jul 2010 08:07:22 +0000 (08:07 +0000)]
Moved printf() family tests to unified testing.

12 years agoFixed EOF handling.
solar [Fri, 16 Jul 2010 06:13:35 +0000 (06:13 +0000)]
Fixed EOF handling.

12 years agoPrefix / postfix error screwing up any code using ungetc().
solar [Tue, 13 Jul 2010 08:12:22 +0000 (08:12 +0000)]
Prefix / postfix error screwing up any code using ungetc().

12 years agoMore improved unified tests (now life).
solar [Thu, 1 Jul 2010 06:01:48 +0000 (06:01 +0000)]
More improved unified tests (now life).

12 years agoMore improved unified tests (now life).
solar [Thu, 1 Jul 2010 06:01:30 +0000 (06:01 +0000)]
More improved unified tests (now life).

12 years agoImproved unified tests.
solar [Thu, 1 Jul 2010 05:47:17 +0000 (05:47 +0000)]
Improved unified tests.

12 years agoMoving closer to unified I/O testing.
solar [Fri, 25 Jun 2010 11:09:25 +0000 (11:09 +0000)]
Moving closer to unified I/O testing.

12 years agoBeginning to *really* unify the scanf / printf testing.
solar [Fri, 25 Jun 2010 09:58:37 +0000 (09:58 +0000)]
Beginning to *really* unify the scanf / printf testing.

12 years agoTestcase printing made safe.
solar [Thu, 24 Jun 2010 13:42:59 +0000 (13:42 +0000)]
Testcase printing made safe.

12 years agoIndividual init to get around warnings on 64bit.
solar [Wed, 23 Jun 2010 08:39:21 +0000 (08:39 +0000)]
Individual init to get around warnings on 64bit.

12 years agoExtended test drivers to cover sign error.
solar [Wed, 23 Jun 2010 08:28:28 +0000 (08:28 +0000)]
Extended test drivers to cover sign error.

12 years agoProper testing of overflow digit handling.
solar [Wed, 23 Jun 2010 05:19:21 +0000 (05:19 +0000)]
Proper testing of overflow digit handling.

12 years agoNew file permissions.
solar [Wed, 23 Jun 2010 05:17:46 +0000 (05:17 +0000)]
New file permissions.

12 years agoSome cleanups.
solar [Sun, 20 Jun 2010 11:06:51 +0000 (11:06 +0000)]
Some cleanups.

12 years agoStreams are now closed on program exit. (I hope; untested.)
solar [Sat, 19 Jun 2010 20:26:50 +0000 (20:26 +0000)]
Streams are now closed on program exit. (I hope; untested.)

12 years agotmpfile() implementation now based on /proc/sys/kernel/random/uuid.
solar [Sat, 19 Jun 2010 18:40:21 +0000 (18:40 +0000)]
tmpfile() implementation now based on /proc/sys/kernel/random/uuid.

12 years agoFix for #26.
solar [Sat, 19 Jun 2010 15:35:43 +0000 (15:35 +0000)]
Fix for #26.

12 years agoReworking internal file handling.
solar [Thu, 17 Jun 2010 05:27:15 +0000 (05:27 +0000)]
Reworking internal file handling.

12 years agotmpnam implemented by using tmpfile.
solar [Sun, 16 May 2010 10:38:54 +0000 (10:38 +0000)]
tmpnam implemented by using tmpfile.

12 years agoAlmost done on tmpfile / tmpnam.
solar [Sun, 16 May 2010 10:36:32 +0000 (10:36 +0000)]
Almost done on tmpfile / tmpnam.

12 years agoAd-hoc solutions for perror() and strerror().
solar [Sun, 16 May 2010 07:00:06 +0000 (07:00 +0000)]
Ad-hoc solutions for perror() and strerror().

12 years agoAdded some word about minor battlefields in v0.5.
solar [Sat, 15 May 2010 01:01:10 +0000 (01:01 +0000)]
Added some word about minor battlefields in v0.5.

12 years agoFixed a purely syntactical FIXME.
solar [Sat, 15 May 2010 01:00:35 +0000 (01:00 +0000)]
Fixed a purely syntactical FIXME.

12 years agoReset SVN properties. Temporarily removed fscanf() test driver.
solar [Sat, 15 May 2010 00:39:28 +0000 (00:39 +0000)]
Reset SVN properties. Temporarily removed fscanf() test driver.

12 years agoAdded imaxdiv_t (for inttypes.h).
solar [Sat, 15 May 2010 00:34:40 +0000 (00:34 +0000)]
Added imaxdiv_t (for inttypes.h).

12 years agoAdded imaxdiv_t (for inttypes.h).
solar [Sat, 15 May 2010 00:32:23 +0000 (00:32 +0000)]
Added imaxdiv_t (for inttypes.h).

12 years agoMinor touches.
solar [Sat, 15 May 2010 00:29:42 +0000 (00:29 +0000)]
Minor touches.

12 years agoMinor touches.
solar [Sat, 15 May 2010 00:28:09 +0000 (00:28 +0000)]
Minor touches.

12 years agoAdded inttypes.h
solar [Sat, 15 May 2010 00:26:39 +0000 (00:26 +0000)]
Added inttypes.h

12 years agoCompacted initializing of status struct.
solar [Fri, 14 May 2010 22:07:08 +0000 (22:07 +0000)]
Compacted initializing of status struct.

12 years agoCopy & paste error having sscanf code in there. Fixed.
solar [Fri, 14 May 2010 21:13:04 +0000 (21:13 +0000)]
Copy & paste error having sscanf code in there. Fixed.

12 years agoRenamed status->this to status->current to allow for use with C++ compilers.
solar [Fri, 14 May 2010 04:18:01 +0000 (04:18 +0000)]
Renamed status->this to status->current to allow for use with C++ compilers.

12 years agoRenamed status->this to status->current to allow for use with C++ compilers.
solar [Fri, 14 May 2010 04:17:25 +0000 (04:17 +0000)]
Renamed status->this to status->current to allow for use with C++ compilers.

12 years agoBug #36 (strtok does not return last token if string does not end with delimiter...
solar [Fri, 14 May 2010 04:12:04 +0000 (04:12 +0000)]
Bug #36 (strtok does not return last token if string does not end with delimiter) fixed.

12 years agos/stdin/stream to make function actually work. Thanks to Kevin of OSDev.org for point...
solar [Fri, 14 May 2010 03:59:27 +0000 (03:59 +0000)]
s/stdin/stream to make function actually work. Thanks to Kevin of OSDev.org for pointing this out.

12 years agoBug #36, covered by testdriver but not yet fixed.
solar [Fri, 14 May 2010 03:55:01 +0000 (03:55 +0000)]
Bug #36, covered by testdriver but not yet fixed.

12 years agoNo more errors from _PDCLIB_scan tests. Yay...
solar [Thu, 8 Apr 2010 08:37:21 +0000 (08:37 +0000)]
No more errors from _PDCLIB_scan tests. Yay...

12 years agoSome fixes to string scanning. First half of scanset scanning.
solar [Wed, 7 Apr 2010 21:28:41 +0000 (21:28 +0000)]
Some fixes to string scanning. First half of scanset scanning.