Commit Graph

2646 Commits

Author SHA1 Message Date
florian
ff40ed3264 * Makefiles regenerated
git-svn-id: trunk@5831 -
2007-01-06 21:08:19 +00:00
florian
35fdb22b91 * FileSetDate now working on Win, see #7837
* FileSetDate more Delphi compatible

git-svn-id: trunk@5824 -
2007-01-06 10:48:10 +00:00
florian
c759b114bf * allow second operand being am imm in intel assembler, fixed #7719
git-svn-id: trunk@5823 -
2007-01-05 23:15:25 +00:00
Jonas Maebe
d0b6292137 * disable overflow checking when performing pointer arithmetic
(mantis 8049)

git-svn-id: trunk@5822 -
2007-01-05 21:52:31 +00:00
Jonas Maebe
3610a8eb53 * fixed test parameters
git-svn-id: trunk@5815 -
2007-01-05 09:50:45 +00:00
peter
56379c37a9 * write vmt always according to the order of definitions
* remove obsolete lastvtableindex

git-svn-id: trunk@5811 -
2007-01-04 22:39:12 +00:00
Jonas Maebe
2ddeca21e6 * don't give warning about constructing instance with abstract methods
for self.create calls + tests

git-svn-id: trunk@5810 -
2007-01-04 13:02:23 +00:00
florian
abdcb8cdf2 + sincos test
git-svn-id: trunk@5808 -
2007-01-04 12:57:31 +00:00
florian
af372691eb + new tests for dispinterface parsing
git-svn-id: trunk@5799 -
2007-01-03 21:19:26 +00:00
florian
80d4887e67 * fixed warnings for length/high/low(<normal array>; <ord>; <enum>)
git-svn-id: trunk@5795 -
2007-01-03 09:51:24 +00:00
Jonas Maebe
1914a723c0 * fixed parsing of denormals (mantis #6493)
git-svn-id: trunk@5772 -
2007-01-01 14:23:29 +00:00
florian
28d59bbf6f * pos(...,...) overloads with variants, see tb0520.pp for the reason
git-svn-id: trunk@5770 -
2006-12-31 17:47:05 +00:00
peter
19b4964df3 * fix filtering
git-svn-id: trunk@5766 -
2006-12-31 11:43:35 +00:00
florian
694b616975 * fixed test on windows, I wonder what it was supposed to test
git-svn-id: trunk@5762 -
2006-12-30 23:55:15 +00:00
florian
ea98ef741c * fixed unit name
git-svn-id: trunk@5761 -
2006-12-30 23:51:45 +00:00
florian
475664acf5 * fixed local check, fixes #7242
git-svn-id: trunk@5760 -
2006-12-30 23:47:21 +00:00
Jonas Maebe
555e887ea3 * test for floating point precision conversion
git-svn-id: trunk@5756 -
2006-12-30 22:26:04 +00:00
florian
c4d96ec538 * only non generic types can be used when specializing generics, fixes 7735
git-svn-id: trunk@5754 -
2006-12-30 21:51:24 +00:00
Jonas Maebe
b86e2aa33a * fixed crash when compiling certain invalid "in" constructions
(mantis 8031)

git-svn-id: trunk@5748 -
2006-12-29 23:13:02 +00:00
peter
f972fdac2d * fixed typos
* test must fail, this is also compatible with delphi

git-svn-id: trunk@5737 -
2006-12-29 17:48:36 +00:00
Jonas Maebe
5988e6d117 * niln has a compelxity of 0 (so the inlining code doesn't try to take
its address) (mantis 8028)

git-svn-id: trunk@5735 -
2006-12-29 01:11:41 +00:00
Jonas Maebe
47ff7b62e7 * fixed overload choosing algorithm so it's Delphi-compatible +
tests (and test generator) (also fixes mantis 6641)

git-svn-id: trunk@5732 -
2006-12-28 16:54:07 +00:00
Jonas Maebe
41970b6006 + added
git-svn-id: trunk@5726 -
2006-12-27 15:24:56 +00:00
Jonas Maebe
4ae9ac969a * implicitly call procvars in tp/delphi modes for divmodn, shlshrn
and notn (mantis 7200)

git-svn-id: trunk@5724 -
2006-12-27 14:29:23 +00:00
Jonas Maebe
b2da1c43e7 + added (fixed in r5682)
git-svn-id: trunk@5722 -
2006-12-26 18:25:04 +00:00
Jonas Maebe
66a07eba3e * give an error if the same method declaration is added twice to an
interface/class/object (mantis 8019)

git-svn-id: trunk@5721 -
2006-12-26 18:12:56 +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
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
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
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
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
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
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
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
daniel
787ed7e230 * Change test to test resourcestring correctness.
git-svn-id: trunk@5645 -
2006-12-19 08:58:01 +00:00
daniel
d5cf9af69f * Update comment.
git-svn-id: trunk@5644 -
2006-12-19 08:55:02 +00:00
daniel
3684d76e9e * Make it a test that should succeed.
git-svn-id: trunk@5643 -
2006-12-19 08:49:26 +00:00
Jonas Maebe
bb83dd823e * only test long double versions if FPC_HAS_TYPE_EXTENDED is defined
git-svn-id: trunk@5611 -
2006-12-16 14:51:28 +00:00
Jonas Maebe
e1805b9b9d * compiled versions instead of dummies
git-svn-id: trunk@5610 -
2006-12-16 14:48:54 +00:00
Jonas Maebe
991c7da136 * support inc(pointer) in TP mode with range/overflow checking on as well
git-svn-id: trunk@5605 -
2006-12-15 13:02:00 +00:00
Vincent Snijders
8109e38db2 * use mode fpc, because that uses slightly less memory
git-svn-id: trunk@5603 -
2006-12-15 09:34:43 +00:00
Jonas Maebe
89349c2f1a * fixed web bug #7963 (crash when trying to print the name of a procvar
with too few parameters specified)

git-svn-id: trunk@5591 -
2006-12-14 15:57:17 +00:00
Jonas Maebe
72c7d5b6c0 * support ranges in case-options of variant records
git-svn-id: trunk@5553 -
2006-12-07 15:19:30 +00:00
Vincent Snijders
0a983cfa11 uses pointer instead of dynamic array which needs initialization.
git-svn-id: trunk@5552 -
2006-12-07 13:38:33 +00:00
Jonas Maebe
39324125ec * fixed for 64 bit targets
git-svn-id: trunk@5536 -
2006-12-03 20:47:45 +00:00
Jonas Maebe
73dce1188d * fixed test
git-svn-id: trunk@5529 -
2006-12-02 18:16:49 +00:00