OSDN Git Service

* gjavah.c: Include "intl.h".
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index a0cee42..8b8a3f8 100644 (file)
@@ -1,3 +1,142 @@
+2004-02-10  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * gjavah.c: Include "intl.h".
+       (error): New function.
+       (main): Call gcc_init_libintl.
+       (get_field_name, throwable_p, print_c_decl, print_full_cxx_name,
+       print_stub_or_jni, process_file, main): Use error rather than
+       fprintf.
+       (print_method_info, usage, help, version, main): Mark strings for
+       translation with _.  Avoid splitting up sentences.  Send
+       information messages to stdout.
+       * jcf-dump.c: Include "intl.h".
+       (main): Call gcc_init_libintl.
+       (process_class, usage, help, version, main, CHECK_PC_IN_RANGE):
+       Mark error, usage and version messages for translation with _.
+       Avoid splitting up sentences.
+       * jv-scan.c: Include "intl.h".
+       (fatal_error, warning): Change parameter s to msgid.  Translate
+       messages.
+       (main): Call gcc_init_libintl.
+       (usage, help, version): Mark error, usage and version messages for
+       translation with _.  Avoid splitting up sentences.
+       * jvgenmain.c: Include "intl.h".
+       (main): Call gcc_init_libintl.
+       (usage, main): Mark error messages for translation with _.
+       * Make-lang.in (GCJH_OBJS, JVSCAN_OBJS, JCFDUMP_OBJS,
+       JVGENMAIN_OBJS): Add intl.o.
+       (java/jcf-dump.o, java/gjavah.o, java/jv-scan.o,
+       java/jvgenmain.o): Update dependencies.
+
+2004-02-08  Per Bothner  <per@bothner.com>
+
+       * parse.y (resolve_qualified_expression_name):  In case of inaccessible
+       class don't use not_accessible_field_error, which can get confused.
+
+2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>
+
+       Make-lang.in (po-generated):  Delete.
+
+2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * Make-lang.in (java/decl.o, java/expr.o, java/parse.o):
+       Depend on target.h.
+       * decl.c: Include target.h.
+       (start_java_method): Replace PROMOTE_PROTOTYPES with
+       targetm.calls.promote_prototypes.
+       * expr.c: Include target.h.
+       (pop_arguments): Replace PROMOTE_PROTOTYPES with
+       targetm.calls.promote_prototypes.
+       * parse.y: Include target.h.
+       (start_complete_expand_method): Replace PROMOTE_PROTOTYPES
+       with targetm.calls.promote_prototypes.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * typeck.c: Update copyright.
+
+2004-02-02  Tom Tromey  <tromey@redhat.com>
+
+       * decl.c (java_init_decl_processing): Remove duplicate
+       gnu/gcj/RawData.
+
+2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (doc/gcj.dvi): Use $(abs_docdir). 
+
+2004-01-28  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * expr.c (build_field_ref): Move variable
+       definition up.
+
+2004-01-28  Andrew Haley  <aph@redhat.com>
+
+       * expr.c (build_field_ref): Widen field offset.
+
+2004-01-27  Andrew Haley  <aph@redhat.com>
+
+       java/13273
+       * parse.y (check_interface_throws_clauses): Make sure class_decl
+       has been loaded.
+
+2004-01-22  Jeff Sturm  <jsturm@one-point.com>
+
+       PR java/13733
+       * parse.y (patch_assignment): Don't modify lhs_type for
+       reference assignments.
+
+2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in: Replace $(docdir) with doc.
+       (java.info, java.srcinfo, java.man, java.srcman): New rules.
+       (java.install-man): Revamp rule.
+       
+2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME, 
+       GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell) 
+       instead of deferred backquote.
+
+2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * typeck.c (find_method_in_interfaces): Move variable
+       definition up.
+
+2004-01-16  Andrew Haley  <aph@redhat.com>
+
+       PR java/13273:
+       * typeck.c (shallow_find_method): New.
+       (find_method_in_superclasses): New.
+       (find_method_in_interfaces): New.
+       (lookup_do): Rewrite.
+       * java-tree.h (SEARCH_ONLY_INTERFACE): Delete.
+
+       * jcf-parse.c (read_class): Save and restore output_class.
+       * decl.c (java_expand_body): Set output_class from fndecl.
+
+2004-01-15  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * class.c (gen_indirect_dispatch_tables): Fix string length
+       calculations.
+
+2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Make-lang.in (parse.c, parse-scan.c): Always build in doc directory.
+       (java.srcextra): Copy above back to source directory if requested.
+       (po-generated): Delete reference to $(parsedir).
+       (java/parse.o, java/parse-scan.o): Delete reference to $(parsedir).
+       Use implicit rule.
+
+2004-01-14  Jan Hubicka  <jh@suse.cz>
+
+       * lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost
+       estimation.
+
+2004-01-09  Mark Mitchell  <mark@codesourcery.com>
+
+       * java-tree.h (java_expand_expr): Change prototype.
+       * expr.c (java_expand_expr): Add alt_rtl parameter.
+
 2004-01-09  Andrew Haley  <aph@redhat.com>
 
        PR java/12755: