yury
5c5dc2ed50
* Changed verbosity of ""???" not yet supported inside inline procedure/function" to note to be consistent with note "Call to subroutine "?" marked as inline is not inlined".
...
git-svn-id: trunk@40255 -
2018-11-07 12:57:23 +00:00
yury
dd60397165
+ Added the pio_inline_not_possible flag to timplprocoption. It is set if a function can't be inline (contains an assembler block, etc). When calling such functions, no note "Call to subroutine "?" marked as inline is not inlined" is emitted.
...
git-svn-id: trunk@40254 -
2018-11-07 12:20:30 +00:00
Mattias Gaertner
6bb752c637
pas2js: default pas2js.cfg unitpath uses $CfgDir/../../../packages/*
...
git-svn-id: trunk@40245 -
2018-11-06 17:00:28 +00:00
Mattias Gaertner
e89223e56e
pas2js: clean up
...
git-svn-id: trunk@40243 -
2018-11-06 16:54:56 +00:00
Mattias Gaertner
0140c5ede7
pas2js: fixed unit paths
...
git-svn-id: trunk@40241 -
2018-11-06 16:48:14 +00:00
lacak
475fed4e9a
fcl-db: sqldb: when parsing identifiers (TableName) take into account delimited identifiers (double quoted) separated by point + test. Bug #34511
...
git-svn-id: trunk@40240 -
2018-11-06 13:46:37 +00:00
yury
b115886930
* po_inline can't be removed from procoptions when the interface part is already parsed. It changes the interface's CRC and causes other units to recompile.
...
git-svn-id: trunk@40238 -
2018-11-06 10:21:06 +00:00
pierre
8d5cfa8731
Disable range checking in rax86int unit
...
git-svn-id: trunk@40237 -
2018-11-06 07:41:15 +00:00
pierre
d55f80d2f9
Really change extension of hs1 local variable in get_exepath
...
git-svn-id: trunk@40236 -
2018-11-06 07:40:31 +00:00
yury
5f1933eecf
* Addition to r40225: Forgot to remove inline in the implementation.
...
git-svn-id: trunk@40227 -
2018-11-05 14:46:09 +00:00
yury
f5ce7c572b
* Removed inline for Unix2AmigaPath since it is not necessary and can't be inlined anyway due to ansistring conversion.
...
git-svn-id: trunk@40226 -
2018-11-05 14:37:01 +00:00
yury
a7642b70c1
* Removed inline for functions which access private variables and can't be inlined from outside.
...
git-svn-id: trunk@40225 -
2018-11-05 14:35:23 +00:00
yury
c2c942374d
* Removed inline for methods which are too big.
...
git-svn-id: trunk@40224 -
2018-11-05 14:33:39 +00:00
yury
95d18cd052
* If a function can't be inline (contains an assembler block, etc) remove the po_inline flag from its procoptions.
...
git-svn-id: trunk@40223 -
2018-11-05 14:18:27 +00:00
yury
8fba43609d
+ Added overloaded version of stringdup() for ansistring to allow stringdup to be inlined.
...
git-svn-id: trunk@40221 -
2018-11-05 14:00:51 +00:00
yury
c9a7503bbb
* Rearranged the code to place implementation of inline methods before their usage within this unit.
...
git-svn-id: trunk@40220 -
2018-11-05 13:59:59 +00:00
yury
0a3c94bc72
* Moved inline methods to the beginning in order to allow them to be actually inlined in this unit.
...
git-svn-id: trunk@40219 -
2018-11-04 19:50:09 +00:00
Károly Balogh
7bd590c9a7
fix the missing semicolos in the previous fix..
...
git-svn-id: trunk@40218 -
2018-11-04 18:15:24 +00:00
Károly Balogh
12a22b593d
initialize result before passing it to FindFile()
...
git-svn-id: trunk@40217 -
2018-11-04 18:03:00 +00:00
yury
4682ac269d
* Further improvement for r40180:
...
An uninitialized function Result of a managed type needs special handling.
When passing it as a var parameter a warning need to be emitted, since a user
may expect Result to be empty (nil) by default as it happens with local vars
of a managed type. But this is not true for Result and may lead to serious issues.
The only exception is SetLength(Result, ?) for a string Result. A user always
expects undefined contents of the string after calling SetLength(). In such
case a hint need to be emitted.
+ Tests for this.
git-svn-id: trunk@40216 -
2018-11-04 15:37:52 +00:00
michael
79dc736a69
* Patch from Margérs to fix bug #32281 (zip/unzip files >4Gb)
...
git-svn-id: trunk@40215 -
2018-11-04 12:03:32 +00:00
marco
cf4496aa1e
* more moderate growing for large collections, Mantis #34420 .
...
git-svn-id: trunk@40214 -
2018-11-03 22:56:09 +00:00
marco
a1904a055c
* simple clear functions for some types.
...
git-svn-id: trunk@40213 -
2018-11-03 22:50:55 +00:00
Mattias Gaertner
ebdf451cb5
pastojs: test result:=inherited;
...
git-svn-id: trunk@40211 -
2018-11-03 21:53:51 +00:00
Mattias Gaertner
1ca522a27e
pastojs: clean up
...
git-svn-id: trunk@40210 -
2018-11-03 21:53:32 +00:00
Mattias Gaertner
767938dac7
pastojs: less hints
...
git-svn-id: trunk@40209 -
2018-11-03 21:53:09 +00:00
Mattias Gaertner
c160d93750
fcl-passrc: no hint on hiding inherited constructor, fixed Result:=inherited;
...
git-svn-id: trunk@40204 -
2018-11-03 21:37:55 +00:00
Mattias Gaertner
1bd8e903d7
fcl-js: simplified
...
git-svn-id: trunk@40203 -
2018-11-03 21:36:36 +00:00
florian
34d11046e0
* wrapcomplexinlinepara takes care of function results which need different temp. handling, resolves #34438
...
* tw34438 failed with -O3, fixes also dfa for inline functions returning results as "complex" parameter
git-svn-id: trunk@40202 -
2018-11-03 17:31:10 +00:00
yury
e63433c88c
* Fixed obtaining a time zone information for 64-bit android.
...
git-svn-id: trunk@40201 -
2018-11-03 14:33:41 +00:00
yury
8958d94091
* Fixed locale detection on new Android versions.
...
git-svn-id: trunk@40200 -
2018-11-03 14:16:21 +00:00
yury
d27c16f024
* ICU v3.8 on Android 1.5-2.1 is buggy and can't be unloaded properly.
...
git-svn-id: trunk@40199 -
2018-11-03 13:56:27 +00:00
yury
b717a149b6
* android: Removed cwstring from the uses clause of the unix unit. Use cwstring indirectly. It allows to avoid using cwstring if needed.
...
git-svn-id: trunk@40198 -
2018-11-03 12:34:59 +00:00
florian
42e54c1ad5
* max_operands needs only to be 2 on avr
...
git-svn-id: trunk@40197 -
2018-11-03 10:39:58 +00:00
pierre
0e546d47ca
Fix 3 operand version of MatchOpType
...
git-svn-id: trunk@40196 -
2018-11-02 23:18:54 +00:00
Mattias Gaertner
fe7805c5fe
fcl-web: fixed simpleserver on darwin
...
git-svn-id: trunk@40195 -
2018-11-02 22:55:52 +00:00
Mattias Gaertner
3d2322512e
pastojs: stack trace in nodejs
...
git-svn-id: trunk@40194 -
2018-11-02 22:55:20 +00:00
Mattias Gaertner
bdb3a9175d
pastojs: fixed escaping invalid UTF-16 in string literals
...
git-svn-id: trunk@40193 -
2018-11-02 22:54:26 +00:00
Mattias Gaertner
59414e3030
pastojs: fixed escaping invalid UTF-16 i string literals
...
git-svn-id: trunk@40192 -
2018-11-02 22:53:36 +00:00
Mattias Gaertner
f0e75cdbbb
fcl-js: fixed escaping invalid UTF-16 i string literals
...
git-svn-id: trunk@40191 -
2018-11-02 22:52:22 +00:00
florian
9b0ff05ee8
- get rid of MaxOps, it is redundant with max_operands
...
* MatchOpType with three operands is only available of max_operands>2
git-svn-id: trunk@40190 -
2018-11-02 21:32:29 +00:00
Jonas Maebe
513481ad71
* fixed overzealous removal of an assigned(t1) check in r40142 (it was for a
...
ttryexceptnode instead of for a ttryfinally node)
git-svn-id: trunk@40189 -
2018-11-02 21:12:18 +00:00
yury
a19528efa1
* Fixed warnings.
...
git-svn-id: trunk@40188 -
2018-11-02 19:22:46 +00:00
yury
78a26e53f8
* Fixed warnings.
...
git-svn-id: trunk@40187 -
2018-11-02 19:04:52 +00:00
yury
a077e0dd90
* Fixed comparison.
...
git-svn-id: trunk@40186 -
2018-11-02 19:04:26 +00:00
yury
30d64cec68
* Removed unused local vars.
...
git-svn-id: trunk@40185 -
2018-11-02 18:51:19 +00:00
yury
a026252508
* Commented out unused "size" local var.
...
git-svn-id: trunk@40184 -
2018-11-02 18:47:34 +00:00
yury
4357caaad8
* Removed unused local vars.
...
git-svn-id: trunk@40183 -
2018-11-02 18:44:29 +00:00
yury
2dc64e5fae
* Reverted r40181 because the "not inlined" notes are issued not due to access to private fields, but due to string conversion. It need to be fixed by overloaded versions of some methods.
...
git-svn-id: trunk@40182 -
2018-11-02 18:21:26 +00:00
yury
fa2d82f879
* Removed 'inline' from public methods of TFPObjectList and TFPHashObjectList since they use private fields and can not be inlined when called from other units.
...
git-svn-id: trunk@40181 -
2018-11-02 16:55:33 +00:00