florian
80c0f33c0e
* patch by Sergei Gorelkin: fixes compilation with -dEXTDEBUG
...
git-svn-id: trunk@13043 -
2009-04-25 20:02:08 +00:00
Jonas Maebe
e2b8792bd3
* do not initialize global reference-counted variables in the automatic
...
initialization code of units/programs, because they are already
zero and initializing them explicitly is Delphi-incompatible
(mantis #13345 )
git-svn-id: trunk@13042 -
2009-04-25 18:53:58 +00:00
Jonas Maebe
90b2d673df
* fixed opt/cpu settings for test
...
git-svn-id: trunk@13041 -
2009-04-25 18:52:00 +00:00
Jonas Maebe
ca132e203f
* treat typecast(register) the same as typecast([register]) in assembler
...
expressions (for Delphi compatibility, mantis #9327 )
git-svn-id: trunk@13040 -
2009-04-25 15:37:38 +00:00
joost
1bf74a426b
* Fixed typo in r13026, could should not be commented
...
git-svn-id: trunk@13039 -
2009-04-25 15:22:02 +00:00
marco
704c0adbd0
* iconvenc now also with dynlinking separate. Some fixes for OS X 10.3 and Haiku ported from cwstring
...
git-svn-id: trunk@13038 -
2009-04-25 12:10:42 +00:00
Jonas Maebe
dbeb3e060f
* fixed internalerror(2007120903) when using -Cfsse2 in case an unsigned
...
32 bit subrange type with high(subrange_type) <= high(longint) is
converted to a float
git-svn-id: trunk@13037 -
2009-04-25 11:40:02 +00:00
Jonas Maebe
533f533868
* changed destination parameter of getmem/getmemory from "var" to "out"
...
(mantis #11907 )
git-svn-id: trunk@13036 -
2009-04-25 09:57:29 +00:00
Jonas Maebe
4771ca3ce1
* import iconv functions as libiconv_* instead of as iconv_* for ppc32
...
for Mac OS X 10.3 compatibility
git-svn-id: trunk@13035 -
2009-04-25 09:34:11 +00:00
Jonas Maebe
045ae3ab69
o fixed r13033:
...
* test now tests both ansistring and widestring constants, instead of only
ansistring
* fixed writing of widestring constants to ppu file
* fixed setting length of read widestring constants (don't only set maxlen)
* handle cross-endian reading of widestring constants
git-svn-id: trunk@13034 -
2009-04-24 22:29:05 +00:00
Jonas Maebe
37a2cff8fb
* fixed loading widestring constsym values from ppu files (mantis #13583 )
...
* null-terminate loaded ansistring/resourcestring constants from ppu files
git-svn-id: trunk@13033 -
2009-04-24 21:36:01 +00:00
Jonas Maebe
f9a17c47bd
* write output to screen if log file(s) cannot be opened (mantis #12532 )
...
git-svn-id: trunk@13032 -
2009-04-24 13:28:06 +00:00
Jonas Maebe
8de8d4c29b
* don't call FPC_CHECKPOINTER for references built from a LOC_CONSTANT
...
(mantis #13522 )
git-svn-id: trunk@13031 -
2009-04-24 13:08:39 +00:00
Jonas Maebe
a6f20cdba9
* align the stack pointer to alignment.localalignmax, fixes crashes on
...
ARM EABI systems because of a missing 8 byte alignment (mantis
#11595 , #13391 and #13454 )
git-svn-id: trunk@13030 -
2009-04-24 12:35:26 +00:00
Jonas Maebe
1ad1eac9e8
* use monetary thousands separator if numerical thousands separator is #0
...
(mantis #13552 , patch by Jesus Reyes)
git-svn-id: trunk@13029 -
2009-04-23 19:17:37 +00:00
Jonas Maebe
e8edc31a89
* don't insert thousandseparator if it is #0 (mantis #13552 , patch by
...
Jesus Reyes)
git-svn-id: trunk@13028 -
2009-04-23 19:16:49 +00:00
Jonas Maebe
10158da60e
* give an error when trying to use the offset of a non-byte-aligned field
...
of a bitpacked record in assembler code
* convert the offsets of byte-aligned fields of bitpacked records from bits
to bytes (mantis #13563 )
git-svn-id: trunk@13027 -
2009-04-23 17:27:44 +00:00
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