Commit Graph

49279 Commits

Author SHA1 Message Date
Jonas Maebe
eb9d4b71b3 * equivalent of r34246 for targets using the non-fragile Objective-C ABI
(fixes webtbs/tw30443 for iOS and 64 bit targets)

git-svn-id: trunk@34549 -
2016-09-20 21:43:59 +00:00
Jonas Maebe
27bb656cec * replaced "in_make_direct_ref" field with a trefaddr flag
git-svn-id: trunk@34548 -
2016-09-20 21:43:52 +00:00
Jonas Maebe
e8c9541c04 * don't use ADD in make_direct_ref(), as the flags may be live
git-svn-id: trunk@34547 -
2016-09-20 21:43:45 +00:00
Jonas Maebe
a9073cb50b * don't overwrite the flags in make_simple_ref() if the reference
has no scalefactor (fixup for r14871)

git-svn-id: trunk@34546 -
2016-09-20 21:43:39 +00:00
Jonas Maebe
db171702f3 * vecn: don't use left.location.reference.alignment if left is not in a
LOC_(C)REFERENCE

git-svn-id: trunk@34545 -
2016-09-20 21:43:32 +00:00
Jonas Maebe
0afbe85aab * various memory reference alignment fixes
git-svn-id: trunk@34544 -
2016-09-20 21:43:19 +00:00
michael
5d18c63b24 * Patch from Graeme Geldenhuys to disable embedding fonts.
git-svn-id: trunk@34543 -
2016-09-20 20:33:13 +00:00
sergei
67bd4775fd - Cleaned out thread manager semaphore support which was ever implemented only for Unix, and not used since r28965. This also reverts changes to System unit interface introduced in r27665.
git-svn-id: trunk@34542 -
2016-09-20 20:14:36 +00:00
lacak
507088d097 fcl-db: sqldb: Firebird
- [var]char columns with character set NONE or OCTETS does not follow connection charset, so we must handle them as special case and set appropriate CodePage
- updated helper method TFieldDefs.Add (original version was introduced only recently and exists only in trunk)
Bug #30613

git-svn-id: trunk@34541 -
2016-09-20 08:12:22 +00:00
florian
e5f63779bb * pass S_NO instead of S_XMM to *SQRTSS/SD as size as the memory location is 32/64 bit
git-svn-id: trunk@34540 -
2016-09-18 20:05:25 +00:00
marcus
f2b60d07d3 MorphOS: added locale library unit
git-svn-id: trunk@34539 -
2016-09-17 14:51:38 +00:00
michael
4e39c254d2 * Remove unused variables
git-svn-id: trunk@34538 -
2016-09-17 08:58:22 +00:00
michael
0af46b90aa * Add null in Array/Object if an element is Nil.
git-svn-id: trunk@34537 -
2016-09-17 08:55:55 +00:00
michael
5be2dfd9c8 * Fix bug ID #30606, identifier not allowed when parsing object
git-svn-id: trunk@34536 -
2016-09-17 08:18:53 +00:00
michael
a80e8f41c4 * Report correct position when encountering identifier
git-svn-id: trunk@34535 -
2016-09-17 08:18:10 +00:00
svenbarth
386b7ac154 * fix for Mantis #28753: don't return generic dummys from single_type(); ensures that parameters correctly evaluate to error defs should generic dummies be used
git-svn-id: trunk@34534 -
2016-09-16 20:40:19 +00:00
svenbarth
e4f1b15860 * fix declarations; these only worked by accident and will no longer work after the next commit of mine
git-svn-id: trunk@34533 -
2016-09-16 15:56:58 +00:00
svenbarth
ce18b10c81 * fix for Mantis #30530: when the global/static symtable is reached defowner is Nil, so respect that in the loop condition
+ added test

git-svn-id: trunk@34532 -
2016-09-16 15:39:03 +00:00
svenbarth
531829c072 * don't check for hints if we have a specialization with the same name as the to be used generic (though since the typedef would be errordef it wouldn't print anything anyway...)
git-svn-id: trunk@34531 -
2016-09-16 15:15:19 +00:00
svenbarth
50f2aab0ef * fix for Mantis #22192: handle the case that a specialization has the same name as the generic it's based on as in that case the typedef of the symbol is an errordef; therefor we need to use the symbol's real name
+ added test

git-svn-id: trunk@34530 -
2016-09-16 15:13:27 +00:00
svenbarth
fd7daf91df + new overload for generate_specialization_phase1() which allows to pass a specific symbol name without the need to specify a file position
git-svn-id: trunk@34529 -
2016-09-16 15:10:51 +00:00
svenbarth
76f55f2030 * set the realname of the reused generic dummy symbol to the parsed name as the casing might differ from the generic that triggered the creation of said dummy symbol
git-svn-id: trunk@34528 -
2016-09-16 15:09:22 +00:00
svenbarth
2ea587f746 * fix for Mantis #30537: also allow the parasymtable as a parent symtable when generating the mangled name as that is needed for generic functions
+ added test

git-svn-id: trunk@34527 -
2016-09-16 14:10:53 +00:00
svenbarth
0500c678e5 * fix for Mantis #30534: don't consider all types with generic constraints as equal, but at least ensure that they have the same basetype (Note: this still needs a bit more improvement)
+ added test

git-svn-id: trunk@34526 -
2016-09-16 13:24:28 +00:00
pierre
458aea707d Fix type on last commits
git-svn-id: trunk@34525 -
2016-09-13 10:08:57 +00:00
pierre
c7d79acd61 Allow compilation of compiler with -gc option
git-svn-id: trunk@34524 -
2016-09-13 08:47:53 +00:00
pierre
53af10dbed Makefile regenerated after:
Change conditions under which IDE executable is generated:

  Add GDBMI_IS_STATIC variable, set to true for systems
  which generate static FP IDE executable (without library dependencies)
  and can thus also be compiled in cross-compile conditions.

  Only add -sp fpmake option (which means skip executable generation)
  if GDBMI_IS_STATIC is not defined.

git-svn-id: trunk@34523 -
2016-09-13 08:46:43 +00:00
pierre
ca4f7719f3 Change conditions under which IDE executable is generated:
Add GDBMI_IS_STATIC variable, set to true for systems
  which generate static FP IDE executable (without library dependencies)
  and can thus also be compiled in cross-compile conditions.

  Only add -sp fpmake option (which means skip executable generation)
  if GDBMI_IS_STATIC is not defined.

git-svn-id: trunk@34522 -
2016-09-13 08:46:10 +00:00
pierre
dcd349abd9 Use DEBUG_LINEINFO instead of DEBUG in exeinfo unit source
git-svn-id: trunk@34521 -
2016-09-13 08:37:52 +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
marcus
97a4c7b9f7 AROS: added locale library unit
git-svn-id: trunk@34519 -
2016-09-12 20:53:58 +00:00
michael
bc6819aa91 * Attempt to avoid overflow when reallocating stream
git-svn-id: trunk@34518 -
2016-09-12 08:41:42 +00:00
michael
be17071b46 * Fix windows compilation
git-svn-id: trunk@34517 -
2016-09-11 18:20:40 +00:00
Jonas Maebe
775f86d216 * made cthreads the first unit, as the initialisation code of sysutils now
apparently already triggers threading-related code

git-svn-id: trunk@34516 -
2016-09-11 18:17:41 +00:00
Jonas Maebe
66be068365 * set the correct resultdef after converting a dynamic array to an open array
in ncnv
  * handle the fact that we overwrite the open array resultdef of a parameters'
    left node with the original resultdef (i.e., also for dynamic arrays) with
    regards to LLVM type rules
   o use the parameter's formal type (open array) instead of the value's type
     (dynamic array) when loading/using its value, since that's the type the
     value has been converted to
   o this change is not really nice since it adds several independent checks in
     different places, but I can't find a way to nicely unify the code to work
     around this (nor one to get rid of that hack in the first place)

git-svn-id: trunk@34515 -
2016-09-11 17:12:04 +00:00
Jonas Maebe
dfb20f3f6a * fixup the asmbind of aliases (an llvm alias can never refer to an
external symbol)

git-svn-id: trunk@34514 -
2016-09-11 17:12:00 +00:00
Jonas Maebe
702715a518 * generalised llvmgettemprecorddef() so it works for almost all types
git-svn-id: trunk@34513 -
2016-09-11 17:11:57 +00:00
michael
c9c1cf73ae * Fix compilation error caused by signature change
git-svn-id: trunk@34512 -
2016-09-11 14:46:16 +00:00
michael
b1b312b705 * Fix patch 34481
git-svn-id: trunk@34511 -
2016-09-11 14:18:12 +00:00
michael
b08475b5ba * Fix bug ID #30391 (let ReleaseMySQL also return refcount)
git-svn-id: trunk@34510 -
2016-09-11 12:30:45 +00:00
michael
7fec0f92af * Fix bug ID #30469 (allow quoting to start inside values)
git-svn-id: trunk@34509 -
2016-09-11 12:24:57 +00:00
Jonas Maebe
98020a9b57 * fixed test compilation
git-svn-id: trunk@34508 -
2016-09-11 09:42:15 +00:00
michael
63d3df5642 * Fix bug ID #25177: wrong constant used for rounding
git-svn-id: trunk@34507 -
2016-09-11 09:38:47 +00:00
michael
8c63be40f9 * Fix bug ID #24983: additional possibilities for boolean reading/writing
git-svn-id: trunk@34506 -
2016-09-11 08:04:36 +00:00
michael
8d67ef157f * Using OS Lineending was old behaviour
git-svn-id: trunk@34505 -
2016-09-11 07:31:48 +00:00
Tomas Hajny
5153cceba3 * provide access to information about the failing file when dynamic loading fails
git-svn-id: trunk@34504 -
2016-09-10 21:30:35 +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
47407a9c29 * Use UnicodeString instead of Widestring, faster on windows (bug ID 29711)
git-svn-id: trunk@34502 -
2016-09-10 19:59:01 +00:00
michael
29ed02d228 * utility unit to add 48-bit real math, bug ID #30460
git-svn-id: trunk@34501 -
2016-09-10 19:48:52 +00:00
michael
9cca873e54 * Applied patch by accorp to fix unwanted parameter values in Opts output parameter of CheckOptions. (bug ID 29951)
git-svn-id: trunk@34500 -
2016-09-10 19:43:17 +00:00