Commit Graph

28283 Commits

Author SHA1 Message Date
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
Jonas Maebe
3eec0569be * fixed shared library initialisation for FPC-compiled libraries
when linked to FPC-compiled programs under linux/i386 which
    do not use libc + test (mantis #8730). Programs which do use
    libc and other linux targets have to be fixed in a similar
    way until we properly fix everything by not exporting
    any symbols at all from shared libraries by default (and
    only those appearing in the "exports" section).

    Finalisation does not work yet either for FPC-compiled
    programs on linux/anything.

git-svn-id: trunk@10495 -
2008-03-15 23:28:09 +00:00
Jonas Maebe
9aac8a7852 * fixed test
git-svn-id: trunk@10494 -
2008-03-15 23:20:11 +00:00
micha
eae3754ab7 * add testcase of issue #11006 to testsuite
git-svn-id: trunk@10493 -
2008-03-15 20:18:28 +00:00
micha
ae8289f9f7 * fix crash in case of main thread exiting simultaneously with other threads (issue #11006)
git-svn-id: trunk@10492 -
2008-03-15 19:42:30 +00:00
Jonas Maebe
f1bd686065 * re-applied r7485, which got lost in r7639 because an old
revision (r6623) of the file was renamed to cfileutl
    (mantis #10873)

git-svn-id: trunk@10488 -
2008-03-14 20:37:44 +00:00
micha
4a7f6bccf9 * fix arm edsp test to load from aligned address
git-svn-id: trunk@10487 -
2008-03-13 21:36:01 +00:00
peter
c05e60746b * simplify compile states
* fix recursive dependency check

git-svn-id: trunk@10486 -
2008-03-13 21:07:19 +00:00
tom_at_work
e540356be4 * fixed merge errors introduced by merge from resources branch, re-applied r9721
git-svn-id: trunk@10485 -
2008-03-13 19:45:01 +00:00
Jonas Maebe
9d9dc0e44e * also build fpcres* for solaris
git-svn-id: trunk@10484 -
2008-03-13 10:57:40 +00:00
Jonas Maebe
e10be4d3b4 * more Makefile fixes
git-svn-id: trunk@10483 -
2008-03-12 23:07:32 +00:00
Jonas Maebe
c97d448248 + added baseunix dependency for fpextres to darwin Makefile.fpc
* regenerated Makefiles committed in r10481 using up-to-date fpcmake

git-svn-id: trunk@10482 -
2008-03-12 22:50:59 +00:00
michael
174de3eab1 Merged revisions 9693-10480 via svnmerge from
svn+ssh://svn.freepascal.org/FPC/svn/fpc/branches/resources

........
  r9694 | michael | 2008-01-09 21:31:18 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * Initial check-in
........
  r9695 | michael | 2008-01-09 21:35:58 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * New version from Giulio Bernardi
........
  r9697 | michael | 2008-01-09 21:41:54 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * Patch from Giulio Bernardi with resource support
........
  r9698 | michael | 2008-01-09 21:46:33 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * Patch from Giulio Bernardi to add more resource testing
........
  r9699 | michael | 2008-01-09 21:57:26 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * New tool from Giulio Bernardi
........
  r9700 | michael | 2008-01-09 21:58:23 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * New tool from Giulio Bernardi
........
  r9701 | michael | 2008-01-09 22:01:54 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * Added fcl-res
........
  r9702 | michael | 2008-01-09 22:01:58 +0100 (Wed, 09 Jan 2008) | 1 line
  
  * Added fcl-res
........
  r9703 | michael | 2008-01-10 08:54:26 +0100 (Thu, 10 Jan 2008) | 1 line
  
  * Fixed double code
........
  r9704 | jonas | 2008-01-10 10:59:20 +0100 (Thu, 10 Jan 2008) | 2 lines
  
    - removed duplicate code
........
  r9705 | jonas | 2008-01-10 11:25:21 +0100 (Thu, 10 Jan 2008) | 2 lines
  
    + added missing fcl-res dependencies
........
  r9706 | jonas | 2008-01-10 11:58:30 +0100 (Thu, 10 Jan 2008) | 2 lines
  
    + dependencies for fpintres and fpextres
........
  r9707 | yury | 2008-01-10 12:47:51 +0100 (Thu, 10 Jan 2008) | 3 lines
  
  * Fixed compilation of resource, which is included in a unit located in different folder than main source.
  * .res files must be copied to units output folder, otherwise .res files will not be found when only compiled units path is available and compiler does not know anything about sources folder.
  * Improved resource related error messages.
........
  r9708 | michael | 2008-01-10 12:52:13 +0100 (Thu, 10 Jan 2008) | 1 line
  
  * Removed double source after end.
........
  r9709 | michael | 2008-01-10 12:52:48 +0100 (Thu, 10 Jan 2008) | 1 line
  
  * No longer needed
........
  r9710 | tom_at_work | 2008-01-10 22:09:08 +0100 (Thu, 10 Jan 2008) | 1 line
  
  * properly align FPC_RESLOCATION so that linking does not fail on some architectures (e.g. ppc64)
........
  r9711 | tom_at_work | 2008-01-10 23:53:12 +0100 (Thu, 10 Jan 2008) | 1 line
  
  * fix splitting of 64 bit load/stores from/to unaligned memory locations into multiple load/stores, which in some cases generated wrong code
........
  r9712 | michael | 2008-01-11 11:00:08 +0100 (Fri, 11 Jan 2008) | 1 line
  
  * Fixed bug in BSS section on 64-bit platforms
........
  r9720 | giulio | 2008-01-12 10:02:04 +0100 (Sat, 12 Jan 2008) | 1 line
  
  Updated fcl-res documentation: occurrences of reslib changed to fcl-res.
........
  r9740 | giulio | 2008-01-13 19:36:44 +0100 (Sun, 13 Jan 2008) | 3 lines
  
   - Don't try to compile resources on systems with a non windows-like resource support.
   - Don't add the .or file to the list of object files if resource compiling failed.
........
  r10201 | giulio | 2008-02-04 11:35:44 +0100 (Mon, 04 Feb 2008) | 5 lines
  
  * resource compiling supported on OS/2 via wrc
  * CompileResourceFiles and CollectResourceFiles don't do target-specific checks anymore
  * refactored a bit
........
  r10389 | giulio | 2008-02-25 21:32:52 +0100 (Mon, 25 Feb 2008) | 2 lines
  
  Deleted test file which was committed by mistake
........
  r10472 | giulio | 2008-03-10 12:22:18 +0100 (Mon, 10 Mar 2008) | 2 lines
  
  changed define FPC_HAS_RESOURCES to FPC_HAS_WINLIKERESOURCES
........

git-svn-id: trunk@10481 -
2008-03-12 21:33:48 +00:00
michael
886a36a6e3 Initialized merge tracking via "svnmerge" with revisions "1-9692" from
svn+ssh://svn.freepascal.org/FPC/svn/fpc/branches/resources

git-svn-id: trunk@10480 -
2008-03-12 21:13:56 +00:00
michael
eab7b93492 Removed merge tracking for "svnmerge" for
svn+ssh://svn.freepascal.org/FPC/svn/fpc/branches/resources

git-svn-id: trunk@10479 -
2008-03-12 21:13:36 +00:00
michael
7581e26a1a Initialized merge tracking via "svnmerge" with revisions "1-10477" from
svn+ssh://svn.freepascal.org/FPC/svn/fpc/branches/resources

git-svn-id: trunk@10478 -
2008-03-12 21:10:19 +00:00
michael
623e0f0cf5 * Fixed bug in decodesoundexint
git-svn-id: trunk@10477 -
2008-03-12 21:08:12 +00:00
joost
9f118aca02 * Added forgotten unit
* Add test for CalcFirstRecord

git-svn-id: trunk@10476 -
2008-03-12 20:25:32 +00:00
Jonas Maebe
21f14aaeff * fixed "array of const" check in r10473 (+ fixed indentation)
git-svn-id: trunk@10475 -
2008-03-12 10:48:19 +00:00
Jonas Maebe
7d3498bb04 * fixed test
git-svn-id: trunk@10474 -
2008-03-11 19:31:09 +00:00
peter
beb01e6e79 * give warning for disabling inline if assembler
is detected

git-svn-id: trunk@10473 -
2008-03-11 17:57:24 +00:00
micha
461c8fb09f * fix enum rtti info alignment for proper alignment required archs
git-svn-id: trunk@10471 -
2008-03-09 21:53:46 +00:00
joost
b475719a03 * Set TDataSet.InternalCalcFields if there are InternalCalcFields
git-svn-id: trunk@10470 -
2008-03-09 20:11:17 +00:00
joost
eb34e7b96d * Added Meta, Link and Script methods to THTMLWriter
* Fixed typo Attrubute - Attribute

git-svn-id: trunk@10469 -
2008-03-09 20:00:53 +00:00
Jonas Maebe
c2e3b7067f + added {$goto on} so it still compiles on systems without a
default config file (or one without -Sg in it)

git-svn-id: trunk@10468 -
2008-03-09 19:34:22 +00:00
micha
b96823997d + add "FILES" variable for testsuite tests: list of files required by test needing to be copied to remote target
git-svn-id: trunk@10467 -
2008-03-09 18:25:25 +00:00
florian
00ae5d1d5d + correct parsing interface delegation through classes
git-svn-id: trunk@10466 -
2008-03-09 11:16:05 +00:00
Jonas Maebe
161b29bcb2 * fixed fcl-db dependencies for darwin and solaris
git-svn-id: trunk@10465 -
2008-03-09 11:06:44 +00:00
Jonas Maebe
8adc596c16 - revert fix for #10927: the old behaviour was Delphi compatible,
and the fix caused other problems (#10979)

git-svn-id: trunk@10464 -
2008-03-08 18:17:31 +00:00
florian
48fb130be3 * fixed fpu type setting for avr
git-svn-id: trunk@10463 -
2008-03-08 17:09:40 +00:00
florian
ed540dc7c1 * fixed copy&paste error in rev. 10460
git-svn-id: trunk@10462 -
2008-03-08 14:05:04 +00:00
micha
89e9d4ab17 * fix int64 multiplication on armeb
git-svn-id: trunk@10461 -
2008-03-08 13:02:51 +00:00
micha
f70c24435d * fix int64 result passing on armeb
git-svn-id: trunk@10460 -
2008-03-08 13:02:33 +00:00
Tomas Hajny
af8e750f2d * fixed missing letter in previous fix
git-svn-id: trunk@10459 -
2008-03-08 06:49:27 +00:00