Commit Graph

25824 Commits

Author SHA1 Message Date
Jonas Maebe
f50eb8c9f6 * fixed 64 bit compilation
git-svn-id: trunk@7396 -
2007-05-19 17:24:11 +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
pierre
320e5d7315 * improve Run Comparison
git-svn-id: trunk@7390 -
2007-05-18 14:18:44 +00:00
Jonas Maebe
2546dc5a8d * allow to load the address of a bitpacked array in assembler code
git-svn-id: trunk@7389 -
2007-05-18 11:14:43 +00:00
peter
55f79a37b6 * new test
git-svn-id: trunk@7382 -
2007-05-17 20:28:24 +00:00
michael
fd096ef0f8 * Use StrToXXXDef functions for readXXX()
git-svn-id: trunk@7380 -
2007-05-17 16:17:28 +00:00
michael
cc9bc424e4 * SectionExists now Delphi compatible
git-svn-id: trunk@7378 -
2007-05-17 15:53:02 +00:00
Jonas Maebe
720ad93659 * fixed mode switch (objpas -> objfpc)
git-svn-id: trunk@7377 -
2007-05-17 13:36:00 +00:00
michael
a78f576074 * Marked some sections as private
git-svn-id: trunk@7374 -
2007-05-17 11:29:46 +00:00
florian
acb9fb53d2 * fixed ide building using the new comment hook
git-svn-id: trunk@7371 -
2007-05-16 21:31:27 +00:00
florian
39dc562326 * changed some message handling to ansistring, no slow down measurable with make cycle, resolves #8890
git-svn-id: trunk@7370 -
2007-05-16 21:25:55 +00:00
joost
d8c741f472 * Enabled IBConnection for win64
git-svn-id: trunk@7369 -
2007-05-16 21:08:25 +00:00
peter
e7ead9fc9f * nested procedures are not supported in generic methods
git-svn-id: trunk@7368 -
2007-05-16 20:56:00 +00:00
peter
cbb3667d73 * default dynamic linker for i386
git-svn-id: trunk@7367 -
2007-05-16 20:34:21 +00:00
peter
377aae4ba0 * only add .o extension if no extension is provided. fixes 8520
git-svn-id: trunk@7366 -
2007-05-16 20:11:09 +00:00
peter
6c916a032d * support - and + after -S options
git-svn-id: trunk@7365 -
2007-05-16 19:20:32 +00:00
michael
061bfa3301 * Introduced TCustomSQLQuery, with properties in protected mode
git-svn-id: trunk@7364 -
2007-05-16 15:31:11 +00:00
Jonas Maebe
3bc08cafae * -dFPC_USE_LIBC fix
git-svn-id: trunk@7363 -
2007-05-16 15:13:36 +00:00
michael
06f27aa25c Published TnamedItem.Name as in Delphi
git-svn-id: trunk@7362 -
2007-05-16 15:02:49 +00:00
michael
e46ecfb3d4 Better error checking at connect/disconnect
git-svn-id: trunk@7361 -
2007-05-16 14:57:55 +00:00
Jonas Maebe
f4b2ee2904 + test which already works
git-svn-id: trunk@7360 -
2007-05-16 14:44:38 +00:00
Jonas Maebe
6555f37cff * do not search variant operators when looking for an overloaded
operator for a non-variant type (was already intended that way,
    but checks didn't work) (mantis #7070) + tests
  * some tab->spaces in defcmp.pas

git-svn-id: trunk@7359 -
2007-05-16 13:59:35 +00:00
Jonas Maebe
fdc813db9a * no need to synchronise the upper bound of a for-loop after the loop
anymore if it is a regvar, because it cannot be a regvar anymore
    after the fix for tw8883

git-svn-id: trunk@7358 -
2007-05-16 12:13:28 +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
yury
df36385c89 * fixed mantis #8887. (please merge to fixes).
git-svn-id: trunk@7356 -
2007-05-16 09:04:34 +00:00
peter
ea92a0e1a7 * prefer overloaded methods in current object over
inherited overloaded methods

git-svn-id: trunk@7355 -
2007-05-16 08:12:14 +00:00
michael
2d2469c45e * Added brazilian translation by Antonio Galvao
git-svn-id: trunk@7354 -
2007-05-16 07:31:58 +00:00
Jonas Maebe
f28079bcd7 + test for previous commit
git-svn-id: trunk@7353 -
2007-05-15 20:26:27 +00:00
Jonas Maebe
2c5a284060 * upper bound of for-loop cannot be a regvar, because the regvar may
be modified inside the loop (mantis #8883)

git-svn-id: trunk@7352 -
2007-05-15 20:25:30 +00:00
michael
6944bac2b4 * Added RTF writer
git-svn-id: trunk@7351 -
2007-05-15 19:57:11 +00:00
tom_at_work
8c70e81c9c * 6 bit sized members of packed records can never be split over more than 2 bytes too
git-svn-id: trunk@7350 -
2007-05-15 19:03:55 +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
peter
83ccc62cf0 * during specialization use the symtable stack at
definition time, fixes tgeneric14

git-svn-id: trunk@7348 -
2007-05-15 17:39:09 +00:00
Jonas Maebe
4ff8d4f15c + added tests for already solved bug (crashed with IE in 2.0.4)
git-svn-id: trunk@7347 -
2007-05-15 14:28:31 +00:00
pierre
e0783f446e + new program to ease cross RTL compilation tests
git-svn-id: trunk@7346 -
2007-05-15 13:41:26 +00:00
pierre
11923e9786 + code to debug LFN FindFirst/findClose
git-svn-id: trunk@7344 -
2007-05-15 13:37:19 +00:00
peter
bf7275576c * use sysutils instead of dos
git-svn-id: trunk@7342 -
2007-05-15 07:18:55 +00:00
peter
aa72495049 * fix resourcestring assignment in typedconst
git-svn-id: trunk@7339 -
2007-05-15 06:52:36 +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
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