Commit Graph

30641 Commits

Author SHA1 Message Date
joost
6fc0f8f0d7 * Patch from Atilla Borka to add TCustomModule.Request and .Response properties (bug 13287)
git-svn-id: trunk@13026 -
2009-04-22 21:04:59 +00:00
Jonas Maebe
2465126f60 * also check that nested procedures don't have any nested procedures
of their own that are marked as inline, instead of only doing so
    for non-nested procedures (mantis #13553)

git-svn-id: trunk@13025 -
2009-04-22 15:12:42 +00:00
Jonas Maebe
02b14b2d5d * don't free deref info after using it, because it may be needed again
again later (in case of recompilations with circular unit references)
    (mantis #13323)

git-svn-id: trunk@13024 -
2009-04-22 14:52:27 +00:00
Jonas Maebe
a4bf91001e * fixed location_free() for locations consisting of multiple
physical registers
  * free the physical return registers at the caller side for 64 bit
    systems
  * make sure that we do not double-free registers in case a return
    value is not used (mantis #13536)

git-svn-id: trunk@13023 -
2009-04-20 18:57:49 +00:00
joost
24ce200737 * Cleanup session-specific variables because the session-instance can be re-used, bug #13287
git-svn-id: trunk@13022 -
2009-04-19 21:24:59 +00:00
marco
9f3b8511ba * fix for socketerror problems; x86_64 specific (NEED_SOCKETCALL).
internal_socketerror now set after calls, Mantis 13506
  

git-svn-id: trunk@13021 -
2009-04-19 21:02:28 +00:00
joost
9102bff319 * Improved description of fpTemplate by Atilla Borka
git-svn-id: trunk@13020 -
2009-04-19 18:46:04 +00:00
ivost
0e9690c31b * added striscan, strriscan and stripos
git-svn-id: trunk@13019 -
2009-04-17 10:08:17 +00:00
ivost
cf544462d8 * fixed typo in comment of strpos
git-svn-id: trunk@13018 -
2009-04-17 09:45:03 +00:00
paul
f555bc59c7 gtk2: add gdk cairo functions (patch from Martin Sucha with modifications)
git-svn-id: trunk@13017 -
2009-04-17 03:21:41 +00:00
joost
90154d3a91 * Patch from Ladislav Karrach to implement support for more parameter-types and null-parameters, bug #13026
git-svn-id: trunk@13016 -
2009-04-16 21:46:42 +00:00
joost
3d272d21b6 * Fixed compilation on windows after r13013
git-svn-id: trunk@13015 -
2009-04-16 14:12:16 +00:00
marco
97093e4f2b * fixed 64-bit size of findmatch. (mantis 13504) Tested with $12000001 bytes large file, matched to the byte.
git-svn-id: trunk@13014 -
2009-04-16 05:38:00 +00:00
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