Commit Graph

689 Commits

Author SHA1 Message Date
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
joost
985043e871 + Added a README and some examples do database.ini
* fixed compilation of dbtestframework.pas

git-svn-id: trunk@5753 -
2006-12-30 20:30:35 +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
joost
0cab61a2e0 * restructured the test-suite
+ added several tests
 + added a connector for TMemDataset

git-svn-id: trunk@5745 -
2006-12-29 21:33:20 +00:00
yury
f8f7eedb40 - Use win/tthread.inc for wince.
git-svn-id: trunk@5739 -
2006-12-29 19:30:11 +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
tom_at_work
92538bcb2a Fixed lineinfo compilation with -gl
git-svn-id: trunk@5723 -
2006-12-26 19:27:45 +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
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
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
ivost
c8d60373b0 * renamed md5test.pp to mdtest.pas
* extended mdtest.pas with rfc tests
    * added md2 hash support to md5.pp

git-svn-id: trunk@5648 -
2006-12-19 13:57:09 +00:00
daniel
3684d76e9e * Make it a test that should succeed.
git-svn-id: trunk@5643 -
2006-12-19 08:49:26 +00:00
tom_at_work
949aa60805 * DWARF debug lineinfo reader
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
florian
fd2032dab2 + start of embedded rtl
+ feature support in the compiler

git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
micha
ea2beb3e8f * fix classes units of all targets to depend on fgl, also fix dependencies in Makefile.fpc for it
git-svn-id: trunk@5627 -
2006-12-17 17:37:34 +00:00
micha
3824e9ffe0 + tdbf collation unit
git-svn-id: trunk@5625 -
2006-12-17 15:59:48 +00:00
ivost
39b718f62a * renamed uuid.pp to macuuid.pp
* compared to the new uuid.pas in packages/base/hash this one is linux only

git-svn-id: trunk@5618 -
2006-12-17 10:40:02 +00:00
ivost
c6fa0f9d8d * new unit uuid that follows RFC 4122
* defined version enumeration for md5

git-svn-id: trunk@5613 -
2006-12-16 16:04:08 +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
michael
e0935d347a * Initial implementation
git-svn-id: trunk@5596 -
2006-12-14 21:07:49 +00:00
Legolas
9e6d19a494 * rtl part of first Nintendo DS port
git-svn-id: trunk@5593 -
2006-12-14 17:34:51 +00:00
Legolas
96e1c482bc * compiler part of first Nintendo DS port
git-svn-id: trunk@5592 -
2006-12-14 17:32:16 +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
joost
968f44d0b4 + Implemented a filter-parser for TBufDataset, based on the parser of TDbf
* TbufDataset is now a seperate unit

git-svn-id: trunk@5575 -
2006-12-11 21:58:09 +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
Legolas
f766a739f1 * some small changes in the stack
* cleaned redundant code in prt0.as
+ added cprt0.as for libc and libgcc linking 

git-svn-id: trunk@5543 -
2006-12-05 18:35:12 +00:00
micha
d0416758fb + using items of aliased enum type in other unit test
git-svn-id: trunk@5527 -
2006-12-02 11:30:59 +00:00
micha
c333724be3 + add TStringList test
git-svn-id: trunk@5526 -
2006-12-02 11:22:56 +00:00
Jonas Maebe
7588b4378c * fixed warnings about "uninitialized" initialized local variables
based on test for web bug #7285 (which was already fixed)

git-svn-id: trunk@5523 -
2006-12-01 20:47:28 +00:00
Jonas Maebe
fb22cb9efc * fixed web bug #7756
git-svn-id: trunk@5516 -
2006-12-01 17:00:03 +00:00
Jonas Maebe
b0ef674721 * updated to r200 of the interfaces
git-svn-id: trunk@5515 -
2006-12-01 13:35:31 +00:00
florian
9da91645d9 * initial, unfinished implementation
git-svn-id: trunk@5508 -
2006-11-27 16:48:57 +00:00
daniel
4e2c9ffa9c + Evaluate window
git-svn-id: trunk@5504 -
2006-11-26 23:47:23 +00:00
florian
0d97f9ab6c + initial implementation for x86_64, problem currently the usage of .section to create the necessary note section
git-svn-id: trunk@5491 -
2006-11-26 14:44:00 +00:00
Almindor
f5d4c3400e * fixes netwares for the new AF_ PF_
git-svn-id: trunk@5466 -
2006-11-24 10:12:31 +00:00
Almindor
877a111b95 * adds a libc netdb wrapper
git-svn-id: trunk@5455 -
2006-11-22 22:13:29 +00:00
ivost
9b8a570db0 * added new unit unixcrypt.pas. With this unit you can generate and validate unix password hashes
git-svn-id: trunk@5452 -
2006-11-22 19:15:06 +00:00