Commit Graph

3959 Commits

Author SHA1 Message Date
sergei
87b8b02463 * Updated DBus headers to version 1.2.16
* Added 'cdecl' to all callback function type definitions.

git-svn-id: trunk@16300 -
2010-11-03 14:08:51 +00:00
michael
054d2b71a2 * Fixed SetInsertSQL/SetDeleteSQL
git-svn-id: trunk@16295 -
2010-11-02 09:46:07 +00:00
Legolas
42ffd3bc50 * Updated nds to devkitARM r32 and libnds 1.4.8
* Fixed nds rtl for ARGV and Exit to menu protocol 

git-svn-id: trunk@16273 -
2010-10-31 15:22:49 +00:00
sergei
b066395a2b * xmlread.pp: separated DOM-specific code into DoStartElement(); introduced FNameTable.
git-svn-id: trunk@16270 -
2010-10-31 02:23:42 +00:00
tom_at_work
88687b2125 * fix definition of function pointer to be passed to pthread_create
git-svn-id: trunk@16267 -
2010-10-30 18:19:11 +00:00
sergei
6cb9cdcc0d * xmlread.pp: maintain ID map at reader side, so it can do ID/IDREF validation without DOM.
* also don't allocate TForwardRef records for backward references, saves some ticks and bytes.

git-svn-id: trunk@16264 -
2010-10-30 15:18:44 +00:00
sergei
22f0692745 * xmlread.pp: since FIdRefs and FNotationRefs are never used at the same time (the former is used only while parsing root, the latter only while parsing DTD), simplify things a bit by replacing them with a single FForwardRefs.
git-svn-id: trunk@16259 -
2010-10-30 10:25:33 +00:00
joost
ef8837cfa8 * Patch from José Mejuto so that TBufDataset.SetRecNo takes the active index into account, bug #15460
git-svn-id: trunk@16257 -
2010-10-29 19:13:42 +00:00
sergei
b4aa087aad * xmlread.pp, implemented some c14n features: when parsing with Options.CanonicalForm=True, report all attributes as specified and drop superfluous namespace declaration attributes. Fixes level3/ls/canonicalform10 and level3/ls/canonicalform11.
git-svn-id: trunk@16253 -
2010-10-29 03:36:55 +00:00
sergei
d96e17da77 * xmlread.pp, fixed an issue introduced by combination of r16046 and r16172: assigning doc.DocumentType only after DTD has been completely parsed prevented inner reader from parsing 2nd+ level entity references in default attribute values. This went unnoticed because of no positive tests, and was detected only by examining negative test diagnostic, namely for not-wf-sa-079 and not-wf-sa-080.
git-svn-id: trunk@16248 -
2010-10-28 20:23:42 +00:00
sergei
4468f72f6c * xmlread.pp, added location information to TNodeData and got namespace-related errors reported at correct locations.
git-svn-id: trunk@16234 -
2010-10-27 22:42:01 +00:00
michael
791cb74f22 * Fixed sending/receiving of large data packets (size >word)
git-svn-id: trunk@16232 -
2010-10-27 12:11:57 +00:00
michael
a83037e7bc * Fixed batch processing, and multiple requests through 1 instance of an Adaptor
git-svn-id: trunk@16231 -
2010-10-27 12:10:49 +00:00
sergei
068d2fba37 * xmlread.pp, modified attribute parsing code to use DOM-independent data structures (third part)
* Namespace handling rewritten to fit into XMLReader's own data structures.
  * Remaining TDOMElementDef's replaced by TElementDecl.
  * Removed DoAttrText(), it has become obsolete.
  * Create objects that are needed for namespace processing only if actually doing namespace processing, reduces memory requirements.
  * Improved TAttributeDef construction.

git-svn-id: trunk@16230 -
2010-10-27 11:57:03 +00:00
marco
c1df466f6d * PSemaphore
git-svn-id: trunk@16228 -
2010-10-26 20:37:24 +00:00
sergei
4579226771 + New unit dtdmodel.pp containing DTD-related classes.
* TXMLNodeType, TNodeData and TAttrDataType moved to xmlutils.pp, so they can be shared between dom, xmlread and dtdmodel.
* TContentParticle class moved from xmlread.pp to dtdmodel.pp.
* dom.pp and xmlread.pp switched to DOM-independent representation of DTD element declarations and attribute defaults.

git-svn-id: trunk@16221 -
2010-10-25 15:26:29 +00:00
michael
59aca21ef0 * Reset adaptor - in case of pooled module, same adaptor is is used for each request
git-svn-id: trunk@16220 -
2010-10-25 15:06:27 +00:00
michael
1bc555dc53 * TBlobField.SaveToStream() should check whether CreateBlobStream actually creates a stream
git-svn-id: trunk@16219 -
2010-10-25 09:55:43 +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
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
michael
b3598929f6 * Fixed largeint parameter problem
git-svn-id: trunk@16197 -
2010-10-22 09:20:27 +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
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
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
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
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
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
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
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
nickysn
d22d5be5c7 * Win32 kbd input unicode translation via MultiByteToWideChar
git-svn-id: trunk@16144 -
2010-10-12 14:39:48 +00:00
nickysn
e97106b8cc * updated ptc c_api
git-svn-id: trunk@16143 -
2010-10-12 14:38:27 +00:00
nickysn
1aabf1c96c - deleted x11dgadisplay*.inc as the code has been moved to x11dga1display*.inc and they're no longer used
git-svn-id: trunk@16142 -
2010-10-12 14:31:26 +00:00
nickysn
e7c4990780 * buffer overflow checking in ptccrt.KeyBufAdd
git-svn-id: trunk@16141 -
2010-10-12 14:17:35 +00:00
Jonas Maebe
4b4f10b9e8 r331 | jonas | 2010-10-09 20:41:18 +0200 (Sat, 09 Oct 2010) | 3 lines
+ {$modeswitch result} so it still compiles once {$modeswitch result} is
    no longer on by default for {$mode macpas}

git-svn-id: trunk@16116 -
2010-10-09 18:42:10 +00:00
nickysn
6310b37bd5 + added ptcgraph implementation of SetBkColor and GetBkColor in 640x480x2 (MCGAHi) mode
git-svn-id: trunk@16115 -
2010-10-09 16:17:41 +00:00