Commit Graph

25733 Commits

Author SHA1 Message Date
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
20206500aa * don't change a sequence of shifts and sub/adds into a lea() in case
the flags are read afterwards (broke shldl/sub/sbb sequence generated
    for 64 bit "*2", which appears in bitpacked size calculation)

git-svn-id: trunk@7336 -
2007-05-14 20:37:42 +00:00
michael
c9c82ddbf8 Fixed bug #8875
git-svn-id: trunk@7335 -
2007-05-14 19:43:02 +00:00
Jonas Maebe
7bd8d0200e * handle mod/div between a cardinal/qword and a smaller unsigned variable
(byte, word, postive subrange) as an unsigned operation (mantis #8870)

git-svn-id: trunk@7334 -
2007-05-14 19:24:33 +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
michael
0e79eb1fe6 * Fixed writing of open array declaration
git-svn-id: trunk@7326 -
2007-05-13 17:45:44 +00:00
michael
2212c78609 * Fixed description of array type without index (open array)
git-svn-id: trunk@7325 -
2007-05-13 17:44:00 +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
Almindor
5736142382 * update lNet so latest fpc can compile it (property changes)
git-svn-id: trunk@7323 -
2007-05-13 09:04:46 +00:00
peter
73d861e3e9 * test for parameter symoptions
git-svn-id: trunk@7322 -
2007-05-12 22:16:58 +00:00
peter
c831b2fb00 * set symoptions for all implicit created parameters
git-svn-id: trunk@7321 -
2007-05-12 22:16:06 +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
daniel
182fca72f2 * Change spill_* routines to return Taicpu instead of Tai to increase
strong typing.
  * Fix PowerPC R0 register allocation

git-svn-id: trunk@7317 -
2007-05-12 15:43:16 +00:00
yury
821c91c230 * fix Mantis #8760: do not put actually empty sections in executable by internal linker.
* .bss section no longer required by internal linker.

git-svn-id: trunk@7316 -
2007-05-12 13:32:52 +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
michael
4e8e4d6c0a Removed debug message in CheckOptions
git-svn-id: trunk@7313 -
2007-05-11 23:32:25 +00:00
pierre
0f870ec901 * more option updates
git-svn-id: trunk@7312 -
2007-05-11 22:14:54 +00:00
Marc Weustink
fb4828649e * Fixed typo in gdkfunction enum
git-svn-id: trunk@7311 -
2007-05-11 21:33:35 +00:00
marco
11bda8f5f2 * fpexeclpe
git-svn-id: trunk@7309 -
2007-05-11 15:08:38 +00:00
Jonas Maebe
acad2913d6 * a loadsize of 1 can never cause alignment problems in subsetref
routines

git-svn-id: trunk@7308 -
2007-05-11 09:17:01 +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
peter
81c88bd27d * new test
git-svn-id: trunk@7305 -
2007-05-10 16:54:40 +00:00
marco
f74b832272 * socketerror for Unix now fpgeterrno.
git-svn-id: trunk@7304 -
2007-05-10 10:58:26 +00:00
peter
b3c650bd98 * fix shortstring:=char
git-svn-id: trunk@7302 -
2007-05-10 06:01:42 +00:00
michael
d2fcda4561 * Changed check for GENERICCLASSES so fpdoc can parse it correctly
git-svn-id: trunk@7301 -
2007-05-08 13:59:04 +00:00
florian
d469e3a7ef + do life dfa for exit
git-svn-id: trunk@7299 -
2007-05-07 20:30:19 +00:00
florian
c0d27b5482 * life info dfa for break and continue
git-svn-id: trunk@7298 -
2007-05-07 20:07:53 +00:00
florian
62d54389c8 + life dfa for if, label and goto
git-svn-id: trunk@7297 -
2007-05-07 19:14:21 +00:00
florian
85406e8a15 * updates from Karl-Michael Schindler
git-svn-id: trunk@7295 -
2007-05-07 12:02:32 +00:00
florian
45cda67f3f + first basically working (not all node types yet) dfa implementation determining life information
git-svn-id: trunk@7294 -
2007-05-06 21:33:39 +00:00
pierre
31a34e03c2 * do not use += syntax
git-svn-id: trunk@7290 -
2007-05-06 12:02:18 +00:00
florian
867e00dee3 * backup commit of more dfa stuff
git-svn-id: trunk@7287 -
2007-05-06 10:59:09 +00:00
michael
a3b72c1be8 Patch from Bram Kuijvenhoven
odbcsql.inc:
 - added SQLStatistics function and some associated constants
 
 odbcconn.pas:
 - implemented TODBCConnection.UpdateIndexDefs
 - implemented TODBCConnection.LoadBlobIntoBuffer
 - free Connection handle if connecting fails; fixes exception thrown on finalization if a connection failed
 - some support for reading wide string & guid fields (though untested)
 - added FmtArgs parameter to ODBCCheckResult; now a call to Format is needed only when an error actually occurred
 - if SQLGetDiagRec failed in ODBCCheckResult, this is reported in the constructed error message
 
 bufdataset.pas:
 - added code to free allocated blob buffers
 - fixed GetFieldSize for some field types

git-svn-id: trunk@7286 -
2007-05-05 23:22:14 +00:00
michael
50c70c150a * Fixed bug where read-only property was read wrongly (part 2: removed debug stuff)
git-svn-id: trunk@7284 -
2007-05-05 22:58:50 +00:00
michael
7a89280631 * Fixed bug where read-only property was read wrongly
git-svn-id: trunk@7283 -
2007-05-05 22:58:14 +00:00
florian
87bdf13f9f + first draft for dfa
git-svn-id: trunk@7282 -
2007-05-05 20:50:09 +00:00
yury
b2605b8ff6 * Internal linker now correctly links to gcc import libraries. It fixes win32 IDE with debugger support.
git-svn-id: trunk@7278 -
2007-05-05 19:21:30 +00:00
Vincent Snijders
e18966c372 * write resource object file to unit output directory
git-svn-id: trunk@7276 -
2007-05-05 19:04:43 +00:00
florian
4e375e0c38 * set ConsoleStartupMode in all startup codes
git-svn-id: trunk@7274 -
2007-05-05 15:33:34 +00:00
florian
b3b099f63c - removed accidently commited writeln
git-svn-id: trunk@7273 -
2007-05-05 15:09:59 +00:00
florian
0e429065e8 * better error message in case of parser error
git-svn-id: trunk@7272 -
2007-05-05 14:51:26 +00:00