Commit Graph

26680 Commits

Author SHA1 Message Date
joost
d304408a1b * Implemented form-input buttons. Especially usefull since the button-tag in is implemented wrongly in IE
* Checkboxes are now checked is .asboolean is true, instead of some arbitrary string comparisions

git-svn-id: trunk@8437 -
2007-09-12 11:24:19 +00:00
joost
327c0834ac * Trim obtained names in GetDBInfo
git-svn-id: trunk@8436 -
2007-09-12 10:59:04 +00:00
peter
0fda1126b5 * fix invalid typecast
git-svn-id: trunk@8435 -
2007-09-11 22:28:39 +00:00
peter
1d387c935d * small typecheckpass wrapper for recursion
git-svn-id: trunk@8434 -
2007-09-11 22:26:36 +00:00
tom_at_work
ddc0ac9a43 * better fix for TFPGSList memory leak: avoid changing allocation behavior (adds one temp entry used for various operations), and clean up in the destructor
git-svn-id: trunk@8433 -
2007-09-11 22:23:33 +00:00
peter
68245771cc * fix invalid typecast
git-svn-id: trunk@8432 -
2007-09-11 22:13:31 +00:00
tom_at_work
f88c5e1324 * fix memory leak of TFPSList.Clear()
git-svn-id: trunk@8431 -
2007-09-11 21:43:27 +00:00
florian
b984b2227f * improved constant loading for arm
git-svn-id: trunk@8429 -
2007-09-11 19:28:48 +00:00
peter
fcfe1b24b4 * prevent overflow in record size
git-svn-id: trunk@8428 -
2007-09-11 18:12:28 +00:00
peter
b36a06e4d4 * use regular ref_incr/ref_decr for related interface assignments
instead of fpc_intf_assign. This allows optimization by reusing
    the left of the assignment for function return

git-svn-id: trunk@8427 -
2007-09-10 16:48:33 +00:00
peter
6b8a5e56b6 * no refcount needed for all constants instead of only stringconst
git-svn-id: trunk@8426 -
2007-09-10 16:41:29 +00:00
peter
5f4b89903c * use callnodeflag to check if the result of a function is used
git-svn-id: trunk@8425 -
2007-09-10 16:40:40 +00:00
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