Commit Graph

30053 Commits

Author SHA1 Message Date
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
Jonas Maebe
da461c5154 * fixed calling static class methods from inside other static class methods
git-svn-id: trunk@12866 -
2009-03-08 12:38:02 +00:00
florian
9a0d4230b9 + added missing file, by Olivier Coursiere
git-svn-id: trunk@12865 -
2009-03-08 12:09:01 +00:00
florian
502c3f4ca4 + c linking test cases for i386-haiku by Olivier Coursiere
git-svn-id: trunk@12864 -
2009-03-08 11:55:41 +00:00
joost
3a8668211b Patch from Atilla Borka, part of bug #13228
* CGI and Apache applications temporary uploaded files will be deleted after 
   a request is handled
 * Temporary files are not created with a single CRLF in them (those are in fact
   empty files

git-svn-id: trunk@12863 -
2009-03-07 15:38:42 +00:00
Jonas Maebe
f13006c7f2 * changed the output parameters of a bunch of *tofloat() and
trystrtocurr() from var to out (mantis #13289)

git-svn-id: trunk@12862 -
2009-03-07 15:17:58 +00:00
joost
1ce7a88d65 * Fixed the problem that an IPC-Server holds a lock on its pipe so that no
client could connect to it. Now a maximum of one client can connect to it.
 * Debugtest now shows an error immediately when it cant connect to a server
 * Use dbugsrv as default server name to start when no server is found
 * Set SendError when the startup of the debug-server failed
 * When connecting to the debug-server fails, clean up resources and set
   DebugDisabled to false, to avoid an AV on a second try

git-svn-id: trunk@12861 -
2009-03-07 14:06:43 +00:00
michael
9662260088 * Patch from Sergei Gorelkin:
Fixes a bug in internal DTD subset processing, which was preventing
  tokens that cross input buffer boundary from being correctly added to
  DocType.InternalSubset (the first part of such tokens was dropped).

git-svn-id: trunk@12860 -
2009-03-06 10:32:49 +00:00
sekelsenmat
5f2f4a8cbb Adds initial support to read xwd image format
git-svn-id: trunk@12859 -
2009-03-05 16:22:57 +00:00
sekelsenmat
3ea814378d Starts xwd file format support
git-svn-id: trunk@12858 -
2009-03-05 14:45:33 +00:00
Jonas Maebe
b92df02778 * new Intbasicevent*() implementation based on pthread_cond_signal by
Fabio Luis Girardi (mantis #9895)

git-svn-id: trunk@12857 -
2009-03-04 20:15:27 +00:00
Jonas Maebe
be5709fcfd + pthread_cond_broadcast() definition
git-svn-id: trunk@12856 -
2009-03-04 20:10:05 +00:00
michael
478aefebd8 * Patch from Sergei Gorelkin:
* Fixed crash resulting out of changing TDOMDocument.OwnerDocument
    from Self to nil a while ago.
  * Refactored the TXPathScanner code so that it:
    a) does not use UngetToken.
    b) does not build CurTokenString by appending single characters.
    c) moved parsing code from nested procedures to regular TXPathScanner
       methods.
  + Implemented many (but not all yet) core library functions.
  + Support for scanning 'processing-instruction("name")' syntax.
  + Support for scanning 'foo:*' and 'foo:bar' node name tests.
  * NodeSets are always convertible to numbers and booleans.
  * String representation of an Element is its TextContent, not NodeName.
  * TXPathConstantNode must Release its value, not destroy it (enables
    correct result of expressions that consist of a single constant).
  * Some fixes in attempt to make math operations conformant to the specs.

git-svn-id: trunk@12855 -
2009-03-04 10:31:20 +00:00
joost
0831c1c145 Patch from Atilla Borka, part of bug #13228
* Fixed comments and removed unused unit from uses-clause

git-svn-id: trunk@12854 -
2009-03-03 21:50:15 +00:00
Jonas Maebe
c943c609bd + support for vaString when reading variant properties
* fixed support for vaUString when reading variant properties (call
    ReadUnicodeString instead of ReadWideString)

git-svn-id: trunk@12853 -
2009-03-02 16:19:45 +00:00
Jonas Maebe
55373cd1a9 * fixed tests for systems where the page size <> 4096
git-svn-id: trunk@12852 -
2009-03-02 16:10:07 +00:00
Jonas Maebe
0af39c77d9 * counterpart of r12844 for storing elements to a bitpacked array:
do not access any data after the array in that case either
  * adapted tparray7 so it checks this on unix platforms

git-svn-id: trunk@12851 -
2009-03-01 15:38:37 +00:00
Jonas Maebe
d24f232485 * when loading data from a bitpacked array, make sure we never load
anything from past the end of the array (it was discarded, but this
    can cause crashes if the array lies at the end of a memory block)
   -- todo: also for writing
  * adapted tparray13 so it checks this on unix platforms

git-svn-id: trunk@12844 -
2009-03-01 13:33:34 +00:00
Jonas Maebe
273e1f54c9 * fixed parsing of typed constant bitpacked arrays where the element's
packed bit size is divisible by 8, but its packed byte size is not a
    power of 2

git-svn-id: trunk@12843 -
2009-03-01 13:13:04 +00:00
yury
afa7ade545 * Replace ? and @ in external names only if the external is imported from DLL on Windows.
Also @ character is allowed in symbol names by GNU AS for x86.

git-svn-id: trunk@12842 -
2009-03-01 12:24:53 +00:00
yury
1658ca9919 * Initialize controllertype field to eliminate warning.
git-svn-id: trunk@12841 -
2009-03-01 11:46:16 +00:00
yury
b3b538e215 * Removed unused local vars.
git-svn-id: trunk@12840 -
2009-03-01 11:44:15 +00:00
yury
08b551b504 + Added extapi and imm wince api units by Vasil Maximov.
* Updated some existing wince api units by Vasil Maximov.

git-svn-id: trunk@12839 -
2009-03-01 11:10:10 +00:00
Tomas Hajny
5e12d9a070 + added support for fcl-res
git-svn-id: trunk@12837 -
2009-03-01 00:50:06 +00:00
Tomas Hajny
b937db67fd * version number increased to 2.2.4
git-svn-id: trunk@12836 -
2009-03-01 00:38:45 +00:00
Tomas Hajny
4a7cd0c512 * Makefiles regenerated
git-svn-id: trunk@12835 -
2009-03-01 00:35:12 +00:00
ivost
e98850c5c5 * added TFPGObjectList
git-svn-id: trunk@12834 -
2009-03-01 00:08:27 +00:00
Tomas Hajny
29f0a1096c * add reference to the bug tracker rather than just an e-mail address
git-svn-id: trunk@12833 -
2009-02-28 23:13:36 +00:00
Tomas Hajny
161c1f44d0 * changes from r12727 (import library prefix) reflected in fpcmake
git-svn-id: trunk@12830 -
2009-02-28 22:28:30 +00:00
florian
f49f148e01 + commented why wrappers for cdecl'd methods use subl/call/subl/ret instead of subl/jmp
git-svn-id: trunk@12829 -
2009-02-28 20:37:01 +00:00
florian
67d1604c49 * handle interface methods with cdecl modifier correctly, second and final part to resolve #10684
git-svn-id: trunk@12828 -
2009-02-28 20:28:33 +00:00