Commit Graph

44224 Commits

Author SHA1 Message Date
joost
4556b1abcc * Added missing include-file to fpmake.pp
git-svn-id: trunk@28983 -
2014-11-04 18:48:40 +00:00
joost
d011c8b423 * Enabled usage of dictionary-macros in DocInstallDir and ExamplesInstallDir
* Install examples in examples/<packagename> on non-unices
 * Install examples in share/examples/<packagename> on FreeBSD
 * Install docs in share/doc/<packagename> on FreeBSD

git-svn-id: trunk@28982 -
2014-11-04 08:04:44 +00:00
nickysn
91eac4986d + mouse unit for go32v2: implement a 'hide count' for the custom drawn mouse
cursor, so it behaves consistently with the cursor drawn by the int 33h
  mouse driver

git-svn-id: trunk@28981 -
2014-11-04 01:47:27 +00:00
nickysn
dd285d7a16 * in the go32v2 video unit, do not check MouseIsVisible, but instead call
directly HideMouse/ShowMouse. It's safe to always call them, because the
  int 33h mouse driver maintains a hide counter, so it will keep the cursor
  hidden if it was already hidden. Additionally, when the cursor is drawn by
  the int 33h mouse driver, the value in the MouseIsVisible variable is
  actually wrong, because it doesn't take into account the hide counter
  maintained by the mouse driver.

git-svn-id: trunk@28980 -
2014-11-03 22:47:17 +00:00
Tomas Hajny
9419073608 * make FPC RTL again compatible to OS/2 2.x (avoid using DosAllocThreadAlloc/FreeMemory if not available while keeping to use them if possible)
git-svn-id: trunk@28979 -
2014-11-03 21:05:32 +00:00
Jeppe Johansen
7c34dc51a1 Removed vecn nodes from constant pointer address calculations to absolute variables, since only subscripts were being handled leading to problems like those described in issue #17118.
After the removal of vecn these values seem to be handled easily by subsequent optimizations anyway.

git-svn-id: trunk@28978 -
2014-11-03 20:12:19 +00:00
Jeppe Johansen
d3e91bb60c Fixed issue #26965. The peephole optimization didn't move a potential register deallocation to after the ldr instruction causing mov's to be removed.
git-svn-id: trunk@28977 -
2014-11-03 18:33:32 +00:00
joost
fd97b53016 * Fixed index-out-of-range error in fpmake when using the '-fsp 0' parameter
git-svn-id: trunk@28976 -
2014-11-03 17:30:29 +00:00
Tomas Hajny
5d0bd53433 * remove fixed limit for overall size of arguments for Dos.Exec and SysUtils.ExecuteProcess
git-svn-id: trunk@28975 -
2014-11-03 17:00:55 +00:00
Tomas Hajny
1c74b752c5 * fix for DosGetMessage and better (more accurate) declaration for DosQueryCP
git-svn-id: trunk@28974 -
2014-11-03 13:52:25 +00:00
joost
a9dcb9201f * Do not rebuild fpmake on each run on an host-os that uses an executable-suffix. (.exe)
git-svn-id: trunk@28973 -
2014-11-03 12:42:33 +00:00
pierre
8f58b93e39 Try to fix linux deadlock when inferiors generate lots of output to stderr
git-svn-id: trunk@28972 -
2014-11-03 07:41:25 +00:00
joost
75afdf052b * Pass archive-command to fpmake on make zipsourceinstall
git-svn-id: trunk@28971 -
2014-11-02 19:51:52 +00:00
joost
254cc2e7a7 * Do not add version-numbers to filenames on 8.3 fs hosts
git-svn-id: trunk@28970 -
2014-11-02 18:47:41 +00:00
joost
684400b8e4 * Add a .source- or src-suffix to source-archives
* Expand the prefix in the getter, not setter. This way the original value
   stays available.
 * The not-expanded prefix is used as prefix in source-archives
 * PACKAGEVERSION and PACKAGEDIRECTORY macro's are added to the dictionary
 * Use the zipprefix also for source-archives
 * Allow usage of dictionary-macro's while creating source-archives

git-svn-id: trunk@28966 -
2014-11-02 16:50:22 +00:00
Jonas Maebe
77c1364713 * replaced use of semaphores in Unix version of TThread for suspend/resume
functionality with RTLEvent:
   o the thread manager semaphore functionality isn't used for anything else,
     and the main difference between mutex/condvar and semaphores is that the
     latter can be used for IPC (while the thread manager is always used
     within a single process) and that they are counting (but since a thread
     can only suspend itself nowadays, it cannot be suspended recursively)
   o OS X sandboxing does not support the use of semaphores (or rather: Apple
     does not allow sandboxing rules that enable the use of IPC semaphores in
     the appstore)

git-svn-id: trunk@28965 -
2014-11-02 15:00:24 +00:00
Jonas Maebe
35a313d98c * throw an error if RTLEventCreate() fails on Unix
git-svn-id: trunk@28964 -
2014-11-02 15:00:21 +00:00
Jonas Maebe
79a40547ca - removed no longer used tthread.FSuspendedExternal
git-svn-id: trunk@28963 -
2014-11-02 15:00:14 +00:00
joost
270535fbe5 * Removed empty directories
git-svn-id: trunk@28960 -
2014-11-01 20:05:33 +00:00
sergei
bb1cec2474 * tcgcallparanode.secondcallparan: factored a complex condition into variable.
* tcgcallnode.pass_generate_code: call reorder_parameters also for procedure variable case, as it is done in two other control branches.

git-svn-id: trunk@28959 -
2014-11-01 15:07:28 +00:00
sergei
07ab3fbec4 * Fixed RTTI name mangling for nested types, resolves #26069.
git-svn-id: trunk@28958 -
2014-11-01 14:54:16 +00:00
Jonas Maebe
dc4a2a59f7 * initialise mineq before exiting the parameter checking loop for open array
parameters (bug in r28862, mantis #26976)

git-svn-id: trunk@28954 -
2014-10-31 20:45:54 +00:00
Tomas Hajny
a46b076cd2 * removed Dos[Alloc/Free]ThreadLocalMemory which is not available before OS/2 Warp - planned to be moved to DosCall2 later
git-svn-id: trunk@28953 -
2014-10-31 17:58:43 +00:00
Tomas Hajny
99e9571e0e * allow initialization of DefaultSystemCodepage also if system could return more information about prepared codepages
git-svn-id: trunk@28952 -
2014-10-31 17:43:15 +00:00
joost
c4492a711f * Determine if a 8.3-target-string should be used based on host-os, not the target-os, since the Makefiles and compiler do the same.
git-svn-id: trunk@28951 -
2014-10-31 12:59:47 +00:00
pierre
3530328cfd Allow to impose variable value as parameter (like AWK, as mawk from Makefile does not work)
git-svn-id: trunk@28950 -
2014-10-31 11:17:44 +00:00
joost
d2e649e048 * Removed rtl-dependency in fpmake.pp (rtl is always added implicitly)
git-svn-id: trunk@28949 -
2014-10-30 21:11:19 +00:00
Tomas Hajny
6c17c9cb29 * minor optimization (don't clear the result of GetDynLibsErrorStr twice)
git-svn-id: trunk@28948 -
2014-10-30 14:52:34 +00:00
Tomas Hajny
8cd2b615ce * added (limited) GetLastOSError by emulation of Win32 and *nix behaviour in the RTL
git-svn-id: trunk@28947 -
2014-10-30 14:44:03 +00:00
joost
3296c3d381 * Pass "-fsp 0" to fpmake on distinstall and zipdistinstall to remove absolute source path from fpunits.cfg files
git-svn-id: trunk@28946 -
2014-10-29 21:20:01 +00:00
joost
49a7323b64 * Install extra files relative to $(prefix) instead of $(baseinstalldir). This way yylex.cod and yyparse.cod can be installed without using a absolute path (Not possible in archives)
git-svn-id: trunk@28945 -
2014-10-29 20:20:58 +00:00
lacak
0028210b53 fcl-db: mssql: if stored procedure raises error with severity > 10 then db-library calls error handler, which sets DBErrorNo and DBErrorStr. So check them after execution of SQL and raise also error if they are set. +Cancel any pending results or other commands in batch to allow ROLLBACK.
git-svn-id: trunk@28944 -
2014-10-29 11:42:02 +00:00
marcus
f432d4c0c6 arosunits: converted macros repaired
git-svn-id: trunk@28943 -
2014-10-28 21:41:56 +00:00
reiniero
727d73677a * fcl-db: ibconnection: cosmetic
git-svn-id: trunk@28942 -
2014-10-28 08:35:47 +00:00
pierre
fb35830fc1 Add support for GDB version 7.8
git-svn-id: trunk@28941 -
2014-10-27 22:15:45 +00:00
pierre
6c8a00224f Add code to define DISABLE_CPU_FEATURES_INIT, if mingw GDB executable does not contain it
git-svn-id: trunk@28940 -
2014-10-27 22:14:23 +00:00
pierre
c5601c5094 Use 'set gnutarget elf32-littlearm' for arm cross
git-svn-id: trunk@28939 -
2014-10-27 22:12:13 +00:00
pierre
9e4e667842 Allow to disable __cpu_features_init by defining DISABLE_CPU_FEATURES_INIT
git-svn-id: trunk@28938 -
2014-10-27 22:10:51 +00:00
pierre
721c5d0947 define FPC_ARMEL32 or FPC_ARMEB32
git-svn-id: trunk@28937 -
2014-10-27 22:09:55 +00:00
reiniero
0f6d65e928 * fcld-db: dbftool example: cleanup, more error reporting/help output
git-svn-id: trunk@28936 -
2014-10-27 08:12:02 +00:00
pierre
5a2ed55af4 avoid gcc warning about old-style code in gdb_get_stdin
git-svn-id: trunk@28935 -
2014-10-26 23:01:06 +00:00
pierre
c528a029ec Fix error in RemoteCopy assignment at Remote dialog box exit
git-svn-id: trunk@28934 -
2014-10-26 21:39:58 +00:00
joost
cda66fd328 * Do not use a prefix on non-unices within archives (zipinstall)
* Resolved more problems with case-sensitive TStrings on some targets (go32v2)

git-svn-id: trunk@28933 -
2014-10-26 17:35:56 +00:00
pierre
1c6bc92ce4 Reverted separation of test and test subdirs that led to incomplete testsuite results
git-svn-id: trunk@28932 -
2014-10-26 16:47:55 +00:00
florian
76c179fae8 * aarch64 compilation fixes
git-svn-id: trunk@28931 -
2014-10-26 08:35:13 +00:00
pierre
87dfdaacf5 Second try to fix wrong commit, missing changedir resotred
git-svn-id: trunk@28930 -
2014-10-25 22:59:13 +00:00
joost
e147d09eb9 * Added option to adapt SourcePath in fpunits.cfg file during installation
git-svn-id: trunk@28929 -
2014-10-25 19:13:50 +00:00
Jonas Maebe
8244d366d0 - moved deallocation of NR_PIC_OFFSET_REG from the x86_64 to the i386 code
generator (as it's also allocated for i386 rather than for x86_64)

git-svn-id: trunk@28928 -
2014-10-25 17:47:44 +00:00
joost
af7876b93c * Fixed parsing command-line options for fpunits.cfg. Irrelevant options
are not stored anymore.

git-svn-id: trunk@28927 -
2014-10-25 14:51:10 +00:00
pierre
1e74266499 Fix error introduced in last commit
git-svn-id: trunk@28926 -
2014-10-25 09:01:49 +00:00