Commit Graph

30540 Commits

Author SHA1 Message Date
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
florian
cc622779c9 * set size of nil constants casted to method pointers correctly, first part of resolving #10684
git-svn-id: trunk@12827 -
2009-02-28 20:01:58 +00:00
Jonas Maebe
fd070544db - disabled installation of SIGINT signal handler for Darwin, because
raising an exception inside a signal handler is inherently unsafe
    and often causes actual crashes on darwin (mantis #9930).
  - removed an unused global typed constant (in_const_evaluation)
  - removed {$ifdef havelinuxrtl10} code

git-svn-id: trunk@12826 -
2009-02-28 18:07:21 +00:00
Jonas Maebe
4bf254bc32 * added .txt extensions to all README, TODO and COPYING files
(mantis #12358)

git-svn-id: trunk@12825 -
2009-02-28 17:34:08 +00:00
Jonas Maebe
e9fcae46d9 * replaced "tvardata" with "variant" in the interface for streaming
variants (without pulling in the variants unit)

git-svn-id: trunk@12824 -
2009-02-28 17:08:47 +00:00
marco
e9d8726f07 * htmlindexer now uses avltree, 10 times speedup (lcl docs build tested on amd64). (mantis 12953)
git-svn-id: trunk@12823 -
2009-02-28 13:46:32 +00:00
Károly Balogh
ddad9f320d * fixed typo
git-svn-id: trunk@12822 -
2009-02-28 12:14:59 +00:00
Károly Balogh
ca28c013af * added right mousebutton support
* removed superverbose debug for snapshot release
* added Enter to rawkey table

git-svn-id: trunk@12821 -
2009-02-28 12:12:19 +00:00
Jonas Maebe
b95b1cc983 * variants are now stored in a stream as regular values instead of as a
secific variant type
  + support for storing qwords in streams (vaQWord, necessary for varQWord
    support)
  * moved variant serialisation from twriter into tbinaryobjectwriter so
    it can be overridden
   (all further changes for mantis #10482)

git-svn-id: trunk@12820 -
2009-02-28 12:01:18 +00:00
michael
c44f0eb6dd * Patch from Sergei Gorelkin:
dom.pp:

  * Added a comment about TDOMDocument destruction order.
  * Changed declaration of standard namespaces from literals to typed
    consts. This makes package operational on arm-wince which has a flaw
    in WideString literal assignments (issue #13237).
    Even without that bug, the change allows to save some bytes in
    executable, because typed consts are only put there once, while
    literals are compiled in for every unit that uses them.

  htmwrite.pp:

* removed an unused variable

git-svn-id: trunk@12819 -
2009-02-28 11:50:19 +00:00
Károly Balogh
1d092d012e * Packages now compile for MorphOS w/o tweaking
* Added FV and OpenGL as packages for MorphOS

git-svn-id: trunk@12818 -
2009-02-28 11:47:07 +00:00
Károly Balogh
4655f90aea * added src/dummy directory to Amiga and MorphOS targets, thus made them to compile at least
* regenerated Makefile

git-svn-id: trunk@12817 -
2009-02-28 11:31:03 +00:00
Jonas Maebe
042cbbc555 + test for mantis #11396 (already fixed in 2.2.2)
git-svn-id: trunk@12816 -
2009-02-28 10:45:27 +00:00
Jonas Maebe
fba565d666 * use statvfs/fstatvfs on solaris instead of statfs/fstatfs, because the
latter are deprecated
  * replaced (wrong) statfs record definition with the definition of statvfs

git-svn-id: trunk@12815 -
2009-02-28 10:18:36 +00:00