Commit Graph

221 Commits

Author SHA1 Message Date
Tomas Hajny
f2ac8b64d9 * bugrep -> bugs
git-svn-id: trunk@3983 -
2006-06-27 21:49:32 +00:00
Tomas Hajny
98721d30f4 * bugrep -> bugs
git-svn-id: trunk@3982 -
2006-06-27 21:46:06 +00:00
florian
ac8170006e * latest updates from Karl-Michael Schindler
git-svn-id: trunk@3978 -
2006-06-27 13:55:30 +00:00
florian
dc2bef3875 + implemented directives $setpeflags, $maxstacksize, $minstacksize and $imagebase, fixes #6349 and #6714
git-svn-id: trunk@3935 -
2006-06-25 10:22:42 +00:00
Tomas Hajny
50a8ef63a8 * contact information for contributors/maintainers added
git-svn-id: trunk@3929 -
2006-06-24 17:53:22 +00:00
florian
03a0a4ca71 * updates from Karl-Michael Schindler
git-svn-id: trunk@3805 -
2006-06-05 13:42:17 +00:00
florian
daeda1b9e0 * fixed error msg (that->this)
* array properties can be published in delphi mode though it makes no sense to publish them because they can't be streamed

git-svn-id: trunk@3694 -
2006-05-27 15:24:55 +00:00
florian
d4848169e1 * as operator isn't allowed for non com interfaces
git-svn-id: trunk@3646 -
2006-05-23 18:52:56 +00:00
peter
4790838455 * add -Xi and -Xe
git-svn-id: trunk@3621 -
2006-05-21 20:18:50 +00:00
florian
1928cd1e60 + Indonesian message file from Zaenal Mutaqin
git-svn-id: trunk@3497 -
2006-05-13 18:19:14 +00:00
florian
10520ba9a7 * updates from Karl-Michael Schindler
git-svn-id: trunk@3492 -
2006-05-13 15:51:34 +00:00
florian
c6787b52a7 + compile the svn revision into the compiler, to do so, a file compiler/revision.inc must exist which is updated then
git-svn-id: trunk@3491 -
2006-05-13 15:25:36 +00:00
florian
06e7d4be7a + dispid parsing
git-svn-id: trunk@3378 -
2006-04-30 08:25:36 +00:00
Jonas Maebe
608f7de834 * fixed typo in comments
git-svn-id: trunk@3205 -
2006-04-14 09:16:43 +00:00
Jonas Maebe
05540cad44 * give an error for {$calling } (i.e., when a procedure directive is
missing)

git-svn-id: trunk@3193 -
2006-04-12 07:58:25 +00:00
Tomas Hajny
c17b57db07 + Statistics of warnings, hints and notes - (modified/fixed) patch from Naj Kejah, part of wishlist item 4897, plus hardcoded text moved to message file
git-svn-id: trunk@3181 -
2006-04-09 11:54:09 +00:00
florian
061162d9da + new messages from Karl-Michael Schindler
git-svn-id: trunk@3000 -
2006-03-21 13:23:46 +00:00
florian
5bb20f65bd * error corrections from Karl-Michael Schindler
git-svn-id: trunk@2999 -
2006-03-21 13:21:23 +00:00
Jonas Maebe
4db6e1ddb8 * moved type conversion of C varargs from tcallnode to
tarrayconstructornode.inset_typeconvs() and fixed them:
    * integers < 32 bit are converted to 32 bit (this was previously
      done in the code generator for some targets, and not for others)
    * currency is also converted to double for targets where currency = int64
    * single is converted to double, except for x86_64 (is at least
      necessary on darwin/ppc, darwin/i386 and linux/i386)
    * enums are converted to 32 bit ints
    * procvars are converted to pointers
    * proper errors are given for various unsupported types
   NOTE: in C, floating point constants are by default double, while in
    FPC they are of type extended. On platforms where extended <> double,
    such constants when passed to C varargs are automatically converted
    to double by default (gives warning). If you want to pass them as
    single or extended or get rid of the warning, use an explicit typecast
  * increased ppu version because of introduction of new node flag
    (nf_cvarargs for tarrayconstructornode)
  * fixed tests/test/cg/tprintf
  * changed tests/test/cg/cdecl/taoc5 to use explicit typecasts for
    floating point constants passed to C varargs functions.

git-svn-id: trunk@2949 -
2006-03-17 22:26:48 +00:00
peter
eb725d4e44 Merged revisions 2908,2911,2913-2917 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/linker/compiler

........
r2908 | peter | 2006-03-13 13:35:48 +0100 (Mon, 13 Mar 2006) | 2 lines

  * merge trunk upto r2907

........
r2911 | peter | 2006-03-13 18:08:00 +0100 (Mon, 13 Mar 2006) | 2 lines

  * rename values to make room for operand size codes

........
........
........
r2915 | peter | 2006-03-14 13:51:35 +0100 (Tue, 14 Mar 2006) | 2 lines

  * check aktcputype

........
r2916 | peter | 2006-03-14 15:06:32 +0100 (Tue, 14 Mar 2006) | 3 lines

  * merge 300 opcodes
  * more 64bit versions of opcodes

........
r2917 | peter | 2006-03-14 17:34:03 +0100 (Tue, 14 Mar 2006) | 3 lines

  * x86_64 tables
  * convert movq with normal registers to mov

........

git-svn-id: trunk@2931 -
2006-03-16 08:09:28 +00:00
peter
2888a21593 * list supported optimization options in -i
* support $OPTIMIZATION and $O+

git-svn-id: trunk@2904 -
2006-03-13 11:17:56 +00:00
peter
b6e35a200e * rewrite of optimizer options
git-svn-id: trunk@2901 -
2006-03-13 09:05:50 +00:00
florian
5ece7cbc2f * first part of x86-64 assembler
git-svn-id: trunk@2824 -
2006-03-09 22:05:16 +00:00
peter
785550d7e3 Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from
svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler

........
r2669 | peter | 2006-02-23 09:31:21 +0100 (Thu, 23 Feb 2006) | 2 lines

  * add compiler dir

........
r2673 | peter | 2006-02-23 17:08:56 +0100 (Thu, 23 Feb 2006) | 2 lines

  * enabled more code

........
r2677 | peter | 2006-02-24 17:46:29 +0100 (Fri, 24 Feb 2006) | 2 lines

  * pe stub and headers

........
r2683 | peter | 2006-02-25 23:13:24 +0100 (Sat, 25 Feb 2006) | 2 lines

  * section options cleanup

........
r2696 | peter | 2006-02-26 20:27:41 +0100 (Sun, 26 Feb 2006) | 2 lines

  * fixed typecasts

........
r2699 | peter | 2006-02-26 23:04:32 +0100 (Sun, 26 Feb 2006) | 2 lines

  * simple linking works

........
r2700 | peter | 2006-02-27 09:44:50 +0100 (Mon, 27 Feb 2006) | 2 lines

  * internal linker script

........
r2701 | peter | 2006-02-27 12:05:12 +0100 (Mon, 27 Feb 2006) | 2 lines

  * make elf working again

........
r2702 | peter | 2006-02-27 14:04:43 +0100 (Mon, 27 Feb 2006) | 3 lines

  * disable dwarf for smartlinking with .a
  * fix section start in new .a file

........
r2704 | peter | 2006-02-27 18:30:43 +0100 (Mon, 27 Feb 2006) | 2 lines

  * stab section fixes

........
r2708 | peter | 2006-02-28 19:29:17 +0100 (Tue, 28 Feb 2006) | 2 lines

  * basic work to merge stabs sections

........
r2712 | peter | 2006-02-28 23:17:48 +0100 (Tue, 28 Feb 2006) | 2 lines

  * unload tmodules before linking

........
r2713 | peter | 2006-02-28 23:18:51 +0100 (Tue, 28 Feb 2006) | 2 lines

  * fixed stabs linking

........
r2714 | peter | 2006-02-28 23:19:19 +0100 (Tue, 28 Feb 2006) | 2 lines

  * show code and data size

........
r2715 | peter | 2006-02-28 23:25:35 +0100 (Tue, 28 Feb 2006) | 2 lines

  * unload .stabs from objdata after it is merged

........
r2718 | peter | 2006-03-01 12:24:38 +0100 (Wed, 01 Mar 2006) | 3 lines

  * memsize/datasize cleanup
  * check for exports/resources when adding module to linker

........
r2722 | peter | 2006-03-03 09:12:20 +0100 (Fri, 03 Mar 2006) | 2 lines

  * new TObjSymbol splitted from TAsmSymbol

........
r2723 | peter | 2006-03-03 14:08:55 +0100 (Fri, 03 Mar 2006) | 2 lines

  * coff fixes after recent objsymbol changes

........
r2728 | peter | 2006-03-03 22:43:04 +0100 (Fri, 03 Mar 2006) | 2 lines

  * fixed coff writer

........
r2729 | peter | 2006-03-04 01:10:32 +0100 (Sat, 04 Mar 2006) | 2 lines

  * fix read-only opening

........
r2730 | peter | 2006-03-04 01:11:16 +0100 (Sat, 04 Mar 2006) | 2 lines

  * Read edata from DLLs, basic work

........
r2740 | peter | 2006-03-04 21:13:43 +0100 (Sat, 04 Mar 2006) | 3 lines

  * deletedef added
  * don't remove defs from index when we are already clearing everything

........
r2769 | peter | 2006-03-05 21:42:33 +0100 (Sun, 05 Mar 2006) | 4 lines

  * moved TObj classes to ogbase
  * ObjSection.SymbolRefs and SymbolDefines list
  * DLL importing

........

git-svn-id: trunk@2771 -
2006-03-05 21:10:37 +00:00
Jonas Maebe
2c01a6f77a + added extra info about when parser_e_illegal_assignment_to_count_var
can happen

git-svn-id: trunk@2724 -
2006-03-03 19:29:07 +00:00
Jonas Maebe
c15b500e32 + warn if a static variable is read but not assigned (tw4781*)
git-svn-id: trunk@2472 -
2006-02-07 21:23:02 +00:00
florian
844e78b401 * error corrections for message files from Karl-Michael Schindler
git-svn-id: trunk@2217 -
2006-01-08 09:18:08 +00:00
Károly Balogh
cd38c236a0 + made the compiler to know about PowerPC AmigaOS
git-svn-id: trunk@2201 -
2006-01-07 04:46:27 +00:00
Jonas Maebe
cbaa100654 * "fixed" web bugs 3183 and 4403 by breaking the parser in
Delphi mode so that you can change the return type of
    overriding interface methods into anything you want.
    You will get a nasty warning though.

git-svn-id: trunk@2168 -
2006-01-04 22:21:05 +00:00
florian
629b765688 * updated message file from Karl-Michael Schindler
git-svn-id: trunk@2151 -
2006-01-04 10:00:07 +00:00
florian
3ccec3fbdd * proper error if a directory is passed as configuration file
git-svn-id: trunk@2134 -
2006-01-02 21:07:15 +00:00
Jonas Maebe
cd69c36f17 * commited -> committed (fix for web bug #4642, by Vincent Snijders)
git-svn-id: trunk@2099 -
2005-12-31 17:30:22 +00:00
Jonas Maebe
021dabc37e * also honour vsf_use_hints for uninitialised warnings for the
function result variable

git-svn-id: trunk@2052 -
2005-12-26 14:44:03 +00:00
florian
1e4e857719 * apptype causes only a note on system not supporting apptype
git-svn-id: trunk@1827 -
2005-11-26 21:54:15 +00:00
Tomas Hajny
9032cdafbe * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1772 -
2005-11-16 19:00:21 +00:00
Tomas Hajny
50f03555bd * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1771 -
2005-11-16 18:59:57 +00:00
Tomas Hajny
55c67978a3 * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1770 -
2005-11-16 18:59:33 +00:00
Tomas Hajny
b94665c39f * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1769 -
2005-11-16 18:47:52 +00:00
Tomas Hajny
614b6a3816 * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1768 -
2005-11-16 18:47:29 +00:00
Tomas Hajny
20ca9f5fac * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1767 -
2005-11-16 18:46:15 +00:00
Tomas Hajny
f3c9fb62fa * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1766 -
2005-11-16 18:44:13 +00:00
Tomas Hajny
c513dbcd03 * fix of buggy output for -? with path containing underscore
git-svn-id: trunk@1765 -
2005-11-16 18:43:48 +00:00
Tomas Hajny
198e0db5a1 * mistyping fixed - trac_e_able
git-svn-id: trunk@1684 -
2005-11-06 23:12:36 +00:00
florian
18622259ac * fixed -Nu option on help screen
git-svn-id: trunk@1646 -
2005-11-04 21:35:07 +00:00
florian
5387ffc536 + alignment setting
git-svn-id: trunk@1561 -
2005-10-22 15:17:33 +00:00
florian
e7b9c58e2c * update errord.msg from Karl-Michael Schindler
git-svn-id: trunk@1560 -
2005-10-22 15:12:15 +00:00
florian
9a1c731bfb + basic dispinterface parsing stuff
git-svn-id: trunk@1445 -
2005-10-17 20:28:50 +00:00
florian
71b90d4d00 + slice implemented
git-svn-id: trunk@1384 -
2005-10-15 16:48:27 +00:00
michael
dcd346f0bb + Portugese Translation by Ari Ricardo Ody
git-svn-id: trunk@1217 -
2005-09-28 16:53:19 +00:00
florian
1908ba2206 + -vb: writes compiler messages with full path instead of the file name only
git-svn-id: trunk@1114 -
2005-09-18 18:09:19 +00:00