Commit Graph

33831 Commits

Author SHA1 Message Date
michael
6408dbfbb3 * Free Contents of TFPWebAction in Destructor
git-svn-id: trunk@17322 -
2011-04-15 08:13:05 +00:00
michael
48b79b9c31 * TParam.AsXXX now also sets Bound
git-svn-id: trunk@17321 -
2011-04-14 21:40:23 +00:00
florian
58fcf9dc52 * probably mark an overloaded := operator used as type conversion as used, resolves #18909
git-svn-id: trunk@17320 -
2011-04-14 21:11:27 +00:00
sergei
6bca660e76 * Patch from LacaK, eliminates redundant variant finalization and try..finally block in TFMTBcdFactory.CastTo
git-svn-id: trunk@17319 -
2011-04-14 20:25:41 +00:00
sergei
30f7bff09d * Did a clean rewrite of IndexByte and IndexWord, resulting in somewhat less instructions.
+ IndexWord for the case of unaligned buffer: implemented using aligned reads.
+ tindex.pp: Added testing correctness of IndexWord with unlimited length.

git-svn-id: trunk@17317 -
2011-04-14 17:12:04 +00:00
vladob
9781c0d051 more tests in fcl-stl
git-svn-id: trunk@17315 -
2011-04-13 10:14:24 +00:00
svenbarth
35b47e491c Rebase to revision 17306
git-svn-id: branches/svenbarth/classhelpers@17314 -
2011-04-13 10:04:14 +00:00
svenbarth
9eafb5e7cd For "inherited" the use of helpers must be allowed as well, as those might use a ttypenode of a helper as well.
git-svn-id: branches/svenbarth/classhelpers@17313 -
2011-04-13 09:46:33 +00:00
paul
16b2db1b8f winunits-base: don't use "packed records", pack all records according to winapi headers definition: {$packrecords 1} for non win64 mode
git-svn-id: trunk@17312 -
2011-04-13 09:12:12 +00:00
paul
32ec75216c rtl: fix printer hook procedures - they return PTR_UINT instead of UINT
git-svn-id: trunk@17311 -
2011-04-13 08:47:05 +00:00
vladob
5dd0d99368 iterators for fcl-stl containers
git-svn-id: trunk@17310 -
2011-04-12 13:50:19 +00:00
svenbarth
3c477c67ec Removing "current_syssym" again
git-svn-id: branches/svenbarth/classhelpers@17309 -
2011-04-12 07:15:32 +00:00
svenbarth
24243f87e8 Added a check similar to the "allowed" one to be able to remove the "current_syssym" variable again.
* nld.pas:
- added "helperallowed" boolean field to ttypenode which is set to false by default
- check that field in ttypenode.pass_1 and generate an error if it's false
* ncal.pas:
check the "helperallowed" field if the methodpointer node is a typenode and contains a helper; this is needed, because pass_1 of ttypenode is never called in case of "TSomeHelper.SomeMethod"
* pexpr.pas: 
- allow helpers in "sizeof" and "typeinfo"
- remove the check against "TSomeHelper.SomeMethod", but leave an explaining comment there

git-svn-id: branches/svenbarth/classhelpers@17308 -
2011-04-12 07:10:36 +00:00
svenbarth
798cc01ffe Corrected two tests ("modeswitch" => "mode")
git-svn-id: branches/svenbarth/classhelpers@17307 -
2011-04-12 07:02:57 +00:00
pierre
83e0b5207d + Add graph, wincrt and winmouse units for win64 OS target
git-svn-id: trunk@17306 -
2011-04-11 10:20:46 +00:00
pierre
d3d34c61f6 * Use system thread functions and allow win64 compilation
git-svn-id: trunk@17305 -
2011-04-11 10:19:43 +00:00
pierre
9420a8ddf4 * Change Message function return type to be Win64 compatible
git-svn-id: trunk@17304 -
2011-04-11 10:19:04 +00:00
marco
5595aafa90 * support for Delphi/64 NativeInt and NativeUint as shown in several promotions on the web. (aliases for ptrint/ptruint)
git-svn-id: trunk@17303 -
2011-04-11 09:48:51 +00:00
sekelsenmat
a37d6edba2 fpvectorial: Merges changes, improved DXF reading, adds pen and color data to the data structures
git-svn-id: trunk@17301 -
2011-04-11 07:28:30 +00:00
florian
4d19f6c532 * patch by Jeppe Johansen to be able to generate debug info if an rtl without variant support is used, resolves #18483
git-svn-id: trunk@17300 -
2011-04-10 21:11:03 +00:00
vladob
ae8a0c44bb hash set + hash map 2
git-svn-id: trunk@17299 -
2011-04-10 20:31:01 +00:00
vladob
cda5fa8f32 hash set + hash map
git-svn-id: trunk@17298 -
2011-04-10 20:24:57 +00:00
florian
ff6ab60508 * prefer typecast currency->extended over currency->single/double because the former loses no precision while the latter might cause a loss of precision, resolves #19077
git-svn-id: trunk@17297 -
2011-04-10 19:40:18 +00:00
florian
fb84cb865b * rebase to trunk@17295
git-svn-id: branches/avr@17296 -
2011-04-10 19:20:48 +00:00
florian
eb2a2a5ea0 + implements tavraddnode.second_cmpsmallset
git-svn-id: branches/avr@17295 -
2011-04-10 18:52:56 +00:00
florian
8cfbb70326 + generic a_cmp_const_reg_label
git-svn-id: branches/avr@17294 -
2011-04-10 18:52:37 +00:00
florian
ebe8078263 * compilation fixed
git-svn-id: branches/avr@17293 -
2011-04-10 18:43:44 +00:00
florian
610fa89484 + basic avr linker script
git-svn-id: branches/avr@17292 -
2011-04-10 18:43:04 +00:00
florian
359633bbdc * initial atmega128 reg. definition and startup code implementation
git-svn-id: branches/avr@17291 -
2011-04-10 18:42:18 +00:00
florian
7b8f3a61d3 + implemented tcgavr.g_flags2reg
git-svn-id: branches/avr@17290 -
2011-04-10 18:39:51 +00:00
florian
ed8d652398 + implemened a_cmp_reg_reg_label
git-svn-id: branches/avr@17289 -
2011-04-10 18:39:07 +00:00
florian
5fd4bb70de * started to implement ref.base parameter for normalize_ref
git-svn-id: branches/avr@17288 -
2011-04-10 18:38:06 +00:00
florian
a0b0b43d0c + implemented tcgavr.a_jmp_name
* updated todos

git-svn-id: branches/avr@17287 -
2011-04-10 18:37:26 +00:00
florian
c97869bd89 * merge user sections support branch
git-svn-id: trunk@17285 -
2011-04-10 18:08:59 +00:00
sergei
c939beee70 * Changed register allocation order for x86_64, putting first registers that don't need to be preserved by procedure. This way registers needing preservation are allocated less frequently (and for non-complex leaf functions not allocated at all), reducing amount of entry/exit code.
git-svn-id: trunk@17284 -
2011-04-10 18:04:17 +00:00
michael
1d07ae97c4 * Added combined example: login using RPC and edit data using FPWebdata
git-svn-id: trunk@17283 -
2011-04-10 17:59:36 +00:00
michael
eb2e21587b * Published CreateSession property
git-svn-id: trunk@17282 -
2011-04-10 17:18:38 +00:00
sergei
c5e7902e4b + x86_64 optimized assembler functions IndexByte and IndexWord
+ Extended tests of IndexByte with checks to verify correct operation when passed length is -1.

git-svn-id: trunk@17281 -
2011-04-10 17:05:18 +00:00
florian
7f995c093e * moved some code from pmodules to ncgutil to get rid of cpubase in pmodules
git-svn-id: trunk@17280 -
2011-04-10 16:27:49 +00:00
florian
3ce9ff93f1 + patch by Jeppe Johansen to support automatic interrupt table generation by using the interrupt directive with an offset. Not activated yet because it requires to change also the startup code of the different mcus.
git-svn-id: trunk@17279 -
2011-04-10 15:59:06 +00:00
michael
91c824abbc * Fixed compilation with dmwdebug define
git-svn-id: trunk@17278 -
2011-04-10 10:57:59 +00:00
vladob
49f87b6d6b next permutation
git-svn-id: trunk@17273 -
2011-04-08 22:19:39 +00:00
marco
f34ffd02c9 * fix for 19114. Deal with empty arguments more graciously by quoting them.
git-svn-id: trunk@17272 -
2011-04-08 14:41:36 +00:00
pierre
c22c58b3a5 * Avoid double freeing of frames with zero size as it creates a problem with heaptrc unit
git-svn-id: trunk@17271 -
2011-04-08 11:40:42 +00:00
Jonas Maebe
66258fb0b8 * fixed TCmdStrListItem.GetCopy() (the reference count of the ansistring
field was messed up due to the use of "move()" to copy all field data)

git-svn-id: trunk@17270 -
2011-04-08 08:10:07 +00:00
armin
03ca42d6e2 nwpre now initializes bss, use linker generated symbol to get address of .text (for lineinfo)
git-svn-id: trunk@17269 -
2011-04-07 19:39:51 +00:00
armin
672d76e636 added a segment table containing segments for symbols defined by linker script (needed for relocs)
git-svn-id: trunk@17268 -
2011-04-07 19:38:25 +00:00
paul
841357c66e winunits-base: fix structure name
git-svn-id: trunk@17267 -
2011-04-07 06:46:50 +00:00
paul
efad673509 winunits-base: correct GetThemeFont, GetThemeSystemFont font argument must be LogFontW instead of LogFont
git-svn-id: trunk@17266 -
2011-04-07 06:27:16 +00:00
sergei
b7a56722ff * Cleanup variant->string conversions: TryStrToDate and TryStrToTime are redundant because TryStrToDateTime already does the same checks. Patch from Luiz Americo, resolves #19115.
git-svn-id: trunk@17265 -
2011-04-07 04:10:54 +00:00