Commit Graph

1663 Commits

Author SHA1 Message Date
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