Commit Graph

53358 Commits

Author SHA1 Message Date
Mattias Gaertner
3bc75e6627 pastojs: test range check string[] by reference
git-svn-id: trunk@38838 -
2018-04-24 20:20:31 +00:00
Mattias Gaertner
3c4b206bc5 fcl-passrc: resolver: check duplicate case labels
git-svn-id: trunk@38837 -
2018-04-24 20:19:53 +00:00
Jonas Maebe
5ca8893987 * fixed temppos of loaded nested variables: invalid rather than the temppos
in their parent frame (mantis #33636)

git-svn-id: trunk@38836 -
2018-04-24 19:28:20 +00:00
Mattias Gaertner
1215cafb4e pastojs: range check string index
git-svn-id: trunk@38835 -
2018-04-24 18:01:53 +00:00
Mattias Gaertner
268ffcb854 pastojs: range check array index
git-svn-id: trunk@38834 -
2018-04-24 17:42:31 +00:00
nickysn
74f5436563 * also replaced the 3 boolean output parameters of tx86intreader.BuildConstSymbolExpression with a set
git-svn-id: trunk@38833 -
2018-04-24 15:40:37 +00:00
nickysn
e05c0d0168 * replaced the 3 boolean input parameters of tx86intreader.BuildConstSymbolExpression with a set
git-svn-id: trunk@38832 -
2018-04-24 14:59:39 +00:00
Mattias Gaertner
65ae09a914 pastojs: range check char:=, char parameter
git-svn-id: trunk@38831 -
2018-04-24 11:51:49 +00:00
nickysn
0f0a326bb7 * update revision.inc
git-svn-id: trunk@38830 -
2018-04-24 11:34:20 +00:00
Mattias Gaertner
3bf1c1560f pastojs: range check enums, int ranges, enum ranges
git-svn-id: trunk@38829 -
2018-04-24 10:23:04 +00:00
Mattias Gaertner
e6513d6883 fcl-passrc: resolver: range check on: warnings becomes errors
git-svn-id: trunk@38828 -
2018-04-24 10:22:45 +00:00
michael
fcfe99d505 * Propagate font changes (bug ID 0033455)
git-svn-id: trunk@38827 -
2018-04-24 07:05:35 +00:00
Mattias Gaertner
63032c796f pas2js: docs
git-svn-id: trunk@38826 -
2018-04-23 17:25:14 +00:00
Mattias Gaertner
d2131e360f pastojs: for key in jsvalue do, for key in jsobject do
git-svn-id: trunk@38825 -
2018-04-23 17:22:59 +00:00
nickysn
9a6e490699 * changed the 'register' and 'cdecl' calling conventions on i8086, so they don't
modify the SI and DI registers. For 'register', this makes it compatible with
  Borland C++'s __fastcall calling convention, while 'cdecl' becomes compatible
  with Borland C, Microsoft C and Watcom C.

git-svn-id: trunk@38824 -
2018-04-23 16:12:16 +00:00
Mattias Gaertner
08d2a5ff47 pastojs: pointer of record
git-svn-id: trunk@38823 -
2018-04-23 15:03:25 +00:00
Mattias Gaertner
549420da71 fcl-passrc: resolver: const p: precord; p^.x:=1
git-svn-id: trunk@38822 -
2018-04-23 15:03:07 +00:00
michael
6a30410f7b * Allow registering of an icon for custom elements
git-svn-id: trunk@38821 -
2018-04-23 11:24:44 +00:00
Mattias Gaertner
af8348fba4 pastojs: errors on pointer arithmetic
git-svn-id: trunk@38820 -
2018-04-23 10:04:09 +00:00
Mattias Gaertner
ec338c4787 fcl-passrc: resolver: typed pointer, ^, @
git-svn-id: trunk@38819 -
2018-04-23 10:03:38 +00:00
Mattias Gaertner
6a95122007 fcl-passrc: fixed parsing (@i)[j]
git-svn-id: trunk@38818 -
2018-04-23 10:02:59 +00:00
michael
8f717ed66a * Fix memleak on refresh, spare record initialized twice
git-svn-id: trunk@38817 -
2018-04-23 07:19:37 +00:00
pierre
ee1a5843aa Avoid program RTE if failing to remove temporary directory
git-svn-id: trunk@38816 -
2018-04-22 22:18:27 +00:00
Jonas Maebe
3da67019e5 * fixed llvm compiler compilation after r38814 (crashes in "make cycle", but
that was already the case before)

git-svn-id: trunk@38815 -
2018-04-22 20:40:19 +00:00
Jonas Maebe
4686f61002 * keep track of the temp position separately from the offset in references,
so that they can still be freed after the reference has been changed
    (e.g. in case of array indexing or record field accesses) (mantis #33628)

git-svn-id: trunk@38814 -
2018-04-22 17:03:16 +00:00
Jonas Maebe
3e8cd7d4c9 * after making a copy of a vo_has_local_copy parameter, only release
the old location as a temp in case it was a reference

git-svn-id: trunk@38813 -
2018-04-22 17:03:11 +00:00
Jonas Maebe
ad73453e64 * fixed alignment of threadvars (used uninitialised field value)
git-svn-id: trunk@38812 -
2018-04-22 17:03:07 +00:00
Jonas Maebe
93ce83fb62 - removed duplicate overloaded function that returned uninitialised results
git-svn-id: trunk@38811 -
2018-04-22 17:03:03 +00:00
michael
2a80d2ada0 * Clear aggregate list on first pass initialization of aggregate variable (bug ID 0033629)
git-svn-id: trunk@38810 -
2018-04-22 15:57:20 +00:00
michael
642967520f * Fix checkbox not saving/loading expression
git-svn-id: trunk@38809 -
2018-04-22 15:35:22 +00:00
Mattias Gaertner
73310ac57f pastojs: jsvalue:=currency
git-svn-id: trunk@38808 -
2018-04-22 11:35:58 +00:00
Mattias Gaertner
5e32960f33 fcl-js: fixed case
git-svn-id: trunk@38807 -
2018-04-22 11:13:16 +00:00
Mattias Gaertner
4909d43949 pastojs: currency
git-svn-id: trunk@38806 -
2018-04-22 10:51:36 +00:00
Mattias Gaertner
13ed2c46f4 fcl-passrc: resolver: eval currency, binary with currency gives currency
git-svn-id: trunk@38805 -
2018-04-22 10:51:13 +00:00
michael
8487e5353c * Fix bug ID #33252 (attempt 2)
git-svn-id: trunk@38804 -
2018-04-22 08:04:54 +00:00
michael
f518cd33fe * Fix special case when a dataset is empty, and when a dataset contains only 1 record.
git-svn-id: trunk@38803 -
2018-04-21 19:35:55 +00:00
michael
fa928fda1c * Added BringToFont/SendToBack
git-svn-id: trunk@38802 -
2018-04-21 16:54:01 +00:00
michael
4a273db4d7 * Do not clear fields, master-detail may reopen dataset
git-svn-id: trunk@38801 -
2018-04-21 16:05:06 +00:00
michael
88c1145498 * Do not clear fields, master-detail may reopen dataset
git-svn-id: trunk@38800 -
2018-04-21 16:04:42 +00:00
michael
d17fab9c41 * Fix aggregates calculation for more complex master-detail scenarios
git-svn-id: trunk@38799 -
2018-04-21 16:04:14 +00:00
Mattias Gaertner
fb34a9547f pas2js: version 0.9.16
git-svn-id: trunk@38798 -
2018-04-21 06:18:31 +00:00
Mattias Gaertner
20a3df1fd6 pastojs: fixed renaming duplicate local const
git-svn-id: trunk@38797 -
2018-04-20 11:43:06 +00:00
Mattias Gaertner
98e0e356bc fcl-passrc: resolver: allow overriding TpasSectionScope
git-svn-id: trunk@38796 -
2018-04-20 11:42:47 +00:00
maciej-izak
babc353d45 Fix typo in comment in ipf (found by Marcin Wiazowski, issue #33588).
git-svn-id: trunk@38795 -
2018-04-19 21:24:23 +00:00
nickysn
518cdf9674 * replaced the saved_XXX_registers arrays with virtual methods inside
tcpuparamanager, very similar to the existing get_volatile_registers_XXX. The
  new methods are called get_saved_registers_XXX, where XXX is the register
  type ("int", "address", "fpu" or "mm")

git-svn-id: trunk@38794 -
2018-04-19 21:22:16 +00:00
Mattias Gaertner
0601b437a4 pas2js: added option -JoUseStrict
git-svn-id: trunk@38793 -
2018-04-19 12:42:00 +00:00
Mattias Gaertner
2945f4a3c9 pas2js: changed TGuid to record
git-svn-id: trunk@38792 -
2018-04-19 12:16:03 +00:00
Mattias Gaertner
f64115913d pastojs: TGuid record, TGuidString, fixed call(typeinfo(intftype)), not jsvalue, equal operator for records with static array fields, typecast type to TJSObject
git-svn-id: trunk@38791 -
2018-04-19 12:01:35 +00:00
Mattias Gaertner
fb8690428c fcl-passrc: resolver: TGuid record
git-svn-id: trunk@38790 -
2018-04-19 11:59:32 +00:00
Mattias Gaertner
2512550834 fcl-js: TJSNewMemberExpression.AddArg: auto create Args
git-svn-id: trunk@38789 -
2018-04-19 11:57:38 +00:00