Commit Graph

1816 Commits

Author SHA1 Message Date
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
florian
69159eb9f3 + support for & and % in char constants, resolves #12186
git-svn-id: trunk@11809 -
2008-09-20 19:51:29 +00:00
marco
2300b7a484 * csu leftovers
git-svn-id: trunk@11802 -
2008-09-18 14:29:36 +00:00
florian
3294c59a73 * renamed optunrol into optloop
git-svn-id: trunk@11798 -
2008-09-17 20:21:19 +00:00
tom_at_work
fbbbf33be1 * removed superfluous masking of rotation count for rol/ror inlines
git-svn-id: trunk@11789 -
2008-09-15 19:37:47 +00:00
florian
cd6b57c733 * fixed constant char to unicodestring conversion
git-svn-id: trunk@11779 -
2008-09-14 17:19:20 +00:00
marco
e921804cec * files for amd64-freebsd
git-svn-id: trunk@11775 -
2008-09-14 14:19:56 +00:00
Jonas Maebe
f9b4d58e98 * set finalized dynarrays to nil (mantis #12048)
git-svn-id: trunk@11773 -
2008-09-13 20:01:47 +00:00
florian
7f32e48fe1 + non working dummies, makes make happy though
git-svn-id: trunk@11765 -
2008-09-13 14:54:08 +00:00
florian
fa9858cec2 + FreeBSD lazarus project
git-svn-id: trunk@11756 -
2008-09-13 08:58:54 +00:00
michael
af63b5466b * Bugfixes from Attila Borka:
- Bug fix in the template parser. Bug0012095
  - Fixed: CGI applications did not create and populate contentfields (caused AV if someone 
    tried to access it) for the http request, both the query and content parameters were put 
    into the queryfields list
  - Bug0012094 fix: CGI applications AllowDefaultModule=true did not work for Delphi style calls (it is ok 
    for querystring parameter passed module names)
  - fptemplate.pp->TTemplateParser: Added support for template tag parameters. 

git-svn-id: trunk@11747 -
2008-09-11 18:47:41 +00:00
florian
a8804cf2a6 * unified some win32/win64 code
git-svn-id: trunk@11745 -
2008-09-10 21:25:59 +00:00
florian
b178b08ba7 Merged revisions 11665-11738 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/unicodestring

........
  r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * continued to work on unicodestring type support
........
  r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
  r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * more unicodestring stuff fixed, test results on win32 are already good
........
  r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * first fixes for unix bootstrapping
........
  r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
  
      * fixed 64bit bug in iconvenc.pas
........
  r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
  
  * fixed several errors when building on unix
........
  r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * fixed unix compilation
........
  r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * bootstrapping fix
........
  r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * more bootstrapping fixed
........
  r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
  
  + two missing compiler procs exported
........
  r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + lazarus project for the linux rtl
........
  r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + set unicode string procedures
........
  r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  * fixed several type casting stuff
........
  r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
  
  * fixed unicodestring compilation on windows after recent unix changes
........
  r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
  
  + UnicodeString support for Variants
........
  r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
  
  * patch by Martin Schreiber for UnicodeString streaming
........
  r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
  
  * fixed test
........
  r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
  
  * fixed typo when converting tunicodestring to punicodechar
........
  r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
  
  * fixed writing of UnicodeString properties
  * moved some helper routines to unicode headers
........
  r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
  
  * fixed bootstrapping
........
  r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
  
  * first fixes for persisten unicodestrings
........
  r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-11663" from 
  http://svn.freepascal.org/svn/fpc/trunk
........
  r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  * fixed unicodestring <-> variant handling
  * fixed unicodestring property reading
........

git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
Jonas Maebe
65f5557fc4 + test for mantis #12051 (already works correctly in 2.3.1)
git-svn-id: trunk@11704 -
2008-09-04 18:48:25 +00:00
Jonas Maebe
2b067a427d * give warning if a routine in the interface of a non-interface-only
macpas routine is not implemented and therefore considered to be
    external

git-svn-id: trunk@11703 -
2008-09-04 18:15:26 +00:00
peter
e90ce867d9 * fphashlist, update hashcapacity also if capacity is changed
git-svn-id: trunk@11699 -
2008-09-03 21:04:53 +00:00
peter
060bdbcb47 * fix writing of goto node to ppu
* replace derefnode with resolveppuidx method that only needs to be
    implemented for nodes referencing other nodes
  * fix IE when a label is not defined in inline function

git-svn-id: trunk@11697 -
2008-09-03 20:46:04 +00:00
Jonas Maebe
65f217ed02 * only set dynarray pointer to nil in decref in case the last reference
has been destroyed (mantis #12000)

git-svn-id: trunk@11672 -
2008-08-31 10:07:53 +00:00
yury
a01db888c2 * Patch by Carolos Foscolos. PCEOID, CREATE_INVALIDGUID and cleaned up file also included windbase_edb.inc which is now called by windbase.
git-svn-id: trunk@11656 -
2008-08-26 08:02:20 +00:00
ivost
01dc3a0e12 * xmlxsd helper unit
* removed csrc from libxml directory

git-svn-id: trunk@11654 -
2008-08-25 21:14:23 +00:00
michael
f083839a76 * Initial implementation
git-svn-id: trunk@11649 -
2008-08-25 13:47:06 +00:00
michael
c5007f1cad * Created lazarus project file for easier editing
git-svn-id: trunk@11648 -
2008-08-25 09:52:14 +00:00
michael
ca43ca9c5d * Created lazarus project file for easier editing
git-svn-id: trunk@11647 -
2008-08-25 09:50:29 +00:00
florian
e89ee84c53 * ignore $region/$endregion directives, resolves #11937
git-svn-id: trunk@11643 -
2008-08-23 18:42:14 +00:00
ivost
510e22e898 * new libxml2 samples
git-svn-id: trunk@11634 -
2008-08-22 22:06:19 +00:00
ivost
52666b1dc0 * new libxml2 sample
git-svn-id: trunk@11633 -
2008-08-22 21:15:51 +00:00
ivost
29295df972 * add new libxml sample
git-svn-id: trunk@11631 -
2008-08-22 20:10:53 +00:00
florian
1c0bd054f4 + tfornode.simply which removes for loops being never executed
* handle function results correctly in life dfa
* handle for loops with at least one iteration better in life dfa
o resolves #8151

git-svn-id: trunk@11624 -
2008-08-21 21:38:50 +00:00
michael
738428b082 * Patch from Paul Ishenin, adding gtk 2.6 symbols
git-svn-id: trunk@11618 -
2008-08-21 07:37:56 +00:00
michael
996f298ee7 * Patch from Paul Ishenin:
- added goption.inc with apropriate glib symbols
  - added gincludes.inc which contains all other include files (similar to
    gtk/gdk bindings and simlify inclusion into glib2.pas)
  - checked/corrected all the .inc files and make them follow to template used in gtk/gdk (4 sections:
    read_forward_definitions, read_interface_types, read_interface_rest, read_implementation)
  - removed from most of .inc files unneeded comments that has been taken from original glib .h files. Some of
    them were used by glib devels and others repeats official documentation.

git-svn-id: trunk@11617 -
2008-08-21 07:34:06 +00:00
florian
369ed493f2 * new node flag nf_modify to mark nodes being read and then written by one load node
* dfa takes care of nf_modify to create better life information
o resolves #11846 and #11849

git-svn-id: trunk@11615 -
2008-08-20 21:35:05 +00:00
Jonas Maebe
5feba9b3d7 * also free memory when a destructor is called without an explicit
instance reference (mantis 11896)
  * fixed double destructor call in tests/test/cg/tcalcla1.pp which
    caused an error after this change

git-svn-id: trunk@11599 -
2008-08-17 12:38:41 +00:00
Jonas Maebe
76ce35b905 * method definitions in "child" interfaces also hide those in "parent"
interfaces, even if they only differ in resulttype (mantis #11862)
  * fixing this required that multiple entries for the same method in a
    interface vmt are all written out (change in
    ImplementedInterface.AddImplProc)

git-svn-id: trunk@11595 -
2008-08-16 20:08:25 +00:00
Jonas Maebe
6d0326a55b * don't call procvars passed to formal parameters (mantis #11861)
git-svn-id: trunk@11592 -
2008-08-16 14:40:51 +00:00
michael
7b32574345 * Patch from Paul Ishenin to add GTK 2.4 symbols
git-svn-id: trunk@11587 -
2008-08-16 09:19:38 +00:00
Jonas Maebe
6697f173b6 * the fact that a procedure is local does not mean that it by definition
does not need a GOT pointer (mantis #11852)

git-svn-id: trunk@11586 -
2008-08-16 08:12:23 +00:00
florian
43f3b72139 * continued to play with avr
git-svn-id: trunk@11584 -
2008-08-15 13:52:54 +00:00
yury
8818df640f * Fixed passing of open array of wide string literals to function which expects 'array of pwidechar' parameter in case source file has utf8 encoding. Compiler thrown the following error in such case: Incompatible type for arg no. 1: Got "Array Of Const/Constant Open Array of WideString", expected "Open Array Of PWideChar".
+ Test for this issue.

git-svn-id: trunk@11581 -
2008-08-14 18:55:10 +00:00
michael
c9892be230 * Patch from Paul Ishenin: - added pango_renderer_xxx and pango_matrix_xxx symbols from pango 1.6 version
git-svn-id: trunk@11563 -
2008-08-13 15:24:28 +00:00
florian
10d03c7f4e + lazarus project for avr
git-svn-id: trunk@11561 -
2008-08-13 15:17:52 +00:00
michael
cace261b6b * Patch from Paul Ishenin
- adds missing gdk 2.4 symbols

git-svn-id: trunk@11560 -
2008-08-13 15:17:35 +00:00
michael
969238e08d * Patch from Paul Ishenin:
- adds missing gdk 2.2 symbols
  - added missing types: GdkDisplayManager, GdkDisplayPointerHooks

git-svn-id: trunk@11554 -
2008-08-12 13:03:21 +00:00
florian
8cc0a04db5 * handle exit(<expr>) correctly in the dfa, resolves #11848
git-svn-id: trunk@11547 -
2008-08-11 19:01:07 +00:00
michael
c2dc42bb89 * test for Data dictionary diff mechanism
git-svn-id: trunk@11545 -
2008-08-11 10:18:48 +00:00
michael
2f284f40b5 * Data dictionary diff mechanism
git-svn-id: trunk@11544 -
2008-08-11 10:17:00 +00:00
ivost
62d71b77b5 * removed deprecated include file
git-svn-id: trunk@11536 -
2008-08-07 16:38:24 +00:00
ivost
fd2b09c12c * included libxml2 examples into build tree
git-svn-id: trunk@11533 -
2008-08-07 12:11:32 +00:00
ivost
a780fdffbc * renamed .h to .inc
* prepeared for dynamic linking support

git-svn-id: trunk@11530 -
2008-08-07 11:43:38 +00:00
ivost
c5333b5be3 * updated file properties
git-svn-id: trunk@11524 -
2008-08-07 08:37:14 +00:00
Almindor
e64aec7c6e * add GtkScaleButton and GtkVolumeButton
* add missing gtk2.8+ functions for GtkTextMark and GtkTextIter

git-svn-id: trunk@11506 -
2008-08-03 14:48:09 +00:00
florian
d2214685c3 * fixes compiler crash with out of memory on illegal array declarations
git-svn-id: trunk@11505 -
2008-08-03 10:34:41 +00:00
florian
e0ff540918 + defined FPC_FULLVERSION as integer constant containing the version,
release and patch level are always two digits so the version can 
  be compared numerically: so 2.2.2 results in 20202, resolves #11568

git-svn-id: trunk@11504 -
2008-08-03 09:31:50 +00:00
micha
2ab60da6d5 * add test case for #11777
git-svn-id: trunk@11500 -
2008-08-01 18:43:55 +00:00
florian
a34529f50f * passing by value of variants with stdcall conventions, resolves #10042
git-svn-id: trunk@11498 -
2008-08-01 18:03:41 +00:00
florian
1fa70f7a0a * proper support for tobject.getinterface with raw/corba interfaces, resolves #6798 and #6036
git-svn-id: trunk@11497 -
2008-08-01 15:27:58 +00:00
florian
daedb7d82e * properties properly set
git-svn-id: trunk@11475 -
2008-07-28 15:56:23 +00:00
florian
66e015f48c * avoid shifter constant overflow on arm when optimizing two shifter operations into one
git-svn-id: trunk@11474 -
2008-07-28 15:51:58 +00:00
florian
076df335e8 + benchmark to test md5 improvement by internal rol
git-svn-id: trunk@11471 -
2008-07-28 12:47:24 +00:00
Jonas Maebe
2f2d4714d0 + test to make sure that {$x-} works properly for inlined functions
git-svn-id: trunk@11467 -
2008-07-27 19:15:56 +00:00
florian
1afb1aa9cc + ror/rol functions
+ internal compiler support for ror/rol on i386

git-svn-id: trunk@11466 -
2008-07-27 17:12:32 +00:00
florian
0a26b6a129 + lazarus project to build win32 rtl
git-svn-id: trunk@11464 -
2008-07-27 09:21:03 +00:00
Jonas Maebe
b367162fcb + added test
git-svn-id: trunk@11463 -
2008-07-27 09:17:54 +00:00
Almindor
87fa11fbd2 * add initial gtk2ext unit for optional gtk2.8+ stuff
git-svn-id: trunk@11436 -
2008-07-23 08:43:54 +00:00
giulio
157b00a44a IDE: Cleaned ifdefs related to Turbo Pascal and FPC 1.x
git-svn-id: trunk@11423 -
2008-07-20 21:37:48 +00:00
marco
97cf173578 * Removed the bootstrapping related charset.pas, and merged one minor fix from it to the rtl one.
git-svn-id: trunk@11416 -
2008-07-20 12:10:31 +00:00
marco
0ea254295f * iconvenc packages, first version. Tested on Linux/x86 and FreeBSD/x86
git-svn-id: trunk@11407 -
2008-07-19 10:58:53 +00:00
peter
4e278bccb1 * more generic tests
git-svn-id: trunk@11405 -
2008-07-18 23:31:02 +00:00
tom_at_work
f11cf59854 * tests for checking type casts from integers/enums to TObjects in Delphi and non-Delphi mode (see r11398)
git-svn-id: trunk@11400 -
2008-07-18 15:53:37 +00:00
florian
70e7932fe4 + rescued old QNX RTL code
git-svn-id: trunk@11397 -
2008-07-18 13:24:50 +00:00
florian
050627ea1d * allow goto inside finally blocks
git-svn-id: trunk@11392 -
2008-07-17 19:49:38 +00:00
michael
b3d983ce07 * Initial testsuite from Sergei Gorelkin
* testgen.pp - an utility to convert w3.org tests from XML format
      into fpcunit-compatible Pascal source. The official testsuite uses
      xslt for conversion, but, since there is no xslt for Pascal, and no
      xslt support in FCL yet, I wrote an utility.
    * api.xml    - API 'database', needed by testgen.
    * domunit.pp - an fpcunit extension, provides DOM-specific runtime
      support.
    * README_DOM - provides some instructions about putting it all together.

git-svn-id: trunk@11390 -
2008-07-17 14:57:31 +00:00
florian
9e88af9a78 * support ABSOLUTE32 in the COFF writer on x86-64, resolves #10641
git-svn-id: trunk@11376 -
2008-07-13 09:10:50 +00:00
michael
cc0c2d6467 * SqlScript committed
git-svn-id: trunk@11366 -
2008-07-11 14:16:39 +00:00
michael
c33657c0e0 * Improvements to tiopf code generator, and build project for use with lazarus
git-svn-id: trunk@11354 -
2008-07-10 09:08:40 +00:00
florian
fffc05731c * don't crash when ranges are passed erroneously to an array of const, resolves #11632
git-svn-id: trunk@11353 -
2008-07-09 21:06:24 +00:00
michael
f4c51462ad * Code generator for populating a data dictionary in code
git-svn-id: trunk@11352 -
2008-07-09 13:50:12 +00:00
florian
38a6d955e3 * moved to proper location
git-svn-id: trunk@11344 -
2008-07-07 18:41:44 +00:00
florian
f5d9a9d1b7 * empty tprocess command line results on windows now in the same exception as on unix
* some code unified

git-svn-id: trunk@11343 -
2008-07-07 18:41:10 +00:00
florian
ed9c7ceaea * support deprecated for types
git-svn-id: trunk@11341 -
2008-07-07 17:59:48 +00:00
Jonas Maebe
30a51c2dee + support for the different rounding modes in the generic rounding
routines (mantis #11392)

git-svn-id: trunk@11290 -
2008-06-27 17:20:56 +00:00
Jonas Maebe
4d4b7ddbf6 * renamed for consistency
git-svn-id: trunk@11289 -
2008-06-27 14:30:02 +00:00
florian
67e811db60 * handle booleans correctly in Typinfo.GetEnum*, resolves #11372
git-svn-id: trunk@11284 -
2008-06-26 20:01:31 +00:00
giulio
cc08543f57 Patch from Petr Kristan for AnsiStrComp/AnsiStrIComp to fix comparison
when both strings are empty and differ after the null character + test.

git-svn-id: trunk@11277 -
2008-06-25 07:07:54 +00:00
joost
38b265f60f * Add ability to test TSdfDataset
git-svn-id: trunk@11275 -
2008-06-24 21:50:16 +00:00
florian
fca8883f27 * moved oo_copied into defoptions
* record symtables are now handled properly as well if a record is copied, resolves #9144
* fixed a memory leak when copying classes
* increased PPU version to 91

git-svn-id: trunk@11273 -
2008-06-24 20:23:45 +00:00
florian
467aeb3446 * avoid ie 99080501 when overloading procedures with open arrays of widechar, resolves #11543
git-svn-id: trunk@11266 -
2008-06-23 18:50:51 +00:00
Jonas Maebe
a60a957420 * fixed setting bitpacked record fields straddling their natural boundaries
to 0 or field_type(-1) (bug noted by Russell Davies on fpc-devel + his
    test programs)
  * fixed bit offset calculations for nested bitpacked record regvars

git-svn-id: trunk@11242 -
2008-06-18 16:31:39 +00:00
florian
dc92aceef7 * more naming duplicate unit names solved, reason is that COMPILER_UNITTARGETDIR used with make all requires this (all units end in one directory)
git-svn-id: trunk@11221 -
2008-06-12 21:51:35 +00:00
florian
e01e1c9476 * renamed lexlib and yacclib units to avoid name clashes with that ones from tply
git-svn-id: trunk@11220 -
2008-06-12 21:40:10 +00:00
florian
58757d0630 * support of dq in Intel assembler on 64 bit CPUs, resolves #11425
git-svn-id: trunk@11211 -
2008-06-07 15:08:48 +00:00
yury
0dbc1960bc + Added more wince api interface units by Vasil Maximov.
git-svn-id: trunk@11204 -
2008-06-05 08:39:00 +00:00
yury
fc55afcac9 + Added many new wince api interface units by Vasil Maximov.
git-svn-id: trunk@11192 -
2008-06-04 14:58:20 +00:00
florian
839e391467 + rescued some old PalmOS stuff
git-svn-id: trunk@11190 -
2008-06-04 14:08:48 +00:00
giulio
811331d8af Properties set for install.dat
git-svn-id: trunk@11183 -
2008-06-03 15:51:07 +00:00
marco
6a993fc079 * added files from linux to attempt having part of the startup in pascal
git-svn-id: trunk@11158 -
2008-06-01 13:55:37 +00:00
Jonas Maebe
0d82ff82ba * forgot to remove a renamed file
git-svn-id: trunk@11156 -
2008-06-01 12:15:44 +00:00
Jonas Maebe
b6a8e4343d * fixed tbinaryobjectwrite.writeset/readset on big endian systems
(and made it future proof in case the set format should change
     again, as long as the size of all streamed sets is guaranteed
     to be 4 bytes and if their packset setting is guaranteed to
     be 0).

git-svn-id: trunk@11149 -
2008-05-31 22:10:53 +00:00
marco
1d9b04bda9 * added somes comments to cprt0.as
script to patch cprt0.as to current .note abi id. (run on target!)

git-svn-id: trunk@11143 -
2008-05-31 18:09:55 +00:00
micha
b3548b4673 * fix TFPGMap key compare (fixes issue #11354)
git-svn-id: trunk@11138 -
2008-05-31 13:12:39 +00:00
Jonas Maebe
25ad8f8078 * Merged r211-r234 of the common interfaces, with one change: the ObjC
unit has been renamed ObjCRuntime, to avoid a name clash with the
    the other Objective-C translation, and this unit is also not included
    in the MacOSAll unit
  * warning: the FPCMacOSAll unit is now called MacOSAll, to avoid requiring
    ifdefs when keeping a program compilable between e.g. GPC and FPC

...
r211 | gale | 2008-03-19 07:41:36 +0100 (Wed, 19 Mar 2008) | 6 lines
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/CGLTypes.pas
   A /metaPascal/trunc/MPPInterfaces/CVBase.pas
   A /metaPascal/trunc/MPPInterfaces/CVBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVDisplayLink.pas
   A /metaPascal/trunc/MPPInterfaces/CVHostTime.pas
   A /metaPascal/trunc/MPPInterfaces/CVImageBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelBuffer.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelBufferPool.pas
   A /metaPascal/trunc/MPPInterfaces/CVPixelFormatDescription.pas
   A /metaPascal/trunc/MPPInterfaces/CVReturns.pas

Initial translations of CGLTypes.h, CVBase.h, CVBuffer.h, CVDisplayLink.h,
CVHostTime.h, CVImageBuffer.h, CVPixelBuffer.h, CVPixelBufferPool.h,
CVPixelFormatDescription.h, and CVReturn.h from MacOSX10.4u.sdk.  To avoid a GPC
identifier redeclaration problem, Pascal unit and file name corresponding to 
CVReturn.h uses a "s" suffix.

...
r212 | gale | 2008-03-19 09:55:13 +0100 (Wed, 19 Mar 2008) | 4 lines
Changed paths:
   D /metaPascal/trunc/MPPInterfaces/CGDisplayFade.pas
   A /metaPascal/trunc/MPPInterfaces/CGDisplayFades.pas (from /metaPascal/trunc/MPPInterfaces/CGDisplayFade.pas:210)
   M /metaPascal/trunc/MPPInterfaces/CoreGraphics.pas

Renamed CGDisplayFade unit to CGDisplayFades to fix a GPC gpc-20070904
redeclaration issue involving the function CGDisplayFade.  Also, updated the
CoreGraphics framework unit's uses clause to reflect the name change.

...
r213 | adriaan | 2008-03-25 09:37:06 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/fp.pas

Fix precision of pi
...
r214 | adriaan | 2008-03-25 09:50:48 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Menus.pas

Fix byte parameter of GetMenuItemModifiers, SetMenuItemModifiers, GetMenuItemIconHandle and SetMenuItemIconHandle
...
r215 | adriaan | 2008-03-25 12:19:33 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Use FourCharCode casts for FPC instead of hex numbers.
...
r216 | peter | 2008-03-25 14:20:20 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Makefile
   M /metaPascal/trunc/Scripts/GenerateFile.pl
   M /metaPascal/trunc/Scripts/GenerateMakefile.pl
   M /metaPascal/trunc/Scripts/make-common-interfaces.pl

XXXMacOSAll -> MacOSAll
...
r217 | adriaan | 2008-03-25 17:52:07 +0100 (Tue, 25 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/CFByteOrders.pas

Fix the result type of CFConvertFloat64SwappedToHost and friends for GPC and MW
...
r218 | gale | 2008-03-26 04:15:58 +0100 (Wed, 26 Mar 2008) | 2 lines
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Increment the GAP version number for tbe upcoming release.

...
r219 | adriaan | 2008-03-26 11:41:37 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Events.pas

Change KeyMap to packed array of boolean for FPC. Solve GetKeys endian issue on PowerPC for FPC and GPC.
...
r220 | adriaan | 2008-03-26 12:19:19 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/fp.pas

Add pi=system.pi to fp.p for FPC
...
r221 | adriaan | 2008-03-26 12:41:27 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Menus.pas

Fix GetItemMark and GetItemCmd for FPC and GPC
...
r222 | adriaan | 2008-03-26 16:42:53 +0100 (Wed, 26 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateMakefile.pl

Add support for: make GPC_COMPILER=xxx FPC_COMPILER=yyy compile
...
r223 | adriaan | 2008-03-30 17:25:57 +0200 (Sun, 30 Mar 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Implement 'const var' for GPCt
...
r224 | adriaan | 2008-04-23 18:26:04 +0200 (Wed, 23 Apr 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/AIFF.pas

Rename ID in AIFF.pas to ChunkID
...
r225 | adriaan | 2008-04-23 18:34:38 +0200 (Wed, 23 Apr 2008) | 1 line
Changed paths:
   A /metaPascal/trunc/MPPInterfaces/ObjC.pas

Add Objective-C Runtime ObjC.pas
...
r226 | adriaan | 2008-05-04 07:19:30 +0200 (Sun, 04 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/Files.pas
   M /metaPascal/trunc/MPPInterfaces/Folders.pas

Introduce DirIDType = SInt32
...
r227 | adriaan | 2008-05-04 11:51:08 +0200 (Sun, 04 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/CFByteOrders.pas
   M /metaPascal/trunc/MPPInterfaces/Events.pas
   M /metaPascal/trunc/MPPInterfaces/Menus.pas
   M /metaPascal/trunc/MPPInterfaces/ToolUtils.pas

Fix MW warnings for units with an implementation part
...
r228 | adriaan | 2008-05-05 09:13:10 +0200 (Mon, 05 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/FPCStrings.pas

Fix compile error in FPCStrings.pas
...
r229 | adriaan | 2008-05-05 09:34:13 +0200 (Mon, 05 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateMacOS.pl

Add GPCStrings.pas (aka FPCStrings.pas) to MacOS.pas
...
r230 | adriaan | 2008-05-06 12:30:18 +0200 (Tue, 06 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Set GAP release version to 210 instead of 201
...
r232 | adriaan | 2008-05-07 09:09:30 +0200 (Wed, 07 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/Scripts/GenerateFile.pl

Fix GPC implemented procedures, functions and constants
...
r233 | adriaan | 2008-05-09 07:55:17 +0200 (Fri, 09 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/ObjC.pas

Add attribute(ignorable) to objc_msgSend(Super)
...
r234 | adriaan | 2008-05-16 21:09:52 +0200 (Fri, 16 May 2008) | 1 line
Changed paths:
   M /metaPascal/trunc/MPPInterfaces/ObjC.pas

Remove FPC implemented functions that reference the ObjC runtime
...

git-svn-id: trunk@11137 -
2008-05-31 12:36:41 +00:00
michael
5d2e9d4d4c Slovak translation from Dusan Halicky
git-svn-id: trunk@11113 -
2008-05-28 20:17:02 +00:00
Tomas Hajny
31da5363ed + Makefile for os2units/examples added
git-svn-id: trunk@11101 -
2008-05-27 21:37:59 +00:00
Tomas Hajny
74e0e90a45 * move clktest to examples
git-svn-id: trunk@11100 -
2008-05-27 21:35:28 +00:00
michael
c902915f9e * Adding it here till a solution for fpcunit-based tests exists
git-svn-id: trunk@11087 -
2008-05-26 18:31:36 +00:00
Jonas Maebe
0a79badb4e + added missing makefiles
git-svn-id: trunk@11072 -
2008-05-24 09:05:59 +00:00
Jonas Maebe
e60e078eb5 * only allow decimalseparator to be used as decimal separator in
texttofloat() and friends, rather than both '.' and decimalseparator
    (mantis #9126)

git-svn-id: trunk@11069 -
2008-05-24 08:49:34 +00:00
florian
216e468cd9 + test for #10045
git-svn-id: trunk@11065 -
2008-05-23 21:23:10 +00:00
Jonas Maebe
e4124cd070 + added test
git-svn-id: trunk@11061 -
2008-05-23 18:12:02 +00:00
florian
67ef9f20ae * test for previous commit
* fixed wrapper generation for bigger offsets as well

git-svn-id: trunk@11059 -
2008-05-23 16:16:34 +00:00
florian
33b69b0bd2 * fixed wrong naming
git-svn-id: trunk@11034 -
2008-05-22 11:08:14 +00:00
Jonas Maebe
63abaeecea + test for already fixed mantis #11309
git-svn-id: trunk@11026 -
2008-05-21 17:06:41 +00:00
Jonas Maebe
ecf4aa7f55 * use rounding correction in str_real based on smallest possible
delta for which 1.0 and 1.0+delta is different, rather than
    some power-of-10 ballpark equivalent (fixes mantis #11308)
  * print the same number of digits for doubles on systems
    which support extended as on those which don't (i.e.,
    one digit less on the former). This solves regressions after
    the previous change and is Delphi-compatible.
  * adapted tests for the previous change

git-svn-id: trunk@11025 -
2008-05-21 16:55:31 +00:00
florian
6d9eeaf0f0 + missing (empty) file
git-svn-id: trunk@11021 -
2008-05-21 07:07:58 +00:00
florian
c9433c0b1f - removed directory with non-working sources as well with copyrighted sources
git-svn-id: trunk@11019 -
2008-05-19 20:20:01 +00:00
florian
35c0f78642 + Haiku support by Olivier Coursière based on old BeOS support
git-svn-id: trunk@11014 -
2008-05-19 17:33:35 +00:00
florian
1fe749c90c + test for proper line info retrival from dlls/sos
git-svn-id: trunk@11007 -
2008-05-18 18:26:17 +00:00
florian
d7673694f1 * enable parsing of default properties when used with objects, resolves #10795
git-svn-id: trunk@11003 -
2008-05-18 13:27:59 +00:00
florian
df32d17e1a * stress testing for interface wrappers
git-svn-id: trunk@10994 -
2008-05-18 08:58:55 +00:00
joost
232ee3dfa0 * Renamed the RegExprCompat unit to RegExpr. This wrapper around the Regex unit now replaces the old RegExpr unit.
git-svn-id: trunk@10989 -
2008-05-17 19:32:47 +00:00
joost
1aef65f5c0 * Moved regexpr unit to old
git-svn-id: trunk@10987 -
2008-05-17 19:24:47 +00:00
Legolas
3a21b6e5a6 * Fixed nds rtl
* Changes for gba:
  * Random number generator is now embedded in the rtl
  * Improved heap 
  * Updated the linker script
  - Removed the outdated gbaunits library and
  + replaced by libgbafpc package

git-svn-id: trunk@10986 -
2008-05-17 18:57:14 +00:00
florian
e265393d7a * make stringconstn => open array of char a l1 conversion as it was earlier, resolves #10727
git-svn-id: trunk@10984 -
2008-05-17 18:18:51 +00:00