Commit Graph

26618 Commits

Author SHA1 Message Date
peter
2c10fb7e7d * use fpc_decr_intf and zeroing for finalizing of interfaces
git-svn-id: trunk@8424 -
2007-09-10 16:40:03 +00:00
florian
25883c18c3 * updates by Karl-Michael Schindler
git-svn-id: trunk@8423 -
2007-09-09 19:49:07 +00:00
Jonas Maebe
288a538df5 * don't allow starting new virtual trees in TP-style objects + test
* fixed bug in whlpview.pas where such an new tree was unintentially
    started

git-svn-id: trunk@8422 -
2007-09-09 14:58:55 +00:00
peter
eefd81094e * remove old_append_str
git-svn-id: trunk@8421 -
2007-09-09 14:31:17 +00:00
peter
4b5a599309 * remove -gg and -gd options
* minor capitalization fixes from bug #9640

git-svn-id: trunk@8420 -
2007-09-09 14:24:30 +00:00
peter
8fcd3169d8 * remove -gd, use -gw instead
git-svn-id: trunk@8419 -
2007-09-09 14:22:11 +00:00
peter
db98f1eecb * indenting of node names
git-svn-id: trunk@8418 -
2007-09-09 14:03:31 +00:00
Jonas Maebe
523b7b84cd * properly set the "current compilation directory" (all included files
are relative to this directory, otherwise include dirs appear twice
    in some paths)

git-svn-id: trunk@8417 -
2007-09-09 13:51:30 +00:00
peter
edc0bd3efb * generic inheritance tests
git-svn-id: trunk@8416 -
2007-09-09 13:12:26 +00:00
Jonas Maebe
7770e4981f * fixed TReader.ReadWideChar
* removed some unwanted widechar->char translations

git-svn-id: trunk@8415 -
2007-09-09 12:54:04 +00:00
Jonas Maebe
488cfa3c32 + -go<x> switch for debugging options (some global switches could be
moved to it)
  + -go[no]dwarfsets switch to [disable]/enable generation of dwarf set
    information, as this breaks gdb < 6.5 (used to be disabled in the
    compiler by an ifdef, still off by default)

git-svn-id: trunk@8414 -
2007-09-09 09:27:49 +00:00
Jonas Maebe
9888e674cc * upped recordalignmax for darwin/ppc and darwin/ppc64 a bit
git-svn-id: trunk@8413 -
2007-09-08 22:52:12 +00:00
Jonas Maebe
42ff6fc5bb * enabled tail recursion optimization for ppc
git-svn-id: trunk@8412 -
2007-09-08 22:47:34 +00:00
Jonas Maebe
0567329343 * the "external alignment" (i.e., that of their starting addresses) of
record variables is now independent of their packrecords setting
    (except for packrecords C, which already calculated a reasonable
    alignment). This means that e.g. a packed record consisting of two
    pointers will be aligned at sizeof(pointer) normally. The internal
    alignment of the individual fields of packed records obviously did
    not change, also not if those fields are records themselves.
  * The size of records without any packing atributes is also padded to
    become a multiple of this improved alignment calculation, which
    means that the size of such records may change after this patch.
    Always explicitly specify a packing for records which are used for
    data storage/transmission if you want to have a consistent layout.

git-svn-id: trunk@8409 -
2007-09-08 18:13:28 +00:00
Jonas Maebe
70d94ade58 * replaced uses of -1 as C_alignment with the symbolic constant name
* some reformatting of ppc-specific code to be the same as the
    surrounding code

git-svn-id: trunk@8408 -
2007-09-08 15:26:55 +00:00
peter
703158292b * fix high value in pointer to array conversion
git-svn-id: trunk@8407 -
2007-09-08 15:25:25 +00:00
Almindor
a42b134a81 * fix sysenter variable duplication
git-svn-id: trunk@8406 -
2007-09-08 14:21:35 +00:00
Almindor
d2e4f53a13 * hopefuly fix the fp* problems for stat and others
git-svn-id: trunk@8405 -
2007-09-08 13:51:39 +00:00
Jonas Maebe
7a94d05e23 * fixed typo
git-svn-id: trunk@8403 -
2007-09-08 11:11:35 +00:00
Jonas Maebe
91629f810f * better error messages for non-overloadable operators:
* only suggest = if the user tried to overload <>
    * suggest ** if the user tried to overload ^ (mantis #9606)
    * no suggestion otherwise
   (instead of always suggesting '=')

git-svn-id: trunk@8402 -
2007-09-08 10:49:16 +00:00
Almindor
148255b5cf * fix deprecated stat calls to use the fp<> ones and not the other way around
git-svn-id: trunk@8401 -
2007-09-08 09:55:35 +00:00
Jonas Maebe
5cffd5d22b * marked TObject.InitInstance as inline
git-svn-id: trunk@8400 -
2007-09-08 09:19:13 +00:00
Jonas Maebe
b02fd37fbe * removed some unused variables
git-svn-id: trunk@8399 -
2007-09-08 08:45:12 +00:00
florian
bd2b81da73 * packages part of Olivier Coursiere's BeOS patch
git-svn-id: trunk@8398 -
2007-09-07 19:30:36 +00:00
florian
834ea1bec1 * tests part of Olivier Coursier's BeOS patch
git-svn-id: trunk@8397 -
2007-09-07 19:27:06 +00:00
florian
bcd5fc555a * rtl part of Olivier Coursier's BeOS patch
git-svn-id: trunk@8396 -
2007-09-07 19:25:05 +00:00
Jonas Maebe
9bd4fe433b * fixed buffer overflows in int_str() + test
git-svn-id: trunk@8395 -
2007-09-07 14:06:08 +00:00
Jonas Maebe
bd0532f158 * removed unused variable from fpc_shortstr_enum and reformatted
its declarations

git-svn-id: trunk@8394 -
2007-09-07 11:54:00 +00:00
Jonas Maebe
2fa5d998c3 * disabled long double testing again for non-FPC_HAS_TYPE_EXTENDED, since
no one is working on long double support for non-x86 and having this test
    fail all the time can mask the introduction of other (more important)
    cdecl bugs

git-svn-id: trunk@8393 -
2007-09-07 10:53:31 +00:00
Jonas Maebe
b546309ca0 * enabled assembler test for ppc64
git-svn-id: trunk@8392 -
2007-09-07 10:48:32 +00:00
Jonas Maebe
666d156e8e * disabled inlining when passing a refcounted parameter typecasted to
a non-refcounted type to a procedure, as this is incompatible with
    the inlining process

git-svn-id: trunk@8391 -
2007-09-07 10:40:26 +00:00
Jonas Maebe
3b37a7de81 * added cwstring unit for unix
git-svn-id: trunk@8390 -
2007-09-07 09:44:13 +00:00
Jonas Maebe
22f616d6af * treat procvardef parameters the same as records (fixes webtbs/tw9141)
* fixed some issues with 16 byte parameters on both ppc and ppc64

git-svn-id: trunk@8389 -
2007-09-06 17:35:50 +00:00
Jonas Maebe
f70894607f * removed explicit refcounting checks and replaced with memory leak check
git-svn-id: trunk@8388 -
2007-09-06 11:08:22 +00:00
Jonas Maebe
48980ccbe8 * regenerated with up-to-date fpcmake so darwin/ppc64 compiles again
git-svn-id: trunk@8387 -
2007-09-06 09:28:52 +00:00
Almindor
e12748d8be * remove aspell from windows for now (need some registry crap and I have no idea how to do it)
git-svn-id: trunk@8386 -
2007-09-05 13:43:34 +00:00
Jonas Maebe
e1aefdbac5 * Improved escape analysis so the improved tretopt no longer fails.
The downside is that because it is context-insensitive, several
    (correct) optimizations which were performed in the past no longer
    are now (and while some new ones are done now, the downside is bigger
    -- but at least the code should be correct in all cases now)

git-svn-id: trunk@8385 -
2007-09-05 13:29:22 +00:00
peter
0a9b94ca92 * save and restore aktobjectdef
git-svn-id: trunk@8384 -
2007-09-04 18:31:20 +00:00
peter
b513ebe9c6 * missing not
git-svn-id: trunk@8383 -
2007-09-04 18:30:57 +00:00
peter
8c24a15e26 * allow -l-
git-svn-id: trunk@8382 -
2007-09-04 18:29:58 +00:00
Jonas Maebe
fdf8980856 * improved test
git-svn-id: trunk@8381 -
2007-09-04 17:33:59 +00:00
Jonas Maebe
e66eee6d22 * dynamic for darwin
git-svn-id: trunk@8380 -
2007-09-04 15:15:27 +00:00
Jonas Maebe
d47377a95d * fixed darwin compilation
git-svn-id: trunk@8379 -
2007-09-04 15:13:52 +00:00
Almindor
3f123fa0aa * add an example for the SpellCheck()
git-svn-id: trunk@8378 -
2007-09-04 13:09:07 +00:00
Almindor
b5992b6744 * add encoding support to the SpellCheck()
git-svn-id: trunk@8377 -
2007-09-04 13:00:18 +00:00
Almindor
1606ec996f * add also the simplifier scheck unit with SpellCheck function to aspell package
git-svn-id: trunk@8376 -
2007-09-04 12:45:12 +00:00
yury
ebfd2b6b20 * Fix for tres.pp test by Sergei Gorelkin.
git-svn-id: trunk@8375 -
2007-09-04 12:28:14 +00:00
Almindor
3df93c5391 * adds aspell library translation by Pavel Kanzelsberger
git-svn-id: trunk@8374 -
2007-09-04 12:07:35 +00:00
Jonas Maebe
2f98eaeb0a * set correct aspect ratios for standard vga resolutions (although they
are probably no longer correct when running in a window on a higher
    resolutions, because everything's now 4:3 I guess) (mantis #5190)
  * fixed aspect ratio logic for circle/ellipse (only circle gets adjusted)
    (mantis #5190)
  * clear window to black when initing graphics mode on Mac OS X

git-svn-id: trunk@8373 -
2007-09-03 20:58:56 +00:00
Jonas Maebe
084f47708a * fixed CtrlZMarksEOF comment (#9475)
git-svn-id: trunk@8372 -
2007-09-03 18:36:45 +00:00