Commit Graph

264 Commits

Author SHA1 Message Date
svenbarth
3e5f8af01d + add RTTI unit from Joost's Attribute branch
* adjust unit to work without attributes
* adjust unit to work without unit list (TRttiContext.GetTypes is disabled due to this)
+ add ShortString support (due to an intermediary test I had done in $H-)
+ add unit test from Joost's Attribute branch
* adjust unit test accordingly (no attributes, no TRttiContext.GetTypes)
+ add ShortString tests
+ add testrunner for RTL-ObjPas tests using the new simpletestrunner

git-svn-id: trunk@35096 -
2016-12-09 20:45:46 +00:00
svenbarth
4fb77b71ec * fix for Mantis #31029, based on the patch provided by Silvio Clécio: PArrayOfByte is not necessary and in fact the purpose of TArrayOfByte is a different one from reference counting (namely to ensure correct passing of the parameter), so renamed accordingly (plus a comment); similar change in SetDynArrayProp. Also Get-/SetPropValue in Variants unit has been adjusted to make use of Get-/SetDynArrayProp.
+ added adjusted test

git-svn-id: trunk@35025 -
2016-11-30 19:32:41 +00:00
michael
5786182188 * Proper fix for bug ID #30697
git-svn-id: trunk@34997 -
2016-11-27 19:54:49 +00:00
michael
783f53d3a7 * Fix DateTimeToUnix, needs trunc instead of round (see bug ID #30697)
git-svn-id: trunk@34983 -
2016-11-27 13:07:31 +00:00
Károly Balogh
0af22b9177 rtl-objpas: clean up all the identical varutils variants and made all platforms except Windows to use the common one
git-svn-id: trunk@34686 -
2016-10-09 06:37:54 +00:00
Károly Balogh
f6222e44ef rtl-objpas: remove system-specific varutils for Amiga-like systems which were in fact identical, added a common implementation and enable the package for atari as well
git-svn-id: trunk@34673 -
2016-10-08 18:00:20 +00:00
michael
b1b312b705 * Fix patch 34481
git-svn-id: trunk@34511 -
2016-09-11 14:18:12 +00:00
michael
63d3df5642 * Fix bug ID #25177: wrong constant used for rounding
git-svn-id: trunk@34507 -
2016-09-11 09:38:47 +00:00
michael
6798504842 * Use correct exception class: Patch from Simon Ameis (bug ID 29961)
git-svn-id: trunk@34496 -
2016-09-10 19:03:58 +00:00
michael
09e7bc3096 * Fix from Michel Deslierres to fix DateTimeToJulianDate TryJulianDateToDateTime, taking into account fractions of days (30529)
git-svn-id: trunk@34481 -
2016-09-10 16:15:19 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
Jonas Maebe
e521a029b1 * fixed fpcmake Makefile
git-svn-id: trunk@33978 -
2016-06-12 20:56:35 +00:00
michael
8e75ac64f1 * Patch from Graeme GeldenHuys to implement UnicodeString versions of MatchStr() and IndexStr() (bug ID 30113)
git-svn-id: trunk@33700 -
2016-05-16 16:40:27 +00:00
michael
f6a1a5fa6b * Address bug #29837, use SizeInt where appropriate
git-svn-id: trunk@33329 -
2016-03-26 10:28:39 +00:00
michael
2af6b236b7 * Fix failing testcase
git-svn-id: trunk@33305 -
2016-03-20 22:48:46 +00:00
michael
f1a7d07f8e * Fix bug ID #29393
git-svn-id: trunk@33299 -
2016-03-20 17:55:16 +00:00
michael
0ec3bf6516 * Added various string-replace algorithms by Jarto Tarpio and José Mejuto (bug ID 26864)
git-svn-id: trunk@32939 -
2016-01-14 07:55:00 +00:00
michael
9d92953bd2 * Added overload directive, fixes regressions in testsuite
git-svn-id: trunk@32863 -
2016-01-06 08:02:04 +00:00
michael
b9da082e29 * Patch from Silvio Clecio to Extends SetPropValue/GetPropValue (bug ID 28278)
git-svn-id: trunk@32858 -
2016-01-05 20:00:41 +00:00
michael
bdde398a98 * NaturalCompare
git-svn-id: trunk@32818 -
2015-12-31 16:36:37 +00:00
michael
96257e11d7 * Add widestrutils, delphi compatibility (Bug ID 28396)
git-svn-id: trunk@32816 -
2015-12-31 16:20:56 +00:00
michael
dcefe41fe3 * Applied patch from Manfred Hahn to fic bcdSubtract (bug ID 29207)
git-svn-id: trunk@32722 -
2015-12-26 11:23:44 +00:00
michael
278a8fc39c * Applied patch from Bart Broersma to fix bug #28725
git-svn-id: trunk@32540 -
2015-11-26 20:54:48 +00:00
michael
525982b9ca * Patch to fix Bug ID #28993
git-svn-id: trunk@32357 -
2015-11-18 14:34:56 +00:00
michael
e45686f24d * Fixes from Denis Kozlov, bug ID #28951
1) Erroneously increased `pind` in `findmatch()` by the length of matched string instead of by pattern token length.
2) Erroneously increased `ind` and `pind` by 2 after processing `ampm` (localized AM/PM pattern token).
3) Not updated `pind` when doing recursive subpattern matching ("ddddd", "dddddd", "t", "tt").
4) Incorrect interpretation of "t" pattern token as `ShortDateFormat`, when it should be `ShortTimeFormat`.
5) Incorrect scanning for "y" pattern (2 digit year), max scanned digits was 1 while it should be 2.
6) Protect against buffer over-read of `p` variable in `findimatch()`.

git-svn-id: trunk@32348 -
2015-11-16 19:52:17 +00:00
joost
55f47e0efc * Added missing include file to fpmake.pp
git-svn-id: trunk@32074 -
2015-10-17 15:05:27 +00:00
Jonas Maebe
2afd8eb802 - removed FPC_HAS_STR_CURRENCY-related code, FPC 2.6.4 has it
git-svn-id: trunk@31692 -
2015-09-15 11:51:48 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
michael
82a825af26 * Correct for different meaning of TZOffset
git-svn-id: trunk@31356 -
2015-08-21 10:36:30 +00:00
marco
e7a61ff2d4 * fix overloaded scandatetime command, patch by kibook from mantis #28552
git-svn-id: trunk@31349 -
2015-08-20 19:09:37 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
michael
27b1fb0439 * Fix bug #27831
git-svn-id: trunk@30642 -
2015-04-18 07:16:27 +00:00
michael
f9f602dca6 * Fix bug ID #24752
git-svn-id: trunk@30628 -
2015-04-17 19:57:48 +00:00
Jonas Maebe
e6361c634c * fixed Inc<Time>() with negative TDateTime values (mantis #27832)
git-svn-id: trunk@30608 -
2015-04-15 20:46:28 +00:00
Legolas
8dd9b46d60 * Patch by Karl-Michael Schindler (mantis 0026847): gba and nds targets are now buildable without external dependencies
git-svn-id: trunk@30083 -
2015-03-03 09:16:04 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
pierre
048ad78079 Fix bug report 27428
git-svn-id: trunk@29656 -
2015-02-09 11:15:55 +00:00
florian
9ebc092ade * (modified) patch by Do-wan Kim to resolve #27354
git-svn-id: trunk@29645 -
2015-02-07 22:14:35 +00:00
joost
1a90d29063 * Re-generated packages-Makefile.fpcs and Makefiles
git-svn-id: trunk@29409 -
2015-01-05 11:34:47 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
michael
8e7d649a4d * Optimized variant of patch in bug ID #27215
git-svn-id: trunk@29350 -
2014-12-28 14:51:31 +00:00
sergei
ba61a9f95c * Fix bug #26370: A multi-dimensional variant array is "empty" when any of its dimensions has zero range, range of other dimensions does not matter.
git-svn-id: trunk@29324 -
2014-12-25 16:59:52 +00:00
Jonas Maebe
476e3fabb7 * fixed big endian bugs in variant dispatching
* fixed size calculation of vardatetime arguments on 32 bit systems with
    variant dispatching

git-svn-id: trunk@29319 -
2014-12-24 14:13:49 +00:00
joost
0574714317 * Use short 8.3 names for archives on limit83fs-hosts
git-svn-id: trunk@29174 -
2014-11-28 21:35:46 +00:00
Tomas Hajny
4b6f30547d * avoid warning about dependency of stdconvs on convutils on 8.3 targets
git-svn-id: trunk@29019 -
2014-11-08 01:10:25 +00:00
michael
3563944752 * Patch to allow changing TVarRec data (bug ID 26773)
git-svn-id: trunk@28995 -
2014-11-05 22:17:54 +00:00
Károly Balogh
6062f96ca1 AROS: enable some basic set of Packages to build with AROS
git-svn-id: trunk@28441 -
2014-08-18 13:01:46 +00:00
Károly Balogh
da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
michael
2e8e50a24b * Applied patch from Laco to fix bug ID #25939
git-svn-id: trunk@27845 -
2014-06-03 11:43:58 +00:00
marco
ed3a49372d * strutils moved to packages/rtl-objpas
git-svn-id: trunk@27339 -
2014-03-29 17:51:44 +00:00
nickysn
c88cebfc97 * fix for DateTimeToJulianDate and JulianDateToDateTime for integer=smallint
git-svn-id: trunk@27103 -
2014-03-11 21:51:57 +00:00
michael
0e61b5b6c1 * Removed wrong ELSE (bug id 25836)
git-svn-id: trunk@27072 -
2014-03-10 10:46:56 +00:00
nickysn
b5f1445f90 * fixed compilation of unit variants with integer=smallint
git-svn-id: trunk@27046 -
2014-03-09 14:44:45 +00:00
yury
73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
Tomas Hajny
77967432ef * always use forward slashes in path to fpmake similarly to paths to other tools in Makefiles
git-svn-id: trunk@26641 -
2014-02-01 00:11:09 +00:00
nickysn
54aad40498 * fixed compilation of package rtl-objpas on i8086-msdos (target 'msdos' added
to VarUtilsOSes)

git-svn-id: trunk@26402 -
2014-01-05 23:39:49 +00:00
marco
02dd7f21f5 * go32v2 makefile still contained a variants unit
* go32v2 was somehow not specified for fmtbcd.

git-svn-id: trunk@26399 -
2014-01-05 19:41:19 +00:00
marco
dea2c743d5 * Initial active version of
rtl-extra : objects matrix ucomplex
   rtl-objpas: convutil(s) dateutil(s) stdconvs variants varutils
   

git-svn-id: trunk@26398 -
2014-01-05 19:20:15 +00:00
marco
521dd9ba32 * initial versions of rtl-extra and rtl-objpas packages. Not yet active.
git-svn-id: trunk@26393 -
2014-01-05 16:58:46 +00:00