Commit Graph

28366 Commits

Author SHA1 Message Date
michael
e464a24c47 Test from Giulio Bernardi for bug #10791 (which was fixed in rev 10535)
git-svn-id: trunk@10569 -
2008-03-27 19:40:30 +00:00
Almindor
cb849fd87e * rename arguments "Text: string" to "aText: string" to prevent name clash in objfpc mode/Lazarus db callbacks AND a very ugly potential bug which happens if you forget to rename the variable in those callbacks :D (I just spent an hour on it damnit!)
git-svn-id: trunk@10568 -
2008-03-27 15:58:28 +00:00
florian
c83af469d0 * new translations from Karl-Michael Schindler
git-svn-id: trunk@10567 -
2008-03-27 10:37:34 +00:00
michael
33cb576bba * Patch for arithmetic overflow from Petr Kristan
git-svn-id: trunk@10566 -
2008-03-26 15:33:24 +00:00
peter
6c49a0f256 * added new resource units
git-svn-id: trunk@10564 -
2008-03-25 17:16:34 +00:00
peter
4f4b0efa51 * regenerated
git-svn-id: trunk@10563 -
2008-03-25 17:15:41 +00:00
peter
ef2eaf15b2 * only parse checksum when available
git-svn-id: trunk@10562 -
2008-03-25 17:15:26 +00:00
peter
c98bed6ae3 * try to compile targets only in neutral state
git-svn-id: trunk@10561 -
2008-03-25 17:14:39 +00:00
peter
a9c9ca0115 * set elf flags for soft float on arm
git-svn-id: trunk@10560 -
2008-03-25 16:15:15 +00:00
Jonas Maebe
61df38ae9b + tests from mantis #6586, already work after the previous shared
library fixes

git-svn-id: trunk@10559 -
2008-03-25 15:44:30 +00:00
Jonas Maebe
fe7e0e2eb6 * also exit with an error if the dynamic library cannot be opened
git-svn-id: trunk@10558 -
2008-03-25 12:42:28 +00:00
Jonas Maebe
4db9ebcb1b * removed initc unit (not needed, and doesn't exist on windows)
git-svn-id: trunk@10557 -
2008-03-25 12:39:37 +00:00
Jonas Maebe
8a98d46594 * fixed test
git-svn-id: trunk@10556 -
2008-03-25 12:36:10 +00:00
Jonas Maebe
99e1e85447 * fixed execution of finalization section of smart linked shared
libraries on linux (mantis #6822)
  * fixed execution of library finalization sections on darwin
    (previously only the finalization section of the library
     compilation unit itself was executed, now those of the units
     used by the library are also executed)

git-svn-id: trunk@10554 -
2008-03-24 22:19:21 +00:00
micha
b0838b13d7 * add armeb target to compiler/Makefiles
git-svn-id: trunk@10552 -
2008-03-24 17:48:11 +00:00
Jonas Maebe
150eda304b * factored unix exports handling from t_bsd and t_linux into expunix unit
(todo: at least solaris, maybe others)
  * changed the "exports" section handling:
    a) make everything private which is not exported (implemented for
       darwin and linux)
    b) for the exported symbols:
     - functions/procedures
      1) if no name or index is provided, and if the procedure has aliases
         defined via the public/export directives, then export the default
         mangled name and all defined aliases
      2) otherwise if no name is specified (but there is an index) then
        i) if the procedure is defined as cdecl/cppdecl/mwpascal, use the
           appropriately mangled version of the function name
       ii) otherwise export the name without any mangling(e.g. "exports
           proc1" -> proc1 is the exported name)
     - variables
      1) if no name is provided and the variable was specified as cvar,
         use the mangled name
      2) otherwise if no name is provided, export the name without any
         mangling
  -> initialization/finalization of shared libraries under Linux works
     again (mantis #7838)
  -> sharing symbols between shared library and main program works
     under Linux (mantis #9089)

git-svn-id: trunk@10551 -
2008-03-24 16:55:05 +00:00
peter
f96817b5e9 * support CROSSOPT which is only passed to the cross compiler. Can be used to bootstrap a native compiler with
softfpu (-Cfsoft) that is not supported by i386

git-svn-id: trunk@10550 -
2008-03-24 14:23:45 +00:00
peter
52722b2cab * allocate .bss entries manual so we can take care of alignment
* disable COMMON symbol code, it might be needed again for ELF package
    support (.comm for ELF supports alignment)

git-svn-id: trunk@10549 -
2008-03-24 11:55:03 +00:00
micha
3e1149f740 * fix alignrecord fieldoffset size
git-svn-id: trunk@10548 -
2008-03-24 09:57:28 +00:00
micha
4b8486e55b * fix r10544 to take care of packed objects
git-svn-id: trunk@10546 -
2008-03-24 09:46:24 +00:00
micha
1130fb3e95 * revert accidental change to arm
git-svn-id: trunk@10545 -
2008-03-23 23:44:21 +00:00
micha
40211152d4 * make sure tobjects are pointer-size aligned in case of VMT usage; fixes tw1365 on armeb-linux
git-svn-id: trunk@10544 -
2008-03-23 23:42:53 +00:00
marco
6305d7d5a3 * fix for 10865
git-svn-id: trunk@10543 -
2008-03-23 18:34:26 +00:00
Legolas
f262aff7ef * ARM9 detection routine does not generate errors anymore
* Updated libmikmod
* libnds related changes:
    * Fixed sound core
    * Improved interrupt handling
    - Removed unused code

git-svn-id: trunk@10542 -
2008-03-23 14:10:31 +00:00
peter
741b5a1df7 * fix writing procedure local type defs
* write type names once for types defined in the current compiled unit

git-svn-id: trunk@10541 -
2008-03-23 13:40:41 +00:00
florian
7ef191021f + check for location.loc<>expectloc in extdebug mode
* set expectloc properly for add nodes on arm

git-svn-id: trunk@10536 -
2008-03-23 10:18:33 +00:00
michael
e56d239a00 * Applied patch from Giulio Bernardi
git-svn-id: trunk@10535 -
2008-03-22 21:15:37 +00:00
florian
97bde1ecd6 * handle integer operations on variants containing doubles correctly, resolves #11033
git-svn-id: trunk@10533 -
2008-03-22 15:35:44 +00:00
Jonas Maebe
3d97db7976 + support for subrange types in dwarf (allows proper printing of packed
sets of subrange types)

git-svn-id: trunk@10532 -
2008-03-22 11:49:05 +00:00
joost
f701162712 * Patch from Petr Kristan to allocate Constraints
git-svn-id: trunk@10529 -
2008-03-21 18:26:01 +00:00
joost
1da7000192 * Added test for CalcLookupValue
git-svn-id: trunk@10528 -
2008-03-21 18:19:02 +00:00
Jonas Maebe
87295e4ef6 * applies suggestion from Vincent to hopefully fix random lockups in the
test

git-svn-id: trunk@10524 -
2008-03-21 15:30:44 +00:00
joost
d7e393f2c3 * Added test for TDataset.EnableControls
* Adapted test for CalculateFields for fix of bug #11027

git-svn-id: trunk@10523 -
2008-03-21 15:22:11 +00:00
Jonas Maebe
62e66d2a56 * explicit typecasting of any ordinal type to a boolean of the same
size must happen without any mangling of the value (mantis #11027)
  * moved checking for signed-to-unsigned (or vice versa) type
    conversions in assignments from htypechk to ncnv (where there
    was already code for similar checks) and added support for
    bool_to_bool there as well

git-svn-id: trunk@10521 -
2008-03-21 14:44:58 +00:00
joost
e0593d7e6a * Test for CalculateFields
* Added cwstring unit on unix to avoid Widestring-issues

git-svn-id: trunk@10520 -
2008-03-21 14:28:34 +00:00
joost
805bcf1c1d * Fix for ValueOfKey for multiple-fields keys
git-svn-id: trunk@10519 -
2008-03-21 13:38:44 +00:00
michael
bd4b3dfa61 * Not needed, test file
git-svn-id: trunk@10518 -
2008-03-20 20:06:36 +00:00
michael
2fc3ede869 * Fixed makefiles using patch from Giulio Bernardi
git-svn-id: trunk@10517 -
2008-03-20 20:06:01 +00:00
michael
e9b3f7feb9 Merged revisions 10507-10509 via svnmerge from
svn+ssh://svn.freepascal.org/FPC/svn/fpc/branches/resources

........
  r10507 | giulio | 2008-03-19 11:13:54 +0100 (Wed, 19 Mar 2008) | 2 lines
  
  properly handle resource files with spaces in their path
........
  r10509 | giulio | 2008-03-20 13:07:31 +0100 (Thu, 20 Mar 2008) | 2 lines
  
  * Strip off path from resource file name when resource file is copied to output directory (fixes #11022)
........

git-svn-id: trunk@10516 -
2008-03-20 19:59:18 +00:00
joost
461a19b68d * TFormFieldItem.GetValue now uses TField.Displaytext instead of Text
* Do not crash when there are no records on the current page 
 * Set TTableCell.FormField

git-svn-id: trunk@10508 -
2008-03-19 15:59:36 +00:00
Jonas Maebe
242b335531 * fixed widestring range checking on win64 (mantis #10450, fix also
depends on r10505)

git-svn-id: trunk@10506 -
2008-03-18 23:09:12 +00:00
Jonas Maebe
a6b9b3e00a * fixed a_param_ref for source sizes < 8 bytes
git-svn-id: trunk@10505 -
2008-03-18 20:10:22 +00:00
joost
dd38ec2d36 * Revert r10501, CompareWideString should remain a dummy
git-svn-id: trunk@10504 -
2008-03-18 19:59:11 +00:00
joost
e142d31547 * Test for RefreshLookupList
git-svn-id: trunk@10502 -
2008-03-17 22:27:40 +00:00
joost
b5454e0352 * Implemented CompareWideString, based on CompareStr
git-svn-id: trunk@10501 -
2008-03-17 22:09:47 +00:00
micha
6910b0ed40 * fix arm(eb) load/store of smaller than register sizes
git-svn-id: trunk@10500 -
2008-03-17 21:27:44 +00:00
florian
cad678840e + internal linker takes care of setpeflags
git-svn-id: trunk@10499 -
2008-03-17 21:06:35 +00:00
florian
989f5eb367 * changed yywrap into a procedure variable so it can be overriden
git-svn-id: trunk@10498 -
2008-03-16 21:40:22 +00:00
Jonas Maebe
5cc0477dfa * test is not for windows
git-svn-id: trunk@10497 -
2008-03-16 09:28:26 +00:00
Jonas Maebe
b4d59bf0fb + test for previous commit with main program linking to libc
(apparently already works after all :)

git-svn-id: trunk@10496 -
2008-03-15 23:53:55 +00:00