Commit Graph

36208 Commits

Author SHA1 Message Date
pierre
5b10c0c403 Avoid random values and range/overflow checks
git-svn-id: trunk@20600 -
2012-03-23 15:15:21 +00:00
pierre
bcf9a2deb3 * Use $Q- which is the correct way to disable overflow checking
git-svn-id: trunk@20599 -
2012-03-23 15:09:03 +00:00
pierre
3abfc11ade Add explicit -CO- command line option in tests needing it
git-svn-id: trunk@20598 -
2012-03-23 14:45:34 +00:00
pierre
a2d6cba691 Add explicit O- option in tests needing it
git-svn-id: trunk@20597 -
2012-03-23 14:38:39 +00:00
sergei
3d1b4b1b63 * Added a typecast to avoid range error in 64-bit debug builds
git-svn-id: trunk@20596 -
2012-03-23 13:48:34 +00:00
marco
86bf5f36ba * Call inherited in destructors.
git-svn-id: trunk@20590 -
2012-03-23 12:56:13 +00:00
michael
44871bbbbd * Patch to reorder datetime testing values, so out-of-range comes last
git-svn-id: trunk@20585 -
2012-03-23 09:05:01 +00:00
joost
79c3ea3f87 * Added fpmake.pp file for fppkg-util
git-svn-id: trunk@20584 -
2012-03-22 21:10:28 +00:00
florian
4cf4c65502 * write the file location (if available), if a unit is not found, resolves #21514
git-svn-id: trunk@20583 -
2012-03-22 21:04:16 +00:00
joost
ae5c440864 * Added ability to generate target-dependencies
git-svn-id: trunk@20579 -
2012-03-22 16:40:58 +00:00
michael
0d545c68de * Call getOwner only once in several TPersistent methods (Patch from Luiz Americo, bug #21531)
git-svn-id: trunk@20574 -
2012-03-22 14:49:43 +00:00
joost
1bf8ef2428 * Also allow a single package dependency
git-svn-id: trunk@20573 -
2012-03-22 14:03:06 +00:00
michael
386fb374ce * Applied tests pach from bug #17303
git-svn-id: trunk@20572 -
2012-03-22 13:45:54 +00:00
joost
df59758326 * Added new tool to generate fpmake.pp files from JSON-based configuration files
git-svn-id: trunk@20571 -
2012-03-22 13:42:30 +00:00
michael
d1b209025f * Applied patch from Luiz Amerigo to have Delphi compatible behaviour when freeing a stringlist (bug 21529)
git-svn-id: trunk@20570 -
2012-03-22 12:10:06 +00:00
sergei
d12456c55d * Fixed syntax error which I managed to commit in r20558 (Mantis #21524)
git-svn-id: trunk@20569 -
2012-03-22 09:52:28 +00:00
pierre
ff5d25174a * Fix wide string shared library loading by adding 'lib' prefix if needed
git-svn-id: trunk@20568 -
2012-03-22 09:02:07 +00:00
sergei
c7259969ce + fcl-xml, implemented TDOMNode.BaseURI property.
* Moved element loading procedure from xmlread.pp to dom.pp, speeds things up a bit.

git-svn-id: trunk@20558 -
2012-03-21 22:19:27 +00:00
pierre
813ebf08e3 * Avoid having current_debuginfo pointing to freed memory
git-svn-id: trunk@20549 -
2012-03-21 10:17:43 +00:00
marco
040e67772a * Tests for Mysql 5.5, from Lacak2. Mantis #21511
git-svn-id: trunk@20546 -
2012-03-20 21:14:36 +00:00
marco
ecb34fb8da * Patches from Ludo Brands for typelib
- Mantis #21516 fix range check error
  - Mantis #21513 Specific workaround for potentially bugged Office10/MSacc.OLB

git-svn-id: trunk@20544 -
2012-03-20 18:53:38 +00:00
joost
0e0a5dee4f * TTemplateParser: Do not require a space between the tag name and the
ParamStartDelimiter. 
 * Allow parameters without any name, for example: {uppercase[-this-]}
 * Added simple tests for TTemplateParser

git-svn-id: trunk@20543 -
2012-03-20 16:13:14 +00:00
sergei
feb30b2e87 + Added test for RFC3896 compliance of ResolveRelativeUri().
git-svn-id: trunk@20542 -
2012-03-19 16:24:39 +00:00
michael
63e3c9b774 IB -> MSSQl
git-svn-id: trunk@20541 -
2012-03-19 11:06:00 +00:00
michael
3657d063bb * Corrected author
git-svn-id: trunk@20540 -
2012-03-19 11:05:01 +00:00
sergei
5618efc7a4 * fcl-xml, reduced DOM memory requirements by getting rid of TDOMNode_WithChildren.FLastChild field (storing the last child in FFirstChild.FPreviousSibling instead).
git-svn-id: trunk@20539 -
2012-03-18 20:33:51 +00:00
sergei
60fe15b01a * fcl-xml, improved TNSSupport class to work directly with hashed strings, reduces amount of hash lookups.
git-svn-id: trunk@20538 -
2012-03-18 19:56:07 +00:00
florian
0cbdc1ae6e * deactivate assembler scheduler, needs some more fixes first
git-svn-id: trunk@20537 -
2012-03-18 17:05:22 +00:00
Jonas Maebe
4fd9d98dbb * correctly set default version for iPhoneOSVersionMin rather than for
MacOSXVersionMin when targeting iOS/iphonesim

git-svn-id: trunk@20536 -
2012-03-18 11:05:36 +00:00
marco
56442144bf * Password check for sqlite3 functionality, Mantis #18774
git-svn-id: trunk@20535 -
2012-03-17 17:23:51 +00:00
marco
2d8dbeca54 * Merged Andrew Brunners and Lacak2's patches from Mantis #19736 that
implement mysql 5.5 header + sqldb connection support.

git-svn-id: trunk@20534 -
2012-03-17 17:17:40 +00:00
marco
e27f910070 * add blockreadnext (same implementation as next for now), and change
.next to call it. Mantis #8203

git-svn-id: trunk@20533 -
2012-03-17 14:07:46 +00:00
marco
a5170425aa * setblockreadsize virtual, noticed when cleaning out old bugreport #8203.
git-svn-id: trunk@20532 -
2012-03-17 12:40:23 +00:00
marco
a6fd41b1d1 * Patch from Mek to kill memleak while inserting, Mantis #18004
git-svn-id: trunk@20531 -
2012-03-17 12:21:45 +00:00
marco
956629e41c * Patch from Mantis #14944 implementing odbc transactions. Also fixes related #19902
git-svn-id: trunk@20530 -
2012-03-17 11:56:29 +00:00
michael
25adf10832 * Patch from Reinier Olislagers to fix quoting for memo fields (bug 19937)
git-svn-id: trunk@20529 -
2012-03-17 10:06:04 +00:00
nickysn
609023d656 + added support for the GLX_EXT_swap_control GLX extension
git-svn-id: trunk@20528 -
2012-03-16 21:29:50 +00:00
nickysn
a325c1254e * GLX unit converted to use unit ctypes, which fixes some 64-bit issues
* glXReleaseBufferMESA function name changed to the correct one: glXReleaseBuffersMESA

git-svn-id: trunk@20526 -
2012-03-16 20:46:33 +00:00
sergei
c2a2f88bd4 * fcl-xml, making progress with streaming API, implemented IXmlLineInfo interface and fixed reported locations for attributes and their child nodes.
+ Set Name and Value properties for DocumentType nodes.
* Unified HandleEntityStart and HandleEntityEnd code for entity references in content and in attributes.

git-svn-id: trunk@20524 -
2012-03-16 09:14:47 +00:00
sergei
c1531f5c12 * fcl-xml, moved syntax validation procedure from TXMLTextReader to TAttributeDef
* reduced memory requirements by getting rid of FAttrChunks and creating FForwardRefs on demand.

git-svn-id: trunk@20523 -
2012-03-16 08:52:03 +00:00
michael
5331e66a8d * Added ms-sql server connector by LaCak2
git-svn-id: trunk@20522 -
2012-03-16 08:36:12 +00:00
Jonas Maebe
639aa0c0c2 * fixed 64 bit boolean operations on ppc32 (fixes tests/test/taddbool)
git-svn-id: trunk@20521 -
2012-03-15 18:51:03 +00:00
nickysn
9f512e231e + added support for the GLX_MESA_swap_control glx extension
git-svn-id: trunk@20518 -
2012-03-14 23:38:25 +00:00
marco
ad10877886 * inverted move in example, Mantis #21468
git-svn-id: trunk@20517 -
2012-03-14 20:14:36 +00:00
nickysn
506f1ff3e4 + add support for the GLX_SGI_swap_control extension
* import all GLX procedures and functions via the glXGetProcAddress and
  glXGetProcAddressARB functions, if they are available. This is necessary,
  because not all GLX extension functions are exported statically by libGL.so

git-svn-id: trunk@20516 -
2012-03-14 00:09:57 +00:00
florian
fbc519faeb * don't allow multiple deprecated messages, resolves #21466
git-svn-id: trunk@20515 -
2012-03-12 21:39:43 +00:00
florian
e9c5458dd2 o patch by Nico Erfurth:
* Fix for InterLockedCompareExchange on ARMEL

InterLockedCompareExchange would not return the current data on failure.
Getting this to work correctly is a bit tricky. As kuser_cmpxchg does
not return the set value, we have to load it.
There is a tiny chance that we get rescheduled between calling
kuser_cmpxchg and loading the value. If the value changed in between
there is the possibility that we would return the Comperand without
having done an actual swap. Which might cause havoc and destruction.

So, if the exchange failed, compare the value and loop again in case
of CurrentValue == Comperand.

* Improve testing of InterLockedCompareExchange

Added a test to check for the case when Comperand is different from the
current value.

git-svn-id: trunk@20514 -
2012-03-11 21:08:57 +00:00
florian
38d3a081f6 * update of TODOs
git-svn-id: trunk@20513 -
2012-03-11 20:12:46 +00:00
florian
0fe22a358b + first version of ldr instruction scheduler on arm
git-svn-id: trunk@20512 -
2012-03-11 19:10:58 +00:00
florian
e84a43768e * typo fixed
git-svn-id: trunk@20511 -
2012-03-11 08:24:44 +00:00