Commit Graph

32075 Commits

Author SHA1 Message Date
Jonas Maebe
fa1d72a2cc + definition of pthread_mutex_trylock(), fixes compilation after r15026
git-svn-id: trunk@15027 -
2010-03-21 11:47:27 +00:00
marco
c477df5046 * TCriticalSection.Tryenter support (Mantis 15928) + short test/demo
tested on FreeBSD (general Unix) and Windows. Note that Haiku seems 
    to have a native threadmgr rather than the Unix one. Will notify 
    maintainer (Olivier)

git-svn-id: trunk@15026 -
2010-03-21 11:34:05 +00:00
marco
0f9f3600c5 * Disable parts of commit 13378 for windows, since it blocks extracting zips with Unix lineseparators (like Open Office files, even when generated on Windows)
* Minor tweak to demo

git-svn-id: trunk@15025 -
2010-03-21 10:28:29 +00:00
marco
49fc4795e3 * fix for mantis 16052 RFC4122 compliance of own random GUID creation. Part II
git-svn-id: trunk@15024 -
2010-03-20 14:08:10 +00:00
marco
b6048862b8 * fix for mantis 16052 RFC4122 compliance of own random GUID creation.
git-svn-id: trunk@15023 -
2010-03-20 13:03:45 +00:00
marco
efc98e9e65 * improved comment and added wiki link, due to Crossbuilders improvement remarks on IRC
git-svn-id: trunk@15022 -
2010-03-19 17:10:07 +00:00
marco
5af46c2357 * added a warning about callback calling conventions in glu under Windows
git-svn-id: trunk@15021 -
2010-03-19 16:45:51 +00:00
paul
49d94c5a16 compiler: implement {$VARPROPSETTER ON/OFF} support which is required for COM (D7 compatibility):
- add an option to skip varspez during parameters comparison
  - skip varspez comparison when searching a property reader candidate if $VARPROPSETTER is ON

git-svn-id: trunk@15020 -
2010-03-17 09:56:50 +00:00
marco
bfbe9df673 * Patch from mantis 11724 that translates some asm and voodoo code to cleaner pascal
at the expense of some extra vars. (probably solves problems caused
    by oldfpcpascal change)

git-svn-id: trunk@15019 -
2010-03-14 22:28:07 +00:00
marco
06a5f63582 * patch from Maxim Ganetsky for multiline messages (Mantis 10268)
git-svn-id: trunk@15018 -
2010-03-14 17:23:05 +00:00
Jonas Maebe
45d25bbe77 * fixed storing/loading widestring constant nodes into/from ppu files
(mantis #15909)
  * fixed storing/loading widestring constants into/from token streams
  * made storing/loading widestring constant nodes into/from ppu files
    endian safe

git-svn-id: trunk@15017 -
2010-03-14 13:27:00 +00:00
Jonas Maebe
635bf9fb7a + support for "univ" parameter modifier added in r15010
git-svn-id: trunk@15016 -
2010-03-14 12:26:01 +00:00
marco
8529d66523 * unzipper unit basic extraction test. (related to mantis 15836)
git-svn-id: trunk@15015 -
2010-03-14 11:41:54 +00:00
Jonas Maebe
61df8f05a0 * fixed max length of gcsectionsstr (mantis #15984)
git-svn-id: trunk@15014 -
2010-03-14 11:07:08 +00:00
Jonas Maebe
171c0289b0 + tests from mantis #15777
git-svn-id: trunk@15013 -
2010-03-14 11:03:09 +00:00
michael
f29973cc71 * Added Exchange to TCollection. Bug ID #15517
git-svn-id: trunk@15012 -
2010-03-14 10:25:32 +00:00
Jonas Maebe
2e544bd8de * smartlink dynamic libraries under Mac OS X (mantis #15984)
git-svn-id: trunk@15011 -
2010-03-13 23:37:20 +00:00
Jonas Maebe
0cfc6e1cac + support for "univ" in macpas mode: a parameter modifier that allows
passing any value to that parameter which has the same size as the
    parameter (it basically acts as if there is an explicit type conversion
    to the parameter type around the value at the caller side). If a procvar
    has an univ parameter, all procvars whose corresponding parameter
    has the same size as that univ parameter are similarly compatible.

    This transparent compatibility can however cause crashes in case of
    of the procvars when one of the types is passed on the stack and the
    other isn't (because then the called routine will a) load the parameter
    from a wrong location and b) pop the wrong amount off of the stack at
    then end). Therefore FPC will warn in most cases where this can happen.
    (mantis #15777)

git-svn-id: trunk@15010 -
2010-03-13 22:13:20 +00:00
michael
f39e9ba873 * Test unit for testing purposes
git-svn-id: trunk@15009 -
2010-03-13 16:04:19 +00:00
michael
235c3be24a * Added support for version tag (same level as errors or seealso tags
git-svn-id: trunk@15008 -
2010-03-13 16:03:52 +00:00
joost
1d0db2cc85 * Map time fields to ftTime, so that field.asstring does not show the date-part, bug #14901
git-svn-id: trunk@15007 -
2010-03-12 20:41:35 +00:00
joost
9a543dbd1c * According to bug #14960, Delphi TDateTimeField.GetText uses the LongTimeFormat for displaying times
git-svn-id: trunk@15006 -
2010-03-12 20:24:22 +00:00
joost
33f9424d68 * Patch from Ladislav Karrach (Lacak2) to make LocateOptions work for TBufDataset.Locate + test, bug #15725
git-svn-id: trunk@15005 -
2010-03-12 17:12:28 +00:00
ivost
aebc2aea40 * reverted r14999
git-svn-id: trunk@15004 -
2010-03-11 20:02:32 +00:00
paul
a3653a968f fcl-res: fix header comment
git-svn-id: trunk@15003 -
2010-03-11 09:22:04 +00:00
paul
3cd29858ba compiler, utils: pass tlb resources to fpcres
git-svn-id: trunk@15002 -
2010-03-11 03:01:24 +00:00
paul
949290e62f fcl-res: support tlb resources
git-svn-id: trunk@15001 -
2010-03-11 03:00:41 +00:00
Jonas Maebe
43846ca8c9 * force always printing absolute paths when using -vb (mantis #15783)
git-svn-id: trunk@15000 -
2010-03-10 10:04:51 +00:00
ivost
1eb7bb27f1 * added freepascal helper function
git-svn-id: trunk@14999 -
2010-03-10 09:49:28 +00:00
Jonas Maebe
88f5addd1c * do not typecheck statements before checking whether they are valid,
because the associated simplifications can turn invalid statements
    into valid statements (based on patch by Aleksa Todorovic, mantis
    #15594)

git-svn-id: trunk@14998 -
2010-03-09 21:13:22 +00:00
Jonas Maebe
db2655459c * fixed 255 max path length assumptions left over from when the paths were
shortstrings (mentioned in mantis #15783)

git-svn-id: trunk@14997 -
2010-03-09 19:44:07 +00:00
marco
dab931c3ba * fixed memory leak in the general exporter class. (the -settings were not freed) mantis 15934
git-svn-id: trunk@14996 -
2010-03-09 16:02:10 +00:00
Jonas Maebe
3ea3a41d2a o patch from Olivier for Haiku libiconv functionality (mantis #15906):
* Haiku's nl_langinfo implementation is now used under Haiku instead of
      the BeOS stub.
    * Fix linking to iconv in the iconvenc package. The prefix has change
      since the previous Haiku's version.

git-svn-id: trunk@14995 -
2010-03-09 09:58:14 +00:00
joost
0dd62e7d05 * Implemented a stack of javascriptstacks. InitializeJavaScriptStack creates and adds a new JSStack to this stack, FreeJavascriptStack destroys and removes it again
git-svn-id: trunk@14994 -
2010-03-09 08:45:45 +00:00
pierre
cee190b1f8 * shift128right last parameter should also by var type
git-svn-id: trunk@14993 -
2010-03-08 08:00:56 +00:00
joost
fd36dabc09 * Changed TCustomWebApplication.CreateForm's reference parameter now the compiler enforces the same type on var-parameters
git-svn-id: trunk@14992 -
2010-03-07 15:38:49 +00:00
joost
97207e8676 * Added logging functionality using TEventLog
git-svn-id: trunk@14991 -
2010-03-07 15:30:41 +00:00
olivier
54a0fbc015 * Active out support using $modeswitch under BeOS after r14965
git-svn-id: trunk@14990 -
2010-03-07 02:55:47 +00:00
olivier
27c99a7e13 * Active out support using $modeswitch under Haiku after r14965
git-svn-id: trunk@14989 -
2010-03-07 02:53:33 +00:00
marco
c3f364b0c0 * few small left over renames and typing (var/out) fixes from Mantis 14802
git-svn-id: trunk@14988 -
2010-03-06 13:42:41 +00:00
marco
e00c47f005 * patch from Nikolay that fixes more Tboolresult issues. Fixes mants 15891
git-svn-id: trunk@14977 -
2010-03-06 10:47:29 +00:00
marco
502ac4c8a5 * another fix for mantis 13171, font.gettextwidth default value
git-svn-id: trunk@14976 -
2010-03-05 21:03:49 +00:00
florian
df17bb95e8 * remove unneeded resource file directive, resolves #15771
git-svn-id: trunk@14975 -
2010-03-05 20:49:13 +00:00
pierre
7c08e5cb57 * Fix solaris problem after commit rev 14971
git-svn-id: trunk@14974 -
2010-03-05 13:46:36 +00:00
paul
321e6a9e1c fcl-db: comment writeln in the paradox component code
git-svn-id: trunk@14973 -
2010-03-05 03:51:05 +00:00
marco
bf52e58175 * committed an old patch from M Schreiber, mantis #11855 that fixes loading 8-bit gray alpha using PNG loading.
git-svn-id: trunk@14972 -
2010-03-04 22:33:05 +00:00
Jonas Maebe
a7dca09535 * only refer to local symbols without GOT redirection on darwin/x86_64,
because on linux/x86_64
     a) the resulting code crashes when using the internal assembler
     b) refuses to link when using the external assembler
   (and hence I don't know whether it's safe to do on other non-darwin
    platforms either) -- fixes mantis #15889

git-svn-id: trunk@14971 -
2010-03-04 20:23:45 +00:00
Jonas Maebe
9cd0a2ff1e * link to libpthread at compile time on Linux to avoid problems on some
newer glibc systems when it's only loaded dynamically at run time

git-svn-id: trunk@14970 -
2010-03-04 15:36:35 +00:00
paul
e2dbccf017 rtl: fix streaming of ancestor components - save/restore FRootAncestor in TWriter.WriteComponent because it can be changed by DoFindAncestor call (if IDE/or user code is connected to OnFindAncestor event)
git-svn-id: trunk@14969 -
2010-03-04 07:21:18 +00:00
ivost
2ddd53efc8 * fxied xsdTryParseStringLower (SetLength allocated a string but then append char was used -> resulted in leading zeros)
* optimized xsdTryParseStringLower
* optimized xsdTryParseString

git-svn-id: trunk@14968 -
2010-03-03 18:54:46 +00:00