Commit Graph

33214 Commits

Author SHA1 Message Date
Jonas Maebe
11399b9b13 + test from mantis #16365, already works
git-svn-id: trunk@16447 -
2010-11-26 14:38:15 +00:00
Jonas Maebe
eec6d74ac0 * fixed alphablending for drawing freetype fonts on transparent backgrounds
(patch by Darius Blaszijk, mantis #17736)

git-svn-id: trunk@16446 -
2010-11-26 13:21:18 +00:00
michael
74098a8f7d * Fix for bug #18044
git-svn-id: trunk@16445 -
2010-11-26 13:02:55 +00:00
michael
43b6b58ea3 * Fix by Graeme Geldenhuys: map blob subtype 1 to ftMemo
git-svn-id: trunk@16444 -
2010-11-26 12:48:00 +00:00
michael
a8e4234aca * Patch from Graeme Geldenhuys to check for XMLDocument before typecasting it
git-svn-id: trunk@16443 -
2010-11-26 12:44:23 +00:00
Jonas Maebe
3650944d9e + EXT_packed_depth_stencil support (patch by Michalis Kamburelis, mantis
#18054)

git-svn-id: trunk@16442 -
2010-11-26 10:57:48 +00:00
Jonas Maebe
8f22a5d224 * perform simple imul->lea transformations also for Pentium 3-class target
cpus (default target, and should actually be faster there too;
    mantis #18056)

git-svn-id: trunk@16441 -
2010-11-26 10:30:46 +00:00
paul
8aef216f21 compiler: allow nested objects to refence owner class in method arguments (issue #0017986)
git-svn-id: trunk@16440 -
2010-11-26 07:55:55 +00:00
paul
0c23029d8f compiler: add all nested classes to the symtable stack while parsing method header (issue #0017952)
git-svn-id: trunk@16439 -
2010-11-26 07:30:20 +00:00
florian
675c3391d1 * makes compiler report nice error when one tries to use specialize for function result type, based on a patch by Aleksa Todorovic, part of #15875
git-svn-id: trunk@16438 -
2010-11-25 21:45:30 +00:00
michael
cc0be1be4d * Completely initialize threadvars when an external thread is detected. Needs still cleanup code (or a better thread initialization/finalization).
git-svn-id: trunk@16432 -
2010-11-25 15:50:49 +00:00
florian
3d13c2e2be * cleaned up ver2_0 defines
git-svn-id: trunk@16430 -
2010-11-25 14:28:31 +00:00
florian
ef0899425b * adds assign methods to the fgl classes based on a patch by Aleksa Todorovic, resolves #10479
git-svn-id: trunk@16429 -
2010-11-25 14:12:13 +00:00
ivost
e770bc597f * fixed refcounting problem. When copy an item over an existing one, the existing one was not dereferenced
* removed some old (useless) commented code

git-svn-id: trunk@16424 -
2010-11-24 23:08:12 +00:00
florian
d30952b408 * patch by Aleksa Todorovic which adds the ability to reference current generic class. Each reference to current generic class is "translated" to appropriate specialization of that generic class. There are two tests as part of the patch to test that it works. The patch, also, rejects declaring generic inside another generic. 0010479 is easy to implement with this patch applied, resolves #11777
git-svn-id: trunk@16423 -
2010-11-24 21:57:41 +00:00
Jonas Maebe
1f61b5b30c * reverted the rtl patches from r14184, because they cause an endless
loop when attempting to terminate a process via the RTL compiled into
    a Linux shared library  (mantis #17383)
  * call FPC_LIB_EXIT (the internal/generic RTL finalisation routine) instead
    of FPC_SHARED_LIB_EXIT (the Linux-specific "process exit" code for shared
    libraries) as "fini" routine (fixes #14958 again after reverting r14184)

git-svn-id: trunk@16418 -
2010-11-24 15:33:29 +00:00
Jonas Maebe
1271c221f3 - reverted change accidentally committed as part of r16050 that could break
internal resources on 32 bit Darwin platforms with small programs

git-svn-id: trunk@16417 -
2010-11-24 11:03:11 +00:00
Jonas Maebe
c44d79f3ba * fix the value of the frame pointer for Thumb-2 after r14317
(patch by Jeppe Johansen, mantis #18025)

git-svn-id: trunk@16416 -
2010-11-24 10:07:49 +00:00
Jonas Maebe
c706394a15 * part of r16407, forgot to commit
git-svn-id: trunk@16415 -
2010-11-24 07:59:50 +00:00
pierre
ed1c558726 * Fix RIP relative assmebler code of rev 16410
git-svn-id: trunk@16414 -
2010-11-24 07:57:01 +00:00
pierre
5a58946eb9 + Add win64 target conditionals
git-svn-id: trunk@16413 -
2010-11-23 23:08:09 +00:00
pierre
64bb6794f7 + Add cmem to the list of units
git-svn-id: trunk@16412 -
2010-11-23 23:05:29 +00:00
pierre
cb017ad074 + Allow compilation for go32v2 target
git-svn-id: trunk@16411 -
2010-11-23 23:02:05 +00:00
pierre
709d36a1d0 + Add signals unit for win64
git-svn-id: trunk@16410 -
2010-11-23 23:57:10 +00:00
pierre
889caf5911 * fix type of fourth parameter of msgrcv function
git-svn-id: trunk@16409 -
2010-11-23 23:44:34 +00:00
michael
c4cc9b59e0 * Tag is now PtrInt, for upcoming Delphi 64-bit compatibility
git-svn-id: trunk@16408 -
2010-11-23 21:19:39 +00:00
Jonas Maebe
749991ec02 + support extra parameter for initialize() that indicates how many elements
should be initialised, similar to how this was already allowed for
    finalize() (mantis #17998)

git-svn-id: trunk@16407 -
2010-11-23 15:14:40 +00:00
sergei
5f1d15c693 * Patch from LacaK2 implementing some missing properties of BCDVariant, partially fixes #16853.
git-svn-id: trunk@16404 -
2010-11-22 22:50:40 +00:00
Jonas Maebe
a631ab2a7e * add the C-prefix to the exported name of routines that are automatically
exported in {$z+} state in MacPas mode, so that the name chosen by
    implicit imports in MacPas units without an implementation section matches
    again after r16330 (fixes tests/test/tmacpas1 after r16330 on targets
    with a cprefix<>'')

git-svn-id: trunk@16403 -
2010-11-22 14:30:42 +00:00
Jonas Maebe
6eecf71698 * halt(1) on error
git-svn-id: trunk@16402 -
2010-11-22 13:36:58 +00:00
Jonas Maebe
44178f41b6 * don't overwrite register variables when evaluating <=/>= expressions with
smallsets (left is overwritten by an "and", so it cannot be const; mantis
    #18013)

git-svn-id: trunk@16400 -
2010-11-22 12:58:08 +00:00
michael
a1d8ad7a27 * Changed var to out in TStringList.Find
git-svn-id: trunk@16395 -
2010-11-21 18:20:44 +00:00
sergei
b4ac714201 * defutil.pas: added UnicodeString to automatable types, fixes compilation of webtbs/tw2649.pp after r16360. However it requires RTL support similar to one for AnsiString to be complete.
* ncal.pas, translate_disp_call(): fixed parameter alignment once more, this time it should be correct for both 32 and 64 bit platforms.

git-svn-id: trunk@16394 -
2010-11-21 18:10:11 +00:00
marco
3b7bb9da6a * using value instead of avalue does not properly set bound because getvalueasvariant
returns 0.0 if isnull. Mantis 17819, patch from Martin Schreiber.

git-svn-id: trunk@16392 -
2010-11-21 14:46:26 +00:00
sergei
9d8d518029 * translate_disp_call, support passing Variants by-value (still pass a pointer, but reset ByRef bit in CallDesc.Args[]).
git-svn-id: trunk@16389 -
2010-11-20 21:43:15 +00:00
sergei
49013587a9 + comobj.pp, DispatchInvoke and DoDispCallByID: support Variant parameters passed by value, support Int64 and QWord arguments.
git-svn-id: trunk@16388 -
2010-11-20 21:36:29 +00:00
sergei
907e7a32d5 * GetFileHandle(), THandleStream: changed type that is used to store file handle from Integer to THandle, so it can be redefined to 64 bits on certain platforms, see http://lists.freepascal.org/lists/fpc-devel/2010-November/023019.html
git-svn-id: trunk@16383 -
2010-11-20 12:58:53 +00:00
joost
eb698a6d9a * Fixed type in THTMLContentProducerClass name
* Added TJavaScriptStack.Redirect
 * Added TWebController.AddrelativeLinkPrefix

git-svn-id: trunk@16374 -
2010-11-19 14:57:44 +00:00
joost
8fa8a466b1 * Made WebPage.IsAjaxCall public
git-svn-id: trunk@16373 -
2010-11-19 14:50:41 +00:00
joost
144672ffd8 * Process request variables for a HEAD request as if it is a GET request
git-svn-id: trunk@16372 -
2010-11-19 14:45:37 +00:00
joost
8c836d1d1a * Added TRequest.LocalPathPrefix property
git-svn-id: trunk@16371 -
2010-11-19 14:44:34 +00:00
paul
23e74d5d46 rtl: fixed typo in variants.pp noticed by Ivan Shikhalev (mantis #0017983)
git-svn-id: trunk@16368 -
2010-11-19 03:19:52 +00:00
Jonas Maebe
a5473c33cc * part of r16347, forgot to commit
git-svn-id: trunk@16367 -
2010-11-18 22:41:42 +00:00
sergei
cbdc08b641 * dynlibs.pas: added 'const' modifiers to eliminate unnecessary local string copies
git-svn-id: trunk@16366 -
2010-11-18 22:09:48 +00:00
sergei
ba700ad2ff * Improvements to Dispatch call handling:
o All signed and unsigned ordinal types are made automatable.
  o Non-automatable types are rejected when parsing dispinterface declarations.
  o Simplified translate_disp_call() a bit.
  o translate_disp_call() now supports non-automatable parameters which can be typecasted to automatable ones. UnicodeString is not yet there, though.
  o Partially fixes #17904: parameters of Variant Dispatch calls are passed by reference when they can be mapped to a variable.

git-svn-id: trunk@16360 -
2010-11-18 16:17:50 +00:00
sergei
532f8b9ab5 * Type Word maps to variant type varword, not varqword (probably a typo).
git-svn-id: trunk@16359 -
2010-11-18 07:24:37 +00:00
paul
4036be1221 rtl: add IO_REPARSE_TAG constants
git-svn-id: trunk@16358 -
2010-11-18 04:06:49 +00:00
paul
f0c3084bee shlobj: add more SHARD_ constants
git-svn-id: trunk@16357 -
2010-11-18 01:47:12 +00:00
pierre
969c81b60f * Fix DEBUG go32v2 compilation error
git-svn-id: trunk@16356 -
2010-11-17 16:14:08 +00:00
pierre
74e1e4c7ba * Remove go32v2 skiptarget for working tests
git-svn-id: trunk@16354 -
2010-11-17 13:30:01 +00:00