Commit Graph

35521 Commits

Author SHA1 Message Date
joost
14d24130d1 * EnterDir and LeaveDir cannot be used in threads, so a threadvar is used
to store the current directory of each thread.

git-svn-id: trunk@19902 -
2011-12-28 21:38:35 +00:00
marco
fa7df86f26 * improved unknown link errormsg to list current module name.
* Added some new units to clean rules. rst and main program objectcode
   are still not cleaned properly though

git-svn-id: trunk@19901 -
2011-12-28 19:08:40 +00:00
marco
881caba4c3 * power functions added
git-svn-id: trunk@19900 -
2011-12-28 18:11:45 +00:00
florian
a710a7cf7f * translate short int into cshort, patch by barlone, resolves #20956
git-svn-id: trunk@19899 -
2011-12-28 17:49:08 +00:00
florian
ea8ae7c867 * update of Portuguese compiler message file by Marcelo B Paula, resolves #20963
git-svn-id: trunk@19898 -
2011-12-28 17:44:46 +00:00
Jonas Maebe
a0c2e6a683 * replaced LGPL license notice with reference to COPYING.FPC to make it
clear that the static linking exception also applies to these units (they
    were all written by FPC core team members except for colorsel, but that
    unit was explicitly released with the static linking exception as well:
    http://andis63.homeftp.net/downloads/colorsel/COPYING )

git-svn-id: trunk@19897 -
2011-12-28 12:49:46 +00:00
joost
47863d1167 * The dictionary has been splitted into two dictionaries, one global and
one specific to a package. This because the old dictionary contained 
   global variables and variables that were depending on the package being
   handled. That leads to problems when handling multiple packages at the same
   time in multiple threads.

git-svn-id: trunk@19896 -
2011-12-27 20:37:01 +00:00
michael
e94d49f298 * Added dependency on winunits-base
git-svn-id: trunk@19895 -
2011-12-27 16:19:32 +00:00
marco
0d9b57195b * Fix results of a bunch of stat functions, sstat.inc.patch from #20974
git-svn-id: trunk@19894 -
2011-12-27 13:04:10 +00:00
marco
6f8dac94e9 * fix mantis #20973, return value in unixutils.
git-svn-id: trunk@19893 -
2011-12-27 13:00:08 +00:00
michael
721a2cc2ad * Applied patch from Ludo Brands (bug 20972)
git-svn-id: trunk@19892 -
2011-12-27 11:34:36 +00:00
marco
425123ad26 * fix oncalcfields call without dscalcfieldstate. Patch by Jose Mejuto,
Mantis #20968

git-svn-id: trunk@19891 -
2011-12-26 22:25:24 +00:00
michael
f98a2cbae6 * New methods made virtual
git-svn-id: trunk@19890 -
2011-12-26 16:41:00 +00:00
michael
85a9b8208f * Importtl added
git-svn-id: trunk@19889 -
2011-12-26 16:38:37 +00:00
michael
48b314928b * importtl (type library import program) from Ludo Brands (bug 20958)
git-svn-id: trunk@19888 -
2011-12-26 16:37:38 +00:00
michael
4c8800c253 * StdOle2 and typelib added from Ludo Brands (bug 20958)
git-svn-id: trunk@19887 -
2011-12-26 16:31:35 +00:00
joost
ad5d37fa25 * Made logging thread-safe. Handle the indenting of the log separate for each
thread.
 * Log deleting files

git-svn-id: trunk@19886 -
2011-12-23 21:38:35 +00:00
michael
d15b70d46f * Made scanner a protected property
git-svn-id: trunk@19885 -
2011-12-23 19:08:54 +00:00
michael
5bccdb9c62 * Extended usage with additional options for project file
git-svn-id: trunk@19884 -
2011-12-23 15:05:18 +00:00
marco
397a6059f8 * correct INVALID_SOCKET to NOT 0, mantis #20946
git-svn-id: trunk@19883 -
2011-12-22 12:20:00 +00:00
sekelsenmat
8d79bc1616 Updates the makefile.fpc for fontconfig
git-svn-id: trunk@19882 -
2011-12-22 12:18:55 +00:00
sergei
ce2812e24a * Split combined declarations of GetModuleHandle and GetModuleFileName into separate WinCE and non-WinCE versions. Using Pointer as 'common denominator' in combined declarations was making it impossible to use e.g. GetModuleHandle('literal') in System unit.
* Also fixed parameter and return types for these declarations.

git-svn-id: trunk@19881 -
2011-12-22 02:17:02 +00:00
marco
56c978e4f4 * fixes for pxlib (paradox loader) from Barlone, Mantis #20945
git-svn-id: trunk@19880 -
2011-12-21 19:32:32 +00:00
sekelsenmat
4785b5637f Adds initial Xft and fontconfig headers
git-svn-id: trunk@19879 -
2011-12-21 14:51:42 +00:00
marco
60c1b263d6 * add public alias to getrlimit
git-svn-id: trunk@19878 -
2011-12-21 14:05:52 +00:00
mazen
489e20356c * Removed executable flag from source files.
git-svn-id: trunk@19877 -
2011-12-19 17:40:02 +00:00
pierre
1b4a27ed66 Avoid interactive query when resetting file
git-svn-id: trunk@19876 -
2011-12-19 13:03:25 +00:00
pierre
3da5c78e30 * Use xvasprintf instead od xstrvprintf as the later only appeared in GDB 6.2
* Also auto-reply to 'Discard symbol table' query if reset_command is true.

git-svn-id: trunk@19875 -
2011-12-19 13:01:49 +00:00
marco
19a7e17361 * Improve win64 support gtk2, step 1: updating ifdefs. Patch by Julian Schutsch, Mantis #20578
git-svn-id: trunk@19874 -
2011-12-18 22:48:47 +00:00
sergei
aea30f9bb2 * Added a lower limit on tdynamicarray block size. Certain values less than dynamicblockbasesize+alignment, e.g. 8 on x86_64, cause grow() to enter an infinite loop. Such values come e.g. from cloning tdataconstnode, which abuses blocksize argument as data size. Mantis #20929.
git-svn-id: trunk@19873 -
2011-12-18 22:34:56 +00:00
marco
0b655b19d9 * Patch from Ludo, Foreign key support for SQLite option. Mantis #20865
git-svn-id: trunk@19872 -
2011-12-18 21:56:20 +00:00
Legolas
0f050b97b7 + Added maxmod library for GBA
* Fixed makefile for cleaning examples
 * Fixed SimpleBGScroll example compilation

git-svn-id: trunk@19871 -
2011-12-18 11:35:30 +00:00
Jonas Maebe
446912d2e2 * tests are only for Darwin
git-svn-id: trunk@19870 -
2011-12-18 10:34:28 +00:00
sergei
cd347e40b2 * Moved existing exception-related definitions into separate include file seh64.inc, and added some more WinAPI definitions needed for SEH.
git-svn-id: trunk@19869 -
2011-12-18 01:15:31 +00:00
sergei
ebb2205c63 * Moved TExceptionRecord definition to sysos.inc, it is identical for all Windows targets.
git-svn-id: trunk@19868 -
2011-12-18 00:45:52 +00:00
sergei
009ee271ec - Cleaned out STR_CONCAT_PROCS define
- i386-specific fpc_shortstr_append_shortstr removed too, because a) it was anyway disabled with STR_CONCAT_PROCS, b) the generic implementation is smaller and probably faster due to optimized Move().

git-svn-id: trunk@19867 -
2011-12-17 17:22:18 +00:00
Jonas Maebe
40a9762ac6 * objcprotocol symbols have to be weak in the non-fragile abi to prevent
conflicts in case a protocol is adopted by classes in multiple object
    files part of the same binary (mantis #20875)

git-svn-id: trunk@19865 -
2011-12-17 12:43:42 +00:00
michael
310e8e0b9c * Removed resource added by lazarus
git-svn-id: trunk@19864 -
2011-12-17 12:31:42 +00:00
michael
9fe08751ce * Fixed unit name of jsondataset
git-svn-id: trunk@19863 -
2011-12-17 12:30:16 +00:00
michael
aaf7db3904 * Added fpjsondataset
git-svn-id: trunk@19862 -
2011-12-17 12:29:24 +00:00
Jonas Maebe
22dd93858d * don't try to write rtti for fields in Pascal records/classes/objects/...
whose type is an objc type (objcclass, objcprotocol): they only need
    objc-style rtti, which is generated elsewhere (and to prevent bugs
    they give an internal error if we try to generate FPC-style rtti for
    them) (mantis #20876)

git-svn-id: trunk@19861 -
2011-12-17 11:43:13 +00:00
michael
2d2436c256 * Added dependency of fcl-db on fcl-json
git-svn-id: trunk@19860 -
2011-12-17 10:24:53 +00:00
michael
b13b02956d * Removed fpwebdata
git-svn-id: trunk@19858 -
2011-12-16 19:51:22 +00:00
michael
9135ece182 * Example for JSON dataset
git-svn-id: trunk@19857 -
2011-12-16 16:31:13 +00:00
michael
b4cc174cd7 * Added JSON dataset
git-svn-id: trunk@19855 -
2011-12-16 16:23:33 +00:00
michael
d58859af47 * Renamed to fpjsondataset, in line with other FPC units
git-svn-id: trunk@19854 -
2011-12-16 16:21:36 +00:00
michael
23c969a962 * Initial implementation of JSON dataset
git-svn-id: trunk@19853 -
2011-12-16 16:20:13 +00:00
sekelsenmat
3fff7b04fd Virtualizes more TFPCustomCanvas drawing methods so that descendents can properly override them instead of hiding them, thus improving the hability to draw to a generic TFPCustomCanvas and get the same output in a TCanvas
git-svn-id: trunk@19852 -
2011-12-15 09:46:43 +00:00
sergei
724f41a9af - Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day.
git-svn-id: trunk@19851 -
2011-12-14 22:40:08 +00:00
michael
3106e57631 * Corrected program name clause
git-svn-id: trunk@19850 -
2011-12-14 22:34:05 +00:00