Commit Graph

30438 Commits

Author SHA1 Message Date
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
joost
75eaa2cddf * Renamed DW_AT_stride to DW_AT_byte_stride, DWARF-3 compatible
* Use DW_AT_byte_stride when possible, because gdb does not support DW_AT_stride_size
 * Add stride to dynamic-array definitions

git-svn-id: trunk@13280 -
2009-06-15 14:47:28 +00:00
marco
5f13f1873f * fix for OS X not having MSG_NOSIGNAL.
git-svn-id: trunk@13279 -
2009-06-15 10:05:07 +00:00
marco
ef0438ec7e * correction from 13978
git-svn-id: trunk@13278 -
2009-06-15 08:46:04 +00:00
marco
08491c10fb * fcl-web back on for unix after socket unit commit
git-svn-id: trunk@13277 -
2009-06-15 08:18:03 +00:00
marco
a862d93652 * unix sockets now also exports tsocklen, like windows one
git-svn-id: trunk@13276 -
2009-06-15 08:17:05 +00:00
sergei
64966ccae1 * Refactored the main parsing loop, it is no longer recursive with respect to elements (still
recursive with respect to entities, however). This enables more useful backtrace in case of
  parsing errors, and makes more fun at profiling.

git-svn-id: trunk@13275 -
2009-06-14 18:00:26 +00:00
Jonas Maebe
79e6ed5047 * fixed CenterPoint() function (patch by Alexander S. Klenin, mantis #13972)
git-svn-id: trunk@13274 -
2009-06-14 14:12:09 +00:00
Jonas Maebe
10e26f6bf8 - reverted Makefile changes from r13270 to prevent the Darwin testsuite run
from breaking tonight

git-svn-id: trunk@13273 -
2009-06-13 23:34:36 +00:00
blikblum
e4d43bea8a * Added helper routines to be used with QueryUpdates: GetSQLValue and ClearUpdates
git-svn-id: trunk@13272 -
2009-06-13 23:33:58 +00:00
blikblum
9e11694afe * Trigger deFieldChange event when in Blob/memo fields
* Fix potential bug when using a memo field as a Lookup/Calculated field

git-svn-id: trunk@13271 -
2009-06-13 23:28:28 +00:00
marco
3ebbff5a11 * custfcgi (and thus fastcgi) now compiles for win32.
* fpclose replaced by closesocket
    * MSG_NOSIGNAL is unix specific, replaced by 0.

git-svn-id: trunk@13270 -
2009-06-13 22:41:53 +00:00
marco
2f407ca2e8 * retranslated by Paul from a newer SDK
git-svn-id: trunk@13269 -
2009-06-13 12:21:40 +00:00
marco
1d5758b29d * Minor fixes to $ifdef writeln's I had lying around.
git-svn-id: trunk@13268 -
2009-06-12 21:09:20 +00:00
marco
c00204c1b3 * cvar needs to be external.
git-svn-id: trunk@13267 -
2009-06-12 21:07:51 +00:00
sergei
f31048dc01 * Flag undeclared elements with ContentType = ctUndeclared, it's much more self-documenting than the
mysterious HasElementDecl.

git-svn-id: trunk@13266 -
2009-06-12 20:20:14 +00:00
florian
b47650960e * patch by Sergei Gorelkin: makes WideCompareText and WideCompareStr work in Windows 9x , resolves #13955
git-svn-id: trunk@13265 -
2009-06-12 18:21:06 +00:00
joost
9f93cccd7a * When the dataset is read from file, do not prepare the sql-statement
* Datasets which are read from file are in principle modifyable

git-svn-id: trunk@13264 -
2009-06-12 15:35:56 +00:00
florian
bf5666675a * another fix to PolyFill by borsa77
git-svn-id: trunk@13263 -
2009-06-12 14:50:57 +00:00
florian
855a65a061 + RandomRange
git-svn-id: trunk@13262 -
2009-06-11 20:43:24 +00:00
ivost
746200eb49 * fixed windows version of libxml2 headers
git-svn-id: trunk@13261 -
2009-06-11 20:42:36 +00:00
sergei
f31d31049e Improved XPath test suite and added some more tests.
git-svn-id: trunk@13260 -
2009-06-11 19:21:37 +00:00
sergei
44ebbec358 Minor fixes to the reader:
- Removed remaining assignments of TXMLFileInputSource.SystemID, as it is assigned in constructor.
- As attributes now remove themselves from owner upon destruction, removed the redundant check.
* ReadXMLFile, ReadDTDFile: Moved all assignments of Document to the 'finally' sections to avoid
  leaks if parsing error happens. This was already done in most frequently used overloaded
  ReadXMLFile, but wasn't noticed in other places.
* TXMLReader.CheckName was unable to detect a malformed local part of a QName if its prefix is
  well-formed and crosses the buffer boundary. Fixed.

git-svn-id: trunk@13259 -
2009-06-11 18:29:25 +00:00
florian
70a262acbb * regenerated
git-svn-id: trunk@13258 -
2009-06-11 16:16:05 +00:00
florian
d15e6bbe2a + -vs is shown in the help screen, resolves #13958
* -v options slightly reordered so they are easier to read

git-svn-id: trunk@13257 -
2009-06-11 16:15:31 +00:00
sergei
a45049155e XPath parser improvements:
* Qualified names, 'NCName:*' and  variable references are handled as single tokens (no
  whitespace is allowed between parts).
* Function and variable names may have a prefix now.

git-svn-id: trunk@13256 -
2009-06-10 21:42:46 +00:00
Jonas Maebe
5c4f80d6bc * when optimizing temp assignments by simply replacing one temp with
another, it's not enough that the temp sizes are the same, because
    the assignment may only apply to part of them. In such cases,
    perform a regular copy (mantis #13948)

git-svn-id: trunk@13255 -
2009-06-10 19:14:40 +00:00
marco
4a2acd9d87 * out x:i<interfacetype> to out x; otherwise passing olevariants doesn't work.
git-svn-id: trunk@13254 -
2009-06-10 13:50:27 +00:00
sergei
538f82091a XPath improvements:
+ Utility function TXPathScanner.SkipToken, saves some amount of typing.
* Allow TXPathLocationPathNode to have FFirstStep = nil, and don't create a redundant
  initial step while parsing.

git-svn-id: trunk@13253 -
2009-06-09 22:52:16 +00:00
marco
2c3d6645be * dll should be ocx
git-svn-id: trunk@13252 -
2009-06-09 20:45:41 +00:00
marco
3c0c4fc966 * copyright and added to buildunit
git-svn-id: trunk@13251 -
2009-06-09 20:07:07 +00:00
marco
94d2c585a9 * makefiles adapted for htmlhelp
git-svn-id: trunk@13250 -
2009-06-09 19:56:56 +00:00
marco
2f218391d4 * initial htmlhelp header translation
git-svn-id: trunk@13249 -
2009-06-09 19:54:00 +00:00
joost
04ca09c600 * Fixed warning and removed semicolon-typo
git-svn-id: trunk@13248 -
2009-06-09 14:57:19 +00:00
sergei
f0e6946688 XML/HTML writers, handle denormalized line-ending sequences (#13 and #13#10), fixes #13879.
git-svn-id: trunk@13247 -
2009-06-08 20:01:30 +00:00
michael
0021183eb6 * Patch from reporter of bug ID #13924 to fix arguments with spaces if no argv is declared.
git-svn-id: trunk@13246 -
2009-06-07 08:53:36 +00:00
joost
17c4dc5feb * Fixed recognition of contenttypes containing information about the character-set
* Added debug-lines

git-svn-id: trunk@13245 -
2009-06-06 21:17:53 +00:00
sergei
26767125f0 * Refactored TXPathLocationPathNode.Evaluate(), split that awful 3-level nested procedure into
TStep.SelectNodes, TStep.ApplyPredicates and the remaining part.
* Since predicates contained in a location path are evaluated within separate contexts of their own,
  evaluation of the location path itself does not require a full context (only need context nodes).
  This simplifies things quite a bit.
+ Added support for evaluating filter expressions follwed by location path. Things like
  "id('foo')/bar" work now.

git-svn-id: trunk@13244 -
2009-06-06 18:51:50 +00:00
Jonas Maebe
ba951580a2 * fixes and cleanups for tbits (patch by Sergei Gorelkin, mantis #13890)
git-svn-id: trunk@13243 -
2009-06-06 14:35:25 +00:00
Jonas Maebe
7bff50becd * give an error message when the specified wpo feedback input file
is a directory
  * always quote wpo feedback file name in messages

git-svn-id: trunk@13242 -
2009-06-06 12:39:09 +00:00
Jonas Maebe
e13a708002 * fixed compiler crash when using a bitpacked array whose size was
close to high(longint) bytes

git-svn-id: trunk@13241 -
2009-06-06 12:33:18 +00:00
Jonas Maebe
d27673bbe4 * do not load wpo info from ppu files when we are not generating
a wpo feedback file (saves time and memory)

git-svn-id: trunk@13240 -
2009-06-06 09:08:08 +00:00
Jonas Maebe
b9601f10fb * part of r13238, forgot to commit
git-svn-id: trunk@13239 -
2009-06-06 09:07:07 +00:00
Jonas Maebe
41acad1d11 + keep track of called virtual methods per unit. -Owoptvtms will now replace
vmt entries of virtual methods that can never be called with references
    to FPC_ABSTRACTERROR. Some virtual methods are always considered to be
    reachable: published methods, and methods used as getter/setter for a
    published property.

git-svn-id: trunk@13238 -
2009-06-06 08:24:36 +00:00
ivost
91ae3e8788 * added TryStringToGuid function (former StringToGuid is using this now)
git-svn-id: trunk@13237 -
2009-06-05 20:35:12 +00:00
ivost
db429f2d48 * added GUID_NULL constant
git-svn-id: trunk@13236 -
2009-06-05 20:23:38 +00:00