Commit Graph

44107 Commits

Author SHA1 Message Date
joost
6b2f18bf28 * Fixed extension from several files in fpmake.pp
git-svn-id: trunk@29023 -
2014-11-08 15:24:29 +00:00
joost
99035134a5 * Create a separate binary-archive for all util-packages
git-svn-id: trunk@29022 -
2014-11-08 14:58:30 +00:00
joost
972548139e * Fixed filepaths for fpmake archive-command
git-svn-id: trunk@29021 -
2014-11-08 12:39:06 +00:00
joost
a23fde1fcb * Removed files from fpmake.pp that are not even part of the package
git-svn-id: trunk@29020 -
2014-11-08 12:31:33 +00:00
Tomas Hajny
4b6f30547d * avoid warning about dependency of stdconvs on convutils on 8.3 targets
git-svn-id: trunk@29019 -
2014-11-08 01:10:25 +00:00
Tomas Hajny
a3e9954d73 * file locking API call updated according to changes in unit doscall2
git-svn-id: trunk@29018 -
2014-11-08 01:07:30 +00:00
Tomas Hajny
f330d2e981 * fix for random memory corruption introduced in r28975
git-svn-id: trunk@29017 -
2014-11-08 00:01:13 +00:00
Tomas Hajny
398fa3dd8d * changed parameter in DosSetThreadAffinity from pointer to a var parameter
git-svn-id: trunk@29016 -
2014-11-07 23:57:22 +00:00
joost
c052bce0e3 * .o object files were not installed anymore after r29004
git-svn-id: trunk@29012 -
2014-11-07 15:41:04 +00:00
joost
c1eab07eba * Since r29004 there is no need anymore to add the package-path-prefix
git-svn-id: trunk@29011 -
2014-11-07 15:16:15 +00:00
marco
e9937c3c52 * commit new beep system from Benito van der Zander mantis #0012437
Tested on win8/64 with both 32 and 64-bit binaries.
   Only modification: test for win32platform directly instead of dragging in sysutils (which modifies exception behaviour)
   

git-svn-id: trunk@29010 -
2014-11-07 14:32:49 +00:00
joost
2acf86655f * Do not try to check the fileage of files that are not found
git-svn-id: trunk@29005 -
2014-11-06 22:04:18 +00:00
joost
a217fe6cac * Do not use SetCurrentDir anymore during installations
git-svn-id: trunk@29004 -
2014-11-06 21:45:56 +00:00
joost
23743ec6f0 * Solved a warning about a missing clocale.pp
git-svn-id: trunk@29003 -
2014-11-06 20:37:59 +00:00
Tomas Hajny
30820cd0e5 * fixed missed setting of return code
git-svn-id: trunk@29002 -
2014-11-06 16:51:15 +00:00
Tomas Hajny
fa89dca059 * make LastOSError accessible earlier
git-svn-id: trunk@29001 -
2014-11-06 12:15:27 +00:00
Tomas Hajny
0a74c30351 * run EMX linker quietly
git-svn-id: trunk@29000 -
2014-11-06 12:14:00 +00:00
Tomas Hajny
a593cc2def * fix missing space when passing additional parameters to the EMX linker
git-svn-id: trunk@28999 -
2014-11-06 11:42:39 +00:00
Jonas Maebe
839d11eac9 * mention that misplaced global directives are ignored (mantis #27004)
git-svn-id: trunk@28998 -
2014-11-06 09:02:40 +00:00
michael
34941fde71 * Test for bug ID #26773
git-svn-id: trunk@28997 -
2014-11-05 22:23:56 +00:00
michael
cbd817b5e8 * Test for bug ID #26773
git-svn-id: trunk@28996 -
2014-11-05 22:21:55 +00:00
michael
3563944752 * Patch to allow changing TVarRec data (bug ID 26773)
git-svn-id: trunk@28995 -
2014-11-05 22:17:54 +00:00
Tomas Hajny
6a83f32486 * additional API functions available in higher OS/2 versions
git-svn-id: trunk@28994 -
2014-11-05 21:36:03 +00:00
Tomas Hajny
93cb6fd57e * additional constants for OpenMode in Dos(Protect)Open(L)
git-svn-id: trunk@28993 -
2014-11-05 21:29:31 +00:00
pierre
86adaa1254 Add USE_LOCAL_SET_GDB_DATA_DIRECTORY macro, to avoid main.o incorporation
git-svn-id: trunk@28992 -
2014-11-05 20:47:47 +00:00
pierre
a7879a60fd Allow to use FPBASENAME environment variable as default base name for ini file
git-svn-id: trunk@28991 -
2014-11-05 20:45:47 +00:00
pierre
0d9783e9a6 Avoid referencing an empty ansistring in tai_stabs.create_ansistr
git-svn-id: trunk@28990 -
2014-11-05 20:29:18 +00:00
Tomas Hajny
4f43987f93 * missing ordinals for DosCalls added
git-svn-id: trunk@28989 -
2014-11-05 17:59:47 +00:00
Tomas Hajny
66ffade5da * DosAliasMem and DosQueryMemState functions added to DosCalls; DosProtect* (not available in OS/2 2.0) moved to DosCall2
git-svn-id: trunk@28988 -
2014-11-04 23:32:52 +00:00
Jonas Maebe
979761493f + test for r28985
git-svn-id: trunk@28987 -
2014-11-04 21:16:57 +00:00
Jonas Maebe
b662d63258 * mark the global variable as "public;" so its assembler symbol is exported
(because @gotpcrel shouldn't be used for non-global/exported symbols on
     some platforms, such as OS X)
   o fixes the test on OS X

git-svn-id: trunk@28986 -
2014-11-04 21:16:29 +00:00
Jonas Maebe
d8c898742a * handle the fact that records containing a single extended value are
returned on the x87 fpu stack on x86-64
   o also handle the fact that this means that we'll generated float
     loads/stores with OS_128/OS_F128 in case the surrounding record
     is padded to a multiple of its alignment

git-svn-id: trunk@28985 -
2014-11-04 21:16:27 +00:00
Jonas Maebe
6712954607 * correctly handle X86_64_X87UP_CLASS getting merged with another class and
becoming X86_64_SSE_CLASS/X86_64_INTEGER_CLASS/... This is not defined in
    the ABI because there sizeof(extended)=16 and hence the class of the upper
    eightbyte of the extended value can never be merged with the class of
    another field (except in a union, but then the class of the lower
    eightbyte will also be overwritten).

    Handle it the same as when the lower eightbyte class of an extended in an
    aggregate gets changed into something else: pass everything in memory
    (part of mantis #26993)

git-svn-id: trunk@28984 -
2014-11-04 21:16:24 +00:00
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