Commit Graph

53192 Commits

Author SHA1 Message Date
Mattias Gaertner
bfb68c8dfd pastojs: test wpo in other unit
git-svn-id: trunk@38472 -
2018-03-09 14:19:15 +00:00
Mattias Gaertner
6ac5c55c54 fcl-passrc: useanalyzer: fixed overrides, added test
git-svn-id: trunk@38471 -
2018-03-09 14:17:46 +00:00
nickysn
77c782c89b * when adding OPR_LOCAL with OPR_REFERENCE in tx86intreader.AddReferences, add
the offsets correctly:
    1) localconstoffset is added with constoffset
    2) localsymofs is added with ref.offset

git-svn-id: trunk@38470 -
2018-03-09 14:17:19 +00:00
michael
ba97e919e6 * Fix bug #33400, clear should also clear run-time objects
git-svn-id: trunk@38469 -
2018-03-09 12:34:25 +00:00
michael
ad409edb30 * Fix bug #33399, RemovePage does not free page
git-svn-id: trunk@38468 -
2018-03-09 12:14:52 +00:00
michael
fbd974b0d8 * Fix bug ID #0033390
git-svn-id: trunk@38467 -
2018-03-09 11:10:51 +00:00
michael
27b0165689 * Fix bug #33389, AV if there are no pages yet in a report
git-svn-id: trunk@38466 -
2018-03-09 10:57:54 +00:00
pierre
f79776e320 Define PUREPASCAL for i386 if PIC code is generated, to avoid compilation failure
git-svn-id: trunk@38465 -
2018-03-09 10:26:46 +00:00
michael
c1f8a15e32 * Fix bug #33388, name is lost when doing loadfromjson
git-svn-id: trunk@38464 -
2018-03-09 08:39:46 +00:00
maciej-izak
08c0239d1e Add rtl-generics to tests
git-svn-id: trunk@38463 -
2018-03-09 00:02:19 +00:00
maciej-izak
b0b119995b Big update for rtl-generics (aka Generics.Collections 2.0 - sync with https://github.com/maciej-izak/generics.collections). What is new:
* New collections:
    - TSortedList<T>
    - THashSet<T>
    - TAVLTreeMap<TKey, TValue>
    - TIndexedAVLTreeMap<TKey, TValue>
    - TAVLTree<T>
    - TIndexedAVLTree<T>
    - TSortedSet<T>
    - TSortedHashSet<T> (this one collection is especially interesting - optimized mix of dictionary and AVL tree)
* Ptr property for all collections
* New hash functions (the optimal hash function for collections is selected depending on environment)
* Bug fixes
* Tests

git-svn-id: trunk@38462 -
2018-03-09 00:01:18 +00:00
Mattias Gaertner
08afb657f3 pastojs: filer: write external references
git-svn-id: trunk@38461 -
2018-03-08 22:34:25 +00:00
pierre
af5d27e083 Fix compilation wtih range check: STD_INPUT_HANDLE must be a DWORD
git-svn-id: trunk@38460 -
2018-03-08 17:41:11 +00:00
michael
1b023f0697 * Properly reset aggregates between runs (bug ID 33357)
git-svn-id: trunk@38459 -
2018-03-08 17:05:54 +00:00
michael
98b48ccded * Parent must free children (bug ID 33357)
git-svn-id: trunk@38458 -
2018-03-08 16:47:13 +00:00
nickysn
68be282507 + support adding an OPR_REFERENCE to a OPR_LOCAL in the x86 intel syntax asm
reader; this fixes stuff like 'mov ax,cs:localvar[5]'

git-svn-id: trunk@38457 -
2018-03-08 14:32:31 +00:00
michael
7b65a34a9b * UseParentFont was wrongly reset when reading from stream
git-svn-id: trunk@38456 -
2018-03-08 13:45:45 +00:00
michael
c2fc827bb9 * Introduce FindFont
git-svn-id: trunk@38455 -
2018-03-08 13:02:06 +00:00
Mattias Gaertner
27508cdd23 pastojs: added FindAvailableLocalName
git-svn-id: trunk@38454 -
2018-03-08 10:58:26 +00:00
Mattias Gaertner
5c6eb1b9a3 fcl-js: fixed typo
git-svn-id: trunk@38453 -
2018-03-08 10:57:43 +00:00
michael
e8e59a44b8 * Provide hook to detect changes when loading from stream (bug ID 33375)
git-svn-id: trunk@38452 -
2018-03-08 10:02:28 +00:00
michael
44ec9dd4bc * Fix bug #33374
git-svn-id: trunk@38451 -
2018-03-08 09:38:07 +00:00
michael
6189e06708 * Fix UseParentFont (Bug ID 33336) and dulicate naming (Bug ID 33354)
git-svn-id: trunk@38450 -
2018-03-08 08:48:28 +00:00
Mattias Gaertner
31be7eeba9 pastojs: version 0.9.7
git-svn-id: trunk@38449 -
2018-03-07 22:35:32 +00:00
Mattias Gaertner
4f45325ebd pastojs: filer: started read/write uses section
git-svn-id: trunk@38448 -
2018-03-07 22:30:35 +00:00
Mattias Gaertner
ef016024d5 pastojs: fixed var-argument setter local var if reference has name v
git-svn-id: trunk@38447 -
2018-03-07 22:29:57 +00:00
Mattias Gaertner
90a87955b4 fcl-passrc: resolver: added TPasResolver.GetUsesUnitInFilename
git-svn-id: trunk@38446 -
2018-03-07 22:28:52 +00:00
florian
78878f59b1 + generic TAOptObj.AllocRegBetween
- removed x86 specific AllocRegBetween

git-svn-id: trunk@38445 -
2018-03-07 22:17:35 +00:00
nickysn
6e79c8ba86 + support adding an OPR_LOCAL to a OPR_REFERENCE in
tx86intreader.AddReferences(); this allows things like mov ax,[cs:[local]] to
  work

git-svn-id: trunk@38444 -
2018-03-07 17:31:25 +00:00
nickysn
d3cb61b651 * refactored tx86intreader.AddReferences to use a pair of case statements,
depending on the combination of operand types; this is done, so that adding
  OPR_LOCAL with OPR_REFERENCE operands can be supported later.

git-svn-id: trunk@38443 -
2018-03-07 16:43:39 +00:00
nickysn
0f6a88b0c7 * update revision.inc
git-svn-id: trunk@38442 -
2018-03-07 16:40:29 +00:00
michael
32c36ea1d5 * Release expression nodes for variables
git-svn-id: trunk@38441 -
2018-03-06 22:23:29 +00:00
michael
eecce3d8f4 * Fix bug #33343: group footer reference to group header was set incorrectly when reading from file
git-svn-id: trunk@38440 -
2018-03-06 22:12:40 +00:00
michael
11ac4739b4 * Fix null values conversion
git-svn-id: trunk@38439 -
2018-03-06 21:54:19 +00:00
Mattias Gaertner
3508070d10 pas2js: set version 0.9.6
git-svn-id: trunk@38438 -
2018-03-06 17:52:07 +00:00
michael
33d76f596a * Stream variable definitions (bug ID 33341)
git-svn-id: trunk@38437 -
2018-03-06 14:19:20 +00:00
Mattias Gaertner
dd246f5698 pas2js: docs
git-svn-id: trunk@38436 -
2018-03-06 14:09:54 +00:00
Mattias Gaertner
e71060c133 pastojs: parse units queued in reverse order
git-svn-id: trunk@38435 -
2018-03-06 14:09:37 +00:00
Mattias Gaertner
d316d54dc9 fcl-passrc: debug queued parsing, more tests
git-svn-id: trunk@38434 -
2018-03-06 14:08:34 +00:00
michael
8359a6fc50 * Fix AV in case of group header without group footer
git-svn-id: trunk@38433 -
2018-03-06 12:49:29 +00:00
pierre
593794c0fd Add $PIC OFF directive for FPC compilation and change Data field type to int64 to avoid size errors
git-svn-id: trunk@38432 -
2018-03-06 11:08:03 +00:00
pierre
7e98f58c8a Add $PIC OFF directive for FPC compilation
git-svn-id: trunk@38431 -
2018-03-06 11:07:13 +00:00
michael
592a435068 * Fix bug #33340 (patch from Stephano)
git-svn-id: trunk@38430 -
2018-03-06 10:48:04 +00:00
michael
354067d108 * Free Notification for ParentGroupHeader, and persist to stream
git-svn-id: trunk@38429 -
2018-03-06 10:25:27 +00:00
michael
2e1bf4533f * Free Notification for Header/Footer/Master/Child band
git-svn-id: trunk@38428 -
2018-03-06 10:09:28 +00:00
pierre
2c20431a32 Regenerated after: Add more missing -T options
git-svn-id: trunk@38427 -
2018-03-06 10:05:33 +00:00
pierre
46d83d296b Add more missing -T options
git-svn-id: trunk@38426 -
2018-03-06 10:05:02 +00:00
michael
052a8229a4 * Allow designing of report variable expressions
git-svn-id: trunk@38425 -
2018-03-06 09:59:41 +00:00
michael
e3d9b37477 * Validate report before running it (bug ID 33334), fix typo
git-svn-id: trunk@38424 -
2018-03-06 09:00:29 +00:00
michael
2f2597341e * Validate report before running it (bug ID 33334), fix typo
git-svn-id: trunk@38423 -
2018-03-06 08:42:32 +00:00