Commit Graph

30483 Commits

Author SHA1 Message Date
Jonas Maebe
1f6ec379de * moved field definitions before method/property definitions (see mantis
#13971)

git-svn-id: trunk@13330 -
2009-06-27 11:27:31 +00:00
Jonas Maebe
c62d6f9a0b * regenerated (depends on fcl-base, which depends on univint since
r12921)

git-svn-id: trunk@13329 -
2009-06-27 11:24:56 +00:00
Jonas Maebe
9c280eae26 * fixed range error introduced in r13213
git-svn-id: trunk@13328 -
2009-06-27 11:20:30 +00:00
florian
fc5e5d9258 * talignmentinfo must be packed, it is written to the ppu during streaming, further it is member of tsettings which packed too
* reordered fields of tsetting to avoid unaligned fields
* fixed compilation of arm after disableddircache was added
* increased ppu version

git-svn-id: trunk@13327 -
2009-06-27 11:14:19 +00:00
Jonas Maebe
e42842b31c * don't allow skipping property parameters if the getter/setter has default
parameters (mantis #13956)
  * when reporting an error about too few specified parameters to a call,
    return the column of the call itself rather than after the last parameter
    (because this ends up after the end of an indexed property in case of
     properties, which is confusing)

git-svn-id: trunk@13326 -
2009-06-26 17:31:41 +00:00
Jonas Maebe
5c006b9b86 * enable the directory cache by default starting with the first lookup
(fixes mantis #13756)
  + added -Fd command line parameter to disable the directory cache

git-svn-id: trunk@13325 -
2009-06-26 14:55:31 +00:00
ivost
c35347a50e * added MYSQL_TIME type
git-svn-id: trunk@13324 -
2009-06-26 12:26:03 +00:00
Jonas Maebe
77feb9d45c * fixed setstrprop() for shortstring properties (based on hint by Zawullon,
mantis #14040)

git-svn-id: trunk@13323 -
2009-06-26 11:34:04 +00:00
sergei
106a605e05 xpath.pp:
- Removed (made abstract) default implementations of TXPathVariable.AsText(), AsNumber() and
  AsBoolean(). These methods are overriden by all TXPathVariable descendants, therefore in
  TXPathVariable itself they are dead and only increase executable size.
- Removed debug statement committed by accident in r13256.

tests/xpathts.pp:
* Annotated some tests, added a few tests for name(), namespace-uri() and local-name().

git-svn-id: trunk@13322 -
2009-06-24 19:16:33 +00:00
sergei
986dfd01fb xmlread.pp:
+ Character count checks for parameter entities, protects against entity expansion attacks using PE's.
+ Cache external PE's so they are only fetched once, considerably reduces traffic and CPU load in
  case of attack.
* Do not repeat attempts to read from input stream once the read operation has returned less bytes
  than requested.

git-svn-id: trunk@13321 -
2009-06-23 22:46:26 +00:00
Jonas Maebe
b7235b21c9 * no longer allow assigning values to typecasted properties, because in
case the getter is a function, the result is that first the getter is
    called, and subsequently the temp holding the function result is
    overwritten (thus not changing anything). This is Delphi-compatible,
    and fixes tests/tbf/tb0214*

git-svn-id: trunk@13320 -
2009-06-23 18:42:53 +00:00
Jonas Maebe
77a3e52caf - disabled fastcgi, custfcgi, and fpfcgi units for Darwin because they do
not work there (they will raise SIGPIPE signals when socket errors occur,
    needs to be fixed by using the SO_NOSIGPIPE option when creating the
    sockets; see http://wiki.freepascal.org/fcl-web for more info)

git-svn-id: trunk@13319 -
2009-06-23 14:10:04 +00:00
dmitry
4784948a75 objcrtlutils: added SELectors caching for alloc, init and release methods
git-svn-id: trunk@13318 -
2009-06-23 05:52:22 +00:00
paul
68d937d120 gtk2: declare missed gdk window states
git-svn-id: trunk@13317 -
2009-06-23 01:36:29 +00:00
florian
2574851942 * ppu format change, ppu version increased
git-svn-id: trunk@13316 -
2009-06-22 21:49:39 +00:00
florian
121875a374 * make TSettings packed so ppus containing generics are compatible regardless which compiler generated them
git-svn-id: trunk@13315 -
2009-06-22 21:45:06 +00:00
florian
2a683bff43 * make msg was not executed after rev. 13287
git-svn-id: trunk@13314 -
2009-06-22 20:49:44 +00:00
sergei
09867a1f6e xmlread.pp:
+ New option TDOMParseOptions.DisallowDoctype - prohibits processing of the DTD (specs compliant,
  targeted for SOAP applications).
+ New option TDOMParseOptions.MaxChars - limits max document length, protects against entity
  expansion attacks and DoS by feeding in too long documents. Default value of 0 means no
  restrictions. Tested with internal and external general entities, TBD with parameter entities.
* Fixed calculation of URIs used to retrieve external entities, they should be evaluated at the
  point of entity declaration rather than at the point of resolving (which happens at the first
  inclusion). 
dom.pp:
* TDOMNode.SetReadOnly, calling Attributes was causing creation of TAttributeMap on every element.
  Fixed.

git-svn-id: trunk@13313 -
2009-06-22 19:57:11 +00:00
florian
c21d5765ac * fixed properties
git-svn-id: trunk@13312 -
2009-06-22 18:55:28 +00:00
florian
a7ab3d336e + first at91sam7x256 unit
* irq handlers for lpc21x4 fixed

git-svn-id: trunk@13311 -
2009-06-22 10:31:37 +00:00
Jonas Maebe
c0e51f3e97 * use reference-counted temps for the method pointer when the method
pointer is of a reference-counted type (reverts r2165, fixes mantis #14019)
  * modified test for mantis #4086 (which was "fixed" by r2165) so it still
    works and no longer depends on whether or not the compiler uses a
    refcounted temp to evaluate certain expressions

git-svn-id: trunk@13310 -
2009-06-21 12:17:51 +00:00
Jonas Maebe
089ff79c3b + test I forgot to commit earlier
git-svn-id: trunk@13309 -
2009-06-21 12:14:14 +00:00
Jonas Maebe
fce899388f + add cardinal test
git-svn-id: trunk@13308 -
2009-06-21 11:59:50 +00:00
Jonas Maebe
25463000ac * do not mark all found files with Find* as "faHidden" if the search path
starts with './' (mantis #14020)
  * also mark files whose name starts with '.' that are found in subdirectories
    as faHidden (not reported, but was due to a similar error)
  - removed some unused variables related to the Find* functionality

git-svn-id: trunk@13307 -
2009-06-21 10:21:06 +00:00
Jonas Maebe
eb41269746 * fixed test (it also crashed when compiled with Kylix)
git-svn-id: trunk@13306 -
2009-06-21 08:49:00 +00:00
ivost
7772f8ccbf * added testcase for bugrepport 14019 submitted by hennymcc
git-svn-id: trunk@13305 -
2009-06-20 22:32:09 +00:00
sergei
0a7e62ac04 - dropped remaining calls to GetChar (replaced with FSource.NextChar).
* simplified AddForwardRef, now it always uses FTokenStart as position.

git-svn-id: trunk@13304 -
2009-06-20 16:28:18 +00:00
marco
0212aa9311 * dss constants from Paul
git-svn-id: trunk@13303 -
2009-06-20 11:17:41 +00:00
Jonas Maebe
80864ebf31 * made TDebugInfoDwarf3 inherit from TDebugInfoDwarf2 instead of from
TDebugInfoDwarf, so DWARFv2 and DWARFv3 generators can share protected
    methods.
  * fixed the debug info for sets whose language-level lower bound is not
    equal to the actual set base used when storing the data (e.g., a "set
    of 1..5" is actually stored as a "set of 0..7" or "set of 0..31")
    (mantis #13984)
  + interactive test for the above

git-svn-id: trunk@13302 -
2009-06-20 10:45:04 +00:00
florian
a70d36e9c7 + set stack through linker script
* reduced size of fiq and irq stack
* fixed data coping and bss zero'ing loop

git-svn-id: trunk@13301 -
2009-06-20 07:33:25 +00:00
florian
a5f3cd9b1d * take random feature switch into account
git-svn-id: trunk@13300 -
2009-06-19 15:26:06 +00:00
florian
a4eb523d0e * fixed memory sizes
* fixed objdump parameters

git-svn-id: trunk@13299 -
2009-06-19 15:20:38 +00:00
ivost
91430b6837 * reverted 13297
git-svn-id: trunk@13298 -
2009-06-19 09:03:51 +00:00
ivost
8b7167e538 * revised TComponent class. There was a lot of outdated, bad, maybe also old code. Tested also with Lazarus.
git-svn-id: trunk@13297 -
2009-06-19 00:07:59 +00:00
florian
becf7df747 * regenerated by current fpcmake
git-svn-id: trunk@13296 -
2009-06-18 22:42:17 +00:00
florian
797f51ea2d + startup code copies initialized data now from flash to ram
git-svn-id: trunk@13295 -
2009-06-18 22:40:57 +00:00
florian
0806434647 * no heap for embedded targets by default
git-svn-id: trunk@13294 -
2009-06-18 22:40:12 +00:00
ivost
da55f04221 * fixed bug in SetAncestor of TComponent
git-svn-id: trunk@13293 -
2009-06-18 22:38:30 +00:00
florian
7a65b5c7a0 + added some AT91SAM7 controllers
* improved linker script for arm-embedded

git-svn-id: trunk@13292 -
2009-06-18 21:55:12 +00:00
sergei
dbd2759da9 + Implementation of TDOMDocument.DocumentURI and TDOMAttr.IsID + tests.
git-svn-id: trunk@13291 -
2009-06-18 21:34:07 +00:00
joost
69ac9cb44e * Terminate application when service failed to start, to avoid endless waiting on Linux
git-svn-id: trunk@13290 -
2009-06-18 14:23:23 +00:00
Jonas Maebe
f5a24d0f5b * fix from r13288
git-svn-id: trunk@13289 -
2009-06-18 09:34:04 +00:00
Jonas Maebe
47702aa3a5 * disallow new(property) (mantis #13992)
git-svn-id: trunk@13288 -
2009-06-18 09:23:43 +00:00
Jonas Maebe
b05992b8a2 * stabs -> Stabs
* dwarf/Dwarf -> DWARF

git-svn-id: trunk@13287 -
2009-06-18 09:10:35 +00:00
florian
22745d74a8 o Message file update by Karl-Michael Schindler
* Updates of error message files, mainly the two German files and a small typo correction of the English 

git-svn-id: trunk@13286 -
2009-06-17 21:30:18 +00:00
florian
f342e825ab * store scanner directive stack when starting compilation of another module
* reset scanner directive stack position when starting new compilation, resolves #13998

git-svn-id: trunk@13285 -
2009-06-17 21:24:26 +00:00
joost
ac550782dc * When the service startup failed, set the state to csStopped so that on
Windows the system doesn't wait forever for the service to end.

git-svn-id: trunk@13284 -
2009-06-17 10:01:53 +00:00
florian
16b6313d81 * Lazarus .lpi version has been increased
git-svn-id: trunk@13283 -
2009-06-16 20:11:39 +00:00
ivost
02d177c885 * added FillQWord, IndexQWord, but CompareQWord is still missing
git-svn-id: trunk@13282 -
2009-06-15 21:35:52 +00:00
florian
a444d4e786 * another patch to PolyFill by borsa77
* some indention and newline mistakes fixed

git-svn-id: trunk@13281 -
2009-06-15 21:04:54 +00:00