Commit graph

56 commits

Author SHA1 Message Date
Russell Joyce 4d3a9715ae
Fixed building on MacOS
'F_FULLSYNC' should be 'F_FULLFSYNC', and sbrk system call is deprecated.
2020-05-13 17:13:11 +01:00
Joseph Poirier b8b4c48637
properly print large long values 2018-01-16 21:06:52 -06:00
Joseph Poirier a9e185ae4d
printf tweaks 2017-08-15 00:33:14 -05:00
Joseph Poirier 3b800edbde
initial long printf fix 2017-08-15 00:23:31 -05:00
Joseph Poirier 6e1c3aa71d formatting 2015-06-20 06:16:30 -05:00
Joseph Poirier 9c05060820 initialize 2015-06-18 22:49:47 -05:00
Joseph Poirier 26b21d04be formatting 2015-06-18 15:53:11 -05:00
Joseph Poirier 011ee0f3eb explicit casts, add includes 2015-06-17 16:57:50 -05:00
Joseph Poirier 7c21d0a54f formatting 2015-06-14 04:53:27 -05:00
Joseph Poirier 8c18e1d061 respect 80 col mark when it makes sense 2015-06-10 19:27:30 -05:00
Joseph Poirier e52188dcda respect 80 col mark when it makes sense 2015-06-10 18:49:09 -05:00
Joseph Poirier b5207c06ae remove endian macros 2015-06-10 14:49:34 -05:00
Joseph Poirier 3655278bcd minor cleanup 2015-06-10 14:37:21 -05:00
Joseph Poirier 9293ed0443 use stdbool.h and convert TRUE/FALSE to true/false 2015-06-10 14:24:53 -05:00
Joseph Poirier b2d468537e remove NO_FP checks; assume at least softfp, remove NO_MODULUS 2015-06-10 13:38:54 -05:00
Joseph Poirier c504c52cd1 misc formatting, more descriptive out of mem erros, increase default stack size 2015-06-09 02:45:00 -05:00
Joseph Poirier 0e58d1a23d set compiler std and make optimization level 2015-06-07 22:15:32 -05:00
Joseph Poirier 9addfe1788 tidy up compilation environment 2015-06-07 22:05:17 -05:00
Joseph Poirier 1a4b9a92c4 ongoing dev: remove unused platform specific code 2015-06-07 20:56:23 -05:00
Joseph Poirier f9ffd4e6e8 formatting 2015-06-07 02:11:13 -05:00
Joseph Poirier e0775801f9 formatting 2015-06-07 01:28:10 -05:00
Joseph Poirier c5384cb514 formatting 2015-06-06 23:51:02 -05:00
zik.saleeba 4555e8456f Implemented Mac OS X change for DrZiploc. Issue #145.
git-svn-id: http://picoc.googlecode.com/svn/trunk@608 21eae674-98b7-11dd-bd71-f92a316d2d60
2014-03-02 01:33:33 +00:00
zik.saleeba b5a600a749 Merged in a pile of changes from broscutamaker
git-svn-id: http://picoc.googlecode.com/svn/trunk@599 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-03-16 07:39:34 +00:00
zik.saleeba 62bc229f4a Adapted to be fully re-entrant.
Issue #137


git-svn-id: http://picoc.googlecode.com/svn/trunk@581 21eae674-98b7-11dd-bd71-f92a316d2d60
2012-09-22 05:11:44 +00:00
zik.saleeba a106391d2e Fixed a crash when printf() formats are set as 0 (NULL).
git-svn-id: http://picoc.googlecode.com/svn/trunk@576 21eae674-98b7-11dd-bd71-f92a316d2d60
2012-08-30 10:18:36 +00:00
zik.saleeba e4629df5ea Fix for #include <errno.h> on systems without this header.
issue #161


git-svn-id: http://picoc.googlecode.com/svn/trunk@575 21eae674-98b7-11dd-bd71-f92a316d2d60
2012-08-29 11:21:45 +00:00
zik.saleeba cb4c34b506 Created Visual Studio 2011 project.
Modified to compile under Visual Studio 2011.

git-svn-id: http://picoc.googlecode.com/svn/trunk@572 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-10-05 10:57:24 +00:00
zik.saleeba 1a57866c06 Fixed an obscure bug in an obscure printf() option that neither I nor anyone else cares about.
git-svn-id: http://picoc.googlecode.com/svn/trunk@561 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-21 05:08:28 +00:00
zik.saleeba 33985ad161 Working on enum issue
git-svn-id: http://picoc.googlecode.com/svn/trunk@552 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-18 02:31:56 +00:00
zik.saleeba b23d1e8e06 Big reorganisation to make it easier to access picoc as a library.
Also moved most internal header stuff to the new header interpreter.h.


git-svn-id: http://picoc.googlecode.com/svn/trunk@549 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-17 07:11:20 +00:00
zik.saleeba 235736ed93 Fixed some problems with getc() not removing EOL as it should.
git-svn-id: http://picoc.googlecode.com/svn/trunk@512 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-12 02:42:17 +00:00
zik.saleeba ab677a0670 Fixed NO_FP support
git-svn-id: http://picoc.googlecode.com/svn/trunk@504 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-02-10 23:50:05 +00:00
zik.saleeba 29f48a2921 Added a tentative test for bug #108.
Fixed a comment problem (standard compliance).


git-svn-id: http://picoc.googlecode.com/svn/trunk@489 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-01-24 02:20:48 +00:00
zik.saleeba 543964f6f9 Reducing warnings about implicit definitions
git-svn-id: http://picoc.googlecode.com/svn/trunk@488 21eae674-98b7-11dd-bd71-f92a316d2d60
2011-01-24 02:15:21 +00:00
zik.saleeba d87d25fede Removed unistd brk() support - it's pretty useless here anyway.
git-svn-id: http://picoc.googlecode.com/svn/trunk@469 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-21 05:47:43 +00:00
zik.saleeba fd3fad1784 Added missing file
git-svn-id: http://picoc.googlecode.com/svn/trunk@459 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-05 05:48:58 +00:00
zik.saleeba ca35f78874 Added unistd.h interface module.
git-svn-id: http://picoc.googlecode.com/svn/trunk@456 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-03 21:07:47 +00:00
zik.saleeba fcb9255ba9 Added stdbool.h module and removed old TRUE and FALSE defs which are not standard C
git-svn-id: http://picoc.googlecode.com/svn/trunk@451 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-07-03 14:26:04 +00:00
zik.saleeba b313de2aa1 Added ctype.h module
git-svn-id: http://picoc.googlecode.com/svn/trunk@448 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-29 20:25:34 +00:00
zik.saleeba 9969c4881a Added errno definition. Woops.
git-svn-id: http://picoc.googlecode.com/svn/trunk@447 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-29 19:54:30 +00:00
zik.saleeba 06acdabc6f Fixed compile on cygwin
git-svn-id: http://picoc.googlecode.com/svn/trunk@446 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-29 10:28:13 +00:00
zik.saleeba 08b08595f4 Added new cstdlib errno.h module
git-svn-id: http://picoc.googlecode.com/svn/trunk@445 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-28 20:43:21 +00:00
zik.saleeba ff9960fc18 Added time.h module
git-svn-id: http://picoc.googlecode.com/svn/trunk@443 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-23 20:36:40 +00:00
zik.saleeba e564b173be Some mods for the new SRV1_UNIX_HOST mode
git-svn-id: http://picoc.googlecode.com/svn/trunk@439 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 17:23:10 +00:00
zik.saleeba 0773986309 Down to the hard bits of stdlib.c
git-svn-id: http://picoc.googlecode.com/svn/trunk@438 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 14:55:18 +00:00
zik.saleeba 907f2b26d9 Changed "NativePointer" to "Pointer" for brevity
git-svn-id: http://picoc.googlecode.com/svn/trunk@437 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 14:41:03 +00:00
zik.saleeba 62ade18048 stdlib.h library in progress
git-svn-id: http://picoc.googlecode.com/svn/trunk@436 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 14:39:20 +00:00
zik.saleeba 019731da60 String library completed
git-svn-id: http://picoc.googlecode.com/svn/trunk@435 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 14:17:29 +00:00
zik.saleeba 7a8014ee42 Added an initial version of stdlib.c
git-svn-id: http://picoc.googlecode.com/svn/trunk@434 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 12:29:45 +00:00