Commit Graph

6950 Commits

Author SHA1 Message Date
Jonas Maebe
a0b57eddb5 * new internal set format for big endian systems. Advantages:
* varsets ({$packset x}) are now supported on big endian targets
    * gdb now displays sets properly on big endian systems
    * cleanup of generic set code (in, include/exclude, helpers), all
      based on "bitpacked array[] of 0..1" now
  * there are no helpers available yet to convert sets from the old to
    the new format, because the set format will change again slightly
    in the near future (so that e.g. a set of 24..31 will be stored in
    1 byte), and creating two classes of set conversion helpers would
    confuse things (i.e., it's not recommended to use trunk currently for
    programs  which load sets stored to disk by big endian programs compiled
    by previous FPC versions)
  * cross-endian compiling has been tested and still works, but one case
    is not supported: compiling a compiler for a different endianess
    using a starting compiler from before the current revision (so first
    cycle natively, and then use the newly created compiler to create a
    cross-compiler)

git-svn-id: trunk@7395 -
2007-05-19 17:15:15 +00:00
yury
abd6b9c3f1 * Replaced TVI_XXX functions to constants.
git-svn-id: trunk@7394 -
2007-05-18 20:59:48 +00:00
yury
1c99143326 * patch from Sergei Gorelkin (Mantis #8897). Various symbols that were #define's in original C headers were converted from functions to constants.
git-svn-id: trunk@7393 -
2007-05-18 20:45:04 +00:00
Jonas Maebe
3bc08cafae * -dFPC_USE_LIBC fix
git-svn-id: trunk@7363 -
2007-05-16 15:13:36 +00:00
pierre
79f314cf96 Put every {$smarlink on} inside an {$ifndef NO_SMART_link} condition.
This allows to do a 'make build' for win32 with nasm,
  using OPT="-Anasmwin32 -XS -dNO_SMART_LINK"

git-svn-id: trunk@7357 -
2007-05-16 11:26:06 +00:00
sekelsenmat
a3703321f3 Improved Symbian RTL. Separated os include files from SDK include files and added more bindings
git-svn-id: trunk@7349 -
2007-05-15 18:39:29 +00:00
pierre
11923e9786 + code to debug LFN FindFirst/findClose
git-svn-id: trunk@7344 -
2007-05-15 13:37:19 +00:00
peter
5c914393d5 * added uint64 alias
git-svn-id: trunk@7338 -
2007-05-15 05:41:02 +00:00
micha
6ec55d2e74 * fix heap mutex deadlock in case of runtime error within heap management (needs recursive heap mutex)
git-svn-id: trunk@7337 -
2007-05-14 21:09:16 +00:00
Jonas Maebe
c80d4225ca + support for ISO Extended Pascal ReadStr() and WriteStr() routines
git-svn-id: trunk@7333 -
2007-05-14 17:34:01 +00:00
Tomas Hajny
615b192c51 * correction to previous commit
git-svn-id: trunk@7332 -
2007-05-13 20:50:51 +00:00
Tomas Hajny
f8e5a62f61 * synchronized with SocketError change
git-svn-id: trunk@7331 -
2007-05-13 20:47:01 +00:00
Tomas Hajny
f55a720b25 * OS/2 implementation synchronized with SocketError change
git-svn-id: trunk@7330 -
2007-05-13 20:34:25 +00:00
Almindor
f83568d897 * fix INVALID_SOCKET for other platforms too
git-svn-id: trunk@7329 -
2007-05-13 19:20:17 +00:00
Almindor
a52a63178b * fix INVALID_SOCKET constant (needs to be OS specific, it is UNSIGNED in windows)
git-svn-id: trunk@7328 -
2007-05-13 19:13:43 +00:00
marco
8991b8f365 * new socketerror scheme. OS/2 and netware are now broken and still must be done. (merge me and all previous socket related commits please)
git-svn-id: trunk@7327 -
2007-05-13 18:30:24 +00:00
micha
bb9de8f193 * SHOW_MEM_USAGE define to always show maximum heap size used/allocated, independent of DUMP_MEM_USAGE
git-svn-id: trunk@7324 -
2007-05-13 12:34:16 +00:00
micha
4579c242df * heap manager: look for better matching variable block size, with upperbound search
git-svn-id: trunk@7320 -
2007-05-12 20:52:08 +00:00
micha
aa951460a5 + heap manager size statistics
git-svn-id: trunk@7319 -
2007-05-12 20:50:33 +00:00
Almindor
fa232dd4ac * make it work on non-unix too...
git-svn-id: trunk@7315 -
2007-05-12 10:30:45 +00:00
Almindor
2086107cf3 * fix missing socketerror discrepancy
git-svn-id: trunk@7314 -
2007-05-12 10:24:58 +00:00
marco
11bda8f5f2 * fpexeclpe
git-svn-id: trunk@7309 -
2007-05-11 15:08:38 +00:00
marco
31e0776694 * socketerror mods for windows.
git-svn-id: trunk@7307 -
2007-05-11 00:08:01 +00:00
yury
380a8e398b * patch and fix from Patrick Chevalley.
git-svn-id: trunk@7306 -
2007-05-10 20:55:27 +00:00
marco
f74b832272 * socketerror for Unix now fpgeterrno.
git-svn-id: trunk@7304 -
2007-05-10 10:58:26 +00:00
florian
4e375e0c38 * set ConsoleStartupMode in all startup codes
git-svn-id: trunk@7274 -
2007-05-05 15:33:34 +00:00
marco
e074f9383c * typo corrected
git-svn-id: trunk@7271 -
2007-05-05 10:19:44 +00:00
marco
699e231223 * more cleanup of unit unix (merge)
git-svn-id: trunk@7269 -
2007-05-04 22:39:28 +00:00
marco
cb8e361672 * removed restoration ofa compability that never existed
git-svn-id: trunk@7268 -
2007-05-04 22:09:02 +00:00
marco
2214c11330 * removed restoration ofa compability that never existed
git-svn-id: trunk@7267 -
2007-05-04 22:06:12 +00:00
marco
fd6f6cf7e9 * fix for 8801. mmap constants inconsistancy. Old constants are aliased for compat. non portable moved to OS specific units (merge)
git-svn-id: trunk@7265 -
2007-05-04 21:23:02 +00:00
marco
b8c21889f9 * bug #8807, PRIO_ constants not aliased to baseunix _merge_
git-svn-id: trunk@7264 -
2007-05-04 19:16:11 +00:00
mazen
0f73d54ac8 + Added ATT assmebler mode directive to override any default in fpc.cfg. Otherwise we need to override it in makefile.
git-svn-id: trunk@7258 -
2007-05-04 10:59:30 +00:00
Jonas Maebe
065b9c39f7 * fixed compilation
git-svn-id: trunk@7256 -
2007-05-04 08:26:38 +00:00
daniel
41d171bda0 - Comment out duplicate entries (F11/F12 <--> Shift+F1/F2)
git-svn-id: trunk@7254 -
2007-05-03 22:54:12 +00:00
yury
5fc31d96e0 * replaced "var R:RECT" to "const R:RECT" in WinAPI functions parameters according to MS PSDK.
git-svn-id: trunk@7248 -
2007-05-02 22:03:01 +00:00
yury
7110ecdf7e * replaced "var R:RECT" to "const R:RECT" in WinAPI functions parameters according to MS PSDK.
git-svn-id: trunk@7247 -
2007-05-02 22:01:26 +00:00
micha
09a60a4019 * tiny optimization to heap manager: implement freeoslist as a fifo (instead of lifo) which should allow more os chunks to keep their fixed size formatting in case of diverse fixed size usage
git-svn-id: trunk@7237 -
2007-05-02 05:20:44 +00:00
micha
9c727d1762 * tiny optimization to heap manager, avoid repeated removing/readding to freeoslist overhead
git-svn-id: trunk@7236 -
2007-05-01 21:04:18 +00:00
yury
f7a24e7e29 * some updates in wince windows unit.
git-svn-id: trunk@7234 -
2007-05-01 18:33:16 +00:00
florian
d78071f8b2 * ensure that softfloat and libgcc float never use rfs/wfs
git-svn-id: trunk@7229 -
2007-05-01 11:47:19 +00:00
micha
e30a47723b * heap manager micro optimizations
git-svn-id: trunk@7219 -
2007-04-30 20:23:46 +00:00
florian
91cdcff845 * the cygwin1.dll messes with the console mode so store and restore the console mode if necessary
git-svn-id: trunk@7218 -
2007-04-30 20:02:36 +00:00
micha
63c49a1555 * fix performance regression in binary-trees benchmark
git-svn-id: trunk@7207 -
2007-04-30 15:29:07 +00:00
Vincent Snijders
41962b8bfb * fixed NMHDR for win64
git-svn-id: trunk@7204 -
2007-04-30 13:53:28 +00:00
micha
9bdde01a99 * avoid usage of freelists_free_chunk boolean, while still prevent repeated fixed size conversion overhead; should reduce memory usage in some cases
git-svn-id: trunk@7203 -
2007-04-30 12:52:28 +00:00
marco
136fa69943 * deprecated
git-svn-id: trunk@7200 -
2007-04-29 22:11:51 +00:00
marco
4ba29cdbe1 * first set of deprecated tags.
git-svn-id: trunk@7199 -
2007-04-29 22:08:18 +00:00
sekelsenmat
f19d931ee0 Improved symbian bindings and rtl. Now you can pass your string to the InfoPrint function, and the exit code is controled by the pascal software.
git-svn-id: trunk@7178 -
2007-04-28 05:56:29 +00:00
pierre
986dea1cfc * reject 0x#0 and variations in val function
git-svn-id: trunk@7159 -
2007-04-23 07:43:51 +00:00