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
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