Commit Graph

53394 Commits

Author SHA1 Message Date
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
pierre
036560010f Ensure FindInsertNode only return -1, 0 or +1
git-svn-id: trunk@38788 -
2018-04-19 07:24:44 +00:00
maciej-izak
827d6dc01f fix trunk compilation (related to previous commit r38786)
git-svn-id: trunk@38787 -
2018-04-18 22:41:58 +00:00
maciej-izak
4cdb2e832d * Add monotone cubic Hermite spline. Patch by Marcin Wiazowski. Issue #33588
* More unified code with Lazarus ipf_fix module

git-svn-id: trunk@38786 -
2018-04-18 22:12:43 +00:00
nickysn
bd3d35f2da + add support for passing 32-bit values in a pair of registers in
tcg8086.a_load_const_cgpara. This fixes passing const longint parameters in
  dx:ax when using the register calling convention on i8086.

git-svn-id: trunk@38785 -
2018-04-18 15:40:09 +00:00
nickysn
a73aabcc39 * support loading longint in dx:ax when using the 'register' calling convention
on i8086. This is compatible with Borland C++ 3.1's _fastcall. Note that
  passing parameters in multiple registers is not yet implemented, so using this
  will cause internal errors, but these will be fixed later (and the 'register'
  calling convention was never officially supported on i8086).

git-svn-id: trunk@38784 -
2018-04-18 15:36:55 +00:00
nickysn
91707deba7 * changed the registers, used by the 'register' calling convention on i8086 to
ax,dx,bx instead of ax,dx,cx, because that makes it more compatible with
  Borland C++ 3.1's _fastcall calling convention

git-svn-id: trunk@38783 -
2018-04-18 13:46:56 +00:00
pierre
5056b29864 Fix arg types for pthread_create and pthread_key_create, fixes test/textthr test failure for solaris
git-svn-id: trunk@38782 -
2018-04-18 11:13:44 +00:00
pierre
dbc0dd81fd Modify the test to reflect the fact the compiler prefers conversion of ansiString to RawByteString over to UTF8String
git-svn-id: trunk@38781 -
2018-04-18 10:21:26 +00:00
maciej-izak
487e01af79 Allow usage of other type kinds than only objects for keys and values for TObjectDictionaries constraints.
git-svn-id: trunk@38780 -
2018-04-17 11:16:28 +00:00
pierre
49caa8fcef Disable UNC tests for go32v2 without LFNSupport (like dosbox on Linux)
git-svn-id: trunk@38779 -
2018-04-16 13:16:05 +00:00
michael
e495d73239 * Fix tests conforming to new behaviour wrt empty string
git-svn-id: trunk@38778 -
2018-04-16 09:45:50 +00:00
michael
659bf09325 * Fix typo in ansiEndsString, resulting in wrong behaviour
git-svn-id: trunk@38777 -
2018-04-16 09:45:44 +00:00
pierre
5d2a627572 Skip test/packages/webtbs/tw11570.pp for msdos and go32v2 targets
git-svn-id: trunk@38776 -
2018-04-15 21:27:02 +00:00
pierre
9faf12b42d Skip all fcl-sb tests for msdos and go32v2 targets
git-svn-id: trunk@38775 -
2018-04-15 21:24:12 +00:00