Commit Graph

32539 Commits

Author SHA1 Message Date
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
Jonas Maebe
a3a559cecc * part of r15538, forgot to commit
git-svn-id: trunk@15544 -
2010-07-10 15:05:30 +00:00
Jonas Maebe
26cc281390 * fixed real48 to double conversion for 0.0 (patch by "jeng", mantis #16863)
git-svn-id: trunk@15543 -
2010-07-10 12:15:13 +00:00
joost
b3ca47e88a * Install the doc and example sourcefiles
* Added ability to specify in which subdir a doc/example sourcefile should be
   installed
 * Replace the at that place unset Prefix fpr baseinstalldir in two locations
 * Removed useless if-then construct

git-svn-id: trunk@15542 -
2010-07-10 11:19:56 +00:00
Jonas Maebe
2bf79e6e51 * fixed error message when using for-in with Objective-Pascal 1.0
git-svn-id: trunk@15541 -
2010-07-10 10:00:19 +00:00
Jonas Maebe
5ce9bf7e39 * ifdef i386 -> ifdef cpui386 (fixes i386 compilation)
git-svn-id: trunk@15540 -
2010-07-10 09:17:56 +00:00
marco
50af809a6c * a few portuguese message updates by Marcelo B Paula #0016843
git-svn-id: trunk@15539 -
2010-07-10 09:06:50 +00:00
Jonas Maebe
d3976c858b * fixed 64 bit check for "movd xmmreg, mem" and "movd mem, xmmreg" (patch by
Jasper Neumann, mantis #13294)
  * moved "reg64, xmmreg" and "xmmreg, reg64" combo's from movd to movq
    (movd is always 32 bit)

git-svn-id: trunk@15538 -
2010-07-09 21:16:48 +00:00
Jonas Maebe
36e4f3d38b * fixed getting upper byte of "extra field" (patch by Brett, mantis #16887)
git-svn-id: trunk@15537 -
2010-07-09 20:11:19 +00:00
sergei
5abc4bf45d Russian message file update:
* Fixed some typos
* Changed translation of message 5005 (see discussion at http://freepascal.ru/forum/viewtopic.php?t=6021)
* Changed translation of "Target OS" as was suggested by Dmitriy Boyarintsev a long time ago

git-svn-id: trunk@15536 -
2010-07-09 06:11:02 +00:00
Jonas Maebe
229cbca086 * propagate pi_has_assembler_block and pi_uses_exceptions flags from inlined
routines to their host, as in this case the stack frame cannot be omitted
    (mantis #16874)

git-svn-id: trunk@15535 -
2010-07-08 20:34:17 +00:00
Jonas Maebe
a302cbeff1 * more Win64 -> FPC_HAS_TYPE_EXTENDED check conversions
git-svn-id: trunk@15534 -
2010-07-07 19:02:18 +00:00
Jonas Maebe
68ee2ca193 * make use of x87 dependent on availability of FPC_HAS_TYPE_EXTENDED
define instead of on win64

git-svn-id: trunk@15533 -
2010-07-07 18:59:04 +00:00
Jonas Maebe
574d7eb70d * use call/pop instead of call/mov/ret to get the GOT pointer on
Darwin/i386, because that's slightly faster on Core Solo and
    later CPUs (and it avoid using a non-volatile register when not
    required)

git-svn-id: trunk@15532 -
2010-07-07 18:55:43 +00:00