Commit Graph

44560 Commits

Author SHA1 Message Date
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
pierre
a959b1a6ef Add Warning/Hint if changing bind type after assembler symbol has
been used already.
  Warning if from Global to local, temporarily downgraded to Note
to avoid faling cycle as -Sew is default.

git-svn-id: trunk@29449 -
2015-01-12 12:19:25 +00:00
lacak
9d6f5ece63 fcl-db: sqlite: add sqImplicitTransaction to ConnOptions.
git-svn-id: trunk@29448 -
2015-01-12 10:56:18 +00:00
marco
1b85962ef3 * put default libgcc path under if Dontlinkstdlibpath...
git-svn-id: trunk@29447 -
2015-01-12 10:34:39 +00:00
pierre
831a876ec5 Added asmsymbindname array name for TAsmSymBind type
for use in new messages commits 29444-29445

git-svn-id: trunk@29446 -
2015-01-12 10:15:17 +00:00
pierre
b3a4d47b96 Regenerated after msg/errore.msg commit:
Added two new messages for changes in assembler symbols after use.
Those changes can lead to invalid code generation.

git-svn-id: trunk@29445 -
2015-01-12 10:10:21 +00:00
pierre
18fe66b0e7 Added two new messages for changes in assembler symbols after use.
Those changes can lead to invalid code generation.

git-svn-id: trunk@29444 -
2015-01-12 10:05:21 +00:00
lacak
9fba59b3bc fcl-db:
- base: added new TDataSetState: dsRefreshFields used in refreshing field between local TBufDataSet and remote DB during process of applying updates.
- mssql: implemented RefreshLastInsertID + test

git-svn-id: trunk@29443 -
2015-01-12 09:00:37 +00:00
lacak
8ae9752530 fcl-db: cosmetic
git-svn-id: trunk@29442 -
2015-01-12 06:38:29 +00:00
Tomas Hajny
c3fee174b8 * ensure initialization of CountryCode parameter for DosMapCase in OS2UpperAnsiString
git-svn-id: trunk@29441 -
2015-01-12 00:07:07 +00:00
nickysn
5406b13a08 - disable package fcl-res for i8086-msdos, since it doesn't build in 186+ mode,
so it prevents making an msdos installer. Note that the fcl-res package is
  currently unusable on this platform anyway, because it uses unit classes,
  which exceeds the 64kb global data limit (due to too much rtti) and thus
  doesn't work in any memory model currently supported (it should work in the
  huge model, but that is not ready yet).

git-svn-id: trunk@29440 -
2015-01-11 22:32:35 +00:00
joost
96ea6b0001 * Added uninstall command to fppkg
git-svn-id: trunk@29439 -
2015-01-11 18:22:01 +00:00
joost
e2b241e0ee * Added command to uninstall packages
git-svn-id: trunk@29438 -
2015-01-11 18:10:34 +00:00
nickysn
3af91db14d + added msdos to the NOUTILSTARGETS
git-svn-id: trunk@29437 -
2015-01-11 14:43:34 +00:00
nickysn
aeb8c97257 + added i8086 unit paths, containing the subarch and memory model to the default fpc.cfg
git-svn-id: trunk@29434 -
2015-01-11 12:45:43 +00:00
Tomas Hajny
16d4e39c59 * added information for future implementation of certain SMP specific API functions
git-svn-id: trunk@29433 -
2015-01-11 00:18:10 +00:00
Tomas Hajny
e7f76cee9e * fixed re-initialization of cached UConv object after changed codepage and added implementation of several more UnicodeStringManager routines
git-svn-id: trunk@29432 -
2015-01-11 00:16:12 +00:00
pierre
87b9c1b2ea Possible fix for the OpenSolaris x86_64 cycle failure, due to bind change from AB_GLOBAL back to AB_LOCAL after code generation, which lead to invalid code
git-svn-id: trunk@29431 -
2015-01-10 22:55:11 +00:00
lacak
1e3d48288c fcl-db: mssql: make Rollback more safe. Check if there is active transaction first to avoid error "The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION."
Sometimes SQL Server automaticaly rollbacks transaction and then raises error ...
ODBC driver does same: IF @@TRANCOUNT>0 ROLLBACK.

git-svn-id: trunk@29430 -
2015-01-09 13:33:02 +00:00
yury
bb7aee5e8e * Added link to the pas2jni wiki page.
git-svn-id: trunk@29429 -
2015-01-08 13:19:05 +00:00
Károly Balogh
3b16824b9f ami-extra: fix build on amiga/m68k. this change is several days old, but forgot to commit *sigh*
git-svn-id: trunk@29428 -
2015-01-07 12:34:49 +00:00
svenbarth
af43e5e3e9 Fix for Mantis #24872.
psub.pas, tcgprocinfo.parse_body:
  * also check record symtables besides object symtables to determine whether the staticsymtable is accessed from a globally declared generic
  * use a translateable message if the static symtable is accessed if it should not
msg/errore.msg:
  + add new error message for when the static symtable is accessed from a global generic
msgidx.inc & msgtixt.inc:
  * regenerated

+ added test

git-svn-id: trunk@29427 -
2015-01-06 20:46:12 +00:00
florian
b13e00ea70 * make yysleng a longint
git-svn-id: trunk@29426 -
2015-01-06 16:01:33 +00:00