Commit Graph

1195 Commits

Author SHA1 Message Date
Jonas Maebe
edffeac316 * declare math.pinteger as an alias of objpas.pinteger to avoid type
masking errors (mantis #10540)

git-svn-id: trunk@9617 -
2008-01-02 19:53:14 +00:00
daniel
d8bffd27fc - Intergrate i386/strlen.inc and remove it.
+ int_str assembler implementations for i386
 + fpc_shortstr_to_shortstr assembler implementation for ARM
 + fpc_shortstr_assign assembler implementation for ARM
 + fpc_Pchar_length assembler implementation for ARM

git-svn-id: trunk@9582 -
2007-12-30 11:19:10 +00:00
yury
e5f3a6b631 * Fixed compilation.
git-svn-id: trunk@9559 -
2007-12-28 15:24:27 +00:00
yury
c4e60fd1a5 - Removed systhrd.inc from targets where thread manager is stub by default. Stub is installed in common thread.inc file if DISABLE_NO_THREAD_MANAGER is not defined.
git-svn-id: trunk@9558 -
2007-12-28 15:21:02 +00:00
daniel
68731ae067 + Assembler implementation of mod/div.
Improves amount of divides from about 230000/s to about 2400000/s on
    ARM920T, 200MHz.

git-svn-id: trunk@9543 -
2007-12-27 17:59:45 +00:00
yury
be62a4408e * mime-type added.
git-svn-id: trunk@9535 -
2007-12-26 15:24:24 +00:00
Jonas Maebe
c05f18a1b0 * catch duplicate field declarations in a single class in Delphi mode
(mantis #10457)

git-svn-id: trunk@9534 -
2007-12-26 15:21:18 +00:00
Jonas Maebe
ca7650418d * fixed/added overflow checking in generic unarminusn code + test
+ added support for OP_NEG/OP_NOT in tcg64f386.a_op64_ref_reg (needed
    for the above)

git-svn-id: trunk@9528 -
2007-12-25 23:52:09 +00:00
Jonas Maebe
58600c71b9 + new test for overflow checking qword multiplication with high(qword)
git-svn-id: trunk@9522 -
2007-12-23 21:18:59 +00:00
Jonas Maebe
719c29cf86 + new cpo_openequalisexact parameter comparison option which
treats equal open arrays, open strings and arrays of const
    (implicitly also open) as exactly matching (since you
     cannot declare such types on their own, so they will
     never match exactly)
  * require that forward declared procedures match the
    implementation exactly for both the parameters (with
    the above modification) and result type (mantis
    #10425 and the related webtbf/tw10425a.pp)

git-svn-id: trunk@9484 -
2007-12-16 22:22:11 +00:00
Jonas Maebe
0c773015ef * moved to the correct location
git-svn-id: trunk@9445 -
2007-12-13 21:48:06 +00:00
Jonas Maebe
60ccf03a0b * completed cwstring unit
* optimized LowerWideString/UpperWideString not to call UniqueString
    for each string character
  * fixed LowerAnsiString/UpperAnsiString in case an ascii character
    has a lower/uppercase version with a different length than 1
  + generic test for ansistring comparisons using on the widestring
    manager (based on glibc test)
  - removed ansi2ucs4-related stuff as it's not used/needed

git-svn-id: trunk@9440 -
2007-12-13 20:41:31 +00:00
florian
2650ca51e6 * moved
git-svn-id: trunk@9437 -
2007-12-12 22:35:00 +00:00
florian
8f17101039 * allow application of as operator only to interfaces having a guid, resolves #6797
git-svn-id: trunk@9436 -
2007-12-12 21:07:47 +00:00
Jonas Maebe
92b99c4389 + test for previous commit
git-svn-id: trunk@9417 -
2007-12-08 16:00:28 +00:00
Jonas Maebe
24f8249f36 * flush pending local switch changes before evaluating ifopt
(mantis #10350)

git-svn-id: trunk@9413 -
2007-12-07 18:24:57 +00:00
Jonas Maebe
f38e190892 * don't substitute the result variable of an inlined function with
a regable variable, because this result variable of the inlined
    function may not be regable + test (mantis #10371)

git-svn-id: trunk@9409 -
2007-12-07 13:29:16 +00:00
michael
e261bd766c * Patch from Andrew Haines to support FPDOC generating CHMs
git-svn-id: trunk@9407 -
2007-12-07 10:53:21 +00:00
Jonas Maebe
68595c8b72 * fixed wchar_t type (was: widechar, now is cint/cint32/long depending on
platform)
  + mbstate_t type for all unixes except BeOS (doesn't exist for BeOS)
  + implemented UpperAnsiStringProc/LowerAnsiStringProc for unix
  * fixed Ansi2UCS4Move in cwstring (although it isn't used anywhere
    currently)
  + test for Upper/LowerAnsiString

git-svn-id: trunk@9393 -
2007-12-05 17:42:35 +00:00
Jonas Maebe
2319d8c3ce * fixed WideStringToUCS4String and UCS4StringToWideString for code points
requiring surrogate pairs in utf-16 + test

git-svn-id: trunk@9391 -
2007-12-05 13:05:09 +00:00
michael
4404a27428 * Initial implementation
git-svn-id: trunk@9389 -
2007-12-04 15:04:21 +00:00
florian
891ce34513 * preparations for unicodestring support in the rtl
git-svn-id: trunk@9386 -
2007-12-02 22:33:56 +00:00
Jonas Maebe
154601b41d * don't handle dynamic arrays using fpc_copy_proc(), because it
takes the address of its parameters and a dynamic array can
    be in a register (e.g. as function result, mantis #10320)

git-svn-id: trunk@9381 -
2007-12-02 15:58:48 +00:00
Jonas Maebe
5196db1ac3 * fixed low(set)/high(set) after previous changes + test
git-svn-id: trunk@9371 -
2007-12-01 17:16:33 +00:00
Jonas Maebe
f1f1f1c7cd + tests for wrong relsymbol usage
git-svn-id: trunk@9369 -
2007-12-01 14:27:45 +00:00
florian
f6e9d133ab + x86_64 units for lazarus
git-svn-id: trunk@9321 -
2007-11-24 09:21:25 +00:00
michael
12439de612 * Added PCX support from Laurent Jacques
git-svn-id: trunk@9319 -
2007-11-23 10:07:20 +00:00
peter
44d9f35eef * test for #10224
git-svn-id: trunk@9313 -
2007-11-21 21:52:45 +00:00
peter
0e220701cd * new bug
git-svn-id: trunk@9292 -
2007-11-18 22:07:35 +00:00
Jonas Maebe
de08321368 + short instructions on how to use it
git-svn-id: trunk@9288 -
2007-11-18 18:50:35 +00:00
Jonas Maebe
30e4da99da * source code similarity tester (import of original 2.21 sources available
at http://www.cs.vu.nl/pub/dick/similarity_tester/)

git-svn-id: trunk@9286 -
2007-11-18 18:43:44 +00:00
peter
05e44101e8 * make call by value stdcall for records and arrays delphi compatible
git-svn-id: trunk@9280 -
2007-11-18 12:53:55 +00:00
peter
f0c4849f3a * another example
git-svn-id: trunk@9259 -
2007-11-14 23:16:55 +00:00
peter
6b38bfc780 * move example/test code to examples sub dir
git-svn-id: trunk@9258 -
2007-11-14 23:15:46 +00:00
peter
f3e3ca1086 * remove obsolete 2.0.x files
git-svn-id: trunk@9255 -
2007-11-14 23:08:56 +00:00
Marc Weustink
59f08ab878 + added shootout thread-ring benchmark
git-svn-id: trunk@9246 -
2007-11-13 21:53:53 +00:00
marco
e460c7c195 * Maskutils, #10149
git-svn-id: trunk@9242 -
2007-11-13 20:21:17 +00:00
Jonas Maebe
8e5acd85c9 * forgot to commit makefiles
git-svn-id: trunk@9229 -
2007-11-13 10:54:17 +00:00
Jonas Maebe
44e7fffed5 * move fcl-db/src/*.{inc,pp,pas} to fcl-db/base to be able to specify
dependendies of other subdirectories (such as export and datadict) on it
  * added .NOTPARALLEL to the export and datadict directories

git-svn-id: trunk@9228 -
2007-11-13 08:57:23 +00:00
florian
0801c64813 + simple CompareByte0 test
git-svn-id: trunk@9218 -
2007-11-12 19:57:47 +00:00
michael
c0b5e9ad07 * Initial RTF export support
git-svn-id: trunk@9213 -
2007-11-12 09:01:59 +00:00
Jonas Maebe
728465eb27 * fixes from previous darwin/i386 commit for darwin/x86_64
* unified darwin/i386 and darwin/x86_64 signal handling like
    for ppc32 and ppc64
  * moved some common record definitions for all architectures to
    signal.inc

git-svn-id: trunk@9197 -
2007-11-11 17:09:52 +00:00
peter
232f0d2941 * obsolete and broken programs
git-svn-id: trunk@9190 -
2007-11-11 14:35:22 +00:00
florian
a5ccf16016 + disp. var. property setting, resolves #10133 and #9134
git-svn-id: trunk@9189 -
2007-11-11 14:14:05 +00:00
marco
01f2667f0c * Darius' mega patch for numlib
git-svn-id: trunk@9188 -
2007-11-11 10:51:09 +00:00
Jonas Maebe
032352d98b + darwin/x86_64 support
git-svn-id: trunk@9180 -
2007-11-10 18:33:09 +00:00
Jonas Maebe
f60c72b773 * fixed ioctl for non-linux: the third parameter is "..." there rather
than a pointer. The interface still accepts a plain pointer for
    backwards compatibility.

git-svn-id: trunk@9176 -
2007-11-10 18:22:37 +00:00
michael
422b5d916b * Initial implementation of data dictionary functionality
git-svn-id: trunk@9175 -
2007-11-10 17:27:12 +00:00
michael
fdb033097a * Added standard TeX export format
git-svn-id: trunk@9174 -
2007-11-10 14:10:20 +00:00
florian
82d49bdc45 + test for previous commit
git-svn-id: trunk@9173 -
2007-11-10 10:10:55 +00:00