Commit Graph

53368 Commits

Author SHA1 Message Date
Károly Balogh
c840c4d6a8 athreads: add a custom API to retrieve underlying process ID from AThreads. this makes it possible to combine some Amiga API features like Signaling with FPC's thread handling
git-svn-id: trunk@38848 -
2018-04-26 11:28:38 +00:00
Mattias Gaertner
8422cc8add pas2js: version 0.9.18
git-svn-id: trunk@38847 -
2018-04-26 08:15:36 +00:00
Mattias Gaertner
47b350947f pas2js: added hexstr
git-svn-id: trunk@38846 -
2018-04-26 08:12:55 +00:00
michael
0adfb4fb02 * Fix bug ID #33651
git-svn-id: trunk@38845 -
2018-04-26 07:08:41 +00:00
Mattias Gaertner
6d0e3d135c pa2js: version 0.9.17
git-svn-id: trunk@38844 -
2018-04-25 21:13:39 +00:00
Mattias Gaertner
0fd731efc5 pastojs: docs: typecast int(int)
git-svn-id: trunk@38843 -
2018-04-25 13:37:39 +00:00
Mattias Gaertner
80b008b76d pastojs: typecast int(int)
git-svn-id: trunk@38842 -
2018-04-25 12:47:20 +00:00
Mattias Gaertner
2750a0010c fcl-passrc: resolver: GetElementSourcePos for intrinsic
git-svn-id: trunk@38841 -
2018-04-25 00:24:00 +00:00
Mattias Gaertner
f8ebe44fd0 pastojs: new(out ^record), dispose(^record)
git-svn-id: trunk@38840 -
2018-04-24 23:38:44 +00:00
Mattias Gaertner
2f4af745d9 fcl-passrc: resolver: new(out ^record), dispose(^record)
git-svn-id: trunk@38839 -
2018-04-24 23:38:24 +00:00
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