Commit Graph

25799 Commits

Author SHA1 Message Date
peter
e2db0a3982 * cleanup current module status
* new set_current_module function that sets the current_module and
    all related variables. Also closes scanner files if required, but
    that might still need some optimization to prevent closing/opening
    files too often

git-svn-id: trunk@7428 -
2007-05-23 13:33:53 +00:00
Jonas Maebe
085689af60 + support for unaligned stores
* avoid some unnecessary unaligned load sequences

git-svn-id: trunk@7427 -
2007-05-23 12:03:42 +00:00
Jonas Maebe
1e10424c6b * fixed a_load_reg_ref_unaligned() so it doesn't destroy the source
register anymore

git-svn-id: trunk@7426 -
2007-05-23 11:45:26 +00:00
Jonas Maebe
528eb2ec50 * shl/shr count on sparc is "mod <bitsize>" -> fix subsetref routines to
take that behaviour into account

git-svn-id: trunk@7424 -
2007-05-23 09:32:48 +00:00
peter
cc5b22c0e1 * new test
git-svn-id: trunk@7423 -
2007-05-22 20:55:28 +00:00
peter
b09df37cef * size of secrel32 added
git-svn-id: trunk@7421 -
2007-05-22 20:36:39 +00:00
florian
9f56a89617 + added cyrillic code page tables
+ support -Fm<x> to load unicode tables from rtl/ucmaps, they must be in the same dir as the compiler though

git-svn-id: trunk@7420 -
2007-05-22 19:38:39 +00:00
micha
e989730f34 * initialize/finalize critical sections in heaptrace properly
git-svn-id: trunk@7419 -
2007-05-22 15:34:46 +00:00
pierre
2b672a5525 + Add GetLineCount method to TMemoryTextFile object
git-svn-id: trunk@7418 -
2007-05-22 07:01:26 +00:00
pierre
ea5bc8c155 * avoid crash if removing several editor windows
git-svn-id: trunk@7417 -
2007-05-22 06:59:54 +00:00
joost
419d518d4b * Enabled compilation of TMySQLxxConnection for win64
git-svn-id: trunk@7416 -
2007-05-21 21:20:52 +00:00
micha
7d109a1a33 * prevent freeing in both threads at the same time in theapthread test
git-svn-id: trunk@7415 -
2007-05-21 20:39:33 +00:00
joost
023a3167c2 * Enabled compilation of TODBCConnection for win64
git-svn-id: trunk@7414 -
2007-05-21 20:39:27 +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
Jonas Maebe
df7ad9f68d * renamed so it gets tested by the makefile (all test programs
must start with t)

git-svn-id: trunk@7410 -
2007-05-21 12:06:50 +00:00
peter
b029477b8e * new tests
git-svn-id: trunk@7409 -
2007-05-21 07:54:18 +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
d375ae6f7f * test now fails under FPC
git-svn-id: trunk@7401 -
2007-05-20 08:54:10 +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
497df2bb37 * also check for properties passed to read(ln) when reading integers
different from the native size, or when reading enums (because those
    are handled via a temp internally -> regular var parameter checks
    were not automatically performed)

git-svn-id: trunk@7398 -
2007-05-19 18:53:24 +00:00
Jonas Maebe
02a69ff049 * mwpascal is also a clearstack_pocall (fixes e.g. calling
CGAffineTransformMakeRotation on Darwin/i386)

git-svn-id: trunk@7397 -
2007-05-19 18:10:22 +00:00
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