Commit Graph

1837 Commits

Author SHA1 Message Date
sekelsenmat
5f2f4a8cbb Adds initial support to read xwd image format
git-svn-id: trunk@12859 -
2009-03-05 16:22:57 +00:00
sekelsenmat
3ea814378d Starts xwd file format support
git-svn-id: trunk@12858 -
2009-03-05 14:45:33 +00:00
yury
08b551b504 + Added extapi and imm wince api units by Vasil Maximov.
* Updated some existing wince api units by Vasil Maximov.

git-svn-id: trunk@12839 -
2009-03-01 11:10:10 +00:00
florian
67d1604c49 * handle interface methods with cdecl modifier correctly, second and final part to resolve #10684
git-svn-id: trunk@12828 -
2009-02-28 20:28:33 +00:00
Jonas Maebe
4bf254bc32 * added .txt extensions to all README, TODO and COPYING files
(mantis #12358)

git-svn-id: trunk@12825 -
2009-02-28 17:34:08 +00:00
Jonas Maebe
042cbbc555 + test for mantis #11396 (already fixed in 2.2.2)
git-svn-id: trunk@12816 -
2009-02-28 10:45:27 +00:00
Jonas Maebe
f7003119d0 * fixed AddDisk() in sysutils and dos units, and fixed memory leaks
related to this functionality, based on analysis/patch by Michael
    Kamburelis (mantis #9985)

git-svn-id: trunk@12814 -
2009-02-27 22:02:24 +00:00
Jonas Maebe
5474004dcc * fixed calling inherited class methods from a regular method (mantis
#11825)

git-svn-id: trunk@12810 -
2009-02-27 17:05:41 +00:00
marco
00d1174c69 * avltreetest demo
git-svn-id: trunk@12800 -
2009-02-26 10:45:29 +00:00
florian
234a182bdc * properties set
git-svn-id: trunk@12791 -
2009-02-25 19:36:18 +00:00
florian
694f563079 * fixed assembler tables for sse4 instructions, resolves #13186
git-svn-id: trunk@12787 -
2009-02-24 20:07:11 +00:00
Jonas Maebe
f1daa9fa73 + added support for streaming basic variant types (boolean, integer types,
floating point types, currency and string types), based on description
    by Anton Kavalenka at
    http://wiki.freepascal.org/FPC_Cleanroom#Variant_streaming_implementation
    and based on his test program (mantis #10482)

git-svn-id: trunk@12781 -
2009-02-23 21:32:12 +00:00
Jonas Maebe
4bb1d13d83 * fixed reading utf-8 strings from streams (based on patch by Anton
Kavalenka, mantis #13015)

git-svn-id: trunk@12777 -
2009-02-23 14:58:23 +00:00
joost
8d5463bfae * Added test for r12771
git-svn-id: trunk@12772 -
2009-02-22 15:32:27 +00:00
Jonas Maebe
3dd32daa03 * always create a temp for MacPas objects in with-expressions (mantis
#13210)

git-svn-id: trunk@12753 -
2009-02-19 22:43:59 +00:00
Vincent Snijders
9039afdead * fixed overflow when calculating frequencies
+ added lpi

git-svn-id: trunk@12749 -
2009-02-18 21:16:11 +00:00
Jonas Maebe
e58d8d6b92 * set maximum alignment of shortstrings to 2 in MacPas mode
(mantis #13187)

git-svn-id: trunk@12745 -
2009-02-16 18:57:26 +00:00
florian
65b46d5821 * patch by Olivier Coursiere to fix beos building
git-svn-id: trunk@12743 -
2009-02-14 18:02:01 +00:00
florian
a1b750bc39 * set properties
git-svn-id: trunk@12737 -
2009-02-13 11:50:16 +00:00
joost
a2f5f7400b * Replaces several direct references to FNSI.QName by the NodeName property, so
that descendent classes can override the NodeName properly
 * Fixed an AV when GetNodeName is called and there is no NodeName set
 * Removed the THtmlCustomElement.NodeName property and override the GetNodeName
   method instead. The hashtable of TDOMNode_NS is not used because
   THtmlCustomElement uses a faster lookupsystem for tag/node-names
 * Added a basic test for the htmlwriter unit

git-svn-id: trunk@12732 -
2009-02-09 21:43:09 +00:00
ivost
cf7b755dc0 * additional negative testcase for interfaces
git-svn-id: trunk@12726 -
2009-02-08 23:10:43 +00:00
ivost
b2235eb873 * new negative test cases for interface to TGuid/Shortstring assign
git-svn-id: trunk@12724 -
2009-02-08 21:24:28 +00:00
Jonas Maebe
549f1ecc1b * when using overloaded functions in Delphi mode without the "overload"
directive, state that "overload" is missing rather than that
    overloading is disabled (mantis #10081)

git-svn-id: trunk@12723 -
2009-02-08 16:01:41 +00:00
Jonas Maebe
58456508f1 * renamed to correct bug number
git-svn-id: trunk@12722 -
2009-02-08 15:44:49 +00:00
Jonas Maebe
053493fbeb * fixed FahrenheitToCelsius() and CelsiusToFahrenheit() (mantis #13133)
git-svn-id: trunk@12721 -
2009-02-08 15:30:59 +00:00
Jonas Maebe
7d459cf12a * the compiler now explicitly keeps track of the minimally guaranteed
alignment for each memory reference (mantis #12137, and
    test/packages/fcl-registry/tregistry1.pp on sparc). This also
    enables better code generation for packed records in many cases.
  o several changes were made to the compiler to minimise the chances
    of accidentally forgetting to set the alignment of memory references
    in the future:
    - reference_reset*() now has an extra alignment parameter
    - location_reset() can now only be used for non LOC_(C)REFERENCE,
      use location_reset_ref() for those (split the tloc enum so the
      compiler can catch errors using range checking)

git-svn-id: trunk@12719 -
2009-02-08 13:00:24 +00:00
Jonas Maebe
b3aa2ab759 + new test which should fail but doesn't yet (it should not be possible to
use a char typecasted as a chararray with more than one element as an
    lvalue)

git-svn-id: trunk@12708 -
2009-02-07 22:20:47 +00:00
florian
d6ba5ab341 * another patch for seeking in compressed streams by Danny Milosavljevic, resolves #12830
git-svn-id: trunk@12705 -
2009-02-07 21:31:17 +00:00
florian
0c65d53f45 + added register keyword to Interlocked* definitions as suggested by Jonas, resolves #12255
git-svn-id: trunk@12698 -
2009-02-07 16:09:05 +00:00
Jonas Maebe
ae45a80d46 * allow the usage of symbolic constants to specify the "stored" attribute
of properties (mantis #10492). Not really clean (and Delphi supports
    full expressions, e.g. also "(const1=const2)"), but cannot do better
    without rewriting the complete symlist parsing to use parse trees instead
    of parser tokens as input

git-svn-id: trunk@12696 -
2009-02-06 19:54:29 +00:00
ivost
76694f6ec8 * added new test for interface to tguid or shortstring constants
git-svn-id: trunk@12693 -
2009-02-06 12:08:48 +00:00
ivost
2730c5f705 * made libxml2 headers Lazarus "Codetools" compatible
* prepeared headers for dynamic loading (not enabled right now)

git-svn-id: trunk@12678 -
2009-02-03 20:46:24 +00:00
florian
c127154efa o Haiku patches by Olivier Coursiere
+ add posix thread support
  * improve signal handling
  * synchronize haiku's baseunix unit with the unix one (maybe it will be possible to remove Haiku's one in a future patch, but i keep it for now)
  + add support for standard sockets
  * fix some functions import to use the right libraries under Haiku
  * fix packages compilation

git-svn-id: trunk@12636 -
2009-02-01 10:30:55 +00:00
Jonas Maebe
a730ee7f10 + support for file locking for *nix systems based on flock (mantis #13012)
git-svn-id: trunk@12630 -
2009-01-30 15:08:30 +00:00
florian
c07a60f8e0 + experimental support unit for Phillips/NXP arm microcontroller
git-svn-id: trunk@12597 -
2009-01-25 21:56:23 +00:00
Jonas Maebe
2929624ffc * accept overloaded operators that return any shortstring type when needing
a conversion to a shortstring type (so an operator := that returns a
    string[255] can be used to assign this type to a string[80]) (mantis
    #12109)
  * do not allow overloading := with a string[x<>255] as result type,
    because we want one such overload to satisfy all conversions (see
    previous point)

git-svn-id: trunk@12590 -
2009-01-24 15:12:19 +00:00
Jonas Maebe
9d81148986 * only convert character constants into widechar/widestring when assigned
to a widechar/widestring (compatible with constant string handling,
    mantis #13036)

git-svn-id: trunk@12588 -
2009-01-24 12:45:03 +00:00
ivost
6c7c28c5f2 * fixed name of libxml2, it's called now xml2. This way it follows the rules of the other libs in packages
* tried to fix the samples (still some problems)

git-svn-id: trunk@12587 -
2009-01-24 01:40:17 +00:00
ivost
f62780694e * removed old gd headers (were alread disabled)
git-svn-id: trunk@12586 -
2009-01-24 01:29:28 +00:00
michael
aecbef27b2 * Patch from Sergei Gorelkin:
* Changed the design of input decoders so they process data by chunks
    instead of char-by-char. It is much faster, and allows supporting
    external pluggable decoders.
  + Interface for external decoders.
  * ResolvePredefined() is rewritten so it doesn't call CompareMem five
    times do determine a single char.
  * ParseCharRef renamed to ParseRef, because it parses entity refs as
    well.
  * Added guard conditions to prevent integer overflows in ParseRef.
  * ContextPush(TXMLCharSource) merged into Initialize().

  xmliconv.pas is a new unit, containing an libiconv-based decoder. It depends on existing iconvenc package, and
  thus supports all platforms that are supported by iconvenc.

  xmliconv_windows.pas is the variation that allows to use libiconv functionality on Windows (It would require
  the iconv.dll to be distributed with the application, but since I haven't succeeded yet in writing a native
  Windows decoder, this is better than nothing).

git-svn-id: trunk@12582 -
2009-01-22 21:53:30 +00:00
Jonas Maebe
bfbfa2eb64 * when converting a constant char (not widechar) with ord>=128 to a string,
convert it into a widechar at compile time using the current source file's
    code page (and in case it was to a non-widestring, then convert it at run
    time into the current run time ansi code page) (mantis #12993)

    Previously, the characters were either stuffed into the string without
    conversion (widestring), or passed to the run time "ansi-character to
    stringtype" routine (other string types; which was also wrong, since
    that routine expects the character to be in ansi-encoding, which is
    not necessarily the same as whatever the source file encoding was)

git-svn-id: trunk@12580 -
2009-01-21 18:58:37 +00:00
michael
45033acdda * Adobe Photoshop image file reader from Mattias Gaertner
git-svn-id: trunk@12577 -
2009-01-20 16:30:48 +00:00
ivost
4ab7922296 * added crc64 function
* added crc examples (not finished)
* improved md5 

git-svn-id: trunk@12573 -
2009-01-20 01:20:05 +00:00
ivost
b136b85cb4 * added fpmake.pp for librsvg package
git-svn-id: trunk@12565 -
2009-01-18 17:38:46 +00:00
ivost
aae8d6e15c * added fpmake.pp to proj4 package
git-svn-id: trunk@12564 -
2009-01-18 17:00:24 +00:00
Legolas
8506d8fdf1 * Changes to compiler and rtl to make it compatible with devkitARM r24
* First attempt to implement a sort of generic "gate" for adding different file access methods
* Optimized heap and stack handling

git-svn-id: trunk@12562 -
2009-01-18 16:05:44 +00:00
ivost
41a292c403 * Added headers of PROJ.4 - Cartographic Projections Library (not finished)
git-svn-id: trunk@12560 -
2009-01-18 14:43:29 +00:00
ivost
8af2a9e942 * added header files for librsvg (Free, Open Source SVG Rendering Library)
* librsvg is dependant of gtk2 package

git-svn-id: trunk@12550 -
2009-01-15 22:39:17 +00:00
joost
9abc13aff1 * Lookup should return an empty variant instead of false in case of failure (+test)
git-svn-id: trunk@12538 -
2009-01-11 13:41:46 +00:00
Jonas Maebe
8ad1500438 * disallow passing descendent interfaces to var parameters (mantis #12933)
git-svn-id: trunk@12535 -
2009-01-10 19:47:52 +00:00
yury
ef716bda30 + Added tsp wince api unit by AnarchyMob.
git-svn-id: trunk@12533 -
2009-01-10 13:27:45 +00:00
Jonas Maebe
1a1fc1357d * honour the specified stack size when creating new threads on unix
platforms + test (mantis #12942)

git-svn-id: trunk@12527 -
2009-01-08 18:37:24 +00:00
ivost
33ae673041 * new translation of libgd headers, including windows support. because of some ABI changes, I didn't delete the old gd.pp header file. The new one is called libgd.pas
git-svn-id: trunk@12517 -
2009-01-05 23:44:25 +00:00
joost
d844200495 * On TDataset.Edit exit the method when the state is dsEdit or dsInsert before CheckBrowseMode is called, because CheckBrowseMode will always set the state to dsBrowse. (+test)
git-svn-id: trunk@12515 -
2009-01-05 20:46:14 +00:00
Jonas Maebe
0aac3a7aaa + Makefile for the examples
git-svn-id: trunk@12506 -
2009-01-04 13:26:29 +00:00
Jonas Maebe
7da5ba5b4d + OpenGL ES 1.1 header translation + test library (needs to be linked into
a test program specific to the platform, as there is no glu/glut for
    embedded systems)
  - disabled X11-based packages for darwin/arm

git-svn-id: trunk@12486 -
2009-01-03 14:49:05 +00:00
Jonas Maebe
328db69c24 * version of glutdemo that uses vertex arrays instead of immediate mode
git-svn-id: trunk@12481 -
2009-01-03 14:03:23 +00:00
Károly Balogh
f1b27498c3 + added initial support for the VASM assembler of VBCC fame (http://sun.hasenbraten.de/vbcc/),
because it is faster and more system conform on Amigaish systems (like MorphOS, AmigaOS4 and more) than GNU AS.
  btw, these are the same reasons why FPC/MOS use VLink instead of GNU LD...
+ simple programs compile with it, compiler doesn't work yet. (i'm in touch with VASM maintainer to address some issues)
+ TODO: add a command line switch to turn it on from command line.

git-svn-id: trunk@12479 -
2009-01-02 22:05:05 +00:00
Jonas Maebe
22aacd2a60 * return 0 for length(pchar(0)), like Kylix does (using corrected and
multi-platform version of patch in r12461, which caused the i386 version
    of fpc_pchar_length to return 0 in all cases, which used tabs, and did
    not include a test case)

git-svn-id: trunk@12464 -
2009-01-01 22:02:17 +00:00
joost
e89b30abef * TDateTimeField.SetAsString now sets the field to NULL if an empty string is provided, bug #12875 + testsuite test
git-svn-id: trunk@12455 -
2008-12-29 20:55:02 +00:00
joost
204de0d4cf * Added tests for update-buffers and streaming
git-svn-id: trunk@12448 -
2008-12-28 01:12:38 +00:00
florian
3329a9b895 + ascii85 decoder stream by Danny Milosavljevic, resolves #0012833
+ test case

git-svn-id: trunk@12433 -
2008-12-24 16:16:23 +00:00
michael
de5861c689 * Added GIF reader from Mattias Gaertner
git-svn-id: trunk@12429 -
2008-12-24 12:23:35 +00:00
joost
fc2409d812 * Restructured makefiles for examples
git-svn-id: trunk@12412 -
2008-12-20 22:40:04 +00:00
joost
a31137d822 * Restructured makefiles for examples
git-svn-id: trunk@12411 -
2008-12-20 22:28:26 +00:00
joost
ada2768347 * Restructured makefiles for examples
git-svn-id: trunk@12409 -
2008-12-20 22:12:27 +00:00
joost
00c9b17cec * Restructured makefiles for examples
git-svn-id: trunk@12408 -
2008-12-20 21:56:45 +00:00
joost
3a50161c65 * Restructured makefiles for examples
git-svn-id: trunk@12406 -
2008-12-20 21:36:03 +00:00
joost
a4ca4ae32e * Restructured makefiles for examples
git-svn-id: trunk@12405 -
2008-12-20 21:32:46 +00:00
joost
944da4c640 * Restructured makefiles for examples
git-svn-id: trunk@12404 -
2008-12-20 21:28:22 +00:00
joost
7ea44b56bf * Restructured makefiles for examples
git-svn-id: trunk@12401 -
2008-12-19 16:56:42 +00:00
joost
552ab6d6b5 * Restructured makefiles for examples
git-svn-id: trunk@12399 -
2008-12-19 16:15:41 +00:00
joost
7f5de0b22a * Restructured makefiles for examples
git-svn-id: trunk@12398 -
2008-12-19 16:10:56 +00:00
joost
976bbd4ea0 * Restructured makefiles for examples
git-svn-id: trunk@12397 -
2008-12-19 16:05:55 +00:00
joost
72329830af * Restructured makefiles for examples
git-svn-id: trunk@12396 -
2008-12-19 15:57:57 +00:00
joost
a5d5ce8d44 * Restructured makefiles for examples
git-svn-id: trunk@12392 -
2008-12-19 12:43:54 +00:00
joost
db82964033 * Restructured makefiles for examples
git-svn-id: trunk@12391 -
2008-12-19 12:21:39 +00:00
joost
91aea66e3a * Restructured makefiles for examples
git-svn-id: trunk@12390 -
2008-12-19 12:13:00 +00:00
joost
93cdfaa8a7 * Restructured makefiles for examples
git-svn-id: trunk@12389 -
2008-12-19 11:54:06 +00:00
joost
d4ac89d76d * Restructured makefiles for examples
git-svn-id: trunk@12388 -
2008-12-19 11:45:14 +00:00
joost
1c0d1e1f0c * Added forgotten Makefile from r12386
* Deleted empty tests subdir

git-svn-id: trunk@12387 -
2008-12-19 11:32:59 +00:00
joost
3f8325768d * Restructured makefiles for examples
* Moved examples from tests-subdir to examples-subdir

git-svn-id: trunk@12386 -
2008-12-19 11:31:28 +00:00
joost
2fc798d412 * Restructured makefiles for examples
git-svn-id: trunk@12385 -
2008-12-18 22:04:11 +00:00
joost
df5812546b * Restructured makefiles for examples
git-svn-id: trunk@12384 -
2008-12-18 21:55:27 +00:00
florian
499c523346 * accept only valid guid as iid for com and dispinterfaces, resolves #12030; I'am not sure though if this isn't a feature used by people already
git-svn-id: trunk@12380 -
2008-12-17 22:09:21 +00:00
florian
e213be26fd + write proper rtti for large sets, resolves #12788
git-svn-id: trunk@12371 -
2008-12-16 17:18:16 +00:00
yury
6dd66f09b9 + Added wap wince api unit by AnarchyMob.
git-svn-id: trunk@12370 -
2008-12-16 11:40:45 +00:00
yury
9e19ef3a2c + Added sip and projects wince api units by Vasil Maximov.
git-svn-id: trunk@12369 -
2008-12-16 11:32:48 +00:00
Jonas Maebe
47ba5b19ec * ignore vmtloadaddrnodes created in dead strip removed code
for wpo

git-svn-id: trunk@12364 -
2008-12-14 18:56:02 +00:00
Jonas Maebe
c1bc1cd94d + test that already works (mantis #12151)
git-svn-id: trunk@12358 -
2008-12-12 19:45:07 +00:00
Jonas Maebe
3216e8c7bc * mark produced object files as "does not require executable stack" by
default for Linux (overridable using -WX switch) (mantis #11563)

git-svn-id: trunk@12356 -
2008-12-12 16:26:25 +00:00
Jonas Maebe
060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from
svn+ssh://jonas@svn.freepascal.org/FPC/svn/fpc/branches/wpo

........
r11878 | jonas | 2008-10-11 02:25:18 +0200 (Sat, 11 Oct 2008) | 19 lines

  + initial implementation of whole-program optimisation framework
  + implementation of whole-program devirtualisation
  o use:
     a) generate whole-program optimisation information (no need
        to completely compile the program and all of its units
        with -OW/-FW, only the main program is sufficient)
      fpc -OWdevirtcalls -FWmyprog.wpo myprog
     b) use it to optimise the program
      fpc -B -Owdevirtcalls -Fwmyprog.wpo myprog
     (the -B is not required, but only sources recompiled during
      the second pass will actually be optimised -- if you want,
      you can even rebuild the rtl devirtualised for a particular 
      program; and these options can obviously also be used         
      together with regular optimisation switches)
  o warning:
    - there are no checks yet to ensure that you do not use 
      units optimised for a particular program with another
      program (or with a changed version of the same program)

........
r11881 | jonas | 2008-10-11 19:35:52 +0200 (Sat, 11 Oct 2008) | 13 lines

  * extracted code to detect constructed class/object types from
    tcallnode.gen_vmt_tree into its own method to avoid clutter
  * detect x.classtype.create constructs (with classtype = the
    system.tobject.classtype method), and treat them as if a
    "class of x" has been instantiated rather than a
    "class of tobject". this required storing the instantiated
    classrefs in their own array though, because at such a
    point we don't have a "class of x" tdef available (so
    now "x", and all other defs instantiated via a classref,
    are now stored as tobjectdefs in a separate array)
  + support for devirtualising class methods (including
    constructors)

........
r11882 | jonas | 2008-10-11 20:44:02 +0200 (Sat, 11 Oct 2008) | 7 lines

  + -Owoptvmts whole program optimisation which replaces vmt entries
    with method names of child classes in case the current class'
    method can never be called (e.g., because this class is never
    instantiated). As a result, such methods can then be removed
    by dead code removal/smart linking (not much effect for either
    the compiler, lazarus or a trivial lazarus app though).

........
r11889 | jonas | 2008-10-12 14:29:54 +0200 (Sun, 12 Oct 2008) | 2 lines

  * some comment fixes

........
r11891 | jonas | 2008-10-12 18:49:13 +0200 (Sun, 12 Oct 2008) | 4 lines

  * fixed twpofilereader.getnextnoncommentline() when reusing a previously
    read line
  * fixed skipping of unnecessary wpo feedback file sections

........
r11892 | jonas | 2008-10-12 23:42:43 +0200 (Sun, 12 Oct 2008) | 31 lines

  + symbol liveness wpo information extracted from smartlinked programs
    (-OW/-Owsymbolliveness)
  + use symbol liveness information to improve devirtualisation (don't
    consider classes created in code that has been dead code stripped).
    This requires at least two passes of using wpo (first uses dead code
    info to locate classes that are constructed only in dead code,
    second pass uses this info to potentially further devirtualise).
    I.e.:
     1) generate initial liveness and devirtualisation feedback
       fpc -FWtt.wpo -OWall tt.pp -Xs- -CX -XX
     2) use previously generated feedback, and regenerate new feedback
        based on this (i.e., disregard classes created in dead code)
       fpc -FWtt-1.wpo -OWall -Fwtt.wo -Owall tt.pp -Xs- -CX -XX
     3) use the newly generated feedback (in theory, it is possible
        that even more opportunities pop up afterwards; you can
        continue until the program does not get smaller anymore)
       fpc -Fwtt-1.wpo -Owall tt.pp -CX -XX
  * changed all message() to cgmessage() calls so the set codegenerror
  * changed static fsectionhandlers field to a regular field called
    fwpocomponents
  * changed registration of wpocomponents: no longer happens in the
    initialization section of their unit, but in the InitWpo routine
    (which has been moved from the woinfo to the wpo unit). This way
    you can register different classes based on the target/parameters.
  + added static method to twpocomponentbase for checking whether
    the command line parameters don't conflict with the requested
    optimisations (e.g. generating liveness info requires that
    smartlinking is turned on)
  + added static method to twpocomponentbase to request the
    section name

........
r11893 | jonas | 2008-10-12 23:53:57 +0200 (Sun, 12 Oct 2008) | 3 lines

  * fixed comment error (twpodeadcodeinfo keeps a list of live,
    not dead symbols)

........
r11895 | jonas | 2008-10-13 00:13:59 +0200 (Mon, 13 Oct 2008) | 2 lines

  + documented -OW<x>, -Ow<x>, -FW<x> and -Fw<x> wpo parameters

........
r11899 | jonas | 2008-10-14 22:14:56 +0200 (Tue, 14 Oct 2008) | 2 lines

  * replaced hardcoded string with objdumpsearchstr constant

........
r11900 | jonas | 2008-10-14 22:15:25 +0200 (Tue, 14 Oct 2008) | 2 lines

  * reset wpofeedbackinput and wpofeedbackoutput in wpodone

........
r11901 | jonas | 2008-10-14 22:16:07 +0200 (Tue, 14 Oct 2008) | 2 lines

  * various additional comments and comment fixes

........
r11902 | jonas | 2008-10-15 18:09:42 +0200 (Wed, 15 Oct 2008) | 5 lines

  * store vmt procdefs in the ppu files so we don't have to use a hack to
    regenerate them for whole-program optimisation
  * fixed crash when performing devirtualisation optimisation on programs
    that do not construct any classes/objects with optimisable vmts

........
r11935 | jonas | 2008-10-19 12:24:26 +0200 (Sun, 19 Oct 2008) | 4 lines

  * set the vmt entries of non-class virtual methods of not instantiated
    objects/classes to FPC_ABSTRACTERROR so the code they refer to can
    be thrown away if it is not referred to in any other way either

........
r11938 | jonas | 2008-10-19 20:55:02 +0200 (Sun, 19 Oct 2008) | 7 lines

  * record all classrefdefs/objdefs for which a loadvmtaddrnode is generated,
    and instead of marking all classes that derive from instantiated
    classrefdefs as instantiated, only mark those classes from the above
    collection that derive from instantiated classrefdefs as
    instantiated (since to instantiate a class, you have to load its vmt
    somehow -- this may be broken by using assembler code though)

........
r12212 | jonas | 2008-11-23 12:26:34 +0100 (Sun, 23 Nov 2008) | 3 lines

  * fixed to work with the new vmtentries that are always available and
    removed previously added code to save/load vmtentries to ppu files

........
r12304 | jonas | 2008-12-05 22:23:30 +0100 (Fri, 05 Dec 2008) | 4 lines

  * check whether the correct wpo feedback file is used in the current
    compilation when using units that were compiled using wpo information
    during a previous compilation run

........
r12308 | jonas | 2008-12-06 18:03:39 +0100 (Sat, 06 Dec 2008) | 2 lines

  * abort compilation if an error occurred during wpo initialisation

........
r12309 | jonas | 2008-12-06 18:04:28 +0100 (Sat, 06 Dec 2008) | 3 lines

  * give an error message instead of crashing with an io exception if the
    compiler is unable to create the wpo feedback file specified using -FW

........
r12310 | jonas | 2008-12-06 18:12:43 +0100 (Sat, 06 Dec 2008) | 3 lines

  * don't let the used wpo feedback file influence the interface crc (there's
    a separate check for such changes)

........
r12316 | jonas | 2008-12-08 19:08:25 +0100 (Mon, 08 Dec 2008) | 3 lines

  * document the format of the sections of the wpo feedback file inside the
    feedback file itself

........
r12330 | jonas | 2008-12-10 22:26:47 +0100 (Wed, 10 Dec 2008) | 2 lines

  * use sysutils instead of dos to avoid command line length limits

........
r12331 | jonas | 2008-12-10 22:31:11 +0100 (Wed, 10 Dec 2008) | 3 lines

  + support for testing whole program optimisation tests (multiple
    compilations using successively generated feedback files)

........
r12332 | jonas | 2008-12-10 22:31:40 +0100 (Wed, 10 Dec 2008) | 2 lines

  + whole program optimisation tests

........
r12334 | jonas | 2008-12-10 22:38:07 +0100 (Wed, 10 Dec 2008) | 2 lines

  - removed unused local variable

........
r12339 | jonas | 2008-12-11 18:06:36 +0100 (Thu, 11 Dec 2008) | 2 lines

  + comments for newly added fields to tobjectdef for devirtualisation

........
r12340 | jonas | 2008-12-11 18:10:01 +0100 (Thu, 11 Dec 2008) | 2 lines

  * increase ppu version (was no longer different from trunk due to merging)

........

git-svn-id: trunk@12341 -
2008-12-11 17:40:18 +00:00
michael
8be887e018 * Patch from Graeme Geldenhuys to improve layout of generated report
git-svn-id: trunk@12328 -
2008-12-10 21:17:02 +00:00
marco
cba8503e2b * added skeleton for colorsel I still had lying around, derived from IDE src. Should be possible to expand them based on PD C++ TV code?
git-svn-id: trunk@12305 -
2008-12-06 11:37:56 +00:00
sekelsenmat
557fd1e1c6 Moves gettext test to correct position
git-svn-id: trunk@12291 -
2008-12-02 16:35:29 +00:00
sekelsenmat
15e597682e Fixes gettext crash under Windows CE and adds test case for it.
git-svn-id: trunk@12290 -
2008-12-02 16:01:25 +00:00
Almindor
1446eb9dc2 * separate static and dynamic loadable aspell
git-svn-id: trunk@12241 -
2008-11-27 10:51:20 +00:00
joost
856ee3f7c1 * Removed the dependency on the ini-file, specified DBConnectorName manually
git-svn-id: trunk@12224 -
2008-11-24 10:04:27 +00:00
joost
9f2e076cb3 * Added two fcl-db tests to the general testsuite
git-svn-id: trunk@12216 -
2008-11-23 15:29:13 +00:00
Tomas Hajny
8de51a03cb * avoid platform specific ifdefs in eventlog.pp and allow OS/2 implementation being used again
git-svn-id: trunk@12204 -
2008-11-23 01:52:33 +00:00
Jonas Maebe
3d25478436 * fixed writing memory references on ppc when there is only an offset
(mantis #12685 and also the error message noted in mantis #12576,
     although in case of the latter it's only a symptom of another bug)

git-svn-id: trunk@12199 -
2008-11-22 15:13:16 +00:00
Jonas Maebe
bf7b6fd279 + darwin/arm signal handling support, except for the definition of the
signal context structure as the license of the original file isn't
    100% clear yet

git-svn-id: trunk@12196 -
2008-11-21 22:04:03 +00:00
peter
7842b27fc5 * move dummy implementions to dummy dir and add
it as fallback in the includepath

git-svn-id: trunk@12167 -
2008-11-18 23:16:44 +00:00
peter
a1281fc98d * split packages in multiple procedures to prevent
procedure too complex
  * use separate includes so they can be regenerated
    with simple unix commands that are listed in fpmake.pp

git-svn-id: trunk@12162 -
2008-11-18 19:47:28 +00:00
micha
4594758ae5 + add poll support for unix
git-svn-id: trunk@12128 -
2008-11-16 17:05:47 +00:00
florian
706f8085f4 * convert int64 properly to c-bools, resolves #12614
git-svn-id: trunk@12120 -
2008-11-16 13:27:59 +00:00
florian
17a08efb82 * handle methodpointer function results like records of the same size, resolves #12318
git-svn-id: trunk@12118 -
2008-11-15 23:05:36 +00:00
michael
ea29eb439f * Test for default of property override: default of parent must be preserved
git-svn-id: trunk@12117 -
2008-11-15 22:35:36 +00:00
michael
1718b7ab6d * Added test for bug #12385
git-svn-id: trunk@12092 -
2008-11-14 13:41:52 +00:00
andrew
7b0f17db5e Added ability for chm's to be searchable. A reader for the search index
is partially implemented

git-svn-id: trunk@12077 -
2008-11-14 04:43:19 +00:00
Jonas Maebe
53213844d8 + new test (not yet fixed)
git-svn-id: trunk@12050 -
2008-11-11 20:20:29 +00:00
florian
53ffda14f3 * fixes taking the address of an assembler block defined label
* create short jumps also for asm blocks, thanks to Sergej Gorelkin for the patch, resolves #11638

git-svn-id: trunk@12043 -
2008-11-09 21:14:45 +00:00
florian
49195b0ac0 * fixes assembling of mov ax,<mem16>
* fixes assembling of test <mem8>,reg8; resolves #11786

git-svn-id: trunk@12040 -
2008-11-09 10:24:59 +00:00
Jonas Maebe
1e178d324f * explicitly check whether the methodpointer isn't the same as the result
before optimising function result assignment, because at this point the
    hidden self parameter is not yet inserted (mantis #12597)
  * changed ttypeconvnode.actualtargetnode to use the same logic as what
    is used to determine whether something can be assigned to the result
    of a type conversion (so the above check also works if the methodpointer
    contains a typecast to a different object type)

git-svn-id: trunk@12038 -
2008-11-09 10:19:29 +00:00
Jonas Maebe
dbbd75ca47 * fixed setting EInoutError.ErrorCode (mantis #12575, thanks to
Bart Broersma for the analysis)

git-svn-id: trunk@12037 -
2008-11-09 09:46:47 +00:00
paul
4f8838d731 gtk2: add g_slice_xxx functions from glib 2.10
git-svn-id: trunk@12033 -
2008-11-08 10:10:24 +00:00
Jonas Maebe
e5920bc2b8 * delay verbosity changes just like localswitches changes
* store a node's verbosity in the node so that e.g. disabling warnings
    also disables warnings for this node in pass_1
   (the above together fix mantis #12076)
  * save/restore verbosity with {$push}/{$pop} (mantis #12075)
  * if warnings/notes/hints are turned off, also do not count encountered
    ones for the totals (otherwise -Sew cannot be used properly in
    combination with {$warnings off}, because disabled warnings will still
    trigger a compiler error) -- this required adding -vw/-vn/-vh to all
    tests using -Sew/-Sen/-Seh
  - removed some superfluous state saving/restoring from firstpass()

git-svn-id: trunk@12025 -
2008-11-03 21:18:27 +00:00
Jonas Maebe
7626a91592 * disabled last safecall code for non-windows (mantis #12237)
git-svn-id: trunk@12021 -
2008-11-02 15:13:20 +00:00
Jonas Maebe
7f8e9b8d35 * fixed node complexity calculation for certain inlinenodes
(mantis 12404)

git-svn-id: trunk@12020 -
2008-11-02 14:50:17 +00:00
Jonas Maebe
7c919b3c74 + test to make sure any future fix of mantis #12508 takes this special
case into account

git-svn-id: trunk@12019 -
2008-11-02 14:23:55 +00:00
florian
937067e367 + check if forward definitions and real definitions have the same type, resolves #11970
git-svn-id: trunk@12017 -
2008-11-02 12:36:31 +00:00
florian
db7a66f3af + fixed zlib for windows, resolves #12451
+ test

git-svn-id: trunk@12013 -
2008-11-02 09:23:34 +00:00
michael
f3dccf9e7d * Added expression parser
git-svn-id: trunk@12010 -
2008-11-01 22:15:23 +00:00
Jonas Maebe
a23630260b + "weakexternal" support for imported procedures and variables.
the syntax is exactly the same as for "external", except for
    the keyword. It is currently only active for Darwin targets.
    It should also work at least for Linux targets, but only with
    the GNU assembler (which is why it is not activated there)
  + test for this functionality

git-svn-id: trunk@12009 -
2008-11-01 18:38:32 +00:00
peter
1ebbe74bb2 * new bug
git-svn-id: trunk@11993 -
2008-10-29 09:59:42 +00:00
michael
021e1fff73 * Added TIFF reader/Writer from Mattias gaertner
git-svn-id: trunk@11990 -
2008-10-28 15:40:47 +00:00
Károly Balogh
df8fa326cd + initial version of Amiga sysmsgs support
git-svn-id: trunk@11980 -
2008-10-26 23:47:41 +00:00
marco
617505c4ea * added test for bug #11711, to help fix regression for 12385
git-svn-id: trunk@11974 -
2008-10-26 13:49:03 +00:00
peter
c8bebd2c7d * use eventlog.inc for Unix,Win32,Win64. other targets use felog.inc
git-svn-id: trunk@11959 -
2008-10-23 20:41:35 +00:00
marco
1295c499c9 * More fpmake fixes. Exampledirs and includefiles mostly fixed for these.
gdbint moves two examples from src to exampledir + makefile fix.

git-svn-id: trunk@11949 -
2008-10-22 22:08:05 +00:00
florian
2c5ce2fe12 + support for TEST_ABI in the testsuite
+ arm-linux-eabi object files

git-svn-id: trunk@11918 -
2008-10-18 14:45:03 +00:00
peter
7b188a6a0e * reset version to latest release: 2.2.2-0
git-svn-id: trunk@11907 -
2008-10-17 18:36:45 +00:00
yury
8850d715af + ras and raserror wince api units by Vasil Maximov.
git-svn-id: trunk@11906 -
2008-10-17 10:45:52 +00:00
yury
14b5b6b9f2 + New wince api units and some fixes to existing api units by Vasil Maximov.
git-svn-id: trunk@11904 -
2008-10-16 11:43:01 +00:00
florian
cb9e52826f * fix range check error in options handling, resolves #12365
+ better error output (print filename and line number) for config file directive errors

git-svn-id: trunk@11898 -
2008-10-14 17:06:55 +00:00
Jonas Maebe
64ddae4eff + -vq parameter to show message numbers
+ -vm<x>,<y> parameter to mask messages <x> and <y>
   (both based on a patch submitted by Petr Kristan)
  * alphabetically ordered -v<x> option processing code so it's easier
    to see which characters are still free (not many anymore)
  + some tests for the -vm functionality

git-svn-id: trunk@11888 -
2008-10-12 12:19:41 +00:00
marco
a091b51e31 * Initial CHM support for textmode IDE.
git-svn-id: trunk@11885 -
2008-10-12 10:22:47 +00:00
Jonas Maebe
79850c5027 * don't crash when someone uses an integer value to declare a wide/unicode
string (mantis #12329)

git-svn-id: trunk@11875 -
2008-10-10 15:01:56 +00:00
michael
ff2372080e * Initial check-in
git-svn-id: trunk@11865 -
2008-10-05 14:37:01 +00:00
Vincent Snijders
f386573a94 + expected output for meteor benchmark
git-svn-id: trunk@11859 -
2008-10-03 08:46:14 +00:00
Jonas Maebe
9d4c96b100 + darwin/arm versions
git-svn-id: trunk@11851 -
2008-10-02 19:47:36 +00:00
joost
cf4f01c6f9 * Extracted TXMLDatapacketReader into a seperate unit.
git-svn-id: trunk@11839 -
2008-09-28 20:52:10 +00:00
florian
57f3e2f40a * forbid access to properties in class methods
* readability fix

git-svn-id: trunk@11838 -
2008-09-28 20:16:13 +00:00
florian
8c9baed5cb * force static; being repeated in the procedure body, this avoids trouble as in #12242
+ add static when using fullprocname

git-svn-id: trunk@11835 -
2008-09-28 18:45:37 +00:00
florian
50012c2357 * fix by Inoussa OUEDRAOGO to improve UnicodeString property handling, resolves #12224
git-svn-id: trunk@11832 -
2008-09-27 13:25:11 +00:00
florian
f64dbd70cf * make unicodechar equivalent to widechar, resolves #12233
git-svn-id: trunk@11830 -
2008-09-27 12:40:42 +00:00
Jonas Maebe
edb86ee95f + test for mantis #12202
git-svn-id: trunk@11824 -
2008-09-26 13:32:40 +00:00
florian
558cf3ef87 * reset FPU properly after an exception, resolves #12214
git-svn-id: trunk@11820 -
2008-09-25 19:15:54 +00:00
Vincent Snijders
70bbdb52ee * add real mandelbrot test output for n=200
git-svn-id: trunk@11815 -
2008-09-21 20:48:44 +00:00
Vincent Snijders
37164fa182 + mandelbrot test output for n=200
git-svn-id: trunk@11814 -
2008-09-21 19:47:35 +00:00