Commit Graph

6964 Commits

Author SHA1 Message Date
peter
dd3fdac68e * beos support from Olivier Coursiere
git-svn-id: trunk@7443 -
2007-05-24 07:16:17 +00:00
peter
6a51ea7eac * obsolete files
git-svn-id: trunk@7440 -
2007-05-24 07:13:15 +00:00
florian
271c970e9d * rtl part of BeOS patch from Olivier Coursiere
git-svn-id: trunk@7438 -
2007-05-24 06:52:50 +00:00
marco
7c66dc722f * virtualprotect overload compat
git-svn-id: trunk@7433 -
2007-05-23 17:41:14 +00:00
marco
aef34ef03f * a few extra MEM_ constants
git-svn-id: trunk@7432 -
2007-05-23 17:39:15 +00:00
Jonas Maebe
3ab9ace8c4 * implement CThreadSwitch using sched_yield()
git-svn-id: trunk@7429 -
2007-05-23 13:38:20 +00:00
micha
e989730f34 * initialize/finalize critical sections in heaptrace properly
git-svn-id: trunk@7419 -
2007-05-22 15:34:46 +00:00
micha
9f11556f10 * flush output after heap debug writeln at exit
git-svn-id: trunk@7413 -
2007-05-21 20:38:29 +00:00
micha
6c85fcb157 heap manager: initialize critical sections properly
git-svn-id: trunk@7412 -
2007-05-21 17:08:28 +00:00
peter
6a345d7e76 * fixed compile
git-svn-id: trunk@7408 -
2007-05-21 06:18:42 +00:00
micha
7f2a257102 + heap manager now per thread, reduce heap lock contention
+ heap threading test

git-svn-id: trunk@7407 -
2007-05-20 20:58:12 +00:00
Jonas Maebe
5cf2511283 - removed/disabled all normalset code (except for bootstrapping), since
it's no longer needed

git-svn-id: trunk@7403 -
2007-05-20 11:19:36 +00:00
Jonas Maebe
7d44ca0113 * fixed unportable soft float mask handling which broke on big endian
systems after yesterday's set changes

git-svn-id: trunk@7402 -
2007-05-20 10:25:48 +00:00
Jonas Maebe
ba67b8566b * fixed some varset helpers broken in the previous commit
git-svn-id: trunk@7399 -
2007-05-19 20:15:55 +00:00
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