Commit Graph

24399 Commits

Author SHA1 Message Date
chrivers
ed72c61524 + Added dl_info record
+ Added dladdr() prototype
 + Added RTLD_DEFAULT const for BSD and LINUX
 + Added RTLD_NEXT for all platforms

git-svn-id: trunk@5704 -
2006-12-25 12:22:19 +00:00
Jonas Maebe
5074c4c734 * fixed typo
git-svn-id: trunk@5703 -
2006-12-25 10:01:24 +00:00
Vincent Snijders
4bb6ca2e51 * faster and less memory consuming version as submitted to the shootout
git-svn-id: trunk@5702 -
2006-12-24 18:20:28 +00:00
florian
df5a5cf75e * started to fix compilation
git-svn-id: trunk@5701 -
2006-12-24 17:06:59 +00:00
florian
454120a504 + raw conversion of float80 and float128 support commited
git-svn-id: trunk@5700 -
2006-12-24 15:13:52 +00:00
florian
6f155936ec * dependencies fixed
git-svn-id: trunk@5699 -
2006-12-24 15:13:25 +00:00
Jonas Maebe
f308bfb45c * fixed mantis 6686 ("function a;" without prior definition of "a"
accepted in Delphi mode + extra test case where something similar
    has to succeed)

git-svn-id: trunk@5698 -
2006-12-24 10:48:49 +00:00
pierre
30456f6b81 + GDB 6.6 added
GDB 6.1 (for go32v2 target added)
    GDB_HAS_DEPRECATED_CBPH defined for versions where
    create_breakpoint_hook is deprecated.

git-svn-id: trunk@5697 -
2006-12-24 01:32:53 +00:00
pierre
c9c37f573b + DontClearGraphMemory added to be able to start a mode
without clearing everything (needed for IDE)
  * tried to clean assembler problems due to regcall
    conventions

git-svn-id: trunk@5696 -
2006-12-24 01:30:10 +00:00
pierre
e0d9b9e307 * fix previous patch for -g alone,
now debug type is set to target_info.dbg

git-svn-id: trunk@5695 -
2006-12-24 01:27:26 +00:00
pierre
a63fa3518f * try to correct the code for regcall convention.
* signal handlers need to have cdecl modifier to
    be compatible with djgpp C code.

git-svn-id: trunk@5694 -
2006-12-24 01:26:47 +00:00
Jonas Maebe
9d28af4269 * removed po_function and instead check proctypeoption (more
comprehensive too)

git-svn-id: trunk@5693 -
2006-12-23 21:04:30 +00:00
Jonas Maebe
a63ed25f74 * fixed support for repeating constructor without parameters in Delphi
mode + test

git-svn-id: trunk@5692 -
2006-12-23 20:53:47 +00:00
daniel
984191ef0e * Also add symteminline condition.
git-svn-id: trunk@5691 -
2006-12-23 15:48:28 +00:00
daniel
29ee556451 * Make real48 operators inline
git-svn-id: trunk@5690 -
2006-12-23 15:44:46 +00:00
Jonas Maebe
d3ded54ae0 * temporarily turn off self and vmt checking after calling
AfterConstruction, since self may no longer be valid afterwards
    (the instance may already have freed itself, e.g. in case of a
     TThread with FreeOnTerminate=true)

git-svn-id: trunk@5689 -
2006-12-23 14:03:43 +00:00
Jonas Maebe
e5a1d628eb * fixed one regression in r5682: implementation declarations with a
calling convention that has different hidden parameters than the
    interface declaration no longer compiled in Delphi mode (e.g.
    webtbs/tw7329.pp on i386)
  * fixed remaining declaration parsing incompatibilities in TP/Delphi
    modes (other modes already gave errors for the things below):
    * give an error for "function a: byte;" in interface followed by
      "procedure a;" in implementation ("function a;" in implementation
      still allowed as in TP/Delphi)
    * give an error for "function a(b: byte):byte" in interface
      followed by "function a: byte;" in implementation (if one parameter
      or return type is specified in implementation, everything must
      be repeated -- "function a;" still allowed)
  * copied webtbs/tw0890.pp to webtbf/tw0890a.pp since it now correctly
    fails, and modified webtbs/tw0890.pp so it doesn't fail with the
    new code

git-svn-id: trunk@5688 -
2006-12-23 11:17:21 +00:00
Vincent Snijders
d75316efaf + enabled compiling lnet on arm-wince
git-svn-id: trunk@5687 -
2006-12-22 21:08:17 +00:00
Jonas Maebe
2b9bdf2155 * fixed mantis 6631, 7322 and 7989: check parameters and return
types of interface methods implemented in a class

git-svn-id: trunk@5686 -
2006-12-22 19:50:52 +00:00
florian
c81f69a82a * renamed
git-svn-id: trunk@5685 -
2006-12-22 19:05:24 +00:00
florian
d105f287c7 * TFPList benchmark old vs. generic
git-svn-id: trunk@5684 -
2006-12-22 19:04:15 +00:00
michael
a166a31b61 * Patch from Luiz Americo
- fixes bug #7925
  - optimization for ApplyUpdates
  - clean InitFieldDefs implementation

git-svn-id: trunk@5683 -
2006-12-22 18:22:08 +00:00
Jonas Maebe
f3f8a76559 * fixed mantis 7173 (properly check parameters in unit
implementation in Delphi/TP mode if they are repeated)

git-svn-id: trunk@5682 -
2006-12-22 17:48:28 +00:00
Jonas Maebe
c8a8e9704c * renamed tres1.RES to tres1.res for case-sensitive file systems
git-svn-id: trunk@5681 -
2006-12-22 17:19:47 +00:00
Jonas Maebe
652d331922 * fixed 64 bit compilation
git-svn-id: trunk@5680 -
2006-12-22 16:50:09 +00:00
pierre
a9da7ec275 * use stabs as default debug format if none is
explicitly selected. 

git-svn-id: trunk@5679 -
2006-12-22 16:36:07 +00:00
Jonas Maebe
cf4b3f2e4d * don't destroy fsem in tthread.destroy before its potential last use
git-svn-id: trunk@5678 -
2006-12-22 14:53:54 +00:00
Jonas Maebe
4cbbfd7f5c * set FSuspended also if a tthread is suspended by an external thread
on unix
  * fixed some dataraces in unix' suspend/resume (although they can't
    be solved completely due to no possibility to atomically
    suspend/resume and set fsuspended at the same time)

git-svn-id: trunk@5677 -
2006-12-22 14:49:49 +00:00
Jonas Maebe
24ba57fe91 * fixed error message for attempts to initialise typed const
classes/interfaces (mantis 8006)

git-svn-id: trunk@5676 -
2006-12-22 14:12:26 +00:00
Jonas Maebe
8b73c85df2 * forgot to disable one thing in r5670
git-svn-id: trunk@5675 -
2006-12-22 10:13:26 +00:00
Jonas Maebe
a209d713dd + added missing ESysENOSYS
* fixed some comments

git-svn-id: trunk@5674 -
2006-12-22 08:41:56 +00:00
yury
68a71f4ca3 * fixed SetPrecisionMode/GetPrecisionMode for wince.
git-svn-id: trunk@5673 -
2006-12-22 00:49:17 +00:00
yury
8765e488ac * fixed compilation of tbs/tb0460.pp for targets where currency is stored as ordinal.
git-svn-id: trunk@5672 -
2006-12-22 00:48:17 +00:00
pierre
8bcf2285c8 * in dpmi_longjmp, fix wrong parameter retrieving,
old code was based on assumption that parameters
    are on stack. New code works in both cases.
    

git-svn-id: trunk@5671 -
2006-12-21 23:54:38 +00:00
Jonas Maebe
1867a46f34 - disabled fix for mantis 6693 from r5662 since the fix itself also
contains a race condition

git-svn-id: trunk@5670 -
2006-12-21 23:11:35 +00:00
yury
11daaa31f2 * fixed Internal error 200408203 in tbs/tb0258.pp for ARM.
git-svn-id: trunk@5669 -
2006-12-21 22:02:29 +00:00
Jonas Maebe
96b379ab0b * fixed initial suspending bug in r5662
git-svn-id: trunk@5668 -
2006-12-21 21:51:41 +00:00
yury
2a274aa510 * fixed tbs/tb0350.pp.
* removed unused local variables.

git-svn-id: trunk@5667 -
2006-12-21 21:18:38 +00:00
Jonas Maebe
e4a2fb7f35 * fixed mantis 7975 and 7107 (ie 200311075 when working using somewhat
complex method calls in inlined procedures)

git-svn-id: trunk@5666 -
2006-12-21 21:03:47 +00:00
yury
569bec8e80 * fixed ifdef for arm.
git-svn-id: trunk@5665 -
2006-12-21 20:51:09 +00:00
yury
4092321ae9 * Compiler directives {$...} are allowed in ARM inline assembler. It fixes tb0142.pp and tb0193.pp.
git-svn-id: trunk@5664 -
2006-12-21 20:48:18 +00:00
joost
642e611f88 * CanModify shoud not be dependent on active
git-svn-id: trunk@5663 -
2006-12-21 19:49:56 +00:00
Jonas Maebe
0c3afc0cf4 + implementation of cSemaphore* and BasicRTLEvent based on
sem_open/sem_close for Darwin (doesn't have sem_init/sem_destroy)
  + implementation of cSemaphore* based on pipes (for potential future
    systems that don't have either sem* routines)
  + test for basicrtlevent
  * fixed datarace whereby a TThread could be started, run and exit before
    TThread.AfterConstructor had been called (Mantis 6693, all platforms)
  * throw EThread exceptions in TThread.create if something during creating
    the tthread goes wrong (*nix)
  * don't crash in TThread.Destroy if the TThread throws an exception before
    it was fully initialised (*nix)
  * changed order of operations in TThread.Destroy so it doesn't perform
    invalid thread operations in some edge cases (*nix)
  * fixed usage of sem_wait/sem_trywait (can be interrupted) in Semaphore
    and RTLEvent implementations
  * fixed erroneous waiting for threads after they had already exited via
    pthread_detach/pthread_exit
  * fixed several memory leaks in case of thread intialisation errors
    (*nix)
  * unified tthread.inc for all Unices

git-svn-id: trunk@5662 -
2006-12-21 18:22:47 +00:00
Jonas Maebe
3253e7464a + sigset alias for sigset_t
git-svn-id: trunk@5661 -
2006-12-21 17:36:49 +00:00
yury
dddeb7c763 * fixed for wince.
git-svn-id: trunk@5660 -
2006-12-21 15:21:22 +00:00
yury
496e19c9c2 * fixed ARM register allocation problem when additional register is used for spilling.
git-svn-id: trunk@5659 -
2006-12-21 14:18:03 +00:00
joost
27213c6873 * Fix strtodate for dates between 1 and 100 AD
git-svn-id: trunk@5658 -
2006-12-21 01:49:12 +00:00
Vincent Snijders
02bf461f97 * added dbf_collate to the clean units
git-svn-id: trunk@5657 -
2006-12-20 15:00:12 +00:00
Almindor
acbc7aa882 * fix a typo in previous commit
git-svn-id: trunk@5656 -
2006-12-20 12:59:07 +00:00
Almindor
00ee9c9186 + adds missing SOL_SOCKET to winsock2
+ adds missing common constants (SOL_ MSG_ and SO_) to windows sockets.pp via fpwinsockh.inc

git-svn-id: trunk@5655 -
2006-12-20 12:46:33 +00:00