Commit Graph

32698 Commits

Author SHA1 Message Date
nickysn
7bbb0817d3 * updated ptcgraph and added ptccrt
git-svn-id: trunk@16019 -
2010-09-19 22:44:57 +00:00
nickysn
b1ffb01b42 * updated ptc
git-svn-id: trunk@16018 -
2010-09-19 22:10:28 +00:00
nickysn
fc8d088308 * updated hermes to latest version from trunk
git-svn-id: trunk@16017 -
2010-09-19 20:38:50 +00:00
joost
ff4614177b * Fixed exception while parsing the -o option for the second time
git-svn-id: trunk@16016 -
2010-09-19 20:06:37 +00:00
joost
ed985423ac * Do not use -c command line parameter for the compiler executable, it is already used for the compiler config file
git-svn-id: trunk@16015 -
2010-09-19 18:23:12 +00:00
sergei
1d3a1e6691 * dom.pp, removed TDOMAttr.FOwnerElement field, storing owner element in FParentNode. This reduces memory requirements.
git-svn-id: trunk@16014 -
2010-09-19 16:46:35 +00:00
Jonas Maebe
1c9fed7ae3 * resolve anonymous external objcclass definitions to the real type also when
a) defining a child class
     b) checking for type conversion compatibility

git-svn-id: trunk@16013 -
2010-09-19 16:05:32 +00:00
nickysn
f88efa2072 * added SetBkColor and GetBkColor for Hercules
git-svn-id: trunk@16012 -
2010-09-19 15:41:56 +00:00
Jonas Maebe
d628276c98 r329 | jonas | 2010-09-19 17:17:21 +0200 (Sun, 19 Sep 2010) | 3 lines
+ translation of IOSurface.framework and some IOKit and mach headers
    it depends on (for new Cocoa headers)

git-svn-id: trunk@16011 -
2010-09-19 15:18:03 +00:00
sergei
2786259d77 dom.pp:
* r15443 changed the node class with biggest instance size from TDOMAttr to TDOMEntity. Changed that in TDOMDocument constructor, too. Otherwise nodes created with TDOMEntity.CloneNode will leak (they cannot be inserted into tree).
* Do not restore default attributes during document destruction.
* Also added a general check that raises exception if someone tries to allocate from node pool during destruction.
* Fixed replaceChild() method: it was deleting node if that node was replaced by itself.
+ Test for replaceChild.

git-svn-id: trunk@16010 -
2010-09-19 14:11:20 +00:00
joost
f6ced54fb4 * Parse command-line options twice, so they can override values from the configuration files
* Added --prefix command-line option
 * Added -n command-line option to skip reading of configuration files
 * Added --compiler option to set compiler-executable
 * When the compiler version, target os or cpu is not given in the configuration files, obtain them from the compiler-executable 

git-svn-id: trunk@16007 -
2010-09-19 11:05:45 +00:00
joost
21c81ee3fd * Session-info removed from Lazarus project-file
git-svn-id: trunk@16006 -
2010-09-19 10:39:49 +00:00
nickysn
d975466171 * implemented SetBkColor and GetBkColor for mode MCGAHi (640x480x2)
git-svn-id: trunk@16005 -
2010-09-18 22:23:59 +00:00
nickysn
263fc7b6ff * fixed memory leak in DrawTest, when running more than one test
git-svn-id: trunk@16004 -
2010-09-18 13:19:58 +00:00
nickysn
22954b48ad + new graph unit test DrawTest for PutPixel, GetPixel, HLine, VLine and write modes
git-svn-id: trunk@16003 -
2010-09-18 12:53:49 +00:00
Jonas Maebe
ef4f0639c0 + added GPCStrings to implicitunits so it gets cleaned/installed
* merged:

r328 | jonas | 2010-09-17 15:16:21 +0200 (Fri, 17 Sep 2010) | 3 lines
Changed paths:
   M /trunk/MPPInterfaces/SecTrust.pas

  - {$align power}
  + translation credit

...
r327 | jonas | 2010-09-17 15:09:54 +0200 (Fri, 17 Sep 2010) | 2 lines
Changed paths:
   M /trunk/MPPInterfaces/cssmapple.pas

  - removed superfluous MW/GPC macro definitions from the implemenation

...
r326 | jonas | 2010-09-17 00:14:28 +0200 (Fri, 17 Sep 2010) | 6 lines
Changed paths:
   M /trunk/MPPInterfaces/MacTypes.pas
   A /trunk/MPPInterfaces/SecTrust.pas
   A /trunk/MPPInterfaces/certextensions.pas
   A /trunk/MPPInterfaces/cssmapple.pas
   A /trunk/MPPInterfaces/cssmconfig.pas
   A /trunk/MPPInterfaces/cssmerr.pas
   A /trunk/MPPInterfaces/cssmkrapi.pas
   A /trunk/MPPInterfaces/cssmtype.pas
   A /trunk/MPPInterfaces/x509defs.pas
   M /trunk/Scripts/Convert.pl

  + a bunch of Security.Framework headers, required by new Cocoa header
    translations
  + added a number of NULL-macros appearing in those headers to convert.pl
  + added UInt32_fix type to MacTypes because one of those headers contains
    a field with the name "Uint32" whose type is also UInt32.

...
r325 | jonas | 2010-09-17 00:10:14 +0200 (Fri, 17 Sep 2010) | 2 lines
Changed paths:
   M /trunk/MPPInterfaces/ColorSyncDeprecated.pas

  * added (hopefully correct) setting for packrecords C for GPC
...
r324 | jonas | 2010-09-17 00:05:41 +0200 (Fri, 17 Sep 2010) | 2 lines
Changed paths:
   M /trunk/MPPInterfaces/CFStringTokenizer.pas

  * fixed compilation with GPC

...
r323 | jonas | 2010-09-09 20:31:47 +0200 (Thu, 09 Sep 2010) | 2 lines
Changed paths:
   A /trunk/MPPInterfaces/CFStringTokenizer.pas

  + translation of CoreFoundation/CFStringTokenizer.h

git-svn-id: trunk@16002 -
2010-09-17 20:21:25 +00:00
Jonas Maebe
242016312f * immediately fail when trying to allocate a memory block whose size falls
in the range high(ptruint)-$fffe .. high(ptruint), because all large
    allocations are rounded up to the next multiple of 64kb, which is 0 in
    that case (mantis #17430)

git-svn-id: trunk@16001 -
2010-09-17 14:05:06 +00:00
Jonas Maebe
bd69be344c * replaced -O2 with -Ootailrec, because that's the optimization that has
to be active (apparently -Ootailrec is currently not enabled for ppc64
    with -O2)

git-svn-id: trunk@16000 -
2010-09-17 09:13:39 +00:00
Jonas Maebe
4bd21b327b * patch by zeljko to make the test independent of the locale, and fix a
a problem when NegCurrFormat > 10 (from
    http://lists.freepascal.org/lists/fpc-devel/2010-September/021865.html)

git-svn-id: trunk@15999 -
2010-09-16 20:58:34 +00:00
florian
3041bbab27 * fixes overflowing internalerror number
git-svn-id: trunk@15998 -
2010-09-16 20:46:11 +00:00
florian
b147f5b716 * don't do tail recursion optimization on method calls having an explicit self pointer, resolves #17402
git-svn-id: trunk@15997 -
2010-09-16 20:45:46 +00:00
Jonas Maebe
79fbca8c63 * don't crash when reading a Macho-O binary with an unanticipated
structure (patch by Colin Western, mantis #17424)

git-svn-id: trunk@15995 -
2010-09-16 13:55:30 +00:00
joost
b938ea0f2a * For cdecl functions the funcret is not popped by the caller when it is passed
as a para. But in case of the safecall convention, the funcret is always
   returned as para and from the c point-of-view this is a normal para. So it has
   to be popped normally. This was done by correcting the pop_size in 
   ti386callnode.pop_parasize but it's better to do this directly in 
   tcgcallnode.pass_generate_code.

git-svn-id: trunk@15994 -
2010-09-15 20:18:36 +00:00
joost
3ee0e6fd2d * Added comments to explain the tf_safecall_clearstack and tf_safecall_exceptions target flags
git-svn-id: trunk@15993 -
2010-09-15 20:00:03 +00:00
Jonas Maebe
07e47171d2 * don't perform temp substitution of an entire array when assigning only the
first array element (related to mantis #13948 and #17413)

git-svn-id: trunk@15992 -
2010-09-15 15:03:32 +00:00
michael
b4a15ed612 * Added fcl-js
git-svn-id: trunk@15991 -
2010-09-15 14:12:29 +00:00
Jonas Maebe
ac8add7cf9 * don't perform temp substitution for variables whose address has been taken
or that are accessible outside the current block (mantis #17413)

git-svn-id: trunk@15990 -
2010-09-15 12:06:21 +00:00
nickysn
7a6b26f6e2 * do not hook SetVisualPage and SetActivePage for modes that only have 1 video page
git-svn-id: trunk@15989 -
2010-09-15 10:33:18 +00:00
sekelsenmat
51d212ee23 Patch from Alberto Brito, improves OpenSSL and allows only one of the 2 DLLs to be loaded. See bug #17270
git-svn-id: trunk@15988 -
2010-09-15 08:50:21 +00:00
nickysn
239cf4cea4 * implemented SetBkColor and GetBkColor for CGA
git-svn-id: trunk@15987 -
2010-09-14 23:02:20 +00:00
nickysn
4f754e4a68 * SetBkColor and GetBkColor made hookable
git-svn-id: trunk@15986 -
2010-09-14 22:11:41 +00:00
Jonas Maebe
988ac8d28a * fixed compilation after r15973 (patch by javivf, mantis #17397)
git-svn-id: trunk@15985 -
2010-09-14 17:48:34 +00:00
sergei
3bef71aaf9 * xmlread.pp, removed FRecognizePE field. Its functionality is replaced by checking other fields.
git-svn-id: trunk@15984 -
2010-09-14 12:53:55 +00:00
michael
cd196c5622 * Test for negcurrformat values 11-15 from Zeljan Rikalo
git-svn-id: trunk@15983 -
2010-09-14 11:25:04 +00:00
michael
154c6ec4d2 * Implementation of values 11..15 of negcurrentformat from Zeljan Rikalo
git-svn-id: trunk@15982 -
2010-09-14 11:23:41 +00:00
michael
84c28084ac * Procedure body is now reachable (and assigned). (patch from gschaegger@gmx.de)
git-svn-id: trunk@15981 -
2010-09-14 11:15:21 +00:00
michael
3d148c48ea * Attempt at MySQL 5.1 connection
git-svn-id: trunk@15980 -
2010-09-14 10:10:31 +00:00
marco
74a7e7edd8 * very minor compatibility fix. Delphi exports name of the dll as
"shell32"

git-svn-id: trunk@15979 -
2010-09-14 06:36:50 +00:00
michael
a2b0292cdb * Some minimal documentation
git-svn-id: trunk@15978 -
2010-09-13 21:40:17 +00:00
michael
246e7275a4 * Introduced strict property
git-svn-id: trunk@15977 -
2010-09-13 21:09:22 +00:00
Jonas Maebe
7f489635da * disabled maybe_call_procvar() again for macpas mode, because it breaks
CodeWarrior compatibility in a more prominent way than failure to
    compile webtbs/tw17379a.pp (-> added %knowncompileerror)

git-svn-id: trunk@15976 -
2010-09-13 20:14:27 +00:00
sergei
cc82844a9d * xmlread.pp: refactoring, no function chages:
* Renamed ParseElement to ParseStartTag to reflect its actual functionality
  * Changed ParseQuantity into function returning a enumeration type
  * Simplified TXMLDecodingSource.NewLine
  * Changed the main loop (ParseContent) so that multiple calls to DoText() are replaced by a single call.
  - Removed "if FCDSectinsAsText" branch in DoCDSect. It is obsolete since this case is handled in ParseContent.

git-svn-id: trunk@15975 -
2010-09-13 16:07:50 +00:00
sergei
06c1413fb0 * xmlread.pp, a misplaced assignment could cause a #13 character to pass non-normalized to #10 if it was the last character in input stream.
git-svn-id: trunk@15974 -
2010-09-13 07:07:53 +00:00
nickysn
88b80c9b57 * always set both IntCurrentDriver and IntCurrentNewDriver to the correct old & new style driver numbers
git-svn-id: trunk@15973 -
2010-09-12 17:05:44 +00:00
Jonas Maebe
f0114a8d4e - removed unused variable after r15918
git-svn-id: trunk@15972 -
2010-09-12 16:05:03 +00:00
Jonas Maebe
c43fda1fe1 * enabled maybe_call_procvar() also for macpas mode (calls procvars that
don't have any parameters in most expressions, rather than using them
    as the procvar itself) -> replaced procvar<>nil with assigned(procvar)
    in test/tmacprocvar.pp to keep it compiling (otherwise it now called
    the procvar); necessary in combination with the next fix to compile
    webtbs/tw17379a.pp
  * automatically disambiguate the use of the function name when used as a
    parameter in macpas mode (if the formal parameter type is a procvar
    type then interpret it as the current function definition, otherwise
    as the current function result) (mantis #17379)

git-svn-id: trunk@15971 -
2010-09-12 16:03:00 +00:00
nickysn
df295ca8d6 * GetModeName fixed to work with the 'old' mode numbers also
git-svn-id: trunk@15970 -
2010-09-11 20:42:33 +00:00
nickysn
a89dd9f880 * only enable the save/restore state hack on cards, older than VGA
git-svn-id: trunk@15969 -
2010-09-11 19:28:28 +00:00
nickysn
a56c5afc0e * EGA support added
git-svn-id: trunk@15968 -
2010-09-11 19:17:47 +00:00
nickysn
ed5fa8daf0 * CGA modes are now supported on a real CGA or EGA (tested with dosbox, machine=cga/ega)
git-svn-id: trunk@15967 -
2010-09-11 17:56:36 +00:00