]>
pd.if.org Git - pdclib/log
Owen Shepherd [Thu, 2 Aug 2012 20:49:50 +0000 (21:49 +0100)]
Remove these 4 files now they have moved to opt/. hg dropped this from the
previous changeset
Owen Shepherd [Thu, 2 Aug 2012 20:48:01 +0000 (21:48 +0100)]
* Change the style of inclusion of the internal/ headers. Modern preprocessors
all detect the header guards and know not to include anyhow. The old style may
have actually been counterproductive
* Make the built library be standard independent (i.e. the library build is
independent of _PDCLIB_C_VERSION/__STDC_VERSION__/_PDCLIB_CXX_VERSION
/__cplusplus.
* <threads.h> from C11. A bit off of the track of C99 support (which is still a
higher priority goal), but solid implementation of many C99 functions on many
real platforms will need proper thread support. <stdio.h> support to come.
This is a stub implementation.
* Move malloc/free/realloc etc to opt/malloc-solar, in preparation for support
of other memory allocators. On the cards are at least ptmalloc3 (BSD) and
dlmalloc (public domain) as options.
* New build system (See CoreMakefile.mk). Not ready yet; but its coming. This
doesn't change the project dependencies - you still only need GNU make.
This is a large bundle of changes - most of them are as a result of implementing
PDClib into my system, so they're mostly "changes I was doing" that have got
wrapped up together. Hopefully, now that things are together, future changesets
should be better factored.
Special thanks go to Martin "Solar" Baute for the work he has put in on this
code over many years.
convert-repo [Mon, 23 Jul 2012 16:08:39 +0000 (16:08 +0000)]
update tags
solar [Sun, 9 Oct 2011 11:17:58 +0000 (11:17 +0000)]
Improved by Caleb1994 of osdev.org.
solar [Mon, 13 Jun 2011 13:40:45 +0000 (13:40 +0000)]
Fixing #47 (*snprint() crash).
solar [Mon, 13 Jun 2011 10:13:23 +0000 (10:13 +0000)]
Added LC_* definitions.
solar [Mon, 13 Jun 2011 10:03:13 +0000 (10:03 +0000)]
Fixes #45.
solar [Thu, 17 Mar 2011 05:59:31 +0000 (05:59 +0000)]
Fixed prototype warnings.
solar [Thu, 17 Mar 2011 05:47:37 +0000 (05:47 +0000)]
find did not match on symlinks.
solar [Thu, 17 Mar 2011 05:28:07 +0000 (05:28 +0000)]
Backported improvements to Makefile from OSDev.
solar [Sun, 20 Feb 2011 20:48:48 +0000 (20:48 +0000)]
Fix for #42 - free( NULL ) must not fail.
solar [Tue, 11 Jan 2011 05:52:32 +0000 (05:52 +0000)]
It seems I have to review the list of warning options if I missed this one.
solar [Tue, 11 Jan 2011 05:49:19 +0000 (05:49 +0000)]
Fix for #41.
solar [Fri, 31 Dec 2010 08:47:37 +0000 (08:47 +0000)]
I am not sure I understood strcoll() and strxfrm() correctly, but this is it for now.
solar [Thu, 30 Dec 2010 22:46:02 +0000 (22:46 +0000)]
Language.
solar [Thu, 30 Dec 2010 22:43:20 +0000 (22:43 +0000)]
Addressed ticket #40 (non-standard errno values).
solar [Wed, 29 Dec 2010 13:31:51 +0000 (13:31 +0000)]
localeconv, and setlocale (C locale only)
solar [Wed, 29 Dec 2010 13:19:53 +0000 (13:19 +0000)]
Moved ctype info into struct lconv.
solar [Wed, 29 Dec 2010 06:25:59 +0000 (06:25 +0000)]
ctype
solar [Thu, 23 Dec 2010 06:16:56 +0000 (06:16 +0000)]
Forgot parameter type.
solar [Thu, 23 Dec 2010 06:15:28 +0000 (06:15 +0000)]
Started out on v0.6.
solar [Wed, 22 Dec 2010 21:44:28 +0000 (21:44 +0000)]
Comment on v0.5 release
solar [Mon, 20 Dec 2010 07:15:23 +0000 (07:15 +0000)]
Basic tests for %c, %s, %[ and %p.
solar [Mon, 20 Dec 2010 05:17:35 +0000 (05:17 +0000)]
Some testcases for scanf(). Fixed bug with %*... . Fixed artifact in Makefile.
solar [Fri, 17 Dec 2010 06:05:00 +0000 (06:05 +0000)]
Moved the macro magic into the common header.
solar [Thu, 16 Dec 2010 07:05:57 +0000 (07:05 +0000)]
Cleaning up TODOs.
solar [Thu, 16 Dec 2010 06:00:24 +0000 (06:00 +0000)]
Cleaning up TODOs.
solar [Wed, 15 Dec 2010 06:35:38 +0000 (06:35 +0000)]
More cleaning up.
solar [Tue, 14 Dec 2010 12:09:18 +0000 (12:09 +0000)]
Tightening the code a bit.
solar [Tue, 14 Dec 2010 06:16:35 +0000 (06:16 +0000)]
Fixed safeguard calculation in ftell().
solar [Mon, 13 Dec 2010 07:40:43 +0000 (07:40 +0000)]
Nine-to-five job calling, leaving this intermediate.
solar [Sun, 12 Dec 2010 21:32:44 +0000 (21:32 +0000)]
Whoops. That wouldn't have worked...
solar [Sat, 11 Dec 2010 09:16:11 +0000 (09:16 +0000)]
EOL handling is for text mode conversion.
solar [Sat, 11 Dec 2010 09:14:39 +0000 (09:14 +0000)]
We will cross that bridge when we come to it.
solar [Sat, 11 Dec 2010 09:12:24 +0000 (09:12 +0000)]
Replaced the dumb PATCHFILES with a smart for-find.
solar [Fri, 10 Dec 2010 07:41:09 +0000 (07:41 +0000)]
Added testdriver for signals, make links now including signal.h
solar [Fri, 10 Dec 2010 06:26:29 +0000 (06:26 +0000)]
Adjusted Makefile and svn:ignore for signal/.
solar [Fri, 10 Dec 2010 06:21:48 +0000 (06:21 +0000)]
Completed <signal.h>, and moved into platform.
solar [Thu, 9 Dec 2010 07:14:21 +0000 (07:14 +0000)]
Put printf() / scanf() test macros in seperate header.
solar [Thu, 9 Dec 2010 07:13:57 +0000 (07:13 +0000)]
Preliminary signal handling.
solar [Thu, 9 Dec 2010 05:18:55 +0000 (05:18 +0000)]
SVN properties cleanup.
solar [Wed, 8 Dec 2010 05:53:09 +0000 (05:53 +0000)]
Reworked scanf() testing. General cleanups.
solar [Mon, 6 Dec 2010 21:21:45 +0000 (21:21 +0000)]
Test drivers for fgetpos, fsetpos, and perror. Cannot really test closeall().
solar [Mon, 6 Dec 2010 19:54:29 +0000 (19:54 +0000)]
fseek() test driver.
solar [Fri, 3 Dec 2010 05:59:00 +0000 (05:59 +0000)]
Test driver (and much-needed fixes) to fgets().
solar [Thu, 2 Dec 2010 21:16:06 +0000 (21:16 +0000)]
Testdriver for gets(). Turns out fseek() was not tested yet.
solar [Thu, 2 Dec 2010 07:36:59 +0000 (07:36 +0000)]
Testdriver for tmpfile().
solar [Thu, 2 Dec 2010 07:19:35 +0000 (07:19 +0000)]
Test driver for freopen().
solar [Thu, 2 Dec 2010 06:20:16 +0000 (06:20 +0000)]
Using constants for testfile names
solar [Wed, 1 Dec 2010 22:01:42 +0000 (22:01 +0000)]
Switched to tmpfile() where appropriate.
solar [Wed, 1 Dec 2010 21:34:16 +0000 (21:34 +0000)]
Some cleanups and corrected typos.
solar [Wed, 1 Dec 2010 21:05:43 +0000 (21:05 +0000)]
*Much* better.
solar [Tue, 30 Nov 2010 23:56:38 +0000 (23:56 +0000)]
Better error reporting on printf's.
solar [Sun, 21 Nov 2010 12:17:15 +0000 (12:17 +0000)]
Status review.
solar [Sat, 20 Nov 2010 08:53:56 +0000 (08:53 +0000)]
Fixed broken filename handling in freopen().
solar [Sat, 20 Nov 2010 06:01:42 +0000 (06:01 +0000)]
Bug #39: fclose( stdout ) corrupts memory
solar [Fri, 19 Nov 2010 05:36:52 +0000 (05:36 +0000)]
Thanks where thanks is due.
solar [Fri, 19 Nov 2010 05:33:50 +0000 (05:33 +0000)]
Fixing bug #37 and #38.
solar [Tue, 9 Nov 2010 06:52:32 +0000 (06:52 +0000)]
printf / scanf macros in inttypes.h.
solar [Tue, 2 Nov 2010 20:54:11 +0000 (20:54 +0000)]
solar [Fri, 1 Oct 2010 18:28:28 +0000 (18:28 +0000)]
Streamlined printf testing.
solar [Sun, 26 Sep 2010 15:40:37 +0000 (15:40 +0000)]
Improved reporting by printf tests.
solar [Sun, 26 Sep 2010 08:36:44 +0000 (08:36 +0000)]
Proper 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.)
solar [Sun, 26 Sep 2010 06:30:44 +0000 (06:30 +0000)]
Proper handling of dependencies. (Related to #26.)
solar [Sun, 1 Aug 2010 07:19:28 +0000 (07:19 +0000)]
Reworked dependency handling.
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.
solar [Tue, 20 Jul 2010 04:27:34 +0000 (04:27 +0000)]
Formatting bug.
solar [Mon, 19 Jul 2010 20:11:00 +0000 (20:11 +0000)]
Set svn:ignore on testing. Modified Makefile.
solar [Mon, 19 Jul 2010 20:04:10 +0000 (20:04 +0000)]
Moved reference files to platform subdirs.
solar [Mon, 19 Jul 2010 15:17:37 +0000 (15:17 +0000)]
Made printf() testcases 32/64 bit agnostic.
solar [Mon, 19 Jul 2010 14:16:52 +0000 (14:16 +0000)]
Further streamlined testing.
solar [Mon, 19 Jul 2010 11:44:34 +0000 (11:44 +0000)]
Forgot to switch this one to unified include.
solar [Mon, 19 Jul 2010 11:36:38 +0000 (11:36 +0000)]
Cleaned up the testing a bit.
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).
solar [Mon, 19 Jul 2010 09:22:54 +0000 (09:22 +0000)]
Scrapped seperate testing for vscanf().
solar [Mon, 19 Jul 2010 09:00:16 +0000 (09:00 +0000)]
Disabled 'special case' tests for regression.
solar [Mon, 19 Jul 2010 07:40:52 +0000 (07:40 +0000)]
Proper handling of end-of-string.
solar [Mon, 19 Jul 2010 07:35:14 +0000 (07:35 +0000)]
Type error resulting in improper handling of values > 127 and EOF.
solar [Mon, 19 Jul 2010 05:19:04 +0000 (05:19 +0000)]
scanf() returns -1 on early input error.
solar [Sun, 18 Jul 2010 20:01:35 +0000 (20:01 +0000)]
Corrected _MIN testcases.
solar [Sun, 18 Jul 2010 12:05:46 +0000 (12:05 +0000)]
Better size-safe checking for integer widths.
solar [Fri, 16 Jul 2010 16:31:35 +0000 (16:31 +0000)]
Intermediate work improving printf() family unified testing.
solar [Fri, 16 Jul 2010 08:07:22 +0000 (08:07 +0000)]
Moved printf() family tests to unified testing.
solar [Fri, 16 Jul 2010 06:13:35 +0000 (06:13 +0000)]
Fixed EOF handling.
solar [Tue, 13 Jul 2010 08:12:22 +0000 (08:12 +0000)]
Prefix / postfix error screwing up any code using ungetc().
solar [Thu, 1 Jul 2010 06:01:48 +0000 (06:01 +0000)]
More improved unified tests (now life).
solar [Thu, 1 Jul 2010 06:01:30 +0000 (06:01 +0000)]
More improved unified tests (now life).
solar [Thu, 1 Jul 2010 05:47:17 +0000 (05:47 +0000)]
Improved unified tests.
solar [Fri, 25 Jun 2010 11:09:25 +0000 (11:09 +0000)]
Moving closer to unified I/O testing.
solar [Fri, 25 Jun 2010 09:58:37 +0000 (09:58 +0000)]
Beginning to *really* unify the scanf / printf testing.
solar [Thu, 24 Jun 2010 13:42:59 +0000 (13:42 +0000)]
Testcase printing made safe.
solar [Wed, 23 Jun 2010 08:39:21 +0000 (08:39 +0000)]
Individual init to get around warnings on 64bit.
solar [Wed, 23 Jun 2010 08:28:28 +0000 (08:28 +0000)]
Extended test drivers to cover sign error.
solar [Wed, 23 Jun 2010 05:19:21 +0000 (05:19 +0000)]
Proper testing of overflow digit handling.
solar [Wed, 23 Jun 2010 05:17:46 +0000 (05:17 +0000)]
New file permissions.
solar [Sun, 20 Jun 2010 11:06:51 +0000 (11:06 +0000)]
Some cleanups.
solar [Sat, 19 Jun 2010 20:26:50 +0000 (20:26 +0000)]
Streams are now closed on program exit. (I hope; untested.)
solar [Sat, 19 Jun 2010 18:40:21 +0000 (18:40 +0000)]
tmpfile() implementation now based on /proc/sys/kernel/random/uuid.
solar [Sat, 19 Jun 2010 15:35:43 +0000 (15:35 +0000)]
Fix for #26.