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
svenbarth
a4e8f00399
Allow the usage of type aliases of generic type parameters outside of the generic. Besides being useful by itself it will also be needed in the future when the visibility of the type parameters is changed from public to strict private.
...
ptype.pas, id_type:
* don't generate an error if the undefineddef typesym is an explicit rename that belongs to a generic
+ added test
git-svn-id: trunk@29485 -
2015-01-16 16:38:51 +00:00
svenbarth
5115c3e680
Fix for Mantis #26481 . This is a regression.
...
nutils.pas, handle_staticfield_access:
* generics don't have staticvarsyms for their static fieldvarsyms so we need to simulate a non-static access to avoid 1) an exception and 2) incorrect errors that instance methods can't be accessed
+ added tests
git-svn-id: trunk@29484 -
2015-01-16 16:05:53 +00:00
svenbarth
5fd47d5e00
Fix for Mantis #26483 . This regression was introduced by famous revision 27861 which introduced partial specializations (and thus that specializations can be part of local- and parasymtables as well).
...
symtable.pas, is_visible_for_object:
* if the symtable belongs to a specialization we need to ignore any owning local- or parasymtable as well to determine which unit it belongs to
+ added test
git-svn-id: trunk@29482 -
2015-01-16 14:23:49 +00:00
nickysn
7cb38e1ce9
* removed the msdos binutils prefix, so that we can switch more easily to using a default watcom install (in case we decide we don't want to ship watcom binutils binaries due to license issues)
...
git-svn-id: trunk@29481 -
2015-01-16 13:37:10 +00:00
lacak
2175dd1403
fcl-db: tests: cosmetic
...
git-svn-id: trunk@29480 -
2015-01-16 13:17:36 +00:00
lacak
aa7dfdff96
fcl-db: postgresql: cosmetic
...
git-svn-id: trunk@29479 -
2015-01-16 08:59:50 +00:00
Tomas Hajny
36ff4c5d26
* support for OS/2 DLL names used in the latest OpenSSL port updates
...
git-svn-id: trunk@29478 -
2015-01-15 23:35:41 +00:00
marco
bc35a48d65
* __error in cprt0.as
...
git-svn-id: trunk@29477 -
2015-01-15 20:40:33 +00:00
pierre
c9f73354af
Avoid CopyFile over itself fp.cfg after copying fp.ini, thus avoiding misleading ErrorBox
...
git-svn-id: trunk@29476 -
2015-01-15 16:53:58 +00:00
Tomas Hajny
b1e51054cb
* add information about -vz to the help pages
...
git-svn-id: trunk@29475 -
2015-01-14 17:08:26 +00:00
marco
a6f88e3c1f
* fpmkunit makefile fix for dragonfly BSD, mantis #27309
...
git-svn-id: trunk@29473 -
2015-01-14 15:50:00 +00:00
pierre
32cdcb8930
Remove wrong error message, Pascal Didier
...
git-svn-id: trunk@29472 -
2015-01-14 15:46:29 +00:00
pierre
ea3bc10fd1
Change ReplaceForbiddenAsmSymbolChars to use ansistrings to avoid shortstring overflow
...
git-svn-id: trunk@29471 -
2015-01-14 13:43:14 +00:00
marco
0abb3f3e02
* fixed capitalization Int64 and added qword
...
git-svn-id: trunk@29470 -
2015-01-13 17:18:29 +00:00
marco
db43ec946f
* definition of internal type int64 for documentation purposes.
...
git-svn-id: trunk@29469 -
2015-01-13 17:14:51 +00:00
marco
bb4adddd2c
* fix for compilation error when building with buildunit instead of fppkg?
...
git-svn-id: trunk@29468 -
2015-01-13 16:27:37 +00:00
marco
bf33284b2f
* support for modifiable attributes. Mantis #26850
...
git-svn-id: trunk@29467 -
2015-01-13 15:34:33 +00:00
marco
d47aae933c
* ltelnet subcommand first character improvements. Mantis #27273
...
git-svn-id: trunk@29466 -
2015-01-13 14:51:32 +00:00
marco
b21d30b3aa
* mantis #27271 , enable ipc for solaris.
...
git-svn-id: trunk@29465 -
2015-01-13 14:40:58 +00:00
lacak
e8c40ee106
fcl-db: tests: rename test tables to "FPDEV2", which is automatically cleaned up upon test completion.
...
git-svn-id: trunk@29462 -
2015-01-13 12:04:55 +00:00
marco
16744dc6dc
* set tag to 900044 for easier scripting.
...
PR: #27284
Submitted by: John Marino
Reviewed by: Marco van de Voort
Approved by: Marco van de Voort
git-svn-id: trunk@29458 -
2015-01-13 09:02:26 +00:00
Tomas Hajny
a73c5c0c0d
* improved thread-safety in case of reinitialization of cached information after codepage change, improved fallback routines for upper/lowercase if no Unicode support is available
...
git-svn-id: trunk@29457 -
2015-01-13 01:11:28 +00:00
florian
ccb01d6196
* allow subtraction/addition of internally generated nodes, resolves #27256
...
git-svn-id: trunk@29456 -
2015-01-12 20:56:17 +00:00
pierre
1590ba813d
Test skipped for go32v2, because it forbids the testsuite to complete without manually killing the program
...
git-svn-id: trunk@29454 -
2015-01-12 16:54:39 +00:00
nickysn
513700cf64
* regenerate fpccfg.inc after r29434
...
git-svn-id: trunk@29453 -
2015-01-12 16:05:35 +00:00
pierre
c19f3d6994
Test fix Revision 29450 fro bug report 27294.
...
git-svn-id: trunk@29452 -
2015-01-12 15:13:15 +00:00
lacak
d033c7e122
fcl-db: tests: cosmetic + correct typos
...
git-svn-id: trunk@29451 -
2015-01-12 13:59:17 +00:00
pierre
9b468ba728
Change code so that the condition to use global or local symbol matches
...
the code written in hlcg.gen_proc_symbol to avoid change from AB_LOCAL
to AB_GLOBAL, which generates erroneous code (at least for targets using GOT)
git-svn-id: trunk@29450 -
2015-01-12 12:24:15 +00:00