Commit Graph

47070 Commits

Author SHA1 Message Date
Jonas Maebe
c5f64a51da * also support unified syntax for non-thumb2 (not yet activatable/usable)
git-svn-id: trunk@31804 -
2015-09-23 20:38:14 +00:00
Jonas Maebe
ff4847f685 * also write out the assembler invocation when using pipes
git-svn-id: trunk@31803 -
2015-09-23 20:38:11 +00:00
Jonas Maebe
392af652df * let de syntax for got/page offsets depend on the target OS rather than
on the assembler

git-svn-id: trunk@31802 -
2015-09-23 20:38:08 +00:00
pierre
7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception
git-svn-id: trunk@31801 -
2015-09-23 16:49:24 +00:00
pierre
6524e536fa Regenerated after addition of new general_e_exception_raised Error
git-svn-id: trunk@31800 -
2015-09-23 16:39:58 +00:00
pierre
5c5c28ab9b Add new general_e_exception_raised Error
git-svn-id: trunk@31799 -
2015-09-23 16:39:23 +00:00
pierre
6435968a3b Introduce tabstractsubsymtable class that uses subentryid to use it also for tenumsymtable and tarraysymtable, to fix errors for ppudump util with -VH option
git-svn-id: trunk@31798 -
2015-09-23 16:37:40 +00:00
pierre
3123d823a1 Fix -VD or -VS by partially reading Interface information
git-svn-id: trunk@31797 -
2015-09-23 16:34:02 +00:00
nickysn
2e2ac5c7ee + added the win16api WM_SYSCOMMAND constants
git-svn-id: trunk@31796 -
2015-09-23 16:28:35 +00:00
nickysn
9d9e7746ab + added the win16api caret functions
git-svn-id: trunk@31795 -
2015-09-23 16:25:17 +00:00
nickysn
228b6b7c5c + added the win16api message box functions and its related constants
git-svn-id: trunk@31794 -
2015-09-23 16:04:55 +00:00
nickysn
2a9beafbcf + added the win16api icon functions
git-svn-id: trunk@31793 -
2015-09-23 15:52:01 +00:00
nickysn
5a4b834128 + added the win16api mouse cursor support functions
git-svn-id: trunk@31792 -
2015-09-23 15:44:32 +00:00
nickysn
16b26dab19 + added the win16api clipboard functions
git-svn-id: trunk@31791 -
2015-09-23 15:08:43 +00:00
nickysn
7ec9022317 + added the win16api scroll bar support functions
git-svn-id: trunk@31790 -
2015-09-23 14:38:55 +00:00
nickysn
c2b2a9acf1 + added the win16api menu functions
git-svn-id: trunk@31789 -
2015-09-23 14:25:10 +00:00
nickysn
4966993508 + added the win16api accelerator support functions
git-svn-id: trunk@31788 -
2015-09-23 13:27:52 +00:00
nickysn
04ef7fe971 + added the win16api timer support functions
git-svn-id: trunk@31787 -
2015-09-23 13:23:22 +00:00
nickysn
8821194c21 + added the win16api system modal window support functions
git-svn-id: trunk@31786 -
2015-09-23 13:15:58 +00:00
nickysn
49086aed65 + added the win16api mode control constants
git-svn-id: trunk@31785 -
2015-09-23 13:08:04 +00:00
nickysn
26fc460010 + added the win16api mouse input support functions
git-svn-id: trunk@31784 -
2015-09-23 13:06:26 +00:00
nickysn
1100358382 + added the win16api keyboard functions
git-svn-id: trunk@31783 -
2015-09-23 12:56:41 +00:00
nickysn
c2193330d9 + added the win16api window activation functions
git-svn-id: trunk@31782 -
2015-09-23 12:42:30 +00:00
nickysn
b06724e9fe + added the win16api drag and drop support constants
git-svn-id: trunk@31781 -
2015-09-23 12:16:56 +00:00
nickysn
cf110e6e77 + added the win16api non-client window area management constants and types
git-svn-id: trunk@31780 -
2015-09-23 12:14:28 +00:00
nickysn
22f2a15780 + added the win16api window scrolling functions
git-svn-id: trunk@31779 -
2015-09-23 11:55:40 +00:00
Jonas Maebe
d214ea56ee * filedef is an implicit pointer type on the JVM platform, since it's a
record

git-svn-id: trunk@31778 -
2015-09-22 19:59:40 +00:00
Jonas Maebe
3b2bd718d8 * corrected the def of the temp for array constructor nodes in case of
an array of const

git-svn-id: trunk@31777 -
2015-09-22 19:59:37 +00:00
Jonas Maebe
954cfd8d40 * replaced use of current_asmdata.currasmlist with the "list" parameter
in g_set_addr_nonbitpacked_record_field_ref()

git-svn-id: trunk@31776 -
2015-09-22 19:59:34 +00:00
Jonas Maebe
530a08b779 * added some missing unit dependencies
git-svn-id: trunk@31775 -
2015-09-22 13:48:57 +00:00
Jonas Maebe
f05d573391 * changed default debug format for Darwin/i386 from Stabs to DWARF2, as the
oldcctools are no longer shipped with Xcode 7 and Clang assembler doesn't
    support Stabs (and DWARF2 has been working better than Stabs since a long
    time already)

git-svn-id: trunk@31774 -
2015-09-22 12:55:59 +00:00
sergei
fe59bb9ec5 - THTMLToDOMConverter.FElementStack is created and destroyed, but unused otherwise. Removed.
* THTMLToDOMConverter.ReaderEndElement: Since each item in FNodeBuffer is removed only when processing EndElement event for its *parent* element (not the element it corresponds to, if any), it must be flagged for ignore once its own EndElement is handled. Otherwise, several same-named elements nested within each other were ending up in a wrong DOM tree. This bug was reported in Russian forum.

git-svn-id: trunk@31773 -
2015-09-22 05:37:39 +00:00
svenbarth
96a9273fba pdecsub.pas:
+ export parse_proc_dec_finish() from the unit
pgenutil.pas:
  * adjust generate_specialization_phase2() to correctly specialize procdefs

git-svn-id: trunk@31772 -
2015-09-18 21:51:17 +00:00
svenbarth
d15cdefc37 pdecsub.pas:
* extend parse_proc_head() with the ability to deal with specializations of procdefs
Note: such a procdef is created as unregistered as this is used to determine the correct overload in tcallcandidates (through the use of the yet to be adapted generate_specialization_phase2())

git-svn-id: trunk@31771 -
2015-09-18 21:31:53 +00:00
florian
d36694bdb8 * fix compilation with -Oodfa
git-svn-id: trunk@31770 -
2015-09-18 18:22:25 +00:00
svenbarth
17a0ac7fc0 pdecsub.pas:
* extend parse_proc_head() with support for /parsing/ generic functions (at least in mode Delphi, mode ObjFPC depends on the new isgeneric parameter to be set)
  * adjust parsing of interface mappings with a generic interface (note: in mode ObjFPC this now requires a "specialize" directly before the generic interface's name, which is more in line with other uses of "specialize")
pexpr.pas, factor:
  * don't call postfixoperators() if hadspecialize is set

tests/test/tgeneric79.pp:
  * adjust test to changed syntax

git-svn-id: trunk@31769 -
2015-09-18 16:24:07 +00:00
svenbarth
35d8a51730 pexpr.pas:
* extend factor() with the ability to deal with an already parsed "specialize"

git-svn-id: trunk@31768 -
2015-09-18 15:38:09 +00:00
svenbarth
295a8af4bb pexpr.pas:
* extend do_member_read() with the possibility to pass a specialization context on to do_proc_call() if the symbol is a procsym

git-svn-id: trunk@31767 -
2015-09-18 15:30:50 +00:00
svenbarth
0539ab29d0 pexpr.pas:
* do_proc_call can take a tspecializationcontext and pass it on to ccallnode.create()

Note: pointers to generic functions/methods are not yet supported, so there's a temporary, non-translated error message for these constructs

git-svn-id: trunk@31766 -
2015-09-18 15:24:15 +00:00
svenbarth
5316ae6a49 pdecsub.pas, pd_virtual:
* generate error if method is generic

git-svn-id: trunk@31765 -
2015-09-18 14:54:35 +00:00
svenbarth
79f19f79f2 msg/errore.msg:
+ add error message if a generic method is declared inside an interface
  + add error message if a generic method is declared as virtual

git-svn-id: trunk@31764 -
2015-09-18 14:52:47 +00:00
svenbarth
529677cc79 ncal.pas:
* extend tcallnode with the ability to pass a tspecializationcontext so that tcallcandidates can do a final specialization
  * the final procdef is registered at the end of tcallnode.pass_typecheck

git-svn-id: trunk@31763 -
2015-09-18 14:48:54 +00:00
yury
75b3ce2d2c * Added a comment.
git-svn-id: trunk@31762 -
2015-09-18 14:40:39 +00:00
yury
835e3efdad * i386-android: Library startup code is PIC compatible.
git-svn-id: trunk@31761 -
2015-09-18 14:40:27 +00:00
svenbarth
2e24d6dffb htypechk.pas:
* extend tcallcandidates by the ability to handle generic procdefs
pgenutil.pas:
  + export check_generic_constraints

git-svn-id: trunk@31760 -
2015-09-18 14:37:47 +00:00
svenbarth
e44a51f10d symdef.pas, tprocdef:
+ new token buffer that holds the declaration of the generic function/method while the one from tdef contains the body
ppu.pas:
  * increase PPU version
utils/ppuutils/ppudump.pp:
  * also read the declaration token buffer, it's however not printed yet (ToDo!)

git-svn-id: trunk@31759 -
2015-09-18 13:46:50 +00:00
svenbarth
e8c68a09c1 pgenutil.pas, parse_generic_parameters:
* no longer create the type symbol and the defs as registered
pdecl.pas, types_dec:
  * register the syms and defs of the parsed generic parameters

git-svn-id: trunk@31758 -
2015-09-18 13:16:25 +00:00
svenbarth
040786e5bb + extend tundefineddef with the possiblity to create it as unregistered
* for now all undefineddefs are created as registered
Note: an additional parameter instead of an overload is used for tundefineddef.create as otherwise both constructors would need to be overridden in potential descendant CPU-specific classes...

git-svn-id: trunk@31757 -
2015-09-18 13:08:58 +00:00
svenbarth
4b98b36212 pgenutil.pas:
* make generate_specialization_phase1() and generate_specialization_phase2() aware of the existance of procdefs

git-svn-id: trunk@31756 -
2015-09-18 12:53:42 +00:00
yury
61a1976e09 * Removed a leftover of my code. It is not needed anymore.
git-svn-id: trunk@31755 -
2015-09-18 10:34:27 +00:00