Commit Graph

1873 Commits

Author SHA1 Message Date
Mattias Gaertner
c8fe0d342f fpdoc: cleaned up obsolete okspecialize code
git-svn-id: trunk@38186 -
2018-02-10 11:34:49 +00:00
Mattias Gaertner
fc805c4bd2 pas2js: marker for checking writeln statements
git-svn-id: trunk@38139 -
2018-02-06 13:50:18 +00:00
Mattias Gaertner
17c010b9a3 pas2js: catch jswriter exceptions
git-svn-id: trunk@38114 -
2018-02-04 18:49:06 +00:00
Mattias Gaertner
b8710d8fec fcl-passrc: fixed stConstDef for class local const
git-svn-id: trunk@38097 -
2018-02-01 17:48:44 +00:00
Mattias Gaertner
32fee98477 pas2js: docs: anonymous functions
git-svn-id: trunk@38095 -
2018-02-01 12:55:53 +00:00
Mattias Gaertner
1955a5bd1a pas2js: docs: reference to
git-svn-id: trunk@38094 -
2018-02-01 12:40:52 +00:00
Mattias Gaertner
d580402916 pastojs: set version 0.9.0
git-svn-id: trunk@38087 -
2018-01-31 13:07:49 +00:00
Mattias Gaertner
d139b3e8f1 pas2js: docs
git-svn-id: trunk@38078 -
2018-01-29 17:45:53 +00:00
Mattias Gaertner
898b566837 pas2js:: rtl.js: add Math.trunc only if used
git-svn-id: trunk@38059 -
2018-01-27 14:15:36 +00:00
michael
0ef3fc2f29 * Math.trunc polyfill
git-svn-id: trunk@38051 -
2018-01-26 20:33:42 +00:00
Mattias Gaertner
bd37d43f1c pas2js: search case insensitive by default
git-svn-id: trunk@38046 -
2018-01-25 21:36:01 +00:00
Mattias Gaertner
ade2779f93 pas2js: doc about -JmXSSIHeader
git-svn-id: trunk@38039 -
2018-01-25 14:17:03 +00:00
michael
7d355ffffc call rtl function cloneset with fully qualified name
git-svn-id: trunk@38036 -
2018-01-25 13:58:39 +00:00
Mattias Gaertner
ef7d13d112 pas2js: fixed srcmap header
git-svn-id: trunk@38033 -
2018-01-25 10:42:23 +00:00
Mattias Gaertner
c98c70548a fcl-js: srcmap: disable safety header by default, because not supported by Firefox
git-svn-id: trunk@38029 -
2018-01-25 09:06:54 +00:00
Mattias Gaertner
eebfb65131 pas2js: added option -Jmxssiheader
git-svn-id: trunk@38028 -
2018-01-25 09:01:57 +00:00
Mattias Gaertner
32f4d9e3a5 pas2js: range check int:=
git-svn-id: trunk@38011 -
2018-01-19 17:00:20 +00:00
Mattias Gaertner
afb4add9c7 fcl-passrc: renamed bsMethodCallChecks to bsObjectChecks
git-svn-id: trunk@38008 -
2018-01-19 09:35:29 +00:00
Mattias Gaertner
df61c3fa0d pas2js: -CR
git-svn-id: trunk@38005 -
2018-01-19 00:54:36 +00:00
Mattias Gaertner
89382e0929 pas2js: rtl.js isExt with check for instance
git-svn-id: trunk@38003 -
2018-01-19 00:03:08 +00:00
Mattias Gaertner
b54ca867b1 pas2js: rtl.js: set functions: remove hasOwnProperty - other properties are not enumerable, added rtl.checkMethodCall
git-svn-id: trunk@37999 -
2018-01-18 21:43:47 +00:00
Mattias Gaertner
5bccc69f6a pas2js: docs
git-svn-id: trunk@37998 -
2018-01-18 17:23:35 +00:00
Mattias Gaertner
700b2fdb03 pas2js: doc
git-svn-id: trunk@37993 -
2018-01-18 12:36:16 +00:00
Mattias Gaertner
1d4d34a52e pas2jslib: added SetPas2JSReadDirCallBack, AddPas2JSDirectoryEntry
git-svn-id: trunk@37967 -
2018-01-14 15:45:35 +00:00
Mattias Gaertner
70bc4e62ed pas2js: updated compileserver.lpi
git-svn-id: trunk@37904 -
2018-01-04 14:42:25 +00:00
michael
d9f733bada * Re-add Pas2jsLibCompiler to uses clause
git-svn-id: trunk@37881 -
2017-12-30 10:45:24 +00:00
michael
40cc1d3731 * Compile server
git-svn-id: trunk@37874 -
2017-12-29 19:08:29 +00:00
michael
364620fd73 * Use only project file
git-svn-id: trunk@37873 -
2017-12-29 19:07:47 +00:00
michael
00da85bea1 * Correct uses clause
git-svn-id: trunk@37872 -
2017-12-29 19:07:05 +00:00
florian
cffe17f3ce * regenerated
git-svn-id: trunk@37870 -
2017-12-29 17:43:56 +00:00
florian
e13bbe7f2d * do not set -Xs if -dDEBUG is passed to the compiler as proposed by Thaddy de Koning in #32831
git-svn-id: trunk@37869 -
2017-12-29 17:43:32 +00:00
Mattias Gaertner
9e01c15005 pas2jsL clean up
git-svn-id: trunk@37845 -
2017-12-28 15:11:27 +00:00
michael
73b65f5a15 * Restrict list of OSes to same list as in pastojs package
git-svn-id: trunk@37837 -
2017-12-28 08:57:08 +00:00
michael
4a566ceec1 * Move compiler files to package.
* Separate lib compiler from library file.

git-svn-id: trunk@37835 -
2017-12-27 17:12:19 +00:00
florian
5bedaf11f4 * fpcmake.inc and Makefiles renerated after last commit
git-svn-id: trunk@37834 -
2017-12-27 15:08:18 +00:00
florian
9f450419e9 * atari port uses 8.3 file names when storing units (atari/ instead of m68k-atari/
git-svn-id: trunk@37833 -
2017-12-27 15:06:58 +00:00
michael
44b2419d5e * Config file in home dir has . prepended on unix
git-svn-id: trunk@37828 -
2017-12-27 09:29:28 +00:00
Mattias Gaertner
df5a9333a7 pas2js: bool switches $hints, $notes, $warnings
git-svn-id: trunk@37823 -
2017-12-26 22:24:05 +00:00
Mattias Gaertner
94b485a56e pas2js: docs
git-svn-id: trunk@37818 -
2017-12-26 14:56:57 +00:00
Mattias Gaertner
3b37083979 pas2js: allow $ScopedEnums
git-svn-id: trunk@37817 -
2017-12-26 14:46:38 +00:00
Mattias Gaertner
c64562e80c pas2js: docs
git-svn-id: trunk@37814 -
2017-12-26 10:48:51 +00:00
Mattias Gaertner
d3553337ca pas2js: doc about enumerators
git-svn-id: trunk@37808 -
2017-12-25 12:02:20 +00:00
Mattias Gaertner
17b4e63d05 pas2jslib: compile with 3.0.4
git-svn-id: trunk@37807 -
2017-12-25 12:02:02 +00:00
Mattias Gaertner
a9bf0ed28c pas2js 0.8.41
git-svn-id: trunk@37806 -
2017-12-25 10:12:10 +00:00
michael
cb4b68b574 * version 40
git-svn-id: trunk@37797 -
2017-12-24 13:55:14 +00:00
michael
68ed736c93 * Add .pas file read callback
git-svn-id: trunk@37794 -
2017-12-24 12:34:31 +00:00
michael
cb46e21bc3 * Correctly observe result of FileRead callback
git-svn-id: trunk@37793 -
2017-12-24 12:33:08 +00:00
Mattias Gaertner
656ddcccf7 pas2js: added OnReadFile hook
git-svn-id: trunk@37792 -
2017-12-24 10:12:59 +00:00
Mattias Gaertner
3165651bfd pas2js: docs
git-svn-id: trunk@37790 -
2017-12-24 09:31:14 +00:00
Mattias Gaertner
25d44b3637 pas2js: docs: class constructor
git-svn-id: trunk@37784 -
2017-12-22 18:30:05 +00:00
Mattias Gaertner
e00e7d9cfd pas2js: fixed handlign error on first token of used unit
git-svn-id: trunk@37782 -
2017-12-21 22:24:06 +00:00
Mattias Gaertner
b307930443 pas2js: updated cfg
git-svn-id: trunk@37779 -
2017-12-21 22:08:37 +00:00
Mattias Gaertner
8edb5541a3 pas2js: comment
git-svn-id: trunk@37769 -
2017-12-20 00:34:56 +00:00
Mattias Gaertner
effbafabd2 pas2js: fixed globbing * ignoring . and ..
git-svn-id: trunk@37765 -
2017-12-19 11:46:35 +00:00
Károly Balogh
f7478704cb fpmake's -sp shortcut for -skipcrossprograms changed to -scp in r34685 because it overlapped with -sp for searchpath causing havoc in crossbuilds. clean up some accidental leftovers of -sp in ide and utils directory
git-svn-id: trunk@37755 -
2017-12-18 14:48:41 +00:00
Mattias Gaertner
8d36c0d64e pas2js: added -i -iD -iSO -iSP -TO -iTP
git-svn-id: trunk@37754 -
2017-12-18 13:23:46 +00:00
michael
3496256179 * Added library version of pas2js
git-svn-id: trunk@37752 -
2017-12-17 08:27:27 +00:00
michael
8342c502c5 * Initial check-in of pas2js changes
git-svn-id: trunk@37749 -
2017-12-16 15:55:10 +00:00
Mattias Gaertner
feb210cbc3 fcl-passrc: nicer error position on cant find unit
git-svn-id: trunk@37485 -
2017-10-18 10:33:36 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
pierre
4c02f2ca71 New revision following commit 37286
git-svn-id: trunk@37303 -
2017-09-22 19:59:45 +00:00
pierre
22df94492e Fix OS/2 rtl installation failure, due to double listing of static libraries in install rule
git-svn-id: trunk@37286 -
2017-09-21 06:38:28 +00:00
Tomas Hajny
dd723f2c7b * correct typo in comments
git-svn-id: trunk@37226 -
2017-09-16 12:29:10 +00:00
joost
fe6561bf10 * Fixed handling of multiple compiler-options within the shebang (like #!/usr/bin/instantfpc -O1 -Ci)
git-svn-id: trunk@37205 -
2017-09-14 11:46:23 +00:00
marco
b6824290fc * initial fileflush, mantis #15824
git-svn-id: trunk@37135 -
2017-09-03 16:41:32 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
Károly Balogh
b179ceefd4 fpcmake: enabled m68k-macos, disabled i386-qnx. there's now cross-binutils for the former, the later was recently obsoleted in the compiler, as no one worked on it since 1.x times
git-svn-id: trunk@37024 -
2017-08-22 08:28:59 +00:00
nickysn
e47a0599a5 * update revision.inc
git-svn-id: trunk@36929 -
2017-08-17 15:20:11 +00:00
michael
c929e0285b * More uniform error message
git-svn-id: trunk@36924 -
2017-08-16 08:47:49 +00:00
michael
586de3ed67 * Patch from Seth Grover to allow for bigger grammars (bug ID 32273)
git-svn-id: trunk@36922 -
2017-08-16 07:08:06 +00:00
Károly Balogh
e3ffeed1b2 m68k: removed traces of the never obsolete/ancient openbsd-m68k and never existed freebsd-m68k ports
git-svn-id: trunk@36877 -
2017-08-12 08:52:44 +00:00
michael
cccff83bab * Fix compilation
git-svn-id: trunk@36817 -
2017-08-02 11:11:54 +00:00
joost
19b60c0cf3 * Fixed the ability to build packages in .source.zip files
from the command-line. +test

git-svn-id: trunk@36715 -
2017-07-09 20:30:28 +00:00
michael
54a8a73ca7 * Append end to correct location in class
git-svn-id: trunk@36606 -
2017-06-27 06:59:59 +00:00
joost
b9fd5f46a9 * Re-generated include file to generate config-files which use https for repositories
git-svn-id: trunk@36553 -
2017-06-19 21:26:23 +00:00
joost
4ba84bab05 * Adapt the configuration-file in such a way that fcl-web is used to download from repositories
git-svn-id: trunk@36552 -
2017-06-19 21:24:45 +00:00
joost
289afe7336 * Changed the mirrors-url to the https version
git-svn-id: trunk@36551 -
2017-06-19 21:22:56 +00:00
joost
a4250d1beb * Add FPC-download-handler to fppkg
git-svn-id: trunk@36550 -
2017-06-19 21:18:37 +00:00
joost
6bb48bf34f * Propagate the result of download-actions to avoid stale empty files
git-svn-id: trunk@36530 -
2017-06-18 21:54:42 +00:00
nickysn
cad2b985d6 * when creating the reverse endian .bcm file, zero fill all the records, before
filling them in, so that the alignment space inside the records is filled with
  zeros, instead of random uninitialized bytes

git-svn-id: trunk@36438 -
2017-06-06 14:57:22 +00:00
michael
f406d7cbef * Fix bug #31947: upgrade natve unicode implementation to version 9 and CLDR 30 (Patch from Inoussa)
git-svn-id: trunk@36407 -
2017-06-03 16:10:39 +00:00
pierre
2371755b4f Regenerate with sparc64-linux target
git-svn-id: trunk@36391 -
2017-06-01 13:40:25 +00:00
nickysn
6f65c0cab9 * update revision.inc
git-svn-id: trunk@36377 -
2017-05-31 14:48:03 +00:00
florian
a5b3576577 + sparc64 support for fpcmake
git-svn-id: trunk@36373 -
2017-05-30 20:40:48 +00:00
yury
376174d7ac * pas2jni: Fixed error handling of ppudump.
git-svn-id: trunk@36296 -
2017-05-22 15:35:17 +00:00
pierre
a8ef8c852d Put fpcsubarch-fpcmemorymodel directory search before general directories for i8086 CPU
git-svn-id: trunk@36278 -
2017-05-21 09:02:57 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
pierre
14ec66c649 Regenerated files after 35825: Follow-up to commit 35817: Extend do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35826 -
2017-04-18 06:33:34 +00:00
pierre
94ed85fa64 Follow-up to commit 35817: Extend do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35825 -
2017-04-18 06:30:42 +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
michael
6bdda7b85f * Fix bug #31665
git-svn-id: trunk@35800 -
2017-04-15 12:49:26 +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
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
joost
7b3275e2cd * Added missing slash in fppkg.cfg-template
git-svn-id: trunk@35759 -
2017-04-09 17:57:42 +00:00
yury
ea61dee00b * ppudump: Mark objects with abstract methods in the JSON/XML output.
* pas2jni: Properly handle inherited classes when an ancestor has abstract methods.

git-svn-id: trunk@35746 -
2017-04-07 09:53:54 +00:00
florian
88e31dc8c3 * revision.inc updated
git-svn-id: trunk@35658 -
2017-03-25 19:05:14 +00:00
michael
a1303eecde * Fixed from Mattias Gaertner
pasresolver: checking all varargs arguments
  pasresolver: checking arguments are readable
  fppas2js: fixed using externals from other units

git-svn-id: trunk@35631 -
2017-03-20 07:31:39 +00:00
Károly Balogh
ca9e2f5e5d wasm: added target to fpcmake
git-svn-id: trunk@35592 -
2017-03-15 14:53:04 +00:00
nickysn
df390b7950 * update fpcm/revision.inc
git-svn-id: trunk@35549 -
2017-03-09 15:28:52 +00:00
pierre
2805bc8500 Regenerated after: Remove obsolete packages/base and packages/extra in PACKAGESDIR variable
git-svn-id: trunk@35530 -
2017-03-06 10:30:53 +00:00
pierre
bd45a4ecfa Remove obsolete packages/base and packages/extra in PACKAGESDIR variable
git-svn-id: trunk@35529 -
2017-03-06 10:29:58 +00:00
michael
78e7f59982 * Patch from Mattias Gaertner
- external vars
    - untyped parameters
    - varargs
    - SetLength(s,len) is now converted to s.length=len
    - destructor now clears references
    - dynamic arrays now are never null.
      - anArr:=nil  becomes  anArr = []
      - anArr=nil becomes anArr.length==0
      - passing nil to an array parameter passes []
      - length(anArr) becomes anArr.length
      - High(anArr) becomes anArr.length-1
    - sets now uses references when assigning and passing to a parameter.
      Far less clone operations.

git-svn-id: trunk@35505 -
2017-03-01 17:41:16 +00:00
michael
0da38fd281 * Patch from Mattias Gaertner:
- local const: declare as local var in singleton parent function 
  - give procedure overloads in module unique names by appending $1, $2, ...
  - give nested procedure overloads unique names by appending $1, $2, ...
  - give reintroduced/overloaded class members unique names by appending $1, $2, ...
  - record operators = and <>
  - static arrays
    - range: enumtype
    - init as arr = rtl.arrayNewMultiDim([dim1,dim2,...],value)
    - init with expression from const array
    - length(1-dim array)
    - low(1-dim array), high(1-dim array)
  - property TargetProcessor
  - ECMAScript6:
    - use 0b for binary literals, and 0o for octal literals

git-svn-id: trunk@35491 -
2017-02-28 13:23:49 +00:00
florian
81c5d63d4e * do not generate var paras for void* if -w is used, resolves #31425
git-svn-id: trunk@35475 -
2017-02-23 22:03:46 +00:00
michael
2d36af85bb * Patch from Mattias Gaertner with various improvements:
+ changed varname/funcname properties to string, saving many conversion
  + array of record
  + pass by reference
    - pass local var to a var/out parameter
    - pass variable to a var/out parameter
    - pass reference to a var/out parameter
    - pass array element to a var/out parameter
  + proc types
    - implemented as immutable wrapper function
    - assign := nil, proctype (not clone), @function, @method
    - call  explicit and implicit
    - compare equal and notequal with nil, proctype, address, function
    - assigned(proctype)
    - pass as argument
    - methods
    - mode delphi: proctype:=proc
    - mode delphi: functype=funcresulttype
  + class-of
    - assign :=   nil, var
    - call class method
    - call constructor
    - operators =, <>
    - class var, property, method
    - Self in class method
    - typecast

git-svn-id: trunk@35472 -
2017-02-22 20:59:23 +00:00
michael
7702ebb261 * Patch from Mattias Gaertner; SetCharAt
git-svn-id: trunk@35429 -
2017-02-12 15:17:12 +00:00
joost
09f415dc81 * Refactored so that TFPCustomPackagesStructure has access to the (compiler-)options
git-svn-id: trunk@35427 -
2017-02-12 14:18:20 +00:00
michael
89c2d0a9dc * Fix AVs when no description nodes available
git-svn-id: trunk@35420 -
2017-02-11 10:10:59 +00:00
michael
f5b76b62fe * Patch from Mattias Gaertner:
- set operator functions
  - dyn array can be null

git-svn-id: trunk@35418 -
2017-02-10 23:26:14 +00:00
michael
eaa02f2f88 * Basic RTL for pas2js generated programs
git-svn-id: trunk@35384 -
2017-02-04 11:31:55 +00:00
michael
180b93b326 * JSON2pas command-line tool added
git-svn-id: trunk@35297 -
2017-01-14 10:22:16 +00:00
joost
b9f8c73198 * Replaced the global GFFppkg instance at some locations
git-svn-id: trunk@35211 -
2016-12-28 22:35:56 +00:00
marco
d2fe24ae20 * fix some more occured->occured
git-svn-id: trunk@35120 -
2016-12-13 12:55:32 +00:00
marcus
f426f8d225 Recreated fpcres Makefile (needed for arm-aros)
git-svn-id: trunk@34978 -
2016-11-27 10:56:56 +00:00
michael
629d8277da * Patch from Michalis Kamburelis to fix scanning of $ELSE (bug ID 31007)
git-svn-id: trunk@34965 -
2016-11-26 13:32:52 +00:00
yury
ed6d993008 * pas2jni: Proper boolean handling - jboolean must be 0/1.
git-svn-id: trunk@34954 -
2016-11-23 14:39:46 +00:00
yury
d5cc2e83cf * pas2jni: Use cthreads first.
git-svn-id: trunk@34953 -
2016-11-23 14:21:49 +00:00
yury
ea16dfdcf8 * pas2jni: Suppress false warnings in Java code.
git-svn-id: trunk@34952 -
2016-11-23 13:49:04 +00:00
yury
4dcc9de92f * pas2jni: More clean Java code for sets.
git-svn-id: trunk@34951 -
2016-11-23 13:33:35 +00:00
yury
565ad7f852 * pas2jni: Do not generate unneeded imports.
git-svn-id: trunk@34863 -
2016-11-10 15:43:13 +00:00
yury
78914d9b20 * pas2jni: Do not include array element types from arrays, which is not processed.
git-svn-id: trunk@34862 -
2016-11-10 14:39:58 +00:00
yury
78abcbd4ca * pas2jni: Improved support for interfaces. Proper typecasting of an object instance to an interface.
git-svn-id: trunk@34848 -
2016-11-08 14:43:52 +00:00
yury
d507456560 * pas2jni: Removed redundant ;.
git-svn-id: trunk@34845 -
2016-11-07 23:54:23 +00:00
yury
21234e413a * pas2jni: Fixed finalization of TP-style objects.
git-svn-id: trunk@34844 -
2016-11-07 23:30:40 +00:00
yury
3fd3ff9527 * pas2jni: Fixed double memory freeing when using method pointers in some rare cases.
git-svn-id: trunk@34843 -
2016-11-07 21:42:24 +00:00
yury
8e8521c43e * pas2jni: Fixed memory leaks when using inherited TP-style objects.
git-svn-id: trunk@34842 -
2016-11-07 21:19:17 +00:00
yury
d9e00bf43c * pas2jni: Use mswindows define instead of windows to be Delphi compatible.
git-svn-id: trunk@34841 -
2016-11-07 20:31:13 +00:00
yury
df95a73993 * pas2jni: Do not hard code record sizes in Java part. Instead get actual record sizes from the native code. It allows to use the same generated Java code for native libraries compiled for different CPU architectures.
git-svn-id: trunk@34840 -
2016-11-07 20:28:15 +00:00
pierre
686634d563 Regenerate Makefile with up-to-date fpcmake
git-svn-id: trunk@34831 -
2016-11-07 11:11:32 +00:00
florian
f4d1331bbe * fpcmake has been updated
git-svn-id: trunk@34812 -
2016-11-06 15:20:55 +00:00
Károly Balogh
7c1c964c28 arm-aros: enabled basic AROS on ARM build
git-svn-id: trunk@34811 -
2016-11-06 14:40:02 +00:00
marcus
86940dfb32 AROS: added arm-aros target to compiler and fpcmake
git-svn-id: trunk@34805 -
2016-11-06 10:51:45 +00:00
michael
e198d9bf06 * Patch from Graeme Geldenhuys to implement skip attribute in linear output writers (bug ID 30741)
git-svn-id: trunk@34752 -
2016-10-22 13:37:33 +00:00
michael
1552f34251 * Allow simple preprocessing of the project file using {{macro}} substitution. Needed for e.g. variable source dirs
git-svn-id: trunk@34749 -
2016-10-22 08:12:31 +00:00
joost
d08a747c29 * Create fppkg-config files in the new format (v5)
git-svn-id: trunk@34729 -
2016-10-16 15:43:27 +00:00
michael
1d16ecbf0d * Better detection of effective visibility of an element
git-svn-id: trunk@34694 -
2016-10-09 11:25:58 +00:00
michael
fd71e3193d * Do not write elements for default values
git-svn-id: trunk@34676 -
2016-10-08 19:05:07 +00:00
joost
295c274940 * Determine the path of the <currentdirectory> package within the
PackageStructure. Set it to the current-directory at application start.
   This because the creation of manifest files could change the current
   directory while scanning for packages.

git-svn-id: trunk@34670 -
2016-10-08 16:56:20 +00:00
joost
1d2dca50a9 * FindInstalledPackages nowadays scans for both compileroptions at once
git-svn-id: trunk@34669 -
2016-10-08 16:52:08 +00:00
joost
fde6b0b53b * Do not scan for available packages while checking for fpmkunit dependencies
because those scans could depend on compilation of the fpmkunit itself.
   For the same reason the the fpmkunit-dependencies are checked now before 
   the 'normal' scan for available/installed packages.

git-svn-id: trunk@34648 -
2016-10-07 21:27:25 +00:00
yury
26ffffa683 * pas2kni: Added Enum.equals(int) to the Java part.
git-svn-id: trunk@34634 -
2016-10-06 10:21:04 +00:00
Jonas Maebe
e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers)
git-svn-id: trunk@34598 -
2016-10-02 12:56:59 +00:00
michael
a55c176bef * Patch from Mattias Gaertner: Record support, detect duplicate identifiers, bug fixes
git-svn-id: trunk@34520 -
2016-09-13 08:01:37 +00:00
joost
79d2d05c58 * Replaced the local- and global-repositories with a list of repositories.
A repository can contain installed or packages available for installation.
   The repositories have a helper-class that contains information about
   where the packages are installed and such. Things like installing a 
   package from the current-directory are done using temporary 'fake'
   repositories. The TpkgFPpkg-class keeps track of all repositories
   and packages.

git-svn-id: trunk@34503 -
2016-09-10 21:15:26 +00:00
michael
8ef43da4ee * Some improvements from yang jixian (bug ID 30270)
git-svn-id: trunk@34486 -
2016-09-10 17:21:43 +00:00
joost
9487b46b8a * Added new structure to hold the global options. The goal is to get rid
of all globals and to contain all fppkg-related stuff into this
   structure. So it will be easier to embed fppkg into other applications.

git-svn-id: trunk@34400 -
2016-08-30 20:09:34 +00:00
yury
6b25cef3ea * pas2jni: Reverted r34367 and mark undesired event handler creation "deprecated".
git-svn-id: trunk@34369 -
2016-08-22 13:12:19 +00:00
yury
e81cc4574f * pas2jni: Removed option to create event handler by passing Java method method name as a string. It is not safe, since the target method is treated as unused by Java and the method may be removed from the resulting application.
git-svn-id: trunk@34367 -
2016-08-22 10:13:45 +00:00
yury
c4347e28b9 * pas2jni: Fixed handling of identical names of classes, proctypes when they are defined in different units.
git-svn-id: trunk@34327 -
2016-08-17 19:09:54 +00:00
joost
5d4682349d * Re-factored parsing of configuration-file, to be able to add support for include-files
git-svn-id: trunk@34315 -
2016-08-14 21:06:01 +00:00
yury
3b8db21c2c * pas2jni: Fixed invoking of Java event handlers from non-main threads.
git-svn-id: trunk@34309 -
2016-08-14 10:49:17 +00:00
yury
d99f913836 * pas2jni: Fixed string constant handling after recent changes in FPC.
git-svn-id: trunk@34275 -
2016-08-11 12:41:13 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
9233ac9e0a * update revision.inc
git-svn-id: trunk@34007 -
2016-06-18 00:55:09 +00:00
nickysn
11006c2b72 * set the proper file extensions for the i8086-embedded target
git-svn-id: trunk@34006 -
2016-06-18 00:45:34 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
nickysn
2dc530dfe3 + enable the i8086-embedded cpu/os combination in fpcmake
git-svn-id: trunk@34000 -
2016-06-17 20:24:55 +00:00
marco
869d24f7d1 * spelling mistakes fpc repo part, mantis #30233
git-svn-id: trunk@33882 -
2016-06-02 20:01:09 +00:00
yury
c392c6eb2b * pas2jni: Explicitly release JNI local refs while executing method pointers.
git-svn-id: trunk@33859 -
2016-05-30 17:14:55 +00:00
Jonas Maebe
f1dad33217 * file forgotten to commit in r33708
git-svn-id: trunk@33710 -
2016-05-20 07:09:45 +00:00
Jonas Maebe
f0753d85ad * fix the Upgrade to Unicode version 7 and CLDR 27 from r32814
(mantis #29659, fixes tuca* tests)

git-svn-id: trunk@33708 -
2016-05-19 15:44:22 +00:00
michael
7e54688fd4 * Fix never-ending loop in splitline
git-svn-id: trunk@33577 -
2016-04-30 07:29:54 +00:00
yury
a934312e4f * pas2jni: Minor fix to exe extension.
git-svn-id: trunk@33436 -
2016-04-07 13:17:46 +00:00
yury
288f7285a3 * pas2jni: Fixed exit code.
git-svn-id: trunk@33435 -
2016-04-07 13:08:47 +00:00
michael
4ed0c07ea3 * Fix bug #29772
git-svn-id: trunk@33151 -
2016-03-05 13:41:26 +00:00
yury
111595dcd9 * pas2jni: Fixed procedure parameters parsing in some cases.
git-svn-id: trunk@33083 -
2016-02-10 16:28:41 +00:00
yury
a02da7c7d2 * pas2jni: Fixed handling of method pointers.
git-svn-id: trunk@33072 -
2016-02-08 18:52:32 +00:00
michael
c5a44f7487 * Fix bug #29465: Correct declaration of array properties
git-svn-id: trunk@33061 -
2016-02-06 14:45:25 +00:00
pierre
315ce0447b Fix compilation with range check on by redefining tat array in ClearComments procedure
git-svn-id: trunk@33015 -
2016-01-28 17:14:11 +00:00
yury
3597519087 * pas2jni: Fixed handling of global procvars.
git-svn-id: trunk@33005 -
2016-01-25 15:43:12 +00:00
michael
288aa63a67 * Help for latex backend
git-svn-id: trunk@32897 -
2016-01-09 17:55:44 +00:00
michael
65976e4db3 * Added option to split lines
git-svn-id: trunk@32896 -
2016-01-09 17:47:04 +00:00
michael
a87e83e9b7 * Fix selection of package
git-svn-id: trunk@32895 -
2016-01-09 17:46:24 +00:00
michael
1906217491 * Fix default values (bug ID 27996)
git-svn-id: trunk@32809 -
2015-12-31 14:44:01 +00:00
michael
3509a247d4 * Add ability to set Message Buffer size
git-svn-id: trunk@32756 -
2015-12-27 10:53:55 +00:00
michael
dda3f60df5 * Applied patch from Andrew H. to make XML format more verbose
git-svn-id: trunk@32751 -
2015-12-27 09:50:01 +00:00
yury
98ebcdc179 * pas2jni: Minor optimizations.
git-svn-id: trunk@32747 -
2015-12-26 21:55:32 +00:00
yury
95f933049a * pas2jni: Fixed memory leaks.
git-svn-id: trunk@32744 -
2015-12-26 20:48:15 +00:00
yury
f838251662 * pas2jni: Added TDateTime Java support class.
git-svn-id: trunk@32733 -
2015-12-26 19:52:03 +00:00
michael
143acd2497 * Patch from Mattias Gaertner to check for name when adding elements
git-svn-id: trunk@32728 -
2015-12-26 16:01:43 +00:00
yury
2248805082 * pas2jni: Fixed ref counting of method pointers.
git-svn-id: trunk@32669 -
2015-12-15 14:03:25 +00:00
yury
6bd2b2d41b * pas2jni: Fixed handling of pointers.
git-svn-id: trunk@32620 -
2015-12-08 17:01:29 +00:00
yury
f6b99c5d6a * pas2jni: Typecast interface to pointer.
git-svn-id: trunk@32616 -
2015-12-07 23:32:22 +00:00
yury
2206a54b28 * pas2jni: Fixed exclusion.
git-svn-id: trunk@32615 -
2015-12-07 23:28:06 +00:00
yury
df59776ff8 * pas2jni: Fixed type cast for null.
git-svn-id: trunk@32612 -
2015-12-07 19:31:15 +00:00
yury
c797d6ac1e * pas2jni: Fixed handling of array type properties.
git-svn-id: trunk@32611 -
2015-12-07 19:23:02 +00:00
yury
9d93c6f953 * pas2jni: Properly exclude whole units.
git-svn-id: trunk@32609 -
2015-12-07 18:45:30 +00:00
yury
894e61f6bd * pas2jni: Support for raw Java Objects as function parameters and result. Avoid possible duplicate parameter names.
git-svn-id: trunk@32607 -
2015-12-07 17:48:38 +00:00
yury
0e056ece03 * pas2jni: Basic support for arrays.
git-svn-id: trunk@32578 -
2015-12-04 14:50:15 +00:00
yury
d973c1c0c9 * pas2jni: Support for interfaces.
git-svn-id: trunk@32563 -
2015-12-01 16:04:15 +00:00
yury
3c32f814de * pas2jni: Fixed memory leaks when using method pointers.
git-svn-id: trunk@32561 -
2015-12-01 14:22:31 +00:00
yury
cddbe1b83d * pas2jni:
- Support for objects.
  - Support for pointers to records,objects,classes.
  - Fixed memory leaks when using records.
  - Added handy enum constructors.

git-svn-id: trunk@32560 -
2015-12-01 11:56:29 +00:00
yury
3e894e592d * pas2jni: Fixed code generation for i386 targets.
git-svn-id: trunk@32539 -
2015-11-26 19:21:04 +00:00
michael
c5495cb49c * Examples
git-svn-id: trunk@32376 -
2015-11-20 11:34:44 +00:00
michael
a192c54e7d * Basedir support
git-svn-id: trunk@32374 -
2015-11-20 11:26:58 +00:00
michael
2af4cd9a4e * Added missing tree classes
git-svn-id: trunk@32360 -
2015-11-19 08:52:39 +00:00
michael
b86ef67a54 * Resolved conflict with none in TStringSplitoptions
git-svn-id: trunk@32264 -
2015-11-07 10:08:28 +00:00
joost
18b66865ac * Added fppkg option to gather info on a package
git-svn-id: trunk@32224 -
2015-11-03 20:53:34 +00:00
yury
9193954d1c * pas2jni: Detect the default units path.
git-svn-id: trunk@32084 -
2015-10-17 20:36:29 +00:00