Jonas Maebe
95431c57f5
* fixed variantarrays for 64 bit systems after the changes in 2.2.0 to
...
turn variantarray indices into longints
* extended tw9161 to also test storing and retrieving dynamic arrays
in/from variant arrays
git-svn-id: trunk@12713 -
2009-02-08 00:24:03 +00:00
Jonas Maebe
7950db7f2f
* fixed (harmless) range check errors
...
git-svn-id: trunk@12710 -
2009-02-07 22:25:33 +00:00
ivost
0f519439b5
* reverted r12690 and r12691
...
* but extended ptconst so that a com interface maybe assigned to a TGuid const
git-svn-id: trunk@12692 -
2009-02-06 02:56:13 +00:00
ivost
7f2c77a407
* temporarly disabled GetInterface(iidstr: .... to keep fpc compiling
...
git-svn-id: trunk@12691 -
2009-02-06 01:37:52 +00:00
Jonas Maebe
213c00b17f
* updated check for minimum version required to build trunk (at least
...
FPC 2.2.2)
git-svn-id: trunk@12671 -
2009-02-03 11:43:42 +00:00
florian
1b79f2ebcf
* improved feature defines
...
+ basic consoleio support for the embedded target
git-svn-id: trunk@12637 -
2009-02-01 12:44:25 +00:00
florian
c127154efa
o Haiku patches by Olivier Coursiere
...
+ add posix thread support
* improve signal handling
* synchronize haiku's baseunix unit with the unix one (maybe it will be possible to remove Haiku's one in a future patch, but i keep it for now)
+ add support for standard sockets
* fix some functions import to use the right libraries under Haiku
* fix packages compilation
git-svn-id: trunk@12636 -
2009-02-01 10:30:55 +00:00
Jonas Maebe
b912e00440
* renamed rol/ror functions into rolbyte/rolword/roldword/rolqword
...
(and the same for ror), because their operation is very dependent on the
operand size, and it's fairly easy to misjudge the bitwidth of the outcome
of an expression in Pascal if you are not intimately familiar with the
language (or if you don't know the exact types of all involved values in
an expression)
git-svn-id: trunk@12621 -
2009-01-28 12:56:27 +00:00
ivost
38bf32dddf
* added csize_t and pcsize_t for non unix systems (in unix/ctypes.pp)
...
* added csize_t = UnixTypes.size_t in ctypes.pp for unix systems.
* reason: size_t is a C type and it's often used by C header files. Several packages define their own size_t.
git-svn-id: trunk@12602 -
2009-01-26 12:58:20 +00:00
florian
2510af64d1
* fixed compilation of embedded system unit: path helper functions depend now on the avaibility of the textio/fileio feature
...
git-svn-id: trunk@12599 -
2009-01-26 08:23:38 +00:00
Jonas Maebe
5a88be1030
* set default stack size to 4 MiB instead of to 32 KiB
...
git-svn-id: trunk@12526 -
2009-01-08 18:08:32 +00:00
Jonas Maebe
b7d461d0f0
* fixed generic stack checking code (the stack pointer is already decreased
...
before FPC_STACKCHECK is called, so don't subtract the allocated size
again when checking)
git-svn-id: trunk@12525 -
2009-01-08 18:05:11 +00:00
Jonas Maebe
22aacd2a60
* return 0 for length(pchar(0)), like Kylix does (using corrected and
...
multi-platform version of patch in r12461, which caused the i386 version
of fpc_pchar_length to return 0 in all cases, which used tabs, and did
not include a test case)
git-svn-id: trunk@12464 -
2009-01-01 22:02:17 +00:00
michael
a580fe60d0
* Patch from Inoussa OUEDRAOGO so it can work with Delphi2009 and unicode chars
...
git-svn-id: trunk@12403 -
2008-12-19 17:49:24 +00:00
Jonas Maebe
d3923b315a
* generic support for setting islibrary to true for libraries (+ changed
...
tlibrary1 to test this)
git-svn-id: trunk@12377 -
2008-12-17 17:49:16 +00:00
Jonas Maebe
afafe33266
+ readded FPC_WRITE_TEXT_ANSISTR alias removed in r12322, because it's
...
required by the variant code
git-svn-id: trunk@12337 -
2008-12-11 12:31:23 +00:00
Jonas Maebe
53a638ad9f
- removed no longer needed alias names
...
git-svn-id: trunk@12322 -
2008-12-10 19:24:01 +00:00
florian
d78855cea8
+ more c types
...
git-svn-id: trunk@12175 -
2008-11-19 11:36:43 +00:00
florian
7afd3ba256
* patch by Petr Kirstan to resolve #12333
...
git-svn-id: trunk@12138 -
2008-11-16 22:53:17 +00:00
ivost
456e40bde7
* fixed bug in VarSupports (accessviolation when variant was nil)
...
git-svn-id: trunk@11847 -
2008-10-01 22:39:16 +00:00
ivost
1ec2bf7f94
* implemented VarSupports helpers
...
git-svn-id: trunk@11846 -
2008-10-01 21:34:48 +00:00
florian
340844b9e0
* fixes array overflow in VarTypeAsText when an 'Array of' or 'Ref to' variant type is passed
...
git-svn-id: trunk@11842 -
2008-09-29 19:59:27 +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
b2531e9883
* don't "round" 0.0 when converting to a string (mantis #12202 )
...
git-svn-id: trunk@11823 -
2008-09-26 13:28:53 +00:00
Jonas Maebe
6b473862cf
* give an error stating that you have to use the latest released compiler
...
to build 2.3.1 since the unicode branch merge
git-svn-id: trunk@11795 -
2008-09-16 21:59:15 +00:00
ivost
15dd98d940
* removed size_t from ctypes.pp in trunk (reverted)
...
git-svn-id: trunk@11786 -
2008-09-14 20:58:37 +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
tom_at_work
8a5a6db065
* rol/ror inlines for powerpc/powerpc64 (only for 32/64 bit operands for now)
...
git-svn-id: trunk@11770 -
2008-09-13 16:29:42 +00:00
ivost
7582f7f325
added size_t type in ctypes.pp for non unix systems
...
git-svn-id: trunk@11752 -
2008-09-12 21:42:12 +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
bc9e7c5580
* fixed syntax errors in r11708 (and it wasn't tested in the nightly
...
Sparc regressions tests because Solaris is an FPC_USE_LIBC platform,
and these use memset rather than the generic fillchar)
git-svn-id: trunk@11711 -
2008-09-05 13:14:41 +00:00
Jonas Maebe
af05770a7c
* fixed alignment code in generic fillchar (not sure why
...
tests/test/tfillchr didn't fail in the nightly sparc tests)
git-svn-id: trunk@11708 -
2008-09-04 21:42:51 +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
Vincent Snijders
783a1ce4e7
* fixed typos in comment
...
git-svn-id: trunk@11613 -
2008-08-18 22:23:32 +00:00
Jonas Maebe
7b467fa2a0
* Don't inline ioresult. It's not speed critical and inlining it causes
...
code bloat.
git-svn-id: trunk@11596 -
2008-08-16 20:51:52 +00:00
yury
15d0521f39
* Inlining is not supported for formal parameters. Disable inlining to prevent warning.
...
git-svn-id: trunk@11579 -
2008-08-14 14:56:28 +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
fe7cba52dc
+ support of inlined ror/rol on arm
...
git-svn-id: trunk@11473 -
2008-07-28 15:48:38 +00:00
florian
20e632c8d8
* reorganized ror/rol defines
...
git-svn-id: trunk@11472 -
2008-07-28 13:03:18 +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
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
Jonas Maebe
f22c6870d5
* use math.SetExceptionMask() to disable floating point exceptions
...
in the macpas initialisation code (mantis #11516 )
git-svn-id: trunk@11415 -
2008-07-20 09:07:50 +00:00
florian
d672700a59
* some avr fixes
...
+ cpu16 type defines
git-svn-id: trunk@11380 -
2008-07-13 18:16:24 +00:00
florian
f56b741948
* quicker finalization of dyn. arrays, thanks to the hint of Volker Zipfel
...
git-svn-id: trunk@11357 -
2008-07-10 16:44:45 +00:00
Jonas Maebe
310ec39757
* fixed + optimized generic round_real
...
- removed cgenmath version of round_real because it wasn't any better
than the generic one anymore
git-svn-id: trunk@11295 -
2008-06-28 14:17:06 +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
florian
81fd66f6f6
* typo in define fixed
...
git-svn-id: trunk@11229 -
2008-06-15 10:54:26 +00:00
florian
2a5c3a3c14
* fixed copy&paste typo
...
git-svn-id: trunk@11228 -
2008-06-14 13:07:17 +00:00
florian
4ac1deb50b
* moved float_rounding_mode to systemh.inc; renamed to softfloat_rounding_mode
...
git-svn-id: trunk@11219 -
2008-06-12 20:23:37 +00:00
yury
0d12d51690
* Fixed warnings on non x86 targets.
...
git-svn-id: trunk@11201 -
2008-06-05 08:14:27 +00:00
florian
29ba36e70b
* when the end of a sequence is reached, first_row has to be set for proper address checking, resolves #10856
...
git-svn-id: trunk@11063 -
2008-05-23 21:12:03 +00:00
florian
67fbadcdcf
* WinCE compilation fixed
...
git-svn-id: trunk@11057 -
2008-05-23 15:35:18 +00:00
florian
d79851dc1b
* patch by Sergei Gorelkin to improve class creation speed and make objpas.inc more readable
...
git-svn-id: trunk@11036 -
2008-05-22 11:49:40 +00:00
tom_at_work
94ead30261
* fix padding on 64 bit big endian CPUs in TInterfaceEntry: wrong offset of a member caused memory corruption and then access violations during object creation. Fixes timplements* tests.
...
git-svn-id: trunk@11031 -
2008-05-21 21:29:58 +00:00
florian
873409cd3c
* baseaddr must be nil on windows
...
git-svn-id: trunk@11030 -
2008-05-21 20:45:20 +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
Jonas Maebe
f00beea41c
* fixed i386/linux rtl compilation and functionality when compiled
...
without regcall
git-svn-id: trunk@11024 -
2008-05-21 15:20:13 +00:00
florian
d955c9b4f7
+ proper handling of lineinfo retrival for dyn. libs in unix
...
git-svn-id: trunk@11010 -
2008-05-18 18:42:09 +00:00
florian
96f8576bf2
* handle lineinfo in dlls correctly, resolves #4171 and #10797 for windows
...
git-svn-id: trunk@11004 -
2008-05-18 16:46:17 +00:00
Jonas Maebe
fe202fd232
* fixed Pos(WideChar,AnsiString)
...
git-svn-id: trunk@10973 -
2008-05-14 17:18:37 +00:00
giulio
50cd527d30
Checkpointer: consider bss section too for go32v2 (webtbs/tw3661 now works)
...
git-svn-id: trunk@10967 -
2008-05-14 13:08:11 +00:00
Jonas Maebe
063af15a0c
* set code to 0 in case val(enum) does not encounter an error
...
git-svn-id: trunk@10951 -
2008-05-12 10:19:53 +00:00
giulio
9203f46e1a
* Handling of -Sf parameter fixed
...
* Fixed definition of FPC_HAS_FEATURE_xxx macros for targets not supporting the full range of features
* Added DYNLIBS feature
git-svn-id: trunk@10932 -
2008-05-10 17:00:04 +00:00
yury
d1dd8bd928
* Fixed warning and notes.
...
git-svn-id: trunk@10899 -
2008-05-07 12:35:03 +00:00
florian
ff9273bf0d
* flush standard files only if they are opend for output, resolves #11170
...
git-svn-id: trunk@10866 -
2008-05-02 18:42:28 +00:00
florian
e165741d56
* formatting
...
git-svn-id: trunk@10865 -
2008-05-02 18:41:40 +00:00
marco
2fd39019bf
* fix for 11176 val ansistring to enum
...
git-svn-id: trunk@10853 -
2008-05-01 13:05:34 +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
marco
03c02a17e9
* SharedSuffix
...
git-svn-id: trunk@10825 -
2008-04-27 20:33:33 +00:00
Jonas Maebe
ef0290a797
* fixed Matrix * Vector (patch by Bartosz Bogacz, mantis #11199 )
...
git-svn-id: trunk@10811 -
2008-04-26 21:44:05 +00:00
yury
86eef577f1
* Fixed fpc_write_text_enum on ARM. TTypeInfo is packed record.
...
git-svn-id: trunk@10768 -
2008-04-23 12:17:56 +00:00
Tomas Hajny
203e19782f
* use the provided constant instead of hardcoded value
...
git-svn-id: trunk@10758 -
2008-04-22 14:42:48 +00:00
tom_at_work
33bba100fc
* fix writing of enums for 64 bit platforms that do not require proper alignment
...
git-svn-id: trunk@10742 -
2008-04-20 20:27:57 +00:00
tom_at_work
20737f0ac1
fix webts/tw10033 on ppc64:
...
* correctly write rtti for enumerations (missing alignment instructions on CPUs requiring proper alignment, breaking on architectures with 64 bit pointers)
* fix hardcoded offsets in fpc_write_text_enum
* updated example program
git-svn-id: trunk@10728 -
2008-04-19 22:06:18 +00:00
yury
b64519162d
* Fixed warning.
...
git-svn-id: trunk@10724 -
2008-04-19 21:31:46 +00:00
Tomas Hajny
a4a1999e4f
* fix broken offsets and improve reliability on GO32v2, mostly based on input by Robert Riebisch
...
git-svn-id: trunk@10682 -
2008-04-17 05:21:14 +00:00
yury
4341b18461
* Fixed cleanroom implementation of DoVarClearArray. It fixes tw9098.
...
git-svn-id: trunk@10647 -
2008-04-13 15:19:58 +00:00
yury
62e616cae0
* Fixed warnings. rtl is warnings and notes free for wince and win32 again.
...
git-svn-id: trunk@10632 -
2008-04-12 13:34:26 +00:00
yury
9472825478
* Fixed warnings.
...
git-svn-id: trunk@10630 -
2008-04-12 11:46:04 +00:00
yury
5dc6e54925
* Removed inline for procedures with assembler or formal parameters, since inline is not supported for them (compiler warns about that now). Even if there is no inline modifier in interface declaration of procedure, it is possible to specify inline in procedure implementation if needed (e.g. for generic implementations) and inlining will work for them.
...
git-svn-id: trunk@10629 -
2008-04-12 11:37:49 +00:00
joost
1a4ee73146
* Added NoWideStringSupport runtime error
...
git-svn-id: trunk@10618 -
2008-04-08 21:19:52 +00:00
florian
347ae5a3bf
* val takes care of empty string, patch from Petr Kristan
...
git-svn-id: trunk@10609 -
2008-04-06 19:33:31 +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
joost
dd38ec2d36
* Revert r10501, CompareWideString should remain a dummy
...
git-svn-id: trunk@10504 -
2008-03-18 19:59:11 +00:00
joost
b5454e0352
* Implemented CompareWideString, based on CompareStr
...
git-svn-id: trunk@10501 -
2008-03-17 22:09:47 +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
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
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
florian
48fb130be3
* fixed fpu type setting for avr
...
git-svn-id: trunk@10463 -
2008-03-08 17:09:40 +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
micha
83b7f81f81
+ add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
...
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
Jonas Maebe
2722b5b381
* fixed overflow checking for $8000000000000000 in generic int64 mul
...
routine (constants >high(int64) are currently always interpreted as
int64 (and thus < 0) by the compiler if there is no explicit typecast)
git-svn-id: trunk@10412 -
2008-03-01 19:38:19 +00:00
Jonas Maebe
7433e0ef89
* replaced a trunc() with an int() call (because its result is compared
...
with a float as well)
git-svn-id: trunk@10375 -
2008-02-21 13:18:56 +00:00
florian
c46b44b797
resolves #10509
...
* fixed SetInterfaceProp
+ PInterface
* extended trtti1
git-svn-id: trunk@10334 -
2008-02-15 20:54:10 +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
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
tom_at_work
52135af71f
* implement branchless fpc_abs_long in a generic way
...
* enable optimization for ppc/ppc64 (two times faster than
"generic" rtl branching routine)
git-svn-id: trunk@10306 -
2008-02-11 21:13:52 +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
Jonas Maebe
4d9445749c
* fixed buffer overflow in delete() for widestrings (patch by
...
Martin Schreiber, #10800 )
git-svn-id: trunk@10255 -
2008-02-09 11:47:14 +00:00