Commit Graph

35943 Commits

Author SHA1 Message Date
marco
99892a7e45 * SimpleIPC, avoid stale server state files (Unix). Patch by Andrew, Mantis #21289
git-svn-id: trunk@20385 -
2012-02-20 11:17:02 +00:00
marco
48d780b920 * Patch from Lacak2 for Mantis #18699 Improve numeric formatting for
interbase.

git-svn-id: trunk@20382 -
2012-02-20 09:10:49 +00:00
paul
950ef49b5c fpc: don't treat codepage as different if one element of array has CP_ACP codepage in fpc_AnsiStr_Concat_multi
git-svn-id: trunk@20381 -
2012-02-20 00:30:03 +00:00
pierre
7d53c2af45 + Regenerate Makefile with mips-linux target
git-svn-id: trunk@20379 -
2012-02-19 19:03:28 +00:00
pierre
18432ea848 + Add mips and mipsel cpus, enabled for linux only
git-svn-id: trunk@20378 -
2012-02-19 19:02:53 +00:00
pierre
9576664f20 + Add ifdef USE_MIPS_STK2_ASM to disable assmebler code using alterante stack with r23 by default
git-svn-id: trunk@20377 -
2012-02-19 19:00:21 +00:00
sergei
eda5511ef9 * Don't widen boolean operands of taddnode if they will be converted to pasbool8 immediately thereafter, doing so only causes generation of useless code. Mantis #20843.
git-svn-id: trunk@20376 -
2012-02-19 18:49:50 +00:00
marco
f8f5c3cd23 * alias a few more types on windows. This makes developing portable software easier, since one doesn't have to conditionally import windows for e.g. tfiletime.
git-svn-id: trunk@20375 -
2012-02-18 19:20:07 +00:00
Jonas Maebe
cc736fe115 * use same code path for iphonesim as for darwin (should fix mantis #21190)
git-svn-id: trunk@20374 -
2012-02-17 20:28:43 +00:00
Jonas Maebe
bacdd8be81 * don't ever mark the function result as vs_initialised, also not when
it is passed as a hidden parameter (mantis #20907)

git-svn-id: trunk@20373 -
2012-02-17 16:25:50 +00:00
marco
b31c15fbcc * Patch from Lacak2 for initial Pg interval support.
git-svn-id: trunk@20370 -
2012-02-17 14:00:27 +00:00
Jonas Maebe
aa9aeeada0 * fixed compilation on platforms without ansistring support since assigning
one ansistring to another requires a helper (mantis #21260, patch by
    Koenraad Lelong)

git-svn-id: trunk@20369 -
2012-02-17 13:16:32 +00:00
Jonas Maebe
e8dae4f30a * set result of exp() to 0 in case of underflow with masked exceptions
(mantis #21265)

git-svn-id: trunk@20368 -
2012-02-17 13:07:50 +00:00
sergei
cd44c5f45c Win32 and Win64, fixed DLL exit sequence, resolves #14603:
* Unwind to DllEntry context only if called from DllEntry. Otherwise, terminate the entire process, making sure that RTL won't be finalized twice.
* Call DLL_process_detach_hook before RTL is finalized, not after.

git-svn-id: trunk@20367 -
2012-02-16 23:39:03 +00:00
sergei
ea37d71f67 - win64: removed empty procedures remove_exception_handlers and fpc_cpucodeinit.
git-svn-id: trunk@20366 -
2012-02-16 23:22:42 +00:00
marco
136b7dee9b * fix for bug #21281, some functions were missing dllname.
git-svn-id: trunk@20364 -
2012-02-16 20:54:37 +00:00
sergei
167ee9867e * Moved DLL_xxx declarations to sysos.inc, so they can be reused by wince.
* systlsdir.inc: don't invent own symbols for the same purpose, defining DLL_xx conditionally is enough to avoid duplicate declarations.

git-svn-id: trunk@20363 -
2012-02-16 17:13:32 +00:00
pierre
c45914fc27 * Fix loss of OPT variable content on last part of cross-cpu cycles
git-svn-id: trunk@20362 -
2012-02-16 14:26:12 +00:00
pierre
c453baf0b9 + Enable stabs debuginfo, dwarf disabled for now
git-svn-id: trunk@20361 -
2012-02-16 14:25:03 +00:00
paul
4c1fa31c11 packages: add opengl as required for win32 and win64 for gtk1
git-svn-id: trunk@20360 -
2012-02-16 06:46:00 +00:00
paul
357d644891 tests: fix test for systems where widestring=unicodestring
git-svn-id: trunk@20359 -
2012-02-16 00:57:46 +00:00
Tomas Hajny
4f36dc3539 * fixed dependency on opengl wrongly marked as valid for all targets
git-svn-id: trunk@20358 -
2012-02-15 21:15:33 +00:00
Tomas Hajny
f597d18f24 * include imlib for OS/2 and EMX too
git-svn-id: trunk@20357 -
2012-02-15 21:14:07 +00:00
pierre
79c8234c8b Protect against nil values for info or SigContext
git-svn-id: trunk@20356 -
2012-02-15 13:20:26 +00:00
pierre
65ec3cfe4e Fix SigActionRec record field order
git-svn-id: trunk@20355 -
2012-02-15 13:19:22 +00:00
pierre
ea9f152d64 * Remove local redefinition of types and clarify TIPC_Perm record
git-svn-id: trunk@20354 -
2012-02-15 13:18:30 +00:00
pierre
5b71a7597a i386 NetBSD uses GOT for position independent code
git-svn-id: trunk@20353 -
2012-02-15 13:08:49 +00:00
joost
3c02dc25f2 * Do not change the current directory, that does not work well with multiple threads
git-svn-id: trunk@20352 -
2012-02-14 20:31:00 +00:00
sergei
724227c962 * Cleaned out code marked as originated from glibc:
- strlen.inc: removed, was never actually used anywhere.
  - StrCopy: removed, its generic version is optimized well enough now.
  * StrComp: rewritten, speed somewhat improved.

git-svn-id: trunk@20349 -
2012-02-14 16:09:45 +00:00
paul
2499b5514f compiler: change overload search for char constants (for delphi compatibility):
- for AnsiChar prefer ShortString, AnsiString, UnicodeString, WideString, ... (LongString?)
  - for WideChar prefer UnicodeString, WideString, AnsiString, ShortString, ... (LongString?)
  - remove old code from htypechk which made AnsiChar const = AnsiString,ShortString and WideChar const = WideString,UnicodeString - it is no longer needed since defcmp performs the required comparisons
  + test

git-svn-id: trunk@20348 -
2012-02-14 06:52:33 +00:00
paul
4d863aff03 compiler: fix accidentally committed code in r20285
git-svn-id: trunk@20347 -
2012-02-14 00:25:29 +00:00
florian
b19b8badf9 * fix volatible integer register set on mips
* fix available registers on mips

git-svn-id: trunk@20346 -
2012-02-13 21:37:22 +00:00
svenbarth
2a872978dc Fix Mantis #21179
* defcmp.pas:
        + Extend compare_def_ext by the possiblity to specify whether strict or
          loose comparison of undefined defs should be applied.
          * in strict mode undefined defs are incompatible to all other defs
            except other undefined defs
          * in loose mode undefined defs are equal to anything (this is how
            FPC behaved up to now)
        + Enable the strict mode in compare_paras so that overloads with
          generic type parameters are possible
* ptype.pas, single_type:
        If the generic dummy of the currently parsed generic is encountered in
        non-Delphi modes then we need to return the current genericdef. This
        condition needs to be checked using the ObjName of the def, because
        the link from the type symbol to the current def is not yet 
        established 
+ added test for bug report

git-svn-id: trunk@20345 -
2012-02-13 21:17:54 +00:00
sergei
429af6f40b * nobj.pas, finished refactoring VMT generation code, now all child structures except RTTI are written to same data section with VMT itself and their labels are local (since child structures are accessible only through VMT, smartlinking them into different sections is useless).
* Reference GUID/string labels of implemented interfaces instead of duplicating them on every occurrence.

git-svn-id: trunk@20344 -
2012-02-13 18:49:48 +00:00
pierre
8fc1fb5e15 Regenerate Makefile
git-svn-id: trunk@20343 -
2012-02-13 16:57:03 +00:00
pierre
e4acc1d474 Add explicit rule for variants unit compilation for correct dependencies
git-svn-id: trunk@20342 -
2012-02-13 16:56:30 +00:00
pierre
a874ee7f19 Regenerate Makefile
git-svn-id: trunk@20341 -
2012-02-13 16:46:20 +00:00
pierre
c9c61ef559 Add more missing units to NetBSD
git-svn-id: trunk@20340 -
2012-02-13 16:45:47 +00:00
pierre
30bd2229b2 Wide char and mbstate_t types added
git-svn-id: trunk@20339 -
2012-02-13 16:45:15 +00:00
pierre
981ec54226 NetBSD code added
git-svn-id: trunk@20338 -
2012-02-13 16:44:23 +00:00
pierre
24d100d164 NetBSD CODESET and LC_ALL added
git-svn-id: trunk@20337 -
2012-02-13 16:43:45 +00:00
pierre
b4f024362b NetBSD code added
git-svn-id: trunk@20336 -
2012-02-13 16:43:16 +00:00
michael
93d173e38e * Added support for conditional notes
git-svn-id: trunk@20335 -
2012-02-13 13:45:37 +00:00
pierre
34f0538248 Update to add mips-linux support
git-svn-id: trunk@20334 -
2012-02-13 00:13:13 +00:00
pierre
38ecd5371f Add mips and mipsel source_cpu_string
git-svn-id: trunk@20333 -
2012-02-13 00:12:15 +00:00
pierre
2d6ca8a363 * Fix code for SIGFPE and adapt to SignalHandler procedure type change
git-svn-id: trunk@20332 -
2012-02-12 22:55:23 +00:00
Jonas Maebe
974e66abce r336 | jonas | 2012-02-12 22:09:38 +0100 (Sun, 12 Feb 2012) | 2 lines
* fixed several types for 64 bit platforms (32 bit -> C long)

git-svn-id: trunk@20331 -
2012-02-12 21:11:04 +00:00
pierre
0abcb738e5 * Fix SigActionHandler for fcl-extra
git-svn-id: trunk@20330 -
2012-02-12 19:53:27 +00:00
pierre
464c3bff67 + Add missing PSigContext type
git-svn-id: trunk@20329 -
2012-02-12 19:21:00 +00:00
pierre
22b5df0121 * i386 NetBSD uses no C underscore prefix
git-svn-id: trunk@20328 -
2012-02-12 19:14:33 +00:00