Commit Graph

30178 Commits

Author SHA1 Message Date
joost
1ff5458a91 * Removed unused private procedure ThreadTerminated
* Send control codes to daemon thread, solves problems responding to external signals

git-svn-id: trunk@13013 -
2009-04-15 15:16:44 +00:00
michael
284f689c5d * timer property in driver is protected
git-svn-id: trunk@13012 -
2009-04-14 15:22:30 +00:00
michael
e633349d21 * With --help, do not check for package name
git-svn-id: trunk@13011 -
2009-04-14 12:24:01 +00:00
joost
aab8d374b6 * Do not use the locale DecimalSeparator when formatting float-parameters, bug #13279
git-svn-id: trunk@13010 -
2009-04-13 20:54:09 +00:00
michael
0d30dfad3a * Added fpcddb.pp to Makefile. Small fix in unix CD detection
git-svn-id: trunk@13009 -
2009-04-13 17:56:21 +00:00
paul
606dbcec8c gtk2ext: use cdecl for function declarations
git-svn-id: trunk@13008 -
2009-04-13 05:57:29 +00:00
joost
5a488a9e5f * Allow TFloatField.Precision=-1, which is the default, bug #13297
git-svn-id: trunk@13007 -
2009-04-11 10:33:17 +00:00
joost
e0c018c8f1 * Renamed TResponse.SendTemporaryRedirect to SendRedirect for Delphi
compatibility. Bug #13254

git-svn-id: trunk@13006 -
2009-04-05 21:27:35 +00:00
joost
709fcaa7bd * Made TCustomWebAction.SetDisplayName override its parent
* When DefActionWhenUnkown is true, use the default action when the action
   is invalid. Else raise an exception. Based on patch from Attila Borka, 
   bug #13254

git-svn-id: trunk@13005 -
2009-04-05 21:24:04 +00:00
Jonas Maebe
626a723f8c * in {$h+} mode, always treat string constants as if they were ansistrings
when determining the result of string concatenations (mantis #13456)

git-svn-id: trunk@13004 -
2009-04-05 17:26:38 +00:00
Jonas Maebe
b2607e0d83 * refactored append_entry(), so that the code to append a single
attribute is available via the new append_attribute() method
    (to enable easily adding extra attributes)
  * write the definitions of methods as child entries of the
    objectdef, instead of in the global scope
  * only write DW_AT_calling_convention and DW_AT_external attributes
    if their value is different from the DWARF default one
  + write DW_AT_virtuality and DW_AT_vtable_elem_location attributes
    for virtual methods
  * write the debug info for the hidden "self" parameter before all
    other parameters and mark it as "artificial", because that is
    how GDB distinguishes regular methods from static methods

git-svn-id: trunk@13003 -
2009-04-05 16:12:10 +00:00
joost
3509008c60 * Implemented transaction-support, based on patch from Inoussa Ouedraogo,
bug #13420
 * Explicetely cast error-buffer to pchar
 * Allocate and de-allocate statement handles while preparing and unpreparing
   a statement, because when an error occurs and the transaction is closed,
   OCI automatically frees all bound statement handles. Which results in a 
   second try to free the handle if that is done in DeAllocateCursorHandle
 * Oracle supports escaping quotes by repeating them

git-svn-id: trunk@13002 -
2009-04-05 15:24:03 +00:00
joost
934a6b159f * Also in ExecuteDirect the allocation and preparation of a cursor should be
as close together as possible

git-svn-id: trunk@13001 -
2009-04-05 14:17:52 +00:00
marco
f514697f94 * Put a lot of writeln's under $Ifdef FPC_DEBUG_IMAGE. In readtiff I put the entire "DEBUG"
property under this ifdef. Debug features like this shouldn't be part of the released interface.

git-svn-id: trunk@13000 -
2009-04-04 16:02:48 +00:00
daniel
1b8902e341 * Apply bugfix patch by Michalis Kamburelis from bug report 13463
git-svn-id: trunk@12999 -
2009-04-04 13:09:29 +00:00
paul
ab41a9b2b1 gtk2: add some gdk-pixbuf 1.6 scaling functions
git-svn-id: trunk@12998 -
2009-04-04 12:07:32 +00:00
Jonas Maebe
1f6ec36064 * save/restore errno inside reenable_signal, because it can be called
from inside signal handlers

git-svn-id: trunk@12997 -
2009-04-04 09:59:41 +00:00
marco
ba10015c04 * Committed patch from Mantis 13331. gif is indeed always little endian.
Also added registration reader part of patch, since other readers do too.

git-svn-id: trunk@12996 -
2009-04-03 09:30:23 +00:00
Jonas Maebe
b45482e979 + provisional DW_CC_GNU_borland_fastcall_i386 constant to identify
Borland's i386 calling convention (its value may still change)
* specify the calling convention of each procedure in the DWARF info
* don't add the function result twice or even thrice to the debug
  info, and don't add it at all to the parameter lists (even if it's
  a hidden parameter, gdb will automatically add it according to the
  ABI rules when calling the function)
-> calling "register" functions/procedures works with my experimental
   gdb patch (methods not yet tested, and probably won't work yet)

git-svn-id: trunk@12995 -
2009-04-02 22:21:27 +00:00
marco
c63a3723e1 * 64-bit related fix to overlapped structure (Mantis 13443)
git-svn-id: trunk@12994 -
2009-04-02 11:18:11 +00:00
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