Commit Graph

30258 Commits

Author SHA1 Message Date
Jonas Maebe
039847b5c0 - removed duplicate GenMouseEvent() procedure (patch by Danny Milosavljevic,
mantis #13412)

git-svn-id: trunk@12993 -
2009-04-01 17:12:55 +00:00
Jonas Maebe
c66791a605 * made AddSpecialSequence() public with the "platform" keyword, as
suggested by Marco in his comment to mantis #13413

git-svn-id: trunk@12992 -
2009-04-01 17:05:33 +00:00
blikblum
7f6b246136 * Allow string fields to be used as primary key
git-svn-id: trunk@12991 -
2009-03-31 20:23:13 +00:00
joost
49f2270221 * Reverted accidentally committed files in r12989
git-svn-id: trunk@12990 -
2009-03-31 08:26:31 +00:00
joost
37dcbd6612 * Fixed compilation, SendTemporaryRedirect should be a method of TResponse, not THttpHeader
git-svn-id: trunk@12989 -
2009-03-31 08:23:55 +00:00
joost
2d076d109b * Set svn:mime-type and svn:eol-style properties
git-svn-id: trunk@12988 -
2009-03-30 21:32:27 +00:00
joost
fc804894dd * Implemented TResponse.SendTemporaryRedirect (part of bug #13254)
git-svn-id: trunk@12987 -
2009-03-30 21:07:42 +00:00
joost
7389f2dbd3 Patch from Atilla Borka, part of bug #13254
* Fixed a bug for Apache applications to pass the Status Code and Content
   Encoding to the web server in the response.
 * Fixed the header name/value pair passing for Apache applications

git-svn-id: trunk@12986 -
2009-03-30 17:51:23 +00:00
joost
13d79f4352 Patch from Atilla Borka, part of bug #13254
* Fixed a bug for Apache applications that returned with the same action
    results after any action with the use of TFPTemplate called

git-svn-id: trunk@12985 -
2009-03-30 17:43:58 +00:00
blikblum
d191ae1fc9 * Allow ApplyUpdates to insert added records if PrimaryKey is not set and if there's no updated or deleted records
git-svn-id: trunk@12984 -
2009-03-29 21:29:38 +00:00
blikblum
368fdc2a3d * Fixes to ApplyUpdates:
- Issue a transaction rollback after an error
  - Don't start new transactions after an error / ReturnCode will have the first error code

git-svn-id: trunk@12983 -
2009-03-29 20:42:38 +00:00
joost
c37ca78c90 * Unit custweb must be available on all targets
* Added fpfcgi unit with FastCGI-TApplication template

git-svn-id: trunk@12982 -
2009-03-29 16:20:08 +00:00
joost
467638c4f5 * Made TCustomCGIApplication a child of TCustomWebApplication
git-svn-id: trunk@12981 -
2009-03-29 15:51:31 +00:00
joost
ba861fbccc * Reverted accidentily committed file in r12979
git-svn-id: trunk@12980 -
2009-03-29 14:48:56 +00:00
joost
78cd943947 * Call ShowRequestException when an exception occurs while handling a request
git-svn-id: trunk@12979 -
2009-03-29 14:47:45 +00:00
joost
76e0df5300 * Made TCustomApacheApplication a child of TCustomWebApplication
* Moved code from TCustomApacheApplication to TCustomWebApplication. The goal
   is to let TApacheApplication, TCGIApplication and TFCGIApplication use the
   same codebase as much as possible

git-svn-id: trunk@12978 -
2009-03-29 13:42:25 +00:00
joost
0911ec32f2 Added support for web-modules to TCustomWebApplication
git-svn-id: trunk@12977 -
2009-03-29 12:26:56 +00:00
joost
87c17a6ef8 * Refactored so that identation-style is consistent within the unit
git-svn-id: trunk@12976 -
2009-03-29 10:21:06 +00:00
joost
d6f5df2572 * Replaced deprecated call to mysql_server_init with call to mysql_library_init
git-svn-id: trunk@12975 -
2009-03-29 10:18:50 +00:00
joost
8ffb1a751e * Implemented THTMLDatasetFormProducer.AfterSetRecord
* Fixed some compiler-warnings
 * Fixed possible AV
 * When a label also is a link, really make a link
 * Removed (almost) duplicate code in PlaceFieldValue

git-svn-id: trunk@12974 -
2009-03-29 09:40:09 +00:00
blikblum
986553771d * Raise an exception in ExecSQLList
git-svn-id: trunk@12973 -
2009-03-28 16:28:22 +00:00
blikblum
d2117f9285 * Set ReturnCode value after a call to ExecSqlList
git-svn-id: trunk@12972 -
2009-03-28 15:20:32 +00:00
ivost
ca45377a86 * fixed calling convention of some mysql functions (maybe there are more wrong)
git-svn-id: trunk@12971 -
2009-03-27 22:38:06 +00:00
joost
9938d57233 * Initial implementation of FastCgi support
git-svn-id: trunk@12970 -
2009-03-27 22:33:27 +00:00
joost
b4a8ae3637 Patch from Graeme Geldenhuys to fix a compiler-hint
git-svn-id: trunk@12969 -
2009-03-27 21:35:49 +00:00
yury
d779e1e587 * Patch by Paul Ishenin for wince's commctrl.
git-svn-id: trunk@12967 -
2009-03-27 17:55:29 +00:00
ivost
6e0f22ce5e * fixed call of mysql_library_init in TryInitializeMysql
git-svn-id: trunk@12966 -
2009-03-27 02:38:57 +00:00
joost
24d3fb02ce * Patch from Hwang Weng Sun to allow more then 128 fields in a SQLDA structure, bug #13340
git-svn-id: trunk@12965 -
2009-03-26 16:51:03 +00:00
daniel
7084dd4192 * Apply patch written by Jonas in bug report 13362 to make the gpm
unit handle EINTR situations.

git-svn-id: trunk@12964 -
2009-03-23 22:20:56 +00:00
Jonas Maebe
757abc620a * comparing tdatetime variant values has to happen without an epsilon,
as all bits of the double value encode date/time information
    (mantis #13110)

git-svn-id: trunk@12962 -
2009-03-23 17:00:58 +00:00
michael
f641281a7e * Patch from Sergei Gorelkin:
+ added TXPathBinaryNode as a common ancestor for binary operations;
  + TXPathBooleanOpNode now handles only 'and' and 'or' operators,
    the purpose is to not evaluate the second argument if the result can
    be determined by the first argument;
  * Comparison operations moved to TXPathCompareNode and fixed
    to support INFs and NANs correctly;
  * Fixed TranslateWideString() that was not deleting characters;
  * Fixed 'substring-after' function so its result is empty when argument
    string does not contain the pattern;
  * Fixed 'round' funcion so it complies to the specs;
  * Completed implementation of 'substring' function (but surrogate pairs
    are not handled yet);
  * Mask exInvalidOp and exZeroDivide FPU exceptions while evaluating
    expressions, this ensures correct calculations with respect to INFs
    and NANs.
  + Added testsuite for xpath

git-svn-id: trunk@12961 -
2009-03-23 08:37:51 +00:00
Jonas Maebe
40247d2d87 * give an error when the typeinfo() function is called for an enumeration
whose base is not 0, or that has jumps in its value range (manits #9551)

git-svn-id: trunk@12960 -
2009-03-22 20:54:49 +00:00
Jonas Maebe
0698678f86 * renamed tw13345y.pp to uw13345y because it's a unit (otherwise its
object file is not available for linking when tw13345x is recompiled)

git-svn-id: trunk@12959 -
2009-03-22 20:52:45 +00:00
Jonas Maebe
6a813b8e7b * fixed rounding error in DateTimeToUnix (mantis #12894 and #12936)
* fixed errors in Inc*() routines regarding skipping the black
    home in the data-time continuum around 0, and the same for the
    *Between() functions
  + tests, test...

git-svn-id: trunk@12958 -
2009-03-22 18:26:34 +00:00
Jonas Maebe
1c2d2ae481 * fixed SimpleRoundTo() function (mantis #10159)
git-svn-id: trunk@12957 -
2009-03-22 16:29:54 +00:00
Jonas Maebe
624a7be9b1 * fixed internal error when a subscripted object is used in a property
(mantis #12756)

git-svn-id: trunk@12956 -
2009-03-22 16:21:06 +00:00
Jonas Maebe
6f4637b32a * do not do anything when writing to a t(custom)memorystream if the current
position is negative (patch by Collin Western, mantis #13318)

git-svn-id: trunk@12955 -
2009-03-22 15:53:16 +00:00
Jonas Maebe
5cf4ab7642 * always initialize/finalize global refcounted variables in units, also
when they are not used in the unit where they are defined (since they
    may be used elsewhere, discovered while analyzing mantis #13345)

git-svn-id: trunk@12954 -
2009-03-22 15:41:13 +00:00
michael
647fe5f237 * Fixed visibility of TDaemonDefs.FOwner
git-svn-id: trunk@12953 -
2009-03-22 12:27:59 +00:00
joost
ad7f4a1f24 * Use ExeSearch instead of FileSearch to find compiler/command executable
git-svn-id: trunk@12952 -
2009-03-22 10:08:24 +00:00
joost
0721235ab3 * Use ExeSearch instead of FileSearch to find process executable
git-svn-id: trunk@12951 -
2009-03-22 10:05:25 +00:00
joost
c1a83273f7 * Use ExeSearch instead of FileSearch to find command executable
git-svn-id: trunk@12950 -
2009-03-22 10:04:46 +00:00
joost
d4d733b173 * Use ExeSearch instead of FileSearch to find fpc executable
git-svn-id: trunk@12949 -
2009-03-22 10:04:04 +00:00
joost
d4c2a35c75 * Use ExeSearch instead of FileSearch to find compiler executable
git-svn-id: trunk@12948 -
2009-03-22 10:03:03 +00:00
joost
51b49d324e * Implemented function ExeSearch
git-svn-id: trunk@12947 -
2009-03-22 10:02:24 +00:00
joost
2c7d05d210 * Added ImplicitCurrentDir : Boolean = True parameter to FileSearch
git-svn-id: trunk@12946 -
2009-03-22 09:35:48 +00:00
joost
bfae5e097d * When IsSuperUser is true, use the GlobalUnitDir instead of the
LocalUnitDir. Just like that the GlobalInstallDir is passed to fpmake.

git-svn-id: trunk@12945 -
2009-03-22 09:21:42 +00:00
Jonas Maebe
a7e02c7948 * check validity of calling conventions specified using {$calling x}
(previously, this was only checked for calling conventions specified
     as a procedure directive)

git-svn-id: trunk@12944 -
2009-03-21 21:21:45 +00:00
Jonas Maebe
0d219154f3 * FPCMacOSAll -> MacOSAll
git-svn-id: trunk@12943 -
2009-03-21 21:20:29 +00:00
Jonas Maebe
0e6f9dc688 * only use calling conventions supported on all platforms
git-svn-id: trunk@12942 -
2009-03-21 20:56:28 +00:00