Commit Graph

32352 Commits

Author SHA1 Message Date
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
michael
a872d84f72 Disabled debug define
git-svn-id: trunk@15569 -
2010-07-14 14:34:33 +00:00
michael
1b20fa6843 * Actually implemented Options (readonly, disable edit/delete/insert
git-svn-id: trunk@15568 -
2010-07-14 14:33:41 +00:00
michael
2397fa8b40 * Implemented ProtocolOptions and OnUnknownRecord to handle unknown FastCGI records
git-svn-id: trunk@15567 -
2010-07-14 14:31:50 +00:00
michael
0ee895f141 * Include trailing path delimiter. Check if session exists; Added some debug statements (in CGIDebug conditional)
git-svn-id: trunk@15566 -
2010-07-14 14:28:41 +00:00
michael
614d5e4858 * Added support for modules that do not have a stream associated with them; they are created with CreateNew
git-svn-id: trunk@15565 -
2010-07-14 14:26:09 +00:00
sergei
7e2f713d09 * HTML parser: in case of malformed input, do not create attributes with invalid names (Mantis #16916).
* Along the way, eliminated one layer of useless converting strings from wide to ansi and back.

git-svn-id: trunk@15564 -
2010-07-14 13:54:09 +00:00
marco
119277166e * fixed a problem in chmreader wrt moment of fwindows creation
* removed a redundant line from chmcmd (leftover from the getopts example)
 * reworking chmls on a getopts basis, like chmcmd, and make it support extracting files. (no wildcards (yet))

git-svn-id: trunk@15563 -
2010-07-13 17:57:49 +00:00
Jonas Maebe
a52d04d465 * %os -> %target
git-svn-id: trunk@15562 -
2010-07-13 11:28:47 +00:00
marco
5564ab3582 * added cdecl to some overloaded wsprintfa/w variants. Mantis 16915
git-svn-id: trunk@15561 -
2010-07-13 03:44:04 +00:00
joost
3e165e2dcf * Fixed compilation on Linux after r15557
git-svn-id: trunk@15560 -
2010-07-12 21:38:55 +00:00
michael
56d3739a03 * Patch from Dmitry Boyarintsev to implement expression parsing. Improved to have operator as enumerated
git-svn-id: trunk@15559 -
2010-07-12 20:56:43 +00:00
marco
3719524cb0 * Improved link scanning, and chmcmd commandline handling
git-svn-id: trunk@15558 -
2010-07-12 20:10:21 +00:00
Jonas Maebe
bfc1a6ff1c + added support for intialising/finalising threads not started via the FPC
runtime

git-svn-id: trunk@15557 -
2010-07-12 16:16:50 +00:00
marco
547f082abc * YOffset-pageswitch moved later into directputpix procedure, since an
intermediate read might otherwise fail (yoffset is a global) mantis #16911

git-svn-id: trunk@15556 -
2010-07-12 08:43:22 +00:00
andrew
9b55d22267 * fixed a bug where the header size was incorrectly reported causing useless chm files
git-svn-id: trunk@15554 -
2010-07-11 18:52:35 +00:00
sergei
83238862f7 * The tag name may be followed by any whitespace char, not only #32 (Mantis #16906)
git-svn-id: trunk@15551 -
2010-07-11 13:21:08 +00:00
marco
05c40669e6 * initial #windows, defaultwindow support
* initially working .hhp support in chmcmd
 * index and toc are not always named default.hh[k/c] anymore, but use the names in the project xml if specified.
 * callback to allow basic output for filewriter/chmcmd

git-svn-id: trunk@15550 -
2010-07-11 12:55:56 +00:00
andrew
532fb57eee * updated copyrights
git-svn-id: trunk@15549 -
2010-07-11 12:46:36 +00:00
andrew
ab10e35fd5 * added basic reading for ms help 2 the successor to chm
git-svn-id: trunk@15548 -
2010-07-11 12:43:38 +00:00
andrew
a0f62a1336 * Fixed a potential bug where a value would not change if a contition wasn't met
* Made TITSFReader friendlier for inherited classes
* Small fix for threaded lzx compressor

git-svn-id: trunk@15547 -
2010-07-11 12:13:36 +00:00
Jonas Maebe
9273856e84 * disallow pusha*/popa* for x86_64 (mantis #14862)
* disallow pushfd/popfd for x86_64 (mantis #14862)
  * fixed assembling popfq with the internal assembler (it needs a rex.w
    prefisx, while pushfq doesn't)
  * changed the default opcode size of pushf/popf/pusha/popa in
    {$asmmode intel} from "native size" to 16 bit (compatible with Intel
    manuals and Kylix; in AT&T mode, the default size for those operations
    remains the native one)
  * changed pushf/popf in rtl/i386/* into pushfd/popfd because of the
    previous change

git-svn-id: trunk@15546 -
2010-07-10 16:22:46 +00:00
daniel
86cbf76b92 * Fix/improve the value of "code" that is returned for val(string,enum,code) in
case the string is not recognized.

git-svn-id: trunk@15545 -
2010-07-10 15:38:45 +00:00