Commit Graph

1816 Commits

Author SHA1 Message Date
florian
db7a66f3af + fixed zlib for windows, resolves #12451
+ test

git-svn-id: trunk@12013 -
2008-11-02 09:23:34 +00:00
michael
f3dccf9e7d * Added expression parser
git-svn-id: trunk@12010 -
2008-11-01 22:15:23 +00:00
Jonas Maebe
a23630260b + "weakexternal" support for imported procedures and variables.
the syntax is exactly the same as for "external", except for
    the keyword. It is currently only active for Darwin targets.
    It should also work at least for Linux targets, but only with
    the GNU assembler (which is why it is not activated there)
  + test for this functionality

git-svn-id: trunk@12009 -
2008-11-01 18:38:32 +00:00
peter
1ebbe74bb2 * new bug
git-svn-id: trunk@11993 -
2008-10-29 09:59:42 +00:00
michael
021e1fff73 * Added TIFF reader/Writer from Mattias gaertner
git-svn-id: trunk@11990 -
2008-10-28 15:40:47 +00:00
Károly Balogh
df8fa326cd + initial version of Amiga sysmsgs support
git-svn-id: trunk@11980 -
2008-10-26 23:47:41 +00:00
marco
617505c4ea * added test for bug #11711, to help fix regression for 12385
git-svn-id: trunk@11974 -
2008-10-26 13:49:03 +00:00
peter
c8bebd2c7d * use eventlog.inc for Unix,Win32,Win64. other targets use felog.inc
git-svn-id: trunk@11959 -
2008-10-23 20:41:35 +00:00
marco
1295c499c9 * More fpmake fixes. Exampledirs and includefiles mostly fixed for these.
gdbint moves two examples from src to exampledir + makefile fix.

git-svn-id: trunk@11949 -
2008-10-22 22:08:05 +00:00
florian
2c5ce2fe12 + support for TEST_ABI in the testsuite
+ arm-linux-eabi object files

git-svn-id: trunk@11918 -
2008-10-18 14:45:03 +00:00
peter
7b188a6a0e * reset version to latest release: 2.2.2-0
git-svn-id: trunk@11907 -
2008-10-17 18:36:45 +00:00
yury
8850d715af + ras and raserror wince api units by Vasil Maximov.
git-svn-id: trunk@11906 -
2008-10-17 10:45:52 +00:00
yury
14b5b6b9f2 + New wince api units and some fixes to existing api units by Vasil Maximov.
git-svn-id: trunk@11904 -
2008-10-16 11:43:01 +00:00
florian
cb9e52826f * fix range check error in options handling, resolves #12365
+ better error output (print filename and line number) for config file directive errors

git-svn-id: trunk@11898 -
2008-10-14 17:06:55 +00:00
Jonas Maebe
64ddae4eff + -vq parameter to show message numbers
+ -vm<x>,<y> parameter to mask messages <x> and <y>
   (both based on a patch submitted by Petr Kristan)
  * alphabetically ordered -v<x> option processing code so it's easier
    to see which characters are still free (not many anymore)
  + some tests for the -vm functionality

git-svn-id: trunk@11888 -
2008-10-12 12:19:41 +00:00
marco
a091b51e31 * Initial CHM support for textmode IDE.
git-svn-id: trunk@11885 -
2008-10-12 10:22:47 +00:00
Jonas Maebe
79850c5027 * don't crash when someone uses an integer value to declare a wide/unicode
string (mantis #12329)

git-svn-id: trunk@11875 -
2008-10-10 15:01:56 +00:00
michael
ff2372080e * Initial check-in
git-svn-id: trunk@11865 -
2008-10-05 14:37:01 +00:00
Vincent Snijders
f386573a94 + expected output for meteor benchmark
git-svn-id: trunk@11859 -
2008-10-03 08:46:14 +00:00
Jonas Maebe
9d4c96b100 + darwin/arm versions
git-svn-id: trunk@11851 -
2008-10-02 19:47:36 +00:00
joost
cf4f01c6f9 * Extracted TXMLDatapacketReader into a seperate unit.
git-svn-id: trunk@11839 -
2008-09-28 20:52:10 +00:00
florian
57f3e2f40a * forbid access to properties in class methods
* readability fix

git-svn-id: trunk@11838 -
2008-09-28 20:16:13 +00:00
florian
8c9baed5cb * force static; being repeated in the procedure body, this avoids trouble as in #12242
+ add static when using fullprocname

git-svn-id: trunk@11835 -
2008-09-28 18:45:37 +00:00
florian
50012c2357 * fix by Inoussa OUEDRAOGO to improve UnicodeString property handling, resolves #12224
git-svn-id: trunk@11832 -
2008-09-27 13:25:11 +00:00
florian
f64dbd70cf * make unicodechar equivalent to widechar, resolves #12233
git-svn-id: trunk@11830 -
2008-09-27 12:40:42 +00:00
Jonas Maebe
edb86ee95f + test for mantis #12202
git-svn-id: trunk@11824 -
2008-09-26 13:32:40 +00:00
florian
558cf3ef87 * reset FPU properly after an exception, resolves #12214
git-svn-id: trunk@11820 -
2008-09-25 19:15:54 +00:00
Vincent Snijders
70bbdb52ee * add real mandelbrot test output for n=200
git-svn-id: trunk@11815 -
2008-09-21 20:48:44 +00:00
Vincent Snijders
37164fa182 + mandelbrot test output for n=200
git-svn-id: trunk@11814 -
2008-09-21 19:47:35 +00:00
florian
69159eb9f3 + support for & and % in char constants, resolves #12186
git-svn-id: trunk@11809 -
2008-09-20 19:51:29 +00:00
marco
2300b7a484 * csu leftovers
git-svn-id: trunk@11802 -
2008-09-18 14:29:36 +00:00
florian
3294c59a73 * renamed optunrol into optloop
git-svn-id: trunk@11798 -
2008-09-17 20:21:19 +00:00
tom_at_work
fbbbf33be1 * removed superfluous masking of rotation count for rol/ror inlines
git-svn-id: trunk@11789 -
2008-09-15 19:37:47 +00:00
florian
cd6b57c733 * fixed constant char to unicodestring conversion
git-svn-id: trunk@11779 -
2008-09-14 17:19:20 +00:00
marco
e921804cec * files for amd64-freebsd
git-svn-id: trunk@11775 -
2008-09-14 14:19:56 +00:00
Jonas Maebe
f9b4d58e98 * set finalized dynarrays to nil (mantis #12048)
git-svn-id: trunk@11773 -
2008-09-13 20:01:47 +00:00
florian
7f32e48fe1 + non working dummies, makes make happy though
git-svn-id: trunk@11765 -
2008-09-13 14:54:08 +00:00
florian
fa9858cec2 + FreeBSD lazarus project
git-svn-id: trunk@11756 -
2008-09-13 08:58:54 +00:00
michael
af63b5466b * Bugfixes from Attila Borka:
- Bug fix in the template parser. Bug0012095
  - Fixed: CGI applications did not create and populate contentfields (caused AV if someone 
    tried to access it) for the http request, both the query and content parameters were put 
    into the queryfields list
  - Bug0012094 fix: CGI applications AllowDefaultModule=true did not work for Delphi style calls (it is ok 
    for querystring parameter passed module names)
  - fptemplate.pp->TTemplateParser: Added support for template tag parameters. 

git-svn-id: trunk@11747 -
2008-09-11 18:47:41 +00:00
florian
a8804cf2a6 * unified some win32/win64 code
git-svn-id: trunk@11745 -
2008-09-10 21:25:59 +00:00
florian
b178b08ba7 Merged revisions 11665-11738 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/unicodestring

........
  r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * continued to work on unicodestring type support
........
  r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
  r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * more unicodestring stuff fixed, test results on win32 are already good
........
  r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * first fixes for unix bootstrapping
........
  r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
  
      * fixed 64bit bug in iconvenc.pas
........
  r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
  
  * fixed several errors when building on unix
........
  r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * fixed unix compilation
........
  r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * bootstrapping fix
........
  r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * more bootstrapping fixed
........
  r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
  
  + two missing compiler procs exported
........
  r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + lazarus project for the linux rtl
........
  r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + set unicode string procedures
........
  r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  * fixed several type casting stuff
........
  r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
  
  * fixed unicodestring compilation on windows after recent unix changes
........
  r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
  
  + UnicodeString support for Variants
........
  r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
  
  * patch by Martin Schreiber for UnicodeString streaming
........
  r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
  
  * fixed test
........
  r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
  
  * fixed typo when converting tunicodestring to punicodechar
........
  r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
  
  * fixed writing of UnicodeString properties
  * moved some helper routines to unicode headers
........
  r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
  
  * fixed bootstrapping
........
  r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
  
  * first fixes for persisten unicodestrings
........
  r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-11663" from 
  http://svn.freepascal.org/svn/fpc/trunk
........
  r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  * fixed unicodestring <-> variant handling
  * fixed unicodestring property reading
........

git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
Jonas Maebe
65f5557fc4 + test for mantis #12051 (already works correctly in 2.3.1)
git-svn-id: trunk@11704 -
2008-09-04 18:48:25 +00:00
Jonas Maebe
2b067a427d * give warning if a routine in the interface of a non-interface-only
macpas routine is not implemented and therefore considered to be
    external

git-svn-id: trunk@11703 -
2008-09-04 18:15:26 +00:00
peter
e90ce867d9 * fphashlist, update hashcapacity also if capacity is changed
git-svn-id: trunk@11699 -
2008-09-03 21:04:53 +00:00
peter
060bdbcb47 * fix writing of goto node to ppu
* replace derefnode with resolveppuidx method that only needs to be
    implemented for nodes referencing other nodes
  * fix IE when a label is not defined in inline function

git-svn-id: trunk@11697 -
2008-09-03 20:46:04 +00:00
Jonas Maebe
65f217ed02 * only set dynarray pointer to nil in decref in case the last reference
has been destroyed (mantis #12000)

git-svn-id: trunk@11672 -
2008-08-31 10:07:53 +00:00
yury
a01db888c2 * Patch by Carolos Foscolos. PCEOID, CREATE_INVALIDGUID and cleaned up file also included windbase_edb.inc which is now called by windbase.
git-svn-id: trunk@11656 -
2008-08-26 08:02:20 +00:00
ivost
01dc3a0e12 * xmlxsd helper unit
* removed csrc from libxml directory

git-svn-id: trunk@11654 -
2008-08-25 21:14:23 +00:00
michael
f083839a76 * Initial implementation
git-svn-id: trunk@11649 -
2008-08-25 13:47:06 +00:00
michael
c5007f1cad * Created lazarus project file for easier editing
git-svn-id: trunk@11648 -
2008-08-25 09:52:14 +00:00
michael
ca43ca9c5d * Created lazarus project file for easier editing
git-svn-id: trunk@11647 -
2008-08-25 09:50:29 +00:00
florian
e89ee84c53 * ignore $region/$endregion directives, resolves #11937
git-svn-id: trunk@11643 -
2008-08-23 18:42:14 +00:00
ivost
510e22e898 * new libxml2 samples
git-svn-id: trunk@11634 -
2008-08-22 22:06:19 +00:00
ivost
52666b1dc0 * new libxml2 sample
git-svn-id: trunk@11633 -
2008-08-22 21:15:51 +00:00
ivost
29295df972 * add new libxml sample
git-svn-id: trunk@11631 -
2008-08-22 20:10:53 +00:00
florian
1c0bd054f4 + tfornode.simply which removes for loops being never executed
* handle function results correctly in life dfa
* handle for loops with at least one iteration better in life dfa
o resolves #8151

git-svn-id: trunk@11624 -
2008-08-21 21:38:50 +00:00
michael
738428b082 * Patch from Paul Ishenin, adding gtk 2.6 symbols
git-svn-id: trunk@11618 -
2008-08-21 07:37:56 +00:00
michael
996f298ee7 * Patch from Paul Ishenin:
- added goption.inc with apropriate glib symbols
  - added gincludes.inc which contains all other include files (similar to
    gtk/gdk bindings and simlify inclusion into glib2.pas)
  - checked/corrected all the .inc files and make them follow to template used in gtk/gdk (4 sections:
    read_forward_definitions, read_interface_types, read_interface_rest, read_implementation)
  - removed from most of .inc files unneeded comments that has been taken from original glib .h files. Some of
    them were used by glib devels and others repeats official documentation.

git-svn-id: trunk@11617 -
2008-08-21 07:34:06 +00:00
florian
369ed493f2 * new node flag nf_modify to mark nodes being read and then written by one load node
* dfa takes care of nf_modify to create better life information
o resolves #11846 and #11849

git-svn-id: trunk@11615 -
2008-08-20 21:35:05 +00:00
Jonas Maebe
5feba9b3d7 * also free memory when a destructor is called without an explicit
instance reference (mantis 11896)
  * fixed double destructor call in tests/test/cg/tcalcla1.pp which
    caused an error after this change

git-svn-id: trunk@11599 -
2008-08-17 12:38:41 +00:00
Jonas Maebe
76ce35b905 * method definitions in "child" interfaces also hide those in "parent"
interfaces, even if they only differ in resulttype (mantis #11862)
  * fixing this required that multiple entries for the same method in a
    interface vmt are all written out (change in
    ImplementedInterface.AddImplProc)

git-svn-id: trunk@11595 -
2008-08-16 20:08:25 +00:00
Jonas Maebe
6d0326a55b * don't call procvars passed to formal parameters (mantis #11861)
git-svn-id: trunk@11592 -
2008-08-16 14:40:51 +00:00
michael
7b32574345 * Patch from Paul Ishenin to add GTK 2.4 symbols
git-svn-id: trunk@11587 -
2008-08-16 09:19:38 +00:00
Jonas Maebe
6697f173b6 * the fact that a procedure is local does not mean that it by definition
does not need a GOT pointer (mantis #11852)

git-svn-id: trunk@11586 -
2008-08-16 08:12:23 +00:00
florian
43f3b72139 * continued to play with avr
git-svn-id: trunk@11584 -
2008-08-15 13:52:54 +00:00
yury
8818df640f * Fixed passing of open array of wide string literals to function which expects 'array of pwidechar' parameter in case source file has utf8 encoding. Compiler thrown the following error in such case: Incompatible type for arg no. 1: Got "Array Of Const/Constant Open Array of WideString", expected "Open Array Of PWideChar".
+ Test for this issue.

git-svn-id: trunk@11581 -
2008-08-14 18:55:10 +00:00
michael
c9892be230 * Patch from Paul Ishenin: - added pango_renderer_xxx and pango_matrix_xxx symbols from pango 1.6 version
git-svn-id: trunk@11563 -
2008-08-13 15:24:28 +00:00
florian
10d03c7f4e + lazarus project for avr
git-svn-id: trunk@11561 -
2008-08-13 15:17:52 +00:00
michael
cace261b6b * Patch from Paul Ishenin
- adds missing gdk 2.4 symbols

git-svn-id: trunk@11560 -
2008-08-13 15:17:35 +00:00
michael
969238e08d * Patch from Paul Ishenin:
- adds missing gdk 2.2 symbols
  - added missing types: GdkDisplayManager, GdkDisplayPointerHooks

git-svn-id: trunk@11554 -
2008-08-12 13:03:21 +00:00
florian
8cc0a04db5 * handle exit(<expr>) correctly in the dfa, resolves #11848
git-svn-id: trunk@11547 -
2008-08-11 19:01:07 +00:00
michael
c2dc42bb89 * test for Data dictionary diff mechanism
git-svn-id: trunk@11545 -
2008-08-11 10:18:48 +00:00
michael
2f284f40b5 * Data dictionary diff mechanism
git-svn-id: trunk@11544 -
2008-08-11 10:17:00 +00:00
ivost
62d71b77b5 * removed deprecated include file
git-svn-id: trunk@11536 -
2008-08-07 16:38:24 +00:00
ivost
fd2b09c12c * included libxml2 examples into build tree
git-svn-id: trunk@11533 -
2008-08-07 12:11:32 +00:00
ivost
a780fdffbc * renamed .h to .inc
* prepeared for dynamic linking support

git-svn-id: trunk@11530 -
2008-08-07 11:43:38 +00:00
ivost
c5333b5be3 * updated file properties
git-svn-id: trunk@11524 -
2008-08-07 08:37:14 +00:00
Almindor
e64aec7c6e * add GtkScaleButton and GtkVolumeButton
* add missing gtk2.8+ functions for GtkTextMark and GtkTextIter

git-svn-id: trunk@11506 -
2008-08-03 14:48:09 +00:00
florian
d2214685c3 * fixes compiler crash with out of memory on illegal array declarations
git-svn-id: trunk@11505 -
2008-08-03 10:34:41 +00:00
florian
e0ff540918 + defined FPC_FULLVERSION as integer constant containing the version,
release and patch level are always two digits so the version can 
  be compared numerically: so 2.2.2 results in 20202, resolves #11568

git-svn-id: trunk@11504 -
2008-08-03 09:31:50 +00:00
micha
2ab60da6d5 * add test case for #11777
git-svn-id: trunk@11500 -
2008-08-01 18:43:55 +00:00
florian
a34529f50f * passing by value of variants with stdcall conventions, resolves #10042
git-svn-id: trunk@11498 -
2008-08-01 18:03:41 +00:00
florian
1fa70f7a0a * proper support for tobject.getinterface with raw/corba interfaces, resolves #6798 and #6036
git-svn-id: trunk@11497 -
2008-08-01 15:27:58 +00:00
florian
daedb7d82e * properties properly set
git-svn-id: trunk@11475 -
2008-07-28 15:56:23 +00:00
florian
66e015f48c * avoid shifter constant overflow on arm when optimizing two shifter operations into one
git-svn-id: trunk@11474 -
2008-07-28 15:51:58 +00:00
florian
076df335e8 + benchmark to test md5 improvement by internal rol
git-svn-id: trunk@11471 -
2008-07-28 12:47:24 +00:00
Jonas Maebe
2f2d4714d0 + test to make sure that {$x-} works properly for inlined functions
git-svn-id: trunk@11467 -
2008-07-27 19:15:56 +00:00
florian
1afb1aa9cc + ror/rol functions
+ internal compiler support for ror/rol on i386

git-svn-id: trunk@11466 -
2008-07-27 17:12:32 +00:00
florian
0a26b6a129 + lazarus project to build win32 rtl
git-svn-id: trunk@11464 -
2008-07-27 09:21:03 +00:00
Jonas Maebe
b367162fcb + added test
git-svn-id: trunk@11463 -
2008-07-27 09:17:54 +00:00
Almindor
87fa11fbd2 * add initial gtk2ext unit for optional gtk2.8+ stuff
git-svn-id: trunk@11436 -
2008-07-23 08:43:54 +00:00
giulio
157b00a44a IDE: Cleaned ifdefs related to Turbo Pascal and FPC 1.x
git-svn-id: trunk@11423 -
2008-07-20 21:37:48 +00:00
marco
97cf173578 * Removed the bootstrapping related charset.pas, and merged one minor fix from it to the rtl one.
git-svn-id: trunk@11416 -
2008-07-20 12:10:31 +00:00
marco
0ea254295f * iconvenc packages, first version. Tested on Linux/x86 and FreeBSD/x86
git-svn-id: trunk@11407 -
2008-07-19 10:58:53 +00:00
peter
4e278bccb1 * more generic tests
git-svn-id: trunk@11405 -
2008-07-18 23:31:02 +00:00
tom_at_work
f11cf59854 * tests for checking type casts from integers/enums to TObjects in Delphi and non-Delphi mode (see r11398)
git-svn-id: trunk@11400 -
2008-07-18 15:53:37 +00:00
florian
70e7932fe4 + rescued old QNX RTL code
git-svn-id: trunk@11397 -
2008-07-18 13:24:50 +00:00
florian
050627ea1d * allow goto inside finally blocks
git-svn-id: trunk@11392 -
2008-07-17 19:49:38 +00:00
michael
b3d983ce07 * Initial testsuite from Sergei Gorelkin
* testgen.pp - an utility to convert w3.org tests from XML format
      into fpcunit-compatible Pascal source. The official testsuite uses
      xslt for conversion, but, since there is no xslt for Pascal, and no
      xslt support in FCL yet, I wrote an utility.
    * api.xml    - API 'database', needed by testgen.
    * domunit.pp - an fpcunit extension, provides DOM-specific runtime
      support.
    * README_DOM - provides some instructions about putting it all together.

git-svn-id: trunk@11390 -
2008-07-17 14:57:31 +00:00
florian
9e88af9a78 * support ABSOLUTE32 in the COFF writer on x86-64, resolves #10641
git-svn-id: trunk@11376 -
2008-07-13 09:10:50 +00:00
michael
cc0c2d6467 * SqlScript committed
git-svn-id: trunk@11366 -
2008-07-11 14:16:39 +00:00
michael
c33657c0e0 * Improvements to tiopf code generator, and build project for use with lazarus
git-svn-id: trunk@11354 -
2008-07-10 09:08:40 +00:00
florian
fffc05731c * don't crash when ranges are passed erroneously to an array of const, resolves #11632
git-svn-id: trunk@11353 -
2008-07-09 21:06:24 +00:00
michael
f4c51462ad * Code generator for populating a data dictionary in code
git-svn-id: trunk@11352 -
2008-07-09 13:50:12 +00:00
florian
38a6d955e3 * moved to proper location
git-svn-id: trunk@11344 -
2008-07-07 18:41:44 +00:00
florian
f5d9a9d1b7 * empty tprocess command line results on windows now in the same exception as on unix
* some code unified

git-svn-id: trunk@11343 -
2008-07-07 18:41:10 +00:00
florian
ed9c7ceaea * support deprecated for types
git-svn-id: trunk@11341 -
2008-07-07 17:59:48 +00:00
Jonas Maebe
30a51c2dee + support for the different rounding modes in the generic rounding
routines (mantis #11392)

git-svn-id: trunk@11290 -
2008-06-27 17:20:56 +00:00
Jonas Maebe
4d4b7ddbf6 * renamed for consistency
git-svn-id: trunk@11289 -
2008-06-27 14:30:02 +00:00
florian
67e811db60 * handle booleans correctly in Typinfo.GetEnum*, resolves #11372
git-svn-id: trunk@11284 -
2008-06-26 20:01:31 +00:00
giulio
cc08543f57 Patch from Petr Kristan for AnsiStrComp/AnsiStrIComp to fix comparison
when both strings are empty and differ after the null character + test.

git-svn-id: trunk@11277 -
2008-06-25 07:07:54 +00:00
joost
38b265f60f * Add ability to test TSdfDataset
git-svn-id: trunk@11275 -
2008-06-24 21:50:16 +00:00
florian
fca8883f27 * moved oo_copied into defoptions
* record symtables are now handled properly as well if a record is copied, resolves #9144
* fixed a memory leak when copying classes
* increased PPU version to 91

git-svn-id: trunk@11273 -
2008-06-24 20:23:45 +00:00
florian
467aeb3446 * avoid ie 99080501 when overloading procedures with open arrays of widechar, resolves #11543
git-svn-id: trunk@11266 -
2008-06-23 18:50:51 +00:00
Jonas Maebe
a60a957420 * fixed setting bitpacked record fields straddling their natural boundaries
to 0 or field_type(-1) (bug noted by Russell Davies on fpc-devel + his
    test programs)
  * fixed bit offset calculations for nested bitpacked record regvars

git-svn-id: trunk@11242 -
2008-06-18 16:31:39 +00:00
florian
dc92aceef7 * more naming duplicate unit names solved, reason is that COMPILER_UNITTARGETDIR used with make all requires this (all units end in one directory)
git-svn-id: trunk@11221 -
2008-06-12 21:51:35 +00:00
florian
e01e1c9476 * renamed lexlib and yacclib units to avoid name clashes with that ones from tply
git-svn-id: trunk@11220 -
2008-06-12 21:40:10 +00:00
florian
58757d0630 * support of dq in Intel assembler on 64 bit CPUs, resolves #11425
git-svn-id: trunk@11211 -
2008-06-07 15:08:48 +00:00
yury
0dbc1960bc + Added more wince api interface units by Vasil Maximov.
git-svn-id: trunk@11204 -
2008-06-05 08:39:00 +00:00
yury
fc55afcac9 + Added many new wince api interface units by Vasil Maximov.
git-svn-id: trunk@11192 -
2008-06-04 14:58:20 +00:00
florian
839e391467 + rescued some old PalmOS stuff
git-svn-id: trunk@11190 -
2008-06-04 14:08:48 +00:00
giulio
811331d8af Properties set for install.dat
git-svn-id: trunk@11183 -
2008-06-03 15:51:07 +00:00
marco
6a993fc079 * added files from linux to attempt having part of the startup in pascal
git-svn-id: trunk@11158 -
2008-06-01 13:55:37 +00:00
Jonas Maebe
0d82ff82ba * forgot to remove a renamed file
git-svn-id: trunk@11156 -
2008-06-01 12:15:44 +00:00
Jonas Maebe
b6a8e4343d * fixed tbinaryobjectwrite.writeset/readset on big endian systems
(and made it future proof in case the set format should change
     again, as long as the size of all streamed sets is guaranteed
     to be 4 bytes and if their packset setting is guaranteed to
     be 0).

git-svn-id: trunk@11149 -
2008-05-31 22:10:53 +00:00
marco
1d9b04bda9 * added somes comments to cprt0.as
script to patch cprt0.as to current .note abi id. (run on target!)

git-svn-id: trunk@11143 -
2008-05-31 18:09:55 +00:00
micha
b3548b4673 * fix TFPGMap key compare (fixes issue #11354)
git-svn-id: trunk@11138 -
2008-05-31 13:12:39 +00:00
Jonas Maebe
25ad8f8078 * Merged r211-r234 of the common interfaces, with one change: the ObjC
unit has been renamed ObjCRuntime, to avoid a name clash with the
    the other Objective-C translation, and this unit is also not included
    in the MacOSAll unit
  * warning: the FPCMacOSAll unit is now called MacOSAll, to avoid requiring
    ifdefs when keeping a program compilable between e.g. GPC and FPC

...
r211 | gale | 2008-03-19 07:41:36 +0100 (Wed, 19 Mar 2008) | 6 lines
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/CGLTypes.pas
   A /metaPascal/trunc/MPPInterfaces/CVBase.pas
   A /metaPascal/trunc/MPPInterfaces/CVBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVDisplayLink.pas
   A /metaPascal/trunc/MPPInterfaces/CVHostTime.pas
   A /metaPascal/trunc/MPPInterfaces/CVImageBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelBufferPool.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelFormatDescription.pas
   A /metaPascal/trunc/MPPInterfaces/CVReturns.pas

Initial translations of CGLTypes.h, CVBase.h, CVBuffer.h, CVDisplayLink.h,
CVHostTime.h, CVImageBuffer.h, CVPixelBuffer.h, CVPixelBufferPool.h,
CVPixelFormatDescription.h, and CVReturn.h from MacOSX10.4u.sdk.  To avoid a GPC
identifier redeclaration problem, Pascal unit and file name corresponding to 
CVReturn.h uses a "s" suffix.

...
r212 | gale | 2008-03-19 09:55:13 +0100 (Wed, 19 Mar 2008) | 4 lines
Changed paths:
   D /metaPascal/trunc/MPPInterfaces/CGDisplayFade.pas
   A /metaPascal/trunc/MPPInterfaces/CGDisplayFades.pas (from /metaPascal/trunc/MPPInterfaces/CGDisplayFade.pas:210)
   M /metaPascal/trunc/MPPInterfaces/CoreGraphics.pas

Renamed CGDisplayFade unit to CGDisplayFades to fix a GPC gpc-20070904
redeclaration issue involving the function CGDisplayFade.  Also, updated the
CoreGraphics framework unit's uses clause to reflect the name change.

...
r213 | adriaan | 2008-03-25 09:37:06 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/fp.pas

Fix precision of pi
...
r214 | adriaan | 2008-03-25 09:50:48 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Menus.pas

Fix byte parameter of GetMenuItemModifiers, SetMenuItemModifiers, GetMenuItemIconHandle and SetMenuItemIconHandle
...
r215 | adriaan | 2008-03-25 12:19:33 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Use FourCharCode casts for FPC instead of hex numbers.
...
r216 | peter | 2008-03-25 14:20:20 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Makefile
   M /metaPascal/trunc/Scripts/GenerateFile.pl
   M /metaPascal/trunc/Scripts/GenerateMakefile.pl
   M /metaPascal/trunc/Scripts/make-common-interfaces.pl

XXXMacOSAll -> MacOSAll
...
r217 | adriaan | 2008-03-25 17:52:07 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/CFByteOrders.pas

Fix the result type of CFConvertFloat64SwappedToHost and friends for GPC and MW
...
r218 | gale | 2008-03-26 04:15:58 +0100 (Wed, 26 Mar 2008) | 2 lines
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Increment the GAP version number for tbe upcoming release.

...
r219 | adriaan | 2008-03-26 11:41:37 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Events.pas

Change KeyMap to packed array of boolean for FPC. Solve GetKeys endian issue on PowerPC for FPC and GPC.
...
r220 | adriaan | 2008-03-26 12:19:19 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/fp.pas

Add pi=system.pi to fp.p for FPC
...
r221 | adriaan | 2008-03-26 12:41:27 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Menus.pas

Fix GetItemMark and GetItemCmd for FPC and GPC
...
r222 | adriaan | 2008-03-26 16:42:53 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateMakefile.pl

Add support for: make GPC_COMPILER=xxx FPC_COMPILER=yyy compile
...
r223 | adriaan | 2008-03-30 17:25:57 +0200 (Sun, 30 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Implement 'const var' for GPCt
...
r224 | adriaan | 2008-04-23 18:26:04 +0200 (Wed, 23 Apr 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/AIFF.pas

Rename ID in AIFF.pas to ChunkID
...
r225 | adriaan | 2008-04-23 18:34:38 +0200 (Wed, 23 Apr 2008) | 1 line
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/ObjC.pas

Add Objective-C Runtime ObjC.pas
...
r226 | adriaan | 2008-05-04 07:19:30 +0200 (Sun, 04 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Files.pas
   M /metaPascal/trunc/MPPInterfaces/Folders.pas

Introduce DirIDType = SInt32
...
r227 | adriaan | 2008-05-04 11:51:08 +0200 (Sun, 04 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/CFByteOrders.pas
   M /metaPascal/trunc/MPPInterfaces/Events.pas
   M /metaPascal/trunc/MPPInterfaces/Menus.pas
   M /metaPascal/trunc/MPPInterfaces/ToolUtils.pas

Fix MW warnings for units with an implementation part
...
r228 | adriaan | 2008-05-05 09:13:10 +0200 (Mon, 05 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/FPCStrings.pas

Fix compile error in FPCStrings.pas
...
r229 | adriaan | 2008-05-05 09:34:13 +0200 (Mon, 05 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateMacOS.pl

Add GPCStrings.pas (aka FPCStrings.pas) to MacOS.pas
...
r230 | adriaan | 2008-05-06 12:30:18 +0200 (Tue, 06 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Set GAP release version to 210 instead of 201
...
r232 | adriaan | 2008-05-07 09:09:30 +0200 (Wed, 07 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Fix GPC implemented procedures, functions and constants
...
r233 | adriaan | 2008-05-09 07:55:17 +0200 (Fri, 09 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/ObjC.pas

Add attribute(ignorable) to objc_msgSend(Super)
...
r234 | adriaan | 2008-05-16 21:09:52 +0200 (Fri, 16 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/ObjC.pas

Remove FPC implemented functions that reference the ObjC runtime
...

git-svn-id: trunk@11137 -
2008-05-31 12:36:41 +00:00
michael
5d2e9d4d4c Slovak translation from Dusan Halicky
git-svn-id: trunk@11113 -
2008-05-28 20:17:02 +00:00
Tomas Hajny
31da5363ed + Makefile for os2units/examples added
git-svn-id: trunk@11101 -
2008-05-27 21:37:59 +00:00
Tomas Hajny
74e0e90a45 * move clktest to examples
git-svn-id: trunk@11100 -
2008-05-27 21:35:28 +00:00
michael
c902915f9e * Adding it here till a solution for fpcunit-based tests exists
git-svn-id: trunk@11087 -
2008-05-26 18:31:36 +00:00
Jonas Maebe
0a79badb4e + added missing makefiles
git-svn-id: trunk@11072 -
2008-05-24 09:05:59 +00:00
Jonas Maebe
e60e078eb5 * only allow decimalseparator to be used as decimal separator in
texttofloat() and friends, rather than both '.' and decimalseparator
    (mantis #9126)

git-svn-id: trunk@11069 -
2008-05-24 08:49:34 +00:00
florian
216e468cd9 + test for #10045
git-svn-id: trunk@11065 -
2008-05-23 21:23:10 +00:00
Jonas Maebe
e4124cd070 + added test
git-svn-id: trunk@11061 -
2008-05-23 18:12:02 +00:00
florian
67ef9f20ae * test for previous commit
* fixed wrapper generation for bigger offsets as well

git-svn-id: trunk@11059 -
2008-05-23 16:16:34 +00:00
florian
33b69b0bd2 * fixed wrong naming
git-svn-id: trunk@11034 -
2008-05-22 11:08:14 +00:00
Jonas Maebe
63abaeecea + test for already fixed mantis #11309
git-svn-id: trunk@11026 -
2008-05-21 17:06:41 +00:00
Jonas Maebe
ecf4aa7f55 * use rounding correction in str_real based on smallest possible
delta for which 1.0 and 1.0+delta is different, rather than
    some power-of-10 ballpark equivalent (fixes mantis #11308)
  * print the same number of digits for doubles on systems
    which support extended as on those which don't (i.e.,
    one digit less on the former). This solves regressions after
    the previous change and is Delphi-compatible.
  * adapted tests for the previous change

git-svn-id: trunk@11025 -
2008-05-21 16:55:31 +00:00
florian
6d9eeaf0f0 + missing (empty) file
git-svn-id: trunk@11021 -
2008-05-21 07:07:58 +00:00
florian
c9433c0b1f - removed directory with non-working sources as well with copyrighted sources
git-svn-id: trunk@11019 -
2008-05-19 20:20:01 +00:00
florian
35c0f78642 + Haiku support by Olivier Coursière based on old BeOS support
git-svn-id: trunk@11014 -
2008-05-19 17:33:35 +00:00
florian
1fe749c90c + test for proper line info retrival from dlls/sos
git-svn-id: trunk@11007 -
2008-05-18 18:26:17 +00:00
florian
d7673694f1 * enable parsing of default properties when used with objects, resolves #10795
git-svn-id: trunk@11003 -
2008-05-18 13:27:59 +00:00
florian
df32d17e1a * stress testing for interface wrappers
git-svn-id: trunk@10994 -
2008-05-18 08:58:55 +00:00
joost
232ee3dfa0 * Renamed the RegExprCompat unit to RegExpr. This wrapper around the Regex unit now replaces the old RegExpr unit.
git-svn-id: trunk@10989 -
2008-05-17 19:32:47 +00:00
joost
1aef65f5c0 * Moved regexpr unit to old
git-svn-id: trunk@10987 -
2008-05-17 19:24:47 +00:00
Legolas
3a21b6e5a6 * Fixed nds rtl
* Changes for gba:
  * Random number generator is now embedded in the rtl
  * Improved heap 
  * Updated the linker script
  - Removed the outdated gbaunits library and
  + replaced by libgbafpc package

git-svn-id: trunk@10986 -
2008-05-17 18:57:14 +00:00
florian
e265393d7a * make stringconstn => open array of char a l1 conversion as it was earlier, resolves #10727
git-svn-id: trunk@10984 -
2008-05-17 18:18:51 +00:00
florian
f5ccb70a2f * commited to wrong directory
git-svn-id: trunk@10979 -
2008-05-15 18:40:05 +00:00
florian
eca558b33b * don't crash on empty ProcDefs when handling interfaces, resolves #11295
git-svn-id: trunk@10978 -
2008-05-15 18:38:24 +00:00
yury
5cfdc37662 + Added cpl unit by Vasil Maximov.
git-svn-id: trunk@10971 -
2008-05-14 16:34:19 +00:00
yury
26efe0df1d + Added sipapi unit by Vasil.
git-svn-id: trunk@10962 -
2008-05-13 10:55:53 +00:00
Jonas Maebe
6ac63bcafe * also process tcallnode.funcretnode in nutils.foreachnode*(),needed
for properly synchronizing regvars after loops. The absense of this
    causes the crash in the test program of mantis #11290 under 2.2.1,
    and while it doesn't crash under 2.3.1 due to differences in the
    code generation, the bug could cause errors in other situations
    here as well)

git-svn-id: trunk@10959 -
2008-05-12 20:50:43 +00:00
florian
8306eb4753 * compare constant sets correctly while choosing an overloaded procedure, resolves #11288
git-svn-id: trunk@10957 -
2008-05-12 12:45:55 +00:00
Jonas Maebe
87aa666768 + test I still had lying around
git-svn-id: trunk@10950 -
2008-05-12 09:51:19 +00:00
florian
88cfaf0a41 + added overload directive as requested by Paul
git-svn-id: trunk@10949 -
2008-05-12 09:15:39 +00:00
yury
b658d55980 * Renamed oleaut32 to oleauto to match corresponding C header name.
git-svn-id: trunk@10941 -
2008-05-11 10:05:48 +00:00
florian
0a4314206f * range check error checking for floats refactored
* never throw range/overflow check errors for floats in delphi mode, resolves #7584

git-svn-id: trunk@10940 -
2008-05-11 09:09:21 +00:00
florian
4a243d451f + support of -Mxxx or $modeswitch to enable single mode specific features
git-svn-id: trunk@10936 -
2008-05-10 22:04:53 +00:00
florian
c399cbc520 - unused
git-svn-id: trunk@10931 -
2008-05-10 16:13:20 +00:00
Jonas Maebe
b31a502e6e * tw9176a should fail, moved to webtbf and added { %fail }
+ added tw9176 which should succeed

git-svn-id: trunk@10924 -
2008-05-09 21:01:41 +00:00
yury
89eb913ad3 + Added htmlctrl.
git-svn-id: trunk@10920 -
2008-05-09 19:38:59 +00:00
giulio
18868ae015 Added fpmake.pp for fcl-res
git-svn-id: trunk@10919 -
2008-05-09 19:07:05 +00:00
yury
981920616f * Windows unit additions by Vasil.
+ msgqueue, pm, service, winioctl header translations by Vasil.

git-svn-id: trunk@10914 -
2008-05-09 15:25:28 +00:00
Jonas Maebe
0645313da5 * fixed wrong internal error in case a swapped set <op> setelement
addnode was processed after r10432/10433 (mantis #11255)

git-svn-id: trunk@10904 -
2008-05-07 18:11:18 +00:00
yury
1ec04dfd36 * Moved gx to packages.
git-svn-id: trunk@10903 -
2008-05-07 13:39:41 +00:00
yury
26d51730a8 + Added cesync, rapi, windbase units. rapi is builded for win32 only. cesync is builded for both wince and win32.
git-svn-id: trunk@10902 -
2008-05-07 13:16:34 +00:00
yury
4ea565e9a6 + Added gpsapi and todaycmn units by Vasil.
git-svn-id: trunk@10901 -
2008-05-07 12:54:12 +00:00
yury
9633252e30 * Fixed winceunits sources and added them to build.
git-svn-id: trunk@10900 -
2008-05-07 12:46:47 +00:00
yury
e2634e0b8d * renamed files.
git-svn-id: trunk@10898 -
2008-05-07 11:26:28 +00:00
yury
d2af7aa34a * Started moving wince extra APIs from windows unit to separate units in packages/winceunits. Similar to win32/64.
git-svn-id: trunk@10897 -
2008-05-07 11:16:05 +00:00
Jonas Maebe
edae55a3a9 + test for mantis #11182 (one which also crashed 2.3.1 before
the fix)

git-svn-id: trunk@10894 -
2008-05-06 13:45:25 +00:00
Jonas Maebe
aa4e14f96a + test for mantis #6769 (already works with 2.3.1 and 2.2.1)
git-svn-id: trunk@10892 -
2008-05-06 12:26:18 +00:00
Jonas Maebe
85b9c65f51 * fixed support in macpas mode for anonymous procedure/function types
in parameter lists after r9484 (mantis #11254)

git-svn-id: trunk@10885 -
2008-05-05 11:59:35 +00:00
marco
046de405d1 * test for enum case, on Jonas' request
git-svn-id: trunk@10881 -
2008-05-04 18:31:33 +00:00
marco
5edafaab61 * Examples from 10820. Russian one needs testing. Makefile will follow
git-svn-id: trunk@10878 -
2008-05-04 15:51:26 +00:00
Jonas Maebe
71d268db32 + extra test for #10998
git-svn-id: trunk@10877 -
2008-05-04 12:45:10 +00:00
florian
95c69a64ad * don't generate a hidden parameter for static class methods, resolves #10998
git-svn-id: trunk@10876 -
2008-05-04 07:43:24 +00:00
florian
8fe43377e1 + convert case <boolean> of into if statement, resolves #10517
git-svn-id: trunk@10873 -
2008-05-03 10:27:55 +00:00
florian
c56c6e976c + allow dyn. arrays to be published, resolves #10493
git-svn-id: trunk@10870 -
2008-05-02 21:15:10 +00:00
marco
80fc6fbed2 * Updated header translations from Luiz. Now should work for win32 too
git-svn-id: trunk@10854 -
2008-05-01 15:24:06 +00:00
Jonas Maebe
f24cecc750 * renamed tests so they get executed by the testsuite
* fixed texec2 so it hopefully works for both *nix and windows

git-svn-id: trunk@10847 -
2008-04-30 19:09:01 +00:00
Jonas Maebe
95637dea75 * fixed swapendian(smallint) (bug found by Joost van der Sluis)
* based swap(smallint) and swap(word) on swapendian(smallint/word),
    since the same bug was already fixed in swap(smallint) in r6752
    (so these routines now share the same code)
  * fixed potential range error in swapendian(word)
  + added basic test for the above four routines

git-svn-id: trunk@10840 -
2008-04-29 22:14:43 +00:00
Jonas Maebe
311f7c7056 + test for md2/md4/md5 based on the md* example program
git-svn-id: trunk@10809 -
2008-04-26 21:29:45 +00:00
Jonas Maebe
2413d4b43f * fixed constant evaluation check for negvalue+posvalue (mantis #11216)
git-svn-id: trunk@10808 -
2008-04-26 21:22:08 +00:00
florian
0d1a85715a * another test moved to packages
git-svn-id: trunk@10806 -
2008-04-26 20:23:43 +00:00
florian
8205f6c7b0 + infrastructure for tests depending on packages, by default, package tests are executed.
Setting QUICKTEST when calling the makefile disables package tests
* first tests moved

git-svn-id: trunk@10805 -
2008-04-26 20:20:26 +00:00
Jonas Maebe
85133af357 + (interactive) test for locale settings by Petr Kristan
git-svn-id: trunk@10780 -
2008-04-24 13:08:43 +00:00
florian
17c533849b * uncommited overleft, test not working yet
git-svn-id: trunk@10762 -
2008-04-22 20:36:35 +00:00
Jonas Maebe
78f96e857c + test for mantis #10863
git-svn-id: trunk@10717 -
2008-04-19 17:19:30 +00:00
Jonas Maebe
57087da620 * return an empty string for paramstr(value>paramcount) (already correct
for other targets, mantis #11169)

git-svn-id: trunk@10704 -
2008-04-18 16:56:44 +00:00
yury
95ea5d87dd * Fixed int to int conversion in ARM code generator.
+ Added new test to detect more bugs in int to int conversion.

git-svn-id: trunk@10691 -
2008-04-18 11:31:12 +00:00
yury
ec943198fd * Properly fill treference.alignment when variable is loaded by tcgloadnode. It allows code generator to insert unaligned handling if needed.
* Improved generic a_load_ref_reg_unaligned if ref alignment is 2.
* Improved unaligned load/store of register for ARM.
* It fixes passing records by value on ARM.
+ New test.

git-svn-id: trunk@10681 -
2008-04-16 23:01:20 +00:00
Jonas Maebe
76e23fc54e * fixed internalerror when having to choose between different
overloads in case there is only one variant parameter and
    one of the candidates has more hidden parameters than the
    other at the start (e.g. function(para):char and
    function(para):shortstring, depending on in which order the
    hidden shortstring result and para are processed, mantis
    #11139)

git-svn-id: trunk@10643 -
2008-04-13 10:21:26 +00:00
Jonas Maebe
668d1283a9 + test for already fixed mantis 11053
git-svn-id: trunk@10636 -
2008-04-12 17:47:12 +00:00
marco
36b557b142 * quick test successful -> commit
git-svn-id: trunk@10626 -
2008-04-11 15:00:26 +00:00
florian
951a202e5d * fix by Jan Bruns for #11042: improves reading of references on arm
git-svn-id: trunk@10625 -
2008-04-10 19:47:49 +00:00
michael
fce221f9b4 * Added clocale.pp from Petr Kristan
git-svn-id: trunk@10620 -
2008-04-09 08:32:26 +00:00
joost
44fe103c46 * Added Regex unit with an NFA regexpression parser, based on code from Julian Bucknall which is used with his permission
* Added RegExprCompat unit which contains an interface to the Regex unit which is compatible with the existing RegExpr unit
 * Added some more tests and added a define UseRegexCompat to make it possible to choose what regex-implementation to test. Test which fail on the existing regex-parser are placed between ifdefs

git-svn-id: trunk@10611 -
2008-04-06 21:23:13 +00:00
Jonas Maebe
7e4750ac50 * workaround for default property constant value limitations
git-svn-id: trunk@10575 -
2008-03-28 10:15:33 +00:00
michael
6fb20aabf6 * Support for version 5.6 of ncurses, by Tolstov Igor
git-svn-id: trunk@10573 -
2008-03-27 21:23:26 +00:00
michael
93400f276c Merged revisions 9263-10571 via svnmerge from
svn+ssh://svn.freepascal.org/FPC/svn/fpc/branches/cleanroom

................
  r9269 | michael | 2007-11-17 13:58:31 +0100 (Sat, 17 Nov 2007) | 1 line
  
  * Cleaned initial list of tained routines
................
  r9270 | michael | 2007-11-17 14:00:25 +0100 (Sat, 17 Nov 2007) | 1 line
  
  * Test routines for cleanroom implementation
................
  r9271 | michael | 2007-11-17 14:04:43 +0100 (Sat, 17 Nov 2007) | 1 line
  
  DoVarClearArray also tainted
................
  r9272 | michael | 2007-11-17 15:25:04 +0100 (Sat, 17 Nov 2007) | 1 line
  
  * Removed possibly tainted code
................
  r9276 | Almindor | 2007-11-17 21:29:16 +0100 (Sat, 17 Nov 2007) | 2 lines
  
  * initial cleanroom implementation of TStringList.Find
................
  r9277 | Almindor | 2007-11-17 21:32:44 +0100 (Sat, 17 Nov 2007) | 2 lines
  
  * also commit forgotten part for "where would it instert" in case of sorted stringlist
................
  r9295 | michael | 2007-11-19 21:07:10 +0100 (Mon, 19 Nov 2007) | 1 line
  
  * More tests
................
  r9307 | michael | 2007-11-21 08:43:56 +0100 (Wed, 21 Nov 2007) | 1 line
  
  * More tests and reorganization per unit
................
  r9308 | michael | 2007-11-21 08:47:58 +0100 (Wed, 21 Nov 2007) | 1 line
  
  * More reorganization of files
................
  r9310 | michael | 2007-11-21 21:05:40 +0100 (Wed, 21 Nov 2007) | 1 line
  
  * Completed tccollection tests
................
  r9322 | marco | 2007-11-24 15:40:18 +0100 (Sat, 24 Nov 2007) | 1 line
  
   * getnamepath first version. Tests not run yet (fpcunit)
................
  r9337 | michael | 2007-11-27 09:21:31 +0100 (Tue, 27 Nov 2007) | 1 line
  
  * Removed TFPlist.Assign and TFPList.Extract
................
  r9340 | michael | 2007-11-27 22:33:07 +0100 (Tue, 27 Nov 2007) | 1 line
  
  Removed HandleSafeCallException 
................
  r9343 | Almindor | 2007-11-28 11:23:00 +0100 (Wed, 28 Nov 2007) | 2 lines
  
  * add cleanroom quicksort implementation [tested very little]
................
  r9344 | Almindor | 2007-11-28 11:25:54 +0100 (Wed, 28 Nov 2007) | 2 lines
  
  * update quicksort to use ExchangeItems instead of manual swap
................
  r9359 | vincents | 2007-11-30 20:10:03 +0100 (Fri, 30 Nov 2007) | 1 line
  
  + clean room implementation of HandleSafeCallException; compiles, but not tested.
................
  r9387 | michael | 2007-12-03 14:24:32 +0100 (Mon, 03 Dec 2007) | 1 line
  
  * Clean-room implementation of TParser by Giulio Bernardi
................
  r9396 | michael | 2007-12-05 21:36:41 +0100 (Wed, 05 Dec 2007) | 5 lines
  
  * Patch from Giulio Bernardi:
   - Fixes token positioning after HexToBinary 
   - Support for certain malformed negative integer values
................
  r9399 | michael | 2007-12-06 16:53:41 +0100 (Thu, 06 Dec 2007) | 1 line
  
  * More tests for classes unit
................
  r9401 | michael | 2007-12-06 21:58:16 +0100 (Thu, 06 Dec 2007) | 1 line
  
  * Added additional tests for collection streaming. Restructured
................
  r9402 | michael | 2007-12-06 22:35:56 +0100 (Thu, 06 Dec 2007) | 1 line
  
  * All compiles again, resolving references not quite yet done
................
  r9434 | michael | 2007-12-12 21:24:57 +0100 (Wed, 12 Dec 2007) | 1 line
  
  * New FindNestedComponent routine
................
  r9466 | michael | 2007-12-15 23:44:41 +0100 (Sat, 15 Dec 2007) | 1 line
  
  * Fixed all tests
................
  r9468 | michael | 2007-12-16 01:00:01 +0100 (Sun, 16 Dec 2007) | 1 line
  
  * Fixed reader fixup of references
................
  r9491 | joost | 2007-12-18 21:46:54 +0100 (Tue, 18 Dec 2007) | 3 lines
  
   * Implemented TWriter.WriteComponent
   * Implemented TWriter.WriteComponentData
   * Implemented TWriter.WriteDescendent
................
  r9492 | joost | 2007-12-18 21:56:32 +0100 (Tue, 18 Dec 2007) | 1 line
  
   * The BinaryObjectWriter of fpc stores TValueTypes as a byte, fixed the test for that
................
  r9566 | michael | 2007-12-29 15:53:32 +0100 (Sat, 29 Dec 2007) | 1 line
  
  * Clean (and complete) implementation of T(FP)List.Assign
................
  r9567 | michael | 2007-12-29 16:02:19 +0100 (Sat, 29 Dec 2007) | 1 line
  
  * Additional tests for reference resolving and TList.Assign
................
  r9568 | michael | 2007-12-29 16:12:33 +0100 (Sat, 29 Dec 2007) | 1 line
  
  * Cleanroom implementation of extract
................
  r9750 | yury | 2008-01-14 13:07:17 +0100 (Mon, 14 Jan 2008) | 1 line
  
  * My cleanroom implementation of DoVarClearArray.
................
  r10271 | michael | 2008-02-10 15:52:37 +0100 (Sun, 10 Feb 2008) | 1 line
  
  * Correct implementation committed
................
  r10273 | michael | 2008-02-10 17:08:59 +0100 (Sun, 10 Feb 2008) | 1 line
  
  * Added DecodeSoundexInt
................
  r10352 | vincents | 2008-02-18 08:23:18 +0100 (Mon, 18 Feb 2008) | 1 line
  
  + TStringList.Grow, used algorithm from TFPList.Expand
................
  r10353 | vincents | 2008-02-18 10:21:58 +0100 (Mon, 18 Feb 2008) | 1 line
  
  * use new TStringList.Grow implementation from trunk
................
  r10354 | vincents | 2008-02-18 10:23:07 +0100 (Mon, 18 Feb 2008) | 1 line
  
  * fixed TList tests
................
  r10355 | vincents | 2008-02-18 16:43:35 +0100 (Mon, 18 Feb 2008) | 1 line
  
  * fixed hint in test and removed session information from lpi
................
  r10356 | vincents | 2008-02-18 21:58:29 +0100 (Mon, 18 Feb 2008) | 1 line
  
  + implemented TStringList.Find
................
  r10358 | vincents | 2008-02-19 15:02:17 +0100 (Tue, 19 Feb 2008) | 1 line
  
  * fixed TTestTComponentNotifies test
................
  r10359 | vincents | 2008-02-19 15:48:43 +0100 (Tue, 19 Feb 2008) | 1 line
  
  * fixed memleak in TWriter.WriteProperties
................
  r10360 | vincents | 2008-02-19 15:49:20 +0100 (Tue, 19 Feb 2008) | 1 line
  
  + initial implementation of TReader.ReadCollection (needs further testing)
................
  r10364 | vincents | 2008-02-19 23:05:49 +0100 (Tue, 19 Feb 2008) | 1 line
  
  + TDataset.SetFieldValues (untested)
................
  r10365 | vincents | 2008-02-20 09:03:16 +0100 (Wed, 20 Feb 2008) | 1 line
  
  * initilize critical section used by resolving references
................
  r10366 | vincents | 2008-02-20 09:38:03 +0100 (Wed, 20 Feb 2008) | 2 lines
  
  * fixed resolve references test
  * removed unused variable
................
  r10369 | vincents | 2008-02-20 17:04:51 +0100 (Wed, 20 Feb 2008) | 1 line
  
  + initial version of TReader.FindComponentClass, works with a simple LCL application
................
  r10370 | michael | 2008-02-20 20:48:36 +0100 (Wed, 20 Feb 2008) | 1 line
  
  * Added tcollection stream read tests
................
  r10373 | vincents | 2008-02-21 00:33:10 +0100 (Thu, 21 Feb 2008) | 1 line
  
  * TReader.FindComponentClass: also search in FieldTables of parent classes.
................
  r10374 | michael | 2008-02-21 11:00:04 +0100 (Thu, 21 Feb 2008) | 1 line
  
  * Fix voor ResolveReferences
................
  r10376 | vincents | 2008-02-21 19:37:55 +0100 (Thu, 21 Feb 2008) | 1 line
  
  * reduced hints
................
  r10377 | vincents | 2008-02-22 14:56:22 +0100 (Fri, 22 Feb 2008) | 1 line
  
  * add check for valid NewIndex in TFPList.Move, so that an invalid NewIndex doesn't lead to memleak
................
  r10378 | vincents | 2008-02-22 15:16:56 +0100 (Fri, 22 Feb 2008) | 1 line
  
  * fixed TReader.ReadCollection in case more than one property was streamed
................
  r10379 | vincents | 2008-02-22 15:35:44 +0100 (Fri, 22 Feb 2008) | 3 lines
  
  + added another test for writing collections (shows how it should be written and thus read
  + added a test for a writing an enum with default value 
................
  r10380 | vincents | 2008-02-22 15:36:14 +0100 (Fri, 22 Feb 2008) | 1 line
  
  * fixed memleak
................
  r10381 | vincents | 2008-02-23 20:03:00 +0100 (Sat, 23 Feb 2008) | 1 line
  
  * fixed AV when streaming a component without published properties
................
  r10390 | michael | 2008-02-25 21:34:10 +0100 (Mon, 25 Feb 2008) | 1 line
  
  * Clean version of searchbuf inserted
................
  r10393 | vincents | 2008-02-26 23:06:14 +0100 (Tue, 26 Feb 2008) | 1 line
  
  * fixed TDataset.SetFieldValues
................
  r10398 | michael | 2008-02-27 21:58:49 +0100 (Wed, 27 Feb 2008) | 1 line
  
  * Added test for streaming 2 components
................
  r10400 | vincents | 2008-02-28 00:51:08 +0100 (Thu, 28 Feb 2008) | 1 line
  
  * improved tests for streaming components with owned subcomponents
................
  r10403 | vincents | 2008-02-28 22:19:32 +0100 (Thu, 28 Feb 2008) | 1 line
  
  * fixed writing child components
................
  r10441 | florian | 2008-03-04 20:11:46 +0100 (Tue, 04 Mar 2008) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-9261" from 
  http://svn.freepascal.org/svn/fpc/trunk
................
  r10444 | joost | 2008-03-05 11:31:07 +0100 (Wed, 05 Mar 2008) | 30 lines
  
  Merged revisions 9783,9786,9788,9814,9822,9825,9837-9850,9852,9854-9856,9863-9864,9867,9885,9895 via svnmerge from 
  svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
  
  ........
    r9783 | joost | 2008-01-18 23:52:13 +0100 (Fri, 18 Jan 2008) | 1 line
    
     * DigestTestREport makes it possible to write the unittest results to a testsuite-digest
  ........
    r9786 | joost | 2008-01-19 00:40:44 +0100 (Sat, 19 Jan 2008) | 1 line
    
     * Added dependency on paszlib to fcl-fpcunit
  ........
    r9788 | jonas | 2008-01-19 01:20:49 +0100 (Sat, 19 Jan 2008) | 2 lines
    
      + also add fpc-unit dependency on paszlib to build dependencies
  ........
    r9854 | joost | 2008-01-21 17:26:20 +0100 (Mon, 21 Jan 2008) | 2 lines
    
     * Added Comment and Category properties to TDigestResultsWriter
     * Write Comment and Category to digest.cfg
  ........
    r9885 | joost | 2008-01-23 22:56:34 +0100 (Wed, 23 Jan 2008) | 1 line
    
     * Write RelSrcDir to digest.cfg
  ........
    r9895 | joost | 2008-01-24 18:02:47 +0100 (Thu, 24 Jan 2008) | 1 line
    
     * Add dash between hostname and date in digest-tarfile
  ........
................
  r10445 | joost | 2008-03-05 11:47:26 +0100 (Wed, 05 Mar 2008) | 9 lines
  
  Merged revisions 10431 via svnmerge from 
  svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
  
  ........
    r10431 | joost | 2008-03-02 18:08:16 +0100 (Sun, 02 Mar 2008) | 1 line
    
     * Set Modified to false when te state of a dataset changes
  ........
................
  r10446 | joost | 2008-03-05 15:34:38 +0100 (Wed, 05 Mar 2008) | 9 lines
  
  Merged revisions 10350 via svnmerge from 
  svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
  
  ........
    r10350 | joost | 2008-02-17 22:14:26 +0100 (Sun, 17 Feb 2008) | 1 line
    
     * Fixed bug #8464
  ........
................
  r10490 | Almindor | 2008-03-15 11:18:42 +0100 (Sat, 15 Mar 2008) | 3 lines
  
  * add TDataLink.CalcFirstRecord cleanroom implementation (blind)
  * add TField.RefreshLookupList cleanroom implementation (blind)
................
  r10491 | Almindor | 2008-03-15 11:29:54 +0100 (Sat, 15 Mar 2008) | 2 lines
  
  * fix compilation of the TField.RefreshLookuplist;
................
  r10510 | Almindor | 2008-03-20 18:57:22 +0100 (Thu, 20 Mar 2008) | 2 lines
  
  * implement cleanroom TDataset.CalculateFields
................
  r10511 | Almindor | 2008-03-20 19:16:55 +0100 (Thu, 20 Mar 2008) | 2 lines
  
  * add TDataSet.EnableControls cleanroom implementation
................
  r10512 | Almindor | 2008-03-20 19:27:27 +0100 (Thu, 20 Mar 2008) | 2 lines
  
  * add TField.CalcLookupValue cleanroom implementation
................
  r10513 | Almindor | 2008-03-20 19:30:23 +0100 (Thu, 20 Mar 2008) | 2 lines
  
  * fix potential bug in cleanroom TField.RefreshLookupList
................
  r10514 | Almindor | 2008-03-20 19:33:13 +0100 (Thu, 20 Mar 2008) | 2 lines
  
  * add forgotten function call in TDataset.CalculateFields
................
  r10515 | Almindor | 2008-03-20 19:37:19 +0100 (Thu, 20 Mar 2008) | 2 lines
  
  * fix potential bug in cleanroom TDataLink.CalcFirstRecord
................
  r10531 | Almindor | 2008-03-22 10:57:40 +0100 (Sat, 22 Mar 2008) | 2 lines
  
  * implement cleanroom TDataSet.DataEvent
................
  r10534 | Almindor | 2008-03-22 21:30:02 +0100 (Sat, 22 Mar 2008) | 2 lines
  
  * fix cleanroom TDataset.DataEvent, make it call all connected datasources
................
  r10537 | michael | 2008-03-23 11:19:05 +0100 (Sun, 23 Mar 2008) | 6 lines
  
  * Fixed some issues:
    - Memleak in TReader.ReadPropValue. FFixups was re-allocated in beginreferences !
    - FPC behaves different from Delphi if no Default value is declared, it assumes a
      default of ord(TEnum)=0, same for sets.
    - Fixed MemLeak when a reference was resolved, Removed item was not freed.
................
  r10547 | Almindor | 2008-03-24 10:57:28 +0100 (Mon, 24 Mar 2008) | 2 lines
  
  * first fix to cleanroom TDataSet.DataEvent only 6 tests fail now :)
................
  r10553 | joost | 2008-03-24 19:58:33 +0100 (Mon, 24 Mar 2008) | 9 lines
  
  Merged revisions 10470 via svnmerge from 
  svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
  
  ........
    r10470 | joost | 2008-03-09 21:11:17 +0100 (Sun, 09 Mar 2008) | 1 line
    
     * Set TDataSet.InternalCalcFields if there are InternalCalcFields
  ........
................
  r10555 | joost | 2008-03-25 12:06:12 +0100 (Tue, 25 Mar 2008) | 9 lines
  
  Merged revisions 10519 via svnmerge from 
  svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
  
  ........
    r10519 | joost | 2008-03-21 14:38:44 +0100 (Fri, 21 Mar 2008) | 1 line
    
     * Fix for ValueOfKey for multiple-fields keys
  ........
................
  r10565 | Almindor | 2008-03-25 18:28:58 +0100 (Tue, 25 Mar 2008) | 2 lines
  
  * fix cleanroom TDataLink.CalcFirstRecord (passes tests now)
................

git-svn-id: trunk@10572 -
2008-03-27 20:15:57 +00:00
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
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
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
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
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
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
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
michael
bd4b3dfa61 * Not needed, test file
git-svn-id: trunk@10518 -
2008-03-20 20:06:36 +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
micha
eae3754ab7 * add testcase of issue #11006 to testsuite
git-svn-id: trunk@10493 -
2008-03-15 20:18:28 +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
joost
9f118aca02 * Added forgotten unit
* Add test for CalcFirstRecord

git-svn-id: trunk@10476 -
2008-03-12 20:25:32 +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
Jonas Maebe
005bdc1af4 * fixed "inherited some_property" constructs for getters/setters
(mantis #10927)
  * extended the tb0259 test a bit (tests similar constructs in
    case there is no getter/setter)

git-svn-id: trunk@10456 -
2008-03-07 19:29:40 +00:00
Jonas Maebe
931aef4daa * make result of not(constant) (with constant type <= sinttype)
equal to sinttype (Delphi-compatible, fixes #10966)
  * changed not(cardinal_constant) into sinttype on 64 bit
    platforms for consistency with other similar rules (and with
    the above change)

git-svn-id: trunk@10455 -
2008-03-07 16:33:15 +00:00
florian
914a8ec4b4 * convert the array into a variant as well before calling fpc_variant_put, resolves #10495
git-svn-id: trunk@10453 -
2008-03-06 22:15:04 +00:00
Jonas Maebe
0ae33aeab0 * the result of not(dword(ordconst)) has to be dword as well for Delphi
compatibility (and to avoid range errors like in mantis #10931)

git-svn-id: trunk@10451 -
2008-03-06 21:36:32 +00:00
micha
3a8284b524 * add missing gencurr.inc belonging to revision 10422
git-svn-id: trunk@10438 -
2008-03-03 21:39:19 +00:00
micha
ebba2f1185 * add missing currh.inc belonging to revision 10422
git-svn-id: trunk@10437 -
2008-03-03 21:34:40 +00:00
peter
761344e9fc * don't allow passing ordinal and real constants to formal const parameters
git-svn-id: trunk@10426 -
2008-03-02 15:00:32 +00:00
Jonas Maebe
d80d3f36d2 * fixed crash when writing a currency value with a specified number
of fractional digits in case it's not the last value of the
    write(ln) statement (mantis #10920)

git-svn-id: trunk@10421 -
2008-03-02 10:22:25 +00:00
Jonas Maebe
97f4c0a130 * call taddnode.simplify at the very end of taddnode.pass_typecheck, so
it doesn't have to duplicate any type checking code, and so constant
    expressions get the same resultdefs as non-constant expressions
  * properly fixed resultdef determination of "set + setelementn" (follows
    same rules now as "set + set")
  * also convert "longint or/xor cardinal" to int64 (needed for correct
    results with negative numbers and Delphi-compatible) + test
  * extended 64-to-32 type conversion simplification to also handle
    or/xor nodes (so if the result is typecasted back to 32 bit, the
    evaluation can still be done entirely in 32 bit). These changes also
    enable that optimization in some extra cases (not just anymore for
    expressions containing only uint32)

git-svn-id: trunk@10418 -
2008-03-01 20:48:50 +00:00
florian
288fb08f09 + more implements tests
git-svn-id: trunk@10417 -
2008-03-01 20:41:28 +00:00
florian
1b4071d930 + first test for implements through classes
git-svn-id: trunk@10416 -
2008-03-01 20:35:09 +00:00
florian
d83722076f * fixed implements for interfaces
+ tests for implements through interface

git-svn-id: trunk@10413 -
2008-03-01 20:20:49 +00:00
marco
117062ed34 * wininet added.
git-svn-id: trunk@10410 -
2008-03-01 17:06:07 +00:00
Jonas Maebe
86f90d8ac1 + support for setting the name of "main" (-XM command line parameter) in
the code using {$pascalmainname x} + storing it in the ppu file
    (and give a warning if it's overridden multiple times + test)

git-svn-id: trunk@10406 -
2008-03-01 13:05:01 +00:00
Jonas Maebe
e1ec2834df * increase/decrease refcount of interface value parameters on procedure
entry/exit (mantis #10897)
  * fixed tinterface2 which crashed after this change. It also crashed under
    Kylix: you cannot assign the result of an interfaced class to a class
    instance variable and then use it both as an interface (refcounted) and
    as class (non-refcounted)

git-svn-id: trunk@10405 -
2008-03-01 10:25:27 +00:00
Jonas Maebe
a2beae0e11 * use more generic set type boundaries for constant sets with one
element in Delphi mode (fixes mantis #10890, but requires more
    thorough changes in nadd.pas for proper fixing)

git-svn-id: trunk@10399 -
2008-02-27 21:17:13 +00:00
florian
65e9ad8591 + test for implements with alias
git-svn-id: trunk@10384 -
2008-02-24 19:43:50 +00:00
florian
6c53785e3a * first part of implements clean up and fixing
git-svn-id: trunk@10382 -
2008-02-24 11:05:46 +00:00
Jonas Maebe
1cdf575657 + test for previous commit
git-svn-id: trunk@10363 -
2008-02-19 20:24:22 +00:00
florian
38230735a5 * testcase for last commit
git-svn-id: trunk@10337 -
2008-02-16 08:55:08 +00:00
florian
d38da8d0ae * naming fixed
git-svn-id: trunk@10335 -
2008-02-16 08:52:57 +00:00
marco
efbd862967 * moved two examples and lowercased the name of a {$I statement so I can pull it through makeskel
git-svn-id: trunk@10332 -
2008-02-15 19:50:12 +00:00
florian
d8d96f14e6 + experimental directive, resolves #10833
git-svn-id: trunk@10331 -
2008-02-15 19:29:34 +00:00
florian
f28636ac5b + dummy navradd unit
git-svn-id: trunk@10328 -
2008-02-14 20:40:18 +00:00
peter
7ffbfdc9c8 * fix widestring concat multi for winlikewidestring. The
append optimization can't be used in this can because the
    trick with refcnt is not supported

git-svn-id: trunk@10327 -
2008-02-14 20:15:21 +00:00
Jonas Maebe
990fb69d19 + test for proper freeing of thread resources
git-svn-id: trunk@10325 -
2008-02-14 16:17:33 +00:00
marco
46acbe2ee0 * moved commdlg functions from windows to commdlg unit. Constants still have to be done.
git-svn-id: trunk@10323 -
2008-02-13 22:21:11 +00:00
florian
c05d4912f4 + basic system unit for avr-embedded
* fixed several compiler stuff to be able to start system unit compilation on avr

git-svn-id: trunk@10318 -
2008-02-13 20:35:16 +00:00
florian
8aa80c8262 * properties set
git-svn-id: trunk@10317 -
2008-02-13 20:34:45 +00:00
peter
737212ff22 * fix result type of constset+[]
git-svn-id: trunk@10311 -
2008-02-12 17:30:00 +00:00
florian
f8c9052c21 * fixed writeln(<enum>) for 64 bit systems, resolves #10033
git-svn-id: trunk@10305 -
2008-02-11 21:05:08 +00:00
peter
915b1bddb3 * rename scheck to spellcheck
git-svn-id: trunk@10272 -
2008-02-10 15:55:39 +00:00