Commit Graph

32855 Commits

Author SHA1 Message Date
marco
e82d25d211 * fix for mantis 17597, aliastypes in inheritance chains of fpdoc.
Adds aliases to the content file, using alias(realtype) syntax.

git-svn-id: trunk@16217 -
2010-10-24 21:33:41 +00:00
florian
dce3405c66 * reset lookahead char as well when resetting the scanner, resolves #17688
git-svn-id: trunk@16216 -
2010-10-24 21:26:30 +00:00
marco
6da59076f8 * fcl-passrc goto support (added to an empty command), mantis 16476
git-svn-id: trunk@16215 -
2010-10-24 20:12:44 +00:00
Jonas Maebe
14b95b3b9b * always force range checking for the upper and lower bounds of for-loops if
they are constants (instead of only on 32 bit systems), and always use the
    actual upper/lower bound of the loop variable instead of hardcoding the
    bounds of longint (mantis #17646)

git-svn-id: trunk@16213 -
2010-10-24 14:55:48 +00:00
Jonas Maebe
1cea4ec221 * added {$mode objfpc} to fix test
git-svn-id: trunk@16212 -
2010-10-24 14:52:44 +00:00
tom_at_work
a380da6204 Fixed conversion from string to enum value for 64 bit platforms requiring proper alignment (e.g. ppc64/linux)
* start of data entries (Tsorted_array record in fpc_shortstr_enum_intern) in string-to-ordinal helper table must be aligned to the maximum alignment required by the members, otherwise the actual and the expected layout do not match
* do not use magic constants (+1) in the code for calculating the address of the first Tsorted_array in the string-to-ordinal helper table
* fix wrong calculation of the start offset to the Tsorted_array in the rtti writer (although it came to the same result)
* refactored rtti writing code for enums: removed duplicate code

git-svn-id: trunk@16211 -
2010-10-23 20:19:32 +00:00
tom_at_work
7f9dedec99 Moved global variables from .text section to .bss in ppc/linux startup code, improves position independency
git-svn-id: trunk@16210 -
2010-10-23 20:07:36 +00:00
Jonas Maebe
e787e263c8 * build fpcres also for haiku (patch by Olivier Coursière, mantis #17696)
git-svn-id: trunk@16209 -
2010-10-23 19:53:36 +00:00
sergei
b585a6a1d0 * xmlread.pp, continued reducing DOM dependencies:
* TContentParticle only stores and compares a pointer to an element definition, a particular type of that definition doesn't matter - so change it to TObject.
  * In case of mixed content model, assign Type and Quantity to the root content particle, and process it the same way as element-only models.
  * While parsing, store entities in THashTable instead of TDOMNamedNodeMap.
  * Assign Prefix to element and attribute NodeData.

git-svn-id: trunk@16208 -
2010-10-23 18:20:49 +00:00
michael
a723c86cb1 * Mark blob parameters as binary
git-svn-id: trunk@16207 -
2010-10-23 14:09:59 +00:00
Károly Balogh
52a118efbb + enabled SDL package for MorphOS
git-svn-id: trunk@16206 -
2010-10-23 13:06:16 +00:00
Károly Balogh
2d9d71e976 + adapted SDL package to user PowerSDL headers on MorphOS.
git-svn-id: trunk@16205 -
2010-10-23 12:35:49 +00:00
Károly Balogh
56913ebf91 + added headers for MorphOS' PowerSDL
git-svn-id: trunk@16204 -
2010-10-23 12:34:47 +00:00
michael
f5072a3816 * Fixed blob parameter support
git-svn-id: trunk@16203 -
2010-10-23 11:04:59 +00:00
sekelsenmat
cc2da23316 Initial transformation of fpvectorial segments in classes, as well as making the number of segments dynamic
git-svn-id: trunk@16202 -
2010-10-23 10:33:21 +00:00
Károly Balogh
1811234b72 + some work to complete SDL package support for MorphOS. more to come.
git-svn-id: trunk@16200 -
2010-10-23 01:54:47 +00:00
tom_at_work
9a969c18cd Startup files fixes for ppc/ppc64
* startup code in c/g/prt0.as does not contain .text references anymore
* fixed shared library startup code for ppc64: startup and shutdown code is properly called, making the tlibrary2 test succeed now

git-svn-id: trunk@16199 -
2010-10-22 23:19:23 +00:00
michael
b3598929f6 * Fixed largeint parameter problem
git-svn-id: trunk@16197 -
2010-10-22 09:20:27 +00:00
Károly Balogh
7bdfc64991 + disable UserScreen for now on Amiga/MorphOS, dummy implementation causes more trouble than it solves
git-svn-id: trunk@16196 -
2010-10-21 23:44:17 +00:00
sekelsenmat
b0b708f308 help headers for wince from bug #17574
git-svn-id: trunk@16195 -
2010-10-21 15:37:16 +00:00
Károly Balogh
497518c6a3 + disable unimplemented stuff in fppkg for MorphOS/Amiga, so it builds at least
git-svn-id: trunk@16194 -
2010-10-21 03:25:15 +00:00
Károly Balogh
02bfc51f71 + made libgd package to build at least on MorphOS and Amiga
git-svn-id: trunk@16193 -
2010-10-21 02:52:00 +00:00
Károly Balogh
f5930b0dfc * MorphOS, Amiga: changed definition of sLineBreak to match other system units, fixes fcl-base build
git-svn-id: trunk@16192 -
2010-10-21 02:13:57 +00:00
Jonas Maebe
5e84c557fa * don't internalerror when a property is hidden by a method in a child class
(mantis #17675)

git-svn-id: trunk@16191 -
2010-10-20 14:12:58 +00:00
Jonas Maebe
dd8fd7cd4a * fixed loading the vmt of TP-style objects when it's not at offset zero
(for virtual procvars of object, mantis #17521)

git-svn-id: trunk@16190 -
2010-10-20 12:00:15 +00:00
michael
843ce22187 * Avoid nameclash and fix compilation
git-svn-id: trunk@16189 -
2010-10-19 19:51:59 +00:00
michael
80c63af4ed * Applied patch from Graeme
git-svn-id: trunk@16188 -
2010-10-19 19:48:23 +00:00
sekelsenmat
8b6e8079ec Fixes a potential crash in TStrings.SaveToStream
git-svn-id: trunk@16187 -
2010-10-19 15:50:13 +00:00
sergei
7e5ff8ca89 * xmlread.pp, modified attribute parsing code to use DOM-independent data structures (second part)
* ExpectAttValue() now builds both plain string value and first-level node chain.
  * Normalize() procedure moved to xmlutils.pp and made publicly available as BufNormalize.
  * ParseLiteral() cleaned of attribute-specific code; at this point it is clear it won't be used for parsing attributes.

git-svn-id: trunk@16186 -
2010-10-19 15:14:33 +00:00
sergei
e0d8556cae * xmlread.pp, modified attribute parsing code to use DOM-independent data structures (first part)
git-svn-id: trunk@16184 -
2010-10-18 20:46:35 +00:00
sergei
dfe1c0f228 xmlread.pp, r16175 caused a regression in level1/core/commentgetcomment; we should ignore comments in DTD, but not between DTD and root element. Fixed.
git-svn-id: trunk@16183 -
2010-10-18 20:19:32 +00:00
joost
56cd935acf * Fixed compilation on Windows/WinCE after merging the XPCom branch in r16180
git-svn-id: trunk@16181 -
2010-10-18 15:22:53 +00:00
joost
07bf44517c * Merged XPCom branch into trunk, added support for constref and changed
the IInterface implementation to be XPCom-compatible
--- Merging r15997 through r16179 into '.':
U    rtl/inc/variants.pp
U    rtl/inc/objpash.inc
U    rtl/inc/objpas.inc
U    rtl/objpas/classes/persist.inc
U    rtl/objpas/classes/compon.inc
U    rtl/objpas/classes/classesh.inc
A    tests/test/tconstref1.pp
A    tests/test/tconstref2.pp
A    tests/test/tconstref3.pp
U    tests/test/tinterface4.pp
A    tests/test/tconstref4.pp
U    tests/webtbs/tw10897.pp
U    tests/webtbs/tw4086.pp
U    tests/webtbs/tw15363.pp
U    tests/webtbs/tw2177.pp
U    tests/webtbs/tw16592.pp
U    tests/tbs/tb0546.pp
U    compiler/sparc/cpupara.pas
U    compiler/i386/cpupara.pas
U    compiler/pdecsub.pas
U    compiler/symdef.pas
U    compiler/powerpc/cpupara.pas
U    compiler/avr/cpupara.pas
U    compiler/browcol.pas
U    compiler/defcmp.pas
U    compiler/powerpc64/cpupara.pas
U    compiler/ncgrtti.pas
U    compiler/x86_64/cpupara.pas
U    compiler/opttail.pas
U    compiler/htypechk.pas
U    compiler/tokens.pas
U    compiler/objcutil.pas
U    compiler/ncal.pas
U    compiler/symtable.pas
U    compiler/symsym.pas
U    compiler/m68k/cpupara.pas
U    compiler/regvars.pas
U    compiler/arm/cpupara.pas
U    compiler/symconst.pas
U    compiler/mips/cpupara.pas
U    compiler/paramgr.pas
U    compiler/psub.pas
U    compiler/pdecvar.pas
U    compiler/dbgstabs.pas
U    compiler/options.pas
U    packages/fcl-fpcunit/src/testutils.pp

git-svn-id: trunk@16180 -
2010-10-17 20:58:22 +00:00
marco
8304d2c1c5 * adds gwlp and gclp constants, mantis 17656 and 17655
git-svn-id: trunk@16179 -
2010-10-17 19:58:49 +00:00
nickysn
15e59b8ace * fixed windows keyboard layout switching and maybe other bugs, caused by not pumping all thread messages
git-svn-id: trunk@16178 -
2010-10-17 14:32:25 +00:00
sergei
d248315ae4 * xmlread.pp, do some cleanup and get rid of FCursor field.
git-svn-id: trunk@16175 -
2010-10-16 22:56:55 +00:00
florian
5dae691c96 * implementation of bit scan intrinsics by Richard Vida, resolves #17592
git-svn-id: trunk@16174 -
2010-10-16 15:03:30 +00:00
sergei
6cb12d0efc * xmlread.pp, doing progress with streaming API:
* correct handling of comments, PIs and (partially) DocumentType

git-svn-id: trunk@16172 -
2010-10-15 23:47:33 +00:00
marco
a680c63950 * TThread.Resume and suspend deprecated (see user changes trunk)
git-svn-id: trunk@16171 -
2010-10-15 22:15:57 +00:00
daniel
3307d98c40 - Revert micro-exe mode for now.
git-svn-id: trunk@16170 -
2010-10-15 16:49:48 +00:00
michael
38aacec93d * Fixed memory allocation in registration
git-svn-id: trunk@16163 -
2010-10-15 07:46:08 +00:00
sergei
d3bdf2577c * xmlread.pp, doing progress with streaming API:
+ state transitions needed to report start/end element events correctly
  + procedures for maintaining attribute data
  * excluded FCursor from attribute value parsing

git-svn-id: trunk@16161 -
2010-10-14 19:41:22 +00:00
michael
89df75c731 * Implement GetDisplayName and add ParamByName() implementation.
git-svn-id: trunk@16158 -
2010-10-14 09:57:57 +00:00
pierre
73b1fa667c * use dwarf64 numbers for x86_64 stabs registers
git-svn-id: trunk@16157 -
2010-10-13 22:56:02 +00:00
sekelsenmat
84626f3b36 Adds OpenAL to the list of packages to be built for x86-darwin
git-svn-id: trunk@16156 -
2010-10-13 21:25:09 +00:00
Károly Balogh
f634ef6640 + Workaround for IE2010053115 internal errors while writing PPU with explicitparaloc functions.
* MorphOS cycles again now at least, someone with clue might want to take a look if this is the proper way to fix this.

git-svn-id: trunk@16154 -
2010-10-13 19:58:44 +00:00
pierre
ec99b1ba40 * Add tf_dwarf_only_local_labels for win64 as suggested by Willibald Krenn
git-svn-id: trunk@16151 -
2010-10-13 08:52:35 +00:00
michael
1c6defe7be * Added example and tests for format
git-svn-id: trunk@16147 -
2010-10-12 20:45:49 +00:00
michael
48e8728b89 * Implemented FormatJSON
git-svn-id: trunk@16146 -
2010-10-12 20:08:23 +00:00
michael
8dd254b281 * Fixed synchronize/waitfor issue
git-svn-id: trunk@16145 -
2010-10-12 18:08:24 +00:00