Commit Graph

32524 Commits

Author SHA1 Message Date
sergei
d44a1603db * TXPathScanner.ParseStep split into two functions in order to reduce complexity and improve readability.
* Also modified it so the data is accumulated in local vars, and resulting TStep objects are created only after the parsing is successfully complete.
* TXPathScanner.ParsePrimaryExpr: eliminated variable.

git-svn-id: trunk@15628 -
2010-07-24 03:21:40 +00:00
Jonas Maebe
e9c922b193 * fixed compilation with Delphi (patch by Sven Barth, mantis #17016)
git-svn-id: trunk@15627 -
2010-07-23 15:44:15 +00:00
paul
8a47c5ec8e tests: class sections test by Martin
git-svn-id: trunk@15625 -
2010-07-23 09:00:00 +00:00
joost
c024cbfb4c * Set the global CustomApplication variable, usefull for logging
git-svn-id: trunk@15622 -
2010-07-21 11:02:45 +00:00
joost
b5a6d94593 * Moved the handling of web-request from the TCustomWebApplication to a new class
TWebHandler. TCustomWebApplication and derivates are now a wrapper around the TWebHandler
 * Added TWebHandler.OnIdle event

git-svn-id: trunk@15621 -
2010-07-21 10:24:01 +00:00
Jonas Maebe
1258fd6ef0 - disabled FpSigTimedWait also for haiku (based on patch by
Olivier Coursiere, mantis #16996)

git-svn-id: trunk@15620 -
2010-07-20 20:54:04 +00:00
ivost
c57dd2785e * added support for xsd:base64Binary xml datatype
* TStream to String encoder
* String to TStream decoder

git-svn-id: trunk@15619 -
2010-07-20 14:16:28 +00:00
Jonas Maebe
e150c2c521 * dynamically grow the size of oschunks allocated for use by the memory
pools for small blocks (fixedfreelists) when lots of such oschunks
    are allocated successively, in order to reduce the overhead of
    allocating such chunks from the OS (and of freeing them afterwards)

git-svn-id: trunk@15618 -
2010-07-20 10:54:21 +00:00
joost
734dc9e9df * Reverted accidentally committed files in r15616
git-svn-id: trunk@15617 -
2010-07-20 09:55:42 +00:00
joost
790503cfc2 * Fixed FastCGI listening on a port on Windows after r15099
git-svn-id: trunk@15616 -
2010-07-20 09:52:22 +00:00
joost
746d03ea23 * Added TCustomFCgiApplication.Address property to change listen-ip-address
git-svn-id: trunk@15615 -
2010-07-20 09:41:26 +00:00
Jonas Maebe
b5f05d79fb * fixed parameter number of the function result for pushleftright_pocalls on
non-Windows i386 platforms

git-svn-id: trunk@15612 -
2010-07-19 15:33:26 +00:00
Jonas Maebe
66b29841dd * use the framework version of OpenAL for Mac OS X (based on patch by
Dmitry Boyarintsev, mantis #16961)

git-svn-id: trunk@15611 -
2010-07-19 14:16:42 +00:00
Jonas Maebe
e56f5d9462 + wavopenal example to play a wav file by Dmitry Boyarintsev (mantis #16961)
* only compile madopenal.pas for platforms for which the "mad" package
    gets compiled

git-svn-id: trunk@15610 -
2010-07-19 14:15:23 +00:00
Jonas Maebe
0207e5f8cd * fixed windows compilation after r15599
git-svn-id: trunk@15606 -
2010-07-19 09:24:26 +00:00
Jonas Maebe
62ece31615 - disabled fpsigtimedwait for darwin because it doesn't exist there
git-svn-id: trunk@15605 -
2010-07-18 22:07:33 +00:00
Jonas Maebe
b475d03612 * changed backwards_was_first and extended_backwards from supregsets into
tbitsets so that they can grow as necessary and so that we don't have
    to fill the entire 8KiB all the time

git-svn-id: trunk@15604 -
2010-07-18 22:00:55 +00:00
Jonas Maebe
c072eb5a34 * fixed growing a tbitset when adding an element whose index equals the
datasize (and grow with 16 bytes at a time instead of with only
    exactly as many bytes as required to accomodate the new element)

git-svn-id: trunk@15603 -
2010-07-18 21:58:47 +00:00
daniel
1009a84e25 + Add modify_ldt to linux unit
+ Add sched_yield to linux unit
  - Remove clone for m68k from linux unit (unimplemented assembler section)
  + Add fpsigtimedwait to baseunix unit

git-svn-id: trunk@15602 -
2010-07-18 21:53:26 +00:00
Jonas Maebe
99a75c56fc * fixed copy-paste error in r15600
* fixed spilling error after r15600 the same register appears twice in an
    instruction (it was spilled once in that case)

git-svn-id: trunk@15601 -
2010-07-18 21:24:52 +00:00
Jonas Maebe
a75016e67b * make sure that registers are of the right type before calling get_alias
on them (could cause crashes or, in very rare instances, wrong spilling
    code)

git-svn-id: trunk@15600 -
2010-07-18 21:01:06 +00:00
Jonas Maebe
d7cdd9afba * allow tthread-based threads to only start executing once the constructor
has finished running (based on patch by Jared Davison, mantis #16884)

git-svn-id: trunk@15599 -
2010-07-18 16:31:25 +00:00
Jonas Maebe
b18a4617bb * fixed calling static TP-style object methods from within other methods
(mantis #16954)

git-svn-id: trunk@15598 -
2010-07-18 11:01:12 +00:00
Jonas Maebe
e881e4aa22 * always use the read window to read from video memory (patch by
Nikolay Nikolov, mantis #16926)

git-svn-id: trunk@15597 -
2010-07-18 09:48:56 +00:00
Jonas Maebe
5b0962b735 * fixed misplaced bracket in condition test that caused all blocks
in libraries to be parsed as if they were the main module block,
    which in practice mainly mean that local variables with default
    values were never initialisation (mantis #16949)

git-svn-id: trunk@15596 -
2010-07-18 09:46:04 +00:00
florian
9affb070b8 * don't force OT_BITS32 on x86-64, resolves #16622
git-svn-id: trunk@15595 -
2010-07-17 20:57:06 +00:00
Jonas Maebe
c30279cdc8 * no longer create implicit fail-cleanup code for TP-style object
constructors without an implicit exception frame (bug introduced
    in r15583, fixes cycle on linux/i386)

git-svn-id: trunk@15594 -
2010-07-17 19:45:03 +00:00
marco
eead32ac62 * unblock folded into chmls and deleted.
git-svn-id: trunk@15593 -
2010-07-17 11:52:58 +00:00
andrew
0470c544d6 * fixed bug #15838 where chm urls might have a backslash in the url
git-svn-id: trunk@15592 -
2010-07-17 03:33:28 +00:00
marco
e266ea453e * added extractall command to extract all files in a chm.
git-svn-id: trunk@15591 -
2010-07-16 21:05:32 +00:00
michael
28a97035eb * Patch from Dmitry Boyarintsev to improve expression parsing (16931).
git-svn-id: trunk@15590 -
2010-07-16 19:03:47 +00:00
joost
4fc3ef3c18 * Show help-message with default actions when no action is given, IsConsole
is true and there is no OnRun event handler
 * Use TCustumApplication.Log method for logging
 * Because the logger was freed before exceptions were shown, exceptions were
   never logged. Now they are.

git-svn-id: trunk@15588 -
2010-07-16 16:35:47 +00:00
joost
a6542d988e * Forgot to commit OS/2 file in r15586
git-svn-id: trunk@15587 -
2010-07-16 16:16:08 +00:00
joost
8d9f3feafa * Added the ability to un-register the eventlog message-file
git-svn-id: trunk@15586 -
2010-07-16 16:14:29 +00:00
Jonas Maebe
86d2316a76 * check for self<>nil again before calling afterconstruction, fixes
tclass5.pp, tw1283.pp and tw10790.pp after r15583

git-svn-id: trunk@15585 -
2010-07-16 07:12:31 +00:00
andrew
82c31c7139 * Fixed chm bug that stopped the search db fr ever being written to a file
git-svn-id: trunk@15584 -
2010-07-15 21:42:02 +00:00
Jonas Maebe
a07bb94fcb * separate the finally block that dezals with cleaning up temps and the
except block that deals with exceptions raised inside the constructor
    (including afterconstruction), so that afterconstruction is always
    called after all temps have been finalised (necessary because in case
    of tinterfacedobject it decreases the reference count of the instance
    without every freeing the instance, so if that is done before a temp
    that also holds a refernce is finalised, the temp may wrongly free
    the instance (mantis #16592, #16592)

git-svn-id: trunk@15583 -
2010-07-15 19:25:40 +00:00
Jonas Maebe
0f269a4a7b * extended test
git-svn-id: trunk@15582 -
2010-07-15 19:17:38 +00:00
Jonas Maebe
572f51867c * fixed tobjectdef.find_destructor(), it did not search the parent classes
git-svn-id: trunk@15581 -
2010-07-15 19:11:14 +00:00
Jonas Maebe
517290d09d * fixed pthread_create signature
git-svn-id: trunk@15580 -
2010-07-15 12:02:48 +00:00
marco
55927f4264 * two more changed defaults and default parsing errors.
git-svn-id: trunk@15579 -
2010-07-15 09:45:41 +00:00
marco
526c9e2eaf * more little fixes from initial testing. Mostly errormessages and .hhp defaults.
chmls -n switch

git-svn-id: trunk@15578 -
2010-07-15 08:58:54 +00:00
michael
6f58da1d49 * Removed debug conditional
git-svn-id: trunk@15577 -
2010-07-15 08:24:49 +00:00
Jonas Maebe
13142a17dd * added fcl-web to the unit search path
git-svn-id: trunk@15576 -
2010-07-15 08:02:23 +00:00
Jonas Maebe
869efc9388 * fcl-web/src/webdata/* depends on fcl-process (dbugintf unit)
git-svn-id: trunk@15575 -
2010-07-15 07:28:07 +00:00
sergei
b4b83a7edb * HTML reader, attempt recovery from misplaced '<' characters (another part of Mantis #16916).
git-svn-id: trunk@15574 -
2010-07-15 04:54:14 +00:00
andrew
28041f3e3f * fixed a possible chm compiler crash when a chm without .ht* files is created but full search is enabled.
git-svn-id: trunk@15573 -
2010-07-15 03:28:43 +00:00
michael
2796b58cfd * Always send date/time in fixed format, send used format as well in metadata
git-svn-id: trunk@15572 -
2010-07-14 14:36:30 +00:00
michael
463faef0b6 * Implemented OnParamValue event
git-svn-id: trunk@15571 -
2010-07-14 14:35:36 +00:00
sergei
1a50f3ed26 * The fix in r15551 was not entirely correct. Must handle the case when string ends with a single whitespace.
git-svn-id: trunk@15570 -
2010-07-14 14:35:13 +00:00