Commit Graph

50499 Commits

Author SHA1 Message Date
michael
5a7a05bd3f * SimpleFileModule for use with new router
git-svn-id: trunk@35821 -
2017-04-17 11:30:58 +00:00
joost
5051a0ccc5 * Fixed AV
git-svn-id: trunk@35820 -
2017-04-17 11:16:06 +00:00
joost
74f952324f * Added test for command-line package-variants (introduced in r35814)
git-svn-id: trunk@35819 -
2017-04-17 10:15:07 +00:00
pierre
e6d5bd049f Regenerated after commit 35817: * Do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35818 -
2017-04-17 10:06:41 +00:00
pierre
19148275db * Do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35817 -
2017-04-17 10:06:11 +00:00
joost
cd13255d56 * Add a debug message to determine if a package is a source- or installed-package
git-svn-id: trunk@35816 -
2017-04-16 22:32:14 +00:00
joost
721e0d34e3 * Fixed help-message
git-svn-id: trunk@35815 -
2017-04-16 22:28:36 +00:00
joost
efd5aace57 * Added ability to add package-variants on the command-line
git-svn-id: trunk@35814 -
2017-04-16 22:21:30 +00:00
joost
0f8751c9e6 * Fixed task-description
git-svn-id: trunk@35813 -
2017-04-16 22:21:14 +00:00
joost
e5a8747f5e * Fixed false changed-dependency messages
* Raised changed-dependency-messages loglevel from debug to warning

git-svn-id: trunk@35812 -
2017-04-16 20:10:02 +00:00
Mattias Gaertner
0139308762 pastojs: typecast function result
git-svn-id: trunk@35811 -
2017-04-16 19:31:20 +00:00
Mattias Gaertner
a4ffecf988 fcl-passrc: typecast function result
git-svn-id: trunk@35810 -
2017-04-16 19:31:09 +00:00
Mattias Gaertner
9e57c2f5d2 pastojs: typecast procvar and pointer, name anonymous array type
git-svn-id: trunk@35809 -
2017-04-16 19:12:11 +00:00
Mattias Gaertner
e32782f5b3 fcl-passrc: resolver: typecast procvar and pointer
git-svn-id: trunk@35808 -
2017-04-16 19:09:47 +00:00
joost
790c9995fe * Added PackageVariant-test
git-svn-id: trunk@35807 -
2017-04-16 18:53:50 +00:00
Mattias Gaertner
4775c6d517 fcl-passrc: analyzer: fixed marking method override
git-svn-id: trunk@35806 -
2017-04-15 21:10:54 +00:00
Mattias Gaertner
f57816c116 pastojs: clean up
git-svn-id: trunk@35805 -
2017-04-15 19:23:22 +00:00
Mattias Gaertner
89bf386545 pastojs: const set of chars, in operator returns boolean on false
git-svn-id: trunk@35804 -
2017-04-15 19:17:52 +00:00
Mattias Gaertner
975b5b8007 pastojs: fixed typeinfo module path
git-svn-id: trunk@35803 -
2017-04-15 16:15:14 +00:00
Mattias Gaertner
e7eefef464 pastojs: name anonymous enumtypes
git-svn-id: trunk@35802 -
2017-04-15 14:55:28 +00:00
Mattias Gaertner
45fe33e8d8 fcl-passrc: resolver: option to name anonymous enumtypes
git-svn-id: trunk@35801 -
2017-04-15 14:55:04 +00:00
michael
6bdda7b85f * Fix bug #31665
git-svn-id: trunk@35800 -
2017-04-15 12:49:26 +00:00
Mattias Gaertner
7cc9a70dfb pastojs:
- typeinfo(varclass) is converted to varclass.$rtti
- removed workaround for external 'Object' and 'Array' [] operator

git-svn-id: trunk@35799 -
2017-04-15 10:15:02 +00:00
Mattias Gaertner
17f6a4aacd fcl-passrc: pasanalyzer: fixed enumtype, mark typeinfo param as published
git-svn-id: trunk@35798 -
2017-04-15 10:11:41 +00:00
joost
75e8cbd187 * Added ability to pass options to other packages + test
git-svn-id: trunk@35797 -
2017-04-14 23:00:52 +00:00
joost
a799d6465b * Added test for source-dependencies
* Removed miced-case package-name. Better keep the basic tests simple

git-svn-id: trunk@35796 -
2017-04-14 20:24:45 +00:00
Mattias Gaertner
4f1755b174 pastojs:
- const aliasname = enumvalue
- RTTI
  - base types
  - unit $rtti
  - enum type tkEnumeration
  - set type tkSet
  - procedure type  tkProcVar, tkMethod
  - class type tkClass
    - fields,
    - methods,
    - properties  no params, no index, no defaultvalue
    - class forward
  - class-of type tkClassRef
  - dyn array type  tkDynArray
  - static array type  tkArray
  - record type  tkRecord
  - no typeinfo for local types
  - built-in function typeinfo(): Pointer/TTypeInfo/...
  - WPO skip not used typeinfo
- pointer
  - compare with and assign nil

git-svn-id: trunk@35795 -
2017-04-14 15:58:03 +00:00
Mattias Gaertner
3343a936d9 fcl-passrc: updated tests
git-svn-id: trunk@35794 -
2017-04-14 15:53:33 +00:00
Mattias Gaertner
a0482df6df fcl-passrc: useanalyzer: mark needed typeinfo
git-svn-id: trunk@35793 -
2017-04-14 15:52:31 +00:00
marco
5a8578cfaa * dword -> dword_ptr in sendmessagetimeout (3x), mantis #31661
git-svn-id: trunk@35792 -
2017-04-14 15:52:03 +00:00
Mattias Gaertner
a42fa05288 fcl-passrc: resolver: built-in function typeinfo
git-svn-id: trunk@35791 -
2017-04-14 15:51:47 +00:00
Mattias Gaertner
642ea28368 fcl-passrc: split procedure modifiers into proc modifiers and proctype modifiers, pmVarargs is now ptmVarargs
git-svn-id: trunk@35790 -
2017-04-14 15:50:56 +00:00
Mattias Gaertner
9f5906e115 fcl-js: added TJSArrayLiteral.AddElement TJSNewMemberExpression.AddArg TJSCallExpression.AddArg
git-svn-id: trunk@35789 -
2017-04-14 15:48:09 +00:00
joost
3d16dfbc0b * Set the global- and local-prefix from older config versions correctly
git-svn-id: trunk@35788 -
2017-04-13 18:53:24 +00:00
nickysn
b14f277e8f + use rtl helpers for 64-bit shl/shr/sar/rol/ror modify in place operations, on
platforms that don't have native 64-bit implementation of the corresponding
  64-bit shift/rotate operation

git-svn-id: trunk@35787 -
2017-04-13 15:24:32 +00:00
nickysn
a1ad705646 + allocate and free flags before and after the shl+rcl/shr+rcr/sar+rcr sequences
git-svn-id: trunk@35786 -
2017-04-13 11:58:51 +00:00
nickysn
cddb48bad4 + i386 implementation of a_op64_const_reg for OP_SHR,OP_SHL and OP_SAR; needed
by the in_shl/shr/sar_assign_x_y inline nodes

git-svn-id: trunk@35785 -
2017-04-13 11:54:19 +00:00
nickysn
6a710964f2 + i386 implementation of a_op64_const_ref for OP_SHR,OP_SHL and OP_SAR; needed
by the in_shl/shr/sar_assign_x_y inline nodes

git-svn-id: trunk@35784 -
2017-04-13 10:38:33 +00:00
nickysn
599b9e73de * determine correctly whether operand size is 32 or 64 bits for
sar/shl/shr/rol/ror in tcginlinenode.second_AndOrXorShiftRot_assign

git-svn-id: trunk@35783 -
2017-04-12 13:36:42 +00:00
Mattias Gaertner
d8dbeb10b9 fcl-passrc: no writeln, bug #31656
git-svn-id: trunk@35782 -
2017-04-12 13:13:14 +00:00
nickysn
b6d05dba9e * mark the sar/shl/shr/rol/ror_assign nodes as having side effects
git-svn-id: trunk@35781 -
2017-04-12 12:17:08 +00:00
nickysn
f514657e45 + implemented the sar/shl/shr/rol/ror inline modify-in-place nodes; the actual
optimization of "i:=i shl/shr k", etc statements is not performed yet

git-svn-id: trunk@35780 -
2017-04-12 00:41:15 +00:00
yury
252f9ef153 * pas2jni: Support for class references.
- Fixed inclusion of unneeded pointer types.

git-svn-id: trunk@35779 -
2017-04-11 18:34:58 +00:00
joost
13b73244b3 * Added tests for r35776 and r35777
git-svn-id: trunk@35778 -
2017-04-11 16:59:58 +00:00
joost
f38f4d637f * Handle directories that do no contain an installed package
git-svn-id: trunk@35777 -
2017-04-11 16:57:54 +00:00
joost
61739262c7 * Give a clear error when the source of a package is not available
git-svn-id: trunk@35776 -
2017-04-11 16:42:37 +00:00
joost
2aa623964e * Fix the location where the .cod-files are installed on unices.
git-svn-id: trunk@35775 -
2017-04-11 16:30:52 +00:00
nickysn
7b40bdaa6e + treat the new modify-in-place inline nodes as having side effects in
check_for_sideeffect()

git-svn-id: trunk@35774 -
2017-04-11 14:59:38 +00:00
nickysn
5bb77905cd * fixed the missing warnings for unused variables at -O3, when one of the new
modify-in-place inline nodes are used

git-svn-id: trunk@35773 -
2017-04-11 14:25:57 +00:00
nickysn
4697a653a4 + perform the "i:=i +/-/and/or/xor k" optimization when there are two typecasts
inserted. This makes the optimization work for more integer types.

git-svn-id: trunk@35772 -
2017-04-11 11:25:40 +00:00