Commit Graph

50417 Commits

Author SHA1 Message Date
pierre
ebe0491ba8 Add GDB 7.12 version and fix warning about no recognized version
git-svn-id: trunk@35528 -
2017-03-05 21:38:59 +00:00
joost
17947a074f * Fixed creation of manifest-files while scanning for available packages
* Register hte configuration-class for installed package repositories

git-svn-id: trunk@35527 -
2017-03-05 20:30:04 +00:00
florian
13b3866552 * convert (s*[const. set])<>/=[] for var. sets into or'ed in nodes, if const. set contains only a few elements
git-svn-id: trunk@35526 -
2017-03-05 20:29:22 +00:00
joost
e37ddbf2f5 * Do not include broken plugins while compiling fpmake.pps
git-svn-id: trunk@35525 -
2017-03-05 19:50:14 +00:00
michael
6a1d01b352 * Fix bug #31294. Function does not need result in delphi mode, in program or object
git-svn-id: trunk@35524 -
2017-03-05 12:13:58 +00:00
florian
a8ba81a585 * unused data structure removed
git-svn-id: trunk@35523 -
2017-03-05 08:13:34 +00:00
michael
aa769348c0 * Fix bug ID #30759
git-svn-id: trunk@35522 -
2017-03-04 17:38:04 +00:00
michael
9787c44c78 * Additional tests from Karl-Michael Schindler
git-svn-id: trunk@35521 -
2017-03-04 17:06:27 +00:00
michael
b9e03c1aff * Set bigger buffer size for hosts file to speed up parsing
git-svn-id: trunk@35520 -
2017-03-04 14:54:03 +00:00
michael
d2a1e8f9de * Patch from Ondrej Pokorny, fixing range error
git-svn-id: trunk@35519 -
2017-03-04 14:24:12 +00:00
michael
529dc18ba7 * Fix bug #31211, patch from Mattias Gaertner:
Backport from  the lazutils version:
  * The compare function can now be a method,
  *  you can write descendants, 
  * new property NodeClass, 
  * an optimized method to add presorted nodes, 
  * Node.Precessor/Successor methods.

git-svn-id: trunk@35518 -
2017-03-04 14:22:35 +00:00
michael
f2f2e02b06 * Allow termination of lengthy operations
git-svn-id: trunk@35517 -
2017-03-04 14:01:36 +00:00
michael
236e56dee0 * Fix bug ID #31470: allow termination
git-svn-id: trunk@35516 -
2017-03-04 13:14:26 +00:00
michael
d2b1232f33 * StringToRouteMethod implemented
git-svn-id: trunk@35515 -
2017-03-04 12:29:33 +00:00
michael
433fc6bdc8 * Remove some unused variables
git-svn-id: trunk@35514 -
2017-03-04 12:27:03 +00:00
michael
3011432f3e * Fix warnings/hints
git-svn-id: trunk@35513 -
2017-03-04 12:26:16 +00:00
michael
2b0d43f193 * V must be out parameter in GetFieldOrigin
git-svn-id: trunk@35512 -
2017-03-04 10:01:24 +00:00
svenbarth
49e78ac5df * test doesn't need to run
git-svn-id: trunk@35511 -
2017-03-03 21:50:06 +00:00
svenbarth
7dc4f16db3 * fix for Mantis #31431: allow specializations to allow private/protected variables that their generic could have accessed
git-svn-id: trunk@35510 -
2017-03-03 21:45:29 +00:00
Károly Balogh
5426c11611 marked a few uses of TConstExprInt as const during parameter passing, to avoid a few unnecessary record copying
git-svn-id: trunk@35509 -
2017-03-03 17:29:59 +00:00
svenbarth
ece13bcc5a * fix for Mantis #31465: only consider non-static fields when checking whether a record may be used with Default()
+ added test (Note: the test fails due to missing = operator, but without the fix there was a stack overflow)

git-svn-id: trunk@35508 -
2017-03-03 17:03:46 +00:00
svenbarth
c16238e8dd * fix for Mantis #31464: add an entry for the WebAssembly CPU (this is already the target name that LLVM uses)
git-svn-id: trunk@35507 -
2017-03-03 16:14:52 +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
0b42e226f8 * 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@35504 -
2017-03-01 17:40:11 +00:00
michael
487d7ca141 * Patch from Mattias Gaertner:
pastree: changed TPasVariable.LibraryName and ExportName to TPasExpr. 
            It can be constants instead of string literals.
  pscanner: fixed parsing floats 1.2, 1.2E3, 1.E2, 1E2, 1.2E-3, 1E+2
  pparser:  var modifier external with optional lib and symbol
  pasresolver:
    - untyped parameter
    - added option proAllowPropertyAsVarParam allows to pass a property as a var/out argument
    - varargs

git-svn-id: trunk@35503 -
2017-03-01 17:39:05 +00:00
michael
2fbe76532f * Patch from Mattias Gaertner
- fixed writing UTF-8.
  - indent multi line literals, used by asm blocks
  - fixed writing (a+b).c

git-svn-id: trunk@35502 -
2017-03-01 17:36:35 +00:00
Károly Balogh
14ba99ea09 netbsd: bits of the m68k support I started to hack together. non functional yet.
git-svn-id: trunk@35501 -
2017-03-01 17:26:23 +00:00
Károly Balogh
e8cad013f4 ppudump: fix build after r35497
git-svn-id: trunk@35500 -
2017-03-01 15:41:37 +00:00
Károly Balogh
bfd95d6bef fix build with generic_cpu defined after r35497
git-svn-id: trunk@35499 -
2017-03-01 15:32:12 +00:00
pierre
315adde6ef Avoid GNU tar warning about lone zero block
git-svn-id: trunk@35498 -
2017-03-01 15:23:55 +00:00
Károly Balogh
319a397ae8 webassembly: reserve a system id and cpu id slot for the platform
git-svn-id: trunk@35497 -
2017-03-01 15:15:58 +00:00
Károly Balogh
d3f69c1753 atari: tos is no longer a define, so use atari to define shortasmprefix
git-svn-id: trunk@35496 -
2017-03-01 15:14:46 +00:00
maciej-izak
16a11c8b7a Bug fix for getting pointer to function result (mantis #10933 #19861)
git-svn-id: trunk@35495 -
2017-03-01 13:23:02 +00:00
Károly Balogh
07cfb2f43a m68k: removed unused 3 ops taicpu constructors
git-svn-id: trunk@35494 -
2017-02-28 22:10:59 +00:00
svenbarth
74386d444b * use correctly prefixed variant of tls_used (Win64 does not have a C prefix)
git-svn-id: trunk@35493 -
2017-02-28 20:39:36 +00:00
svenbarth
04443b0a94 * correctly create relocations for .pdata sections (fixes linking error with ld)
git-svn-id: trunk@35492 -
2017-02-28 19:46:15 +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
michael
92af9c1670 * Patch from Mattias Gaertner, better descriptive comment
git-svn-id: trunk@35490 -
2017-02-28 13:22:40 +00:00
michael
b38d804193 * Patch from Mattias Gaertner:
- array[TEnumType]: declare, low, high, length, [], init with const
  - better memory checking
  - fixed mem leak in enumtype scope
  - check reintroduced identifiers
  - fixed class-of to always use forward
  - always use procedure header, instead of body
  - method modifier external

git-svn-id: trunk@35489 -
2017-02-28 13:21:55 +00:00
michael
dc1eb312ba * Patch from Mattias Gaertner: Memleak fixes in case of errors
git-svn-id: trunk@35488 -
2017-02-28 13:20:54 +00:00
michael
220a293aef * Small CamelCase correction from Mattias Gaertner
git-svn-id: trunk@35487 -
2017-02-28 13:20:00 +00:00
lacak
689fa805eb fcl-db: sqldb: when applying updates to modified record, look for parameter ":field_name" in InsertSQL,UpdateSQL,DeleteSQL first in TFields and if not found then in TParams. Bug #31411
git-svn-id: trunk@35486 -
2017-02-28 12:03:24 +00:00
maciej-izak
ffd6465563 * rtti.pp: Update IsManaged function for management operators. Record without managed fields but with management operators is treated as managed record. tests.rtti.pas update.
git-svn-id: trunk@35485 -
2017-02-28 10:18:05 +00:00
nickysn
2fbe5d2a8b * use ObjpasInt instead of longint in fpc_shortstr_currency (generates shorter
and more efficient code on 16 and 8-bit targets)

git-svn-id: trunk@35484 -
2017-02-27 01:29:52 +00:00
joost
3b723aa97f * Merged two versions of check if a package is broken
* If no repository is given, take all repositories into account while
   checking if a package is broken

git-svn-id: trunk@35483 -
2017-02-25 22:28:10 +00:00
joost
10dfda977c * Moved global procedure to metod of TpkgFPpkg
git-svn-id: trunk@35482 -
2017-02-25 20:46:42 +00:00
nickysn
f353416fd4 * fixed a bug in graph.OutText and graph.OutTextXY when the unit has
been compiled with range checking on

git-svn-id: trunk@35481 -
2017-02-25 17:30:15 +00:00
florian
ec45a92fb5 * more nodedata printing fixes, similiar to r35477
git-svn-id: trunk@35480 -
2017-02-25 15:41:39 +00:00
Jonas Maebe
4c68ea1000 * use pocalls_cdecl and cstylearrayofconst more consistently instead of
ad hoc set constants containing varying number cdecl-like calling
    conventions
   o added pocall_sysv_abi_cdecl and pocall_ms_abi_cdecl to cstylearrayofconst
   o also allow C-style blocks with mwpascal instead of cdecl (mwpascal = cdecl
     with "const" = "constref" for record parameters)
   o did not touch cases related to name mangling and import/export names,
     because those are a real mess and easily break things left and right :/

git-svn-id: trunk@35479 -
2017-02-25 11:46:35 +00:00
Jonas Maebe
1adde89621 * copy tcallnode.right after copying the callinitblock, as right can be a
temprefnode referring to a temp from the init block (mantis #31421)

git-svn-id: trunk@35478 -
2017-02-24 19:57:40 +00:00