Tomas Hajny
2f92aa8d48
* corrected random memory corruption during argument setup
...
git-svn-id: trunk@29539 -
2015-01-24 00:25:35 +00:00
Tomas Hajny
7292e64e04
* corrected test for empty filename in FileRec
...
git-svn-id: trunk@29538 -
2015-01-24 00:23:42 +00:00
svenbarth
943a094683
Fix for Mantis #27320 .
...
symdef.pas, tprocdef:
* defaultmangledname: don't use the potentially unassigned hp, but use - as intended - returndef if it is set (analog to the non-CRC part)
+ added test
git-svn-id: trunk@29537 -
2015-01-23 16:47:23 +00:00
pierre
9af030ba9e
Add missing x86_64-solaris gcc compiled objects
...
git-svn-id: trunk@29536 -
2015-01-23 14:23:47 +00:00
pierre
16262bb10e
Add missing i386-solaris gcc compiled objects
...
git-svn-id: trunk@29535 -
2015-01-23 14:18:18 +00:00
pierre
35a1e6f59e
Add x86_64 as supported CPU for Solaris OS
...
git-svn-id: trunk@29533 -
2015-01-23 11:17:19 +00:00
Tomas Hajny
08ce351a06
* don't use the OS/2 API function DosSearchPath for searching through the list of directories in FSearch because it always returns full path even for relative directory specifications (as opposed to what is expected in TP/BP)
...
git-svn-id: trunk@29532 -
2015-01-23 01:25:08 +00:00
Tomas Hajny
2e5054186c
* include current directory in the list of searched directories in FSearch as expected in TP/BP
...
git-svn-id: trunk@29531 -
2015-01-23 01:19:22 +00:00
Tomas Hajny
5176a069cf
* align DosError returned for empty filename in GetFAttr and SetFAttr to TP/BP
...
git-svn-id: trunk@29530 -
2015-01-23 00:48:16 +00:00
Tomas Hajny
37acf48426
* align DosError returned for invalid (unused) handle in GetFTime and SetFTime to TP/BP
...
git-svn-id: trunk@29529 -
2015-01-23 00:26:02 +00:00
Tomas Hajny
150ead4546
* skipping wrAbandoned test unsupported on OS/2 similarly to MS Windows
...
git-svn-id: trunk@29528 -
2015-01-22 23:52:22 +00:00
Tomas Hajny
33856b9f7b
* fix typo in message and deallocate all previously allocated memory
...
git-svn-id: trunk@29527 -
2015-01-22 23:49:04 +00:00
Tomas Hajny
dcffcd22e7
* fix a bug in Exec if calling a program without arguments
...
git-svn-id: trunk@29526 -
2015-01-22 23:11:42 +00:00
Tomas Hajny
f263da87a2
* oops, the previous commit was wrong, reverting :-(
...
git-svn-id: trunk@29525 -
2015-01-22 21:55:12 +00:00
Tomas Hajny
a8ef98bf36
* fix libz DLL name for OS/2
...
git-svn-id: trunk@29524 -
2015-01-22 21:50:47 +00:00
Tomas Hajny
054ada1191
* skip this test for os2 and emx targets because it tries to link in a resource file in MS Windows format (rather than the OS/2 format) which is not supported
...
git-svn-id: trunk@29523 -
2015-01-22 21:24:21 +00:00
Jonas Maebe
dc172ef55b
* disabled blocks tests for Darwin/ppc(64), as the blocks runtime is only
...
only shipped with Mac OS X 10.6 and later (and the last version supporting
ppc was 10.5)
git-svn-id: trunk@29522 -
2015-01-22 19:56:34 +00:00
pierre
ce20dcf7a6
* Add code to try old GNU emulation if new names are not recognized
...
* Add support for map file
* Add -lc (for libc library) two times instead of only at the end.
git-svn-id: trunk@29521 -
2015-01-22 16:45:52 +00:00
pierre
aebebe4f04
i386-solaris target: Add flags for pic code uses GOT and library requires pic
...
git-svn-id: trunk@29520 -
2015-01-22 15:14:35 +00:00
pierre
e8d836f74c
Activate gdbint package for solaris target OS
...
git-svn-id: trunk@29519 -
2015-01-22 15:12:14 +00:00
Károly Balogh
37cf157d7d
initialize pd to fix a warning with O3+
...
git-svn-id: trunk@29518 -
2015-01-22 12:07:50 +00:00
Jonas Maebe
2f40fa7b33
* reintegrated "blocks" branch. Adds support for calling C-style blocks with
...
global procedures and Object Pascal methods on Darwin platforms. Support
for nested procedures will be added later on. For the syntax, see
tests/test/tblock*.pp
git-svn-id: trunk@29517 -
2015-01-21 23:38:50 +00:00
Jonas Maebe
146e3bcb9e
* synchronised with trunk till r29513
...
git-svn-id: branches/blocks@29516 -
2015-01-21 23:28:34 +00:00
Jonas Maebe
e97f31541e
- reverted partial commit of merge
...
git-svn-id: branches/blocks@29515 -
2015-01-21 23:24:37 +00:00
Jonas Maebe
a76bbf363d
* synchronised with trunk r29513
...
git-svn-id: branches/blocks@29514 -
2015-01-21 23:18:29 +00:00
sergei
6708b83a16
* Refactor tasmlisttypedconstbuilder so it emits string/PChar data, if any, into a second asmlist, instead of appending it directly to global asmlist.
...
git-svn-id: trunk@29513 -
2015-01-20 15:14:38 +00:00
sergei
ed4e876f4f
* Generate exception filters data on i386-win32 and x86_64-win64 without using global labels.
...
git-svn-id: trunk@29512 -
2015-01-20 13:52:19 +00:00
sergei
a67478e033
* Simplified, removed redundant asmlist and duplicate call to maybe_new_object_file.
...
git-svn-id: trunk@29509 -
2015-01-20 07:52:11 +00:00
Tomas Hajny
fdbd928453
* utils package still stay as standalone zip for smaller utilities in the main directory, but the source file name is one character longer than before now
...
git-svn-id: trunk@29508 -
2015-01-19 21:39:54 +00:00
lacak
d8ce1caea3
fcl-db: postgresql: Fix AV in UnprepareStatement (TPQCursor.tr is nil).
...
Revealed by TTestTSQLQuery.TestKeepOpenOnCommit.
Commit destroys TPQTrans object, which in destructor sets tr:=nil for all registered cursors. So attempt to Close TSQLQuery after Commit has leading to AV.
git-svn-id: trunk@29507 -
2015-01-19 13:01:51 +00:00
sergei
d24382e8f8
* x86 AT&T writer: never ever drop "@GOTPCREL" relocation, because it results in corrupted code (at least, "mov foo@GOTPCREL(%rip),%reg" must change to "lea foo(%rip),%reg" to remain equivalent, but this must be handled elsewhere anyway. Assembler writer should just write generated code as is).
...
* Added internal errors on some impossible types of references.
git-svn-id: trunk@29506 -
2015-01-18 17:04:53 +00:00
sergei
26cd3dc58a
* %OS -> %target, the former is invalid and breaks the entire run.
...
git-svn-id: trunk@29504 -
2015-01-18 16:09:45 +00:00
florian
8d4b7f8b97
* search directory given by FPCDIR for the *.cod files as well as /usr/local/lib/fpc/lexyacc/ and /usr/lib/fpc/lexyacc/ on unix (despite current dir), resolves #27326
...
git-svn-id: trunk@29503 -
2015-01-18 13:11:38 +00:00
florian
0b3130ad20
* "backported" changes from pyacc.pas to pyacc.y: pyacc.pas is generated actually from pyacc.y by pyacc
...
git-svn-id: trunk@29502 -
2015-01-18 13:09:35 +00:00
florian
2c7f1c73ac
* pass -m elf_i386_sol2 to gld on i386-solaris as well, patch by H.Hartl, resolves #27265
...
git-svn-id: trunk@29501 -
2015-01-18 11:19:42 +00:00
florian
94a51e26a0
+ support of winapi directive
...
git-svn-id: trunk@29500 -
2015-01-18 10:50:53 +00:00
Tomas Hajny
dbb999c4dd
* change unit names in the uses clause to completely lowercase to avoid issues with case sensitive file systems
...
git-svn-id: trunk@29499 -
2015-01-17 16:04:33 +00:00
Jonas Maebe
8fe981cccb
* also give a warning when a field masks an identifier from a category
...
* also give a warning when a field/parameter/local variable masks an
identifier from a class helper that's in scope
git-svn-id: trunk@29498 -
2015-01-17 15:38:29 +00:00
Jonas Maebe
990e47f2d3
* give a warning instead of an error if a parameter or local variable in a
...
an Objective-C method masks an identifier from a category, because due
to the fact that all standard categories are imported at the same time via
the CocoaAll unit, this can often happen with categories you don't know/
care about. These errors also didn't happen in 2.6.x
git-svn-id: trunk@29497 -
2015-01-17 15:27:42 +00:00
florian
d25dbec070
* allow the varargs directive in combination with stdcall as well, resolves #27299
...
git-svn-id: trunk@29496 -
2015-01-17 14:23:38 +00:00
florian
681c1afe6c
* limit inlined expansion and exponential code grow, resolves #23862
...
git-svn-id: trunk@29495 -
2015-01-17 13:52:41 +00:00
florian
a825a0f3ff
* patch by Cyrax to fix building, resolves #27323
...
git-svn-id: trunk@29494 -
2015-01-17 12:30:18 +00:00
sergei
d4969ca2ee
* Fixed subscripting records of size OS_PAIR on big endian targets and enabled placing such records into registers. Tested and shows no regressions on mips-linux.
...
git-svn-id: trunk@29493 -
2015-01-17 11:30:19 +00:00
Tomas Hajny
284074c4e8
* OS/2 UnicodeStringManager functions finished (except for CharLengthPChar and CodePointLength which only make sense after they get a codepage parameter as discussed with Jonas); fix for #6295
...
git-svn-id: trunk@29492 -
2015-01-17 01:32:20 +00:00
Tomas Hajny
4cf24d98cb
* updated configuration file template (aligned to fpcmkcfg/fpc.cft where appropriate)
...
git-svn-id: trunk@29491 -
2015-01-16 23:06:16 +00:00
Tomas Hajny
2da5e0b65c
+ new tool mkinsadd included into the standard building
...
git-svn-id: trunk@29490 -
2015-01-16 22:36:20 +00:00
Tomas Hajny
11d99d3208
+ new tool for simple post-processing of packages listings created by fpmake for easy merging into install.dat file used by the text-mode installer
...
git-svn-id: trunk@29489 -
2015-01-16 22:35:11 +00:00
Jonas Maebe
02c445fb29
* fixed test compilation after r29388
...
git-svn-id: trunk@29488 -
2015-01-16 20:08:52 +00:00
Jonas Maebe
697552b9f1
* disabled hints/warnings about changed symbol visibility by default, use
...
-dextdebug to see them. This fixes 4 tests.
git-svn-id: trunk@29487 -
2015-01-16 20:08:48 +00:00
svenbarth
0d1d3d8e72
Fix for Mantis #25917 . With this change the visibility of type parameters is changed from public to strict private as otherwise unexpected (and "unworkaroundable") errors might occur (like the one in the mentioned bug report).
...
pgenutil.pas:
* parse_generic_parameters & insert_generic_parameter_types: create the type parameter symbols as strict private instead of public (which is the default visiblity)
* adjusted two tests which relied on this behavior (that's why I fixed the type aliases previously)
+ added test
git-svn-id: trunk@29486 -
2015-01-16 17:02:02 +00:00