Jonas Maebe
630aa5c493
* do not use voidtype for temporary parameter/result locations when
...
inlining, because that results in alignment settings of "0"
(voidtype.savesize = 0 -> size2align(0) = 0), which is interpreted
by the code generators as unaligned (and is actually even invalid
nowadays). This caused errors on NDS when writing to memory mapped
I/O devices (mantis #13343 )
git-svn-id: trunk@12916 -
2009-03-18 22:25:06 +00:00
Jonas Maebe
f70db9cc93
* fcl-db depends on fcl-xml (xmldatapacketreader uses dom)
...
git-svn-id: trunk@12915 -
2009-03-18 21:49:13 +00:00
Jonas Maebe
3d739f7a80
* fixed test for non-i386 platforms after r12913
...
git-svn-id: trunk@12914 -
2009-03-18 20:05:15 +00:00
Jonas Maebe
9ab03e72f3
* mark class and interface parameters as pfAddress (further fix for
...
mantis #12038 ) + test
git-svn-id: trunk@12913 -
2009-03-17 20:37:11 +00:00
tom_at_work
ebe8c60813
* also compile lnfodwrf on win32 by default
...
git-svn-id: trunk@12912 -
2009-03-17 19:17:22 +00:00
Jonas Maebe
c90ecac667
- disabled CFI again for Darwin, it doesn't work there yet
...
git-svn-id: trunk@12911 -
2009-03-17 19:03:33 +00:00
Jonas Maebe
173ca78a68
* removed superfluous "end of debug info" marker (zero-byte), about
...
which objdump complained
git-svn-id: trunk@12910 -
2009-03-17 18:42:00 +00:00
Jonas Maebe
c9af7d6476
* added tf_dwarf_only_local_labels for Windows (should make DWARF usable
...
on Windows, although there are still some warnings)
git-svn-id: trunk@12909 -
2009-03-17 17:07:17 +00:00
florian
b4953e3a50
* ignore $CONTROLLERTPYES marco on non-AVR/ARM platforms in msg files
...
git-svn-id: trunk@12908 -
2009-03-17 13:55:52 +00:00
florian
6e8a6790d1
+ FPC_ARMEB and CPUARMEB similiar to FPC_ARMEL and CPUARMEL
...
git-svn-id: trunk@12907 -
2009-03-17 13:43:24 +00:00
Marc Weustink
0efd37a4c9
* enabled generation of dwarf frames for non x64 targets when dwarf debug info is requested
...
* renamed al_dwarf enum to al_dwarf_frame since this enum only enables frame generation
* renamed create_dwarf procedure for the same reason
* skipped check for dwarf support in assember, since we generate all dwarf info ourselves
git-svn-id: trunk@12906 -
2009-03-16 23:43:26 +00:00
Jonas Maebe
f54089a5e2
* encode the offset of absolute global variables in the symbol instead
...
of in the DWARF, as it's more efficient and avoids a gdb bug which
occurs on some platforms (thanks to Jan Kratochvil for the tip,
http://sourceware.org/ml/gdb/2009-03/msg00094.html )
git-svn-id: trunk@12905 -
2009-03-16 21:14:54 +00:00
Jonas Maebe
bfd753b7c9
- removed tf_dwarf_relative_addresses again, it causes differences
...
compared to the gcc-generated code (and removing it does not cause
other differences). Partial revert of r12592.
git-svn-id: trunk@12904 -
2009-03-16 17:20:04 +00:00
Jonas Maebe
4e20c12326
* fixed compilation on x86_64 and ARM after r12891
...
git-svn-id: trunk@12903 -
2009-03-16 08:24:12 +00:00
Jonas Maebe
d67dbcf030
* fixed UTF8ToUnicode() based on patch by JoshyFun, and also added
...
support for 4-character UTF-8 codepoints (mantis #11791 )
* fixed UnicodeToUtf8() based on patch by A. J. Miller (mantis
#13075 )
git-svn-id: trunk@12902 -
2009-03-15 15:47:39 +00:00
michael
a43bda5052
* Added sort method to TCollection
...
git-svn-id: trunk@12901 -
2009-03-15 15:46:50 +00:00
Jonas Maebe
02bfd45775
* corrected properties
...
git-svn-id: trunk@12900 -
2009-03-15 15:21:17 +00:00
Jonas Maebe
4953b23666
- removed writeln() in JPEGError() to avoid triggering an (additional)
...
error in Win32 GUI programs
git-svn-id: trunk@12899 -
2009-03-15 13:27:24 +00:00
Jonas Maebe
ab8b32dafb
- removed PARAOUTFILE define and ifdefs
...
git-svn-id: trunk@12898 -
2009-03-15 12:31:02 +00:00
Jonas Maebe
a8eb1cc30b
- removed FPC_DARWIN_JMP_MAIN and FPC_DARWIN_PASCALMAIN defines and ifdefs
...
git-svn-id: trunk@12897 -
2009-03-15 12:21:59 +00:00
Jonas Maebe
c6470a75e7
* do not disable smart linking when using DWARF debug information on Darwin,
...
because there it does work correctly
* print a note if smart linking is disabled due to using DWARF
git-svn-id: trunk@12896 -
2009-03-15 12:16:45 +00:00
Jonas Maebe
cdc4933826
- removed accidentally committed change from previous commit
...
git-svn-id: trunk@12895 -
2009-03-15 12:07:49 +00:00
Jonas Maebe
f2ce99029b
* fixed sets in rtti for big endian systems
...
* changed set sizes in rtti to 1 byte for Delphi compatibility
* fixed tests/webtbs/tw12038 for the new set sizes
* documented at http://wiki.freepascal.org/User_Changes_Trunk#Sets_in_RTTI_.28run-time_type_information.29
git-svn-id: trunk@12894 -
2009-03-15 12:06:30 +00:00
Jonas Maebe
2c94fca8e1
* disable debug info generation, because these tests require smart linking,
...
which is incompatible with smart linking on most platforms
git-svn-id: trunk@12893 -
2009-03-15 12:03:59 +00:00
florian
097127d9aa
* overload CreateStatusWindow and DrawStatusText with *W forms
...
git-svn-id: trunk@12892 -
2009-03-15 11:05:21 +00:00
Jonas Maebe
7e8343f6e2
* removed any use of pushleftright_pocalls for non-i386 platforms, since
...
they always use the same parameter pushing order
* define the pushleftright_pocalls constant only for i386 so it cannot
be accidentally used anymore for other platforms
git-svn-id: trunk@12891 -
2009-03-15 10:38:40 +00:00
Jonas Maebe
e4d52bb118
* use stdcall for the tested procvar definitions, so that the parameter
...
pushing order is the same on all platforms
git-svn-id: trunk@12890 -
2009-03-15 10:22:24 +00:00
florian
442333d05f
* fixed string length which makes ObjC section names fit
...
git-svn-id: trunk@12889 -
2009-03-14 20:26:31 +00:00
Jonas Maebe
c26f9cc5df
* set the RTTI type name of "open array" parameters to the name of the
...
elements of the array (like Kylix, mantis #12038 ) + test
* add pfReference and pfArray TParamFlags for open array parameters
like Kylix
git-svn-id: trunk@12888 -
2009-03-14 19:00:44 +00:00
Jonas Maebe
7ef279364b
* disable smart linking when using DWARF debug info (doesn't work on all
...
platforms)
git-svn-id: trunk@12887 -
2009-03-14 15:33:59 +00:00
Jonas Maebe
145a7bf304
* only change the assembler to the default external assembler for Win32 when
...
using DWARF if it hasn't been changed yet
git-svn-id: trunk@12886 -
2009-03-14 15:28:00 +00:00
Jonas Maebe
8d2f3946e0
* fixed TextToFloat() in case ThousandSeparator = DecimalSeparator, based
...
on patch by Bart Broersma (mantis #13307 )
git-svn-id: trunk@12885 -
2009-03-14 15:20:46 +00:00
Jonas Maebe
78c12ba82b
* only store debug link file name in .gnu_debuglink section
...
(mantis #13324 )
git-svn-id: trunk@12884 -
2009-03-14 14:03:38 +00:00
Jonas Maebe
2b69768afc
+ support for properties in DWARF2 where the accessor does not use a function
...
git-svn-id: trunk@12883 -
2009-03-14 11:12:46 +00:00
Jonas Maebe
b86cb8ba55
+ interactive test for mantis #13313
...
git-svn-id: trunk@12882 -
2009-03-14 10:37:59 +00:00
joost
239538dccf
Patch from Atilla Borka: (bug 13280
...
* Fixed TRequest.files.Size property
* Only non zero length files or files with non empty names will be considered
git-svn-id: trunk@12881 -
2009-03-13 22:46:57 +00:00
joost
75815ee562
* Fixed TApacheRequest.RemoteHost property
...
git-svn-id: trunk@12880 -
2009-03-13 22:12:20 +00:00
Jonas Maebe
921e783225
* fixed indentation
...
git-svn-id: trunk@12879 -
2009-03-13 21:17:58 +00:00
Jonas Maebe
7bf643746e
* reject "absolute" variables referencing locations with implicit
...
dereferences (the tests from the previous commit were actually
for this change)
git-svn-id: trunk@12878 -
2009-03-13 21:17:39 +00:00
Jonas Maebe
4f51aef122
+ Support for debug info for absolute variables when using dwarf2.
...
Needs a fix in gdb when referencing a location relative to a
global variable (an array element other than the first, a field
other than the first) on Mac OS X and when using external debug
info on Linux/Windows.
git-svn-id: trunk@12877 -
2009-03-13 21:16:06 +00:00
paul
97ad3ef1c6
gtk2: remove gdk_get_default_screen - it is a typo. gdk_screen_get_default exists instead
...
git-svn-id: trunk@12876 -
2009-03-13 07:58:57 +00:00
joost
fc2fa64cd3
* Moved TCustomCGIApplication.InitPostVars, InitGetVars and InitRequestVars to
...
TRequest, so that they are used for CGI-applications and Apache-modules
* Use TRequest.ReadContent in cgi and apache modules to load the request-
content
git-svn-id: trunk@12875 -
2009-03-12 21:51:57 +00:00
Jonas Maebe
c4bedeb9df
* we have to be able to take the address of an "absolute" variable
...
expression (necessary to, a.o., reject absolute mappings to fields
of bitpacked records and to bitpacked array elements)
git-svn-id: trunk@12874 -
2009-03-12 20:12:14 +00:00
marco
e0a5de2280
* fix typo downstream from Debian (Mazen)
...
git-svn-id: trunk@12873 -
2009-03-10 07:26:11 +00:00
micha
be06f28b18
- win rtl: remove unused thread window (hint by Sergei Gorelkin)
...
git-svn-id: trunk@12872 -
2009-03-09 19:10:00 +00:00
Jonas Maebe
b1c32d899b
* fixed check for objc-methods passed to selector()
...
git-svn-id: trunk@12871 -
2009-03-09 08:40:55 +00:00
Jonas Maebe
6165536b5e
+ added {$modeswitch objectivec1}/-Mobjectivec1 mode switch to enable
...
the use of Objective-C 1.0 constructs. Because it is a mode switch, it
can be used cumulatively with every syntax mode. Note that a {$mode xxx}
statement resets all mode switches as well, so you cannot use the
-Mobjectivec1 variant if you have such a statement in a unit. This
modeswitch is currently only enabled for Darwin/PowerPC and Darwin/i386,
as the backend support is not yet implemented for other platforms.
+ implemented selector() statement that can be used to create an Objective-C
selector for the message with the specified *constant* name (in the future,
it will also work for Objective-C method identifiers)
+ added SEL type to the system unit (the selector() statement returns it)
+ added all Objective-C segments to the assembler writers
+ (currently mostly dummy) objc1 unit that is automatically included if the
{$modeswitch objectivec1} statement is used
+ some tests for the selector() statement
git-svn-id: trunk@12870 -
2009-03-08 18:40:32 +00:00
joost
1308f8043b
* Removed the TRequest.Query property which hided its parent Query property
...
* Added a THTTPHeader.RemoteAddr alias for RemoteAddress for Delphi compatibility
git-svn-id: trunk@12869 -
2009-03-08 16:11:32 +00:00
joost
009324f617
* Get rid of the need to fill the internal table.
...
git-svn-id: trunk@12868 -
2009-03-08 15:52:56 +00:00
joost
b28dd26e7b
* Added deprecated-keyword to all public entries. Use the fpcgi unit instead
...
git-svn-id: trunk@12867 -
2009-03-08 12:59:20 +00:00