comparison src/ChangeLog @ 2054:91d4c8c65a0f

[xemacs-hg @ 2004-05-02 04:06:51 by malcolmp] Fix warnings and errors when building GTK using C++ and --use-union-type.
author malcolmp
date Sun, 02 May 2004 04:07:01 +0000
parents a7dd0aed0fe6
children 471242c84954
comparison
equal deleted inserted replaced
2053:11e709117623 2054:91d4c8c65a0f
1 2004-04-20 Malcolm Purvis <malcolmpurvis@optushome.com.au>
2
3 * console-gtk-impl.h: Include X11.h.
4 * console-gtk-impl.h (struct gtk_device): Use X types for keysym data.
5 * data.c (Fstring_to_number): Cast Ibtye to char* for atoX arg.
6 * device-gtk.c (gtk_init_device): Convert gtkrc filename to extern
7 encoding before use by GTK.
8 * device-gtk.c (Fgtk_grab_pointer): Cast bitmask to expected type.
9 * emacs-marshals.c: INT return type is gint, not guint.
10 * event-gtk.c: Add args to gtk_keysym_to_emacs_keysym() prototype.
11 * event-gtk.c (gtk_event_to_emacs_event): Cast button posn from
12 double to int.
13 * event-gtk.c (gtk_reset_key_mapping): Avoid casts to void* for
14 keysym_map.
15 * frame-gtk.c (gtk_set_initial_frame_size): Avoid '|' of bitfield enum.
16 * frame-gtk.c (gtk_initialize_frame_size): Cast to right type.
17 * frame-gtk.c (gtk_get_frame_parent): Cast to right type.
18 * frame-gtk.c (gtk_set_frame_size): Avoid '|' of bitfield enum.
19 * gccache-gtk.c: mask type is unsigned long, not enum.
20 * gccache-gtk.c (gc_cache_lookup): mask type is unsigned long, not enum.
21 * gccache-gtk.h (gc_cache_lookup): mask type is unsigned long, not enum
22 * glade.c (Fglade_xml_signal_connect): Cast Ibtye to char*.
23 * glyphs-gtk.c: Remove extra definition of Qxface.
24 * glyphs-gtk.c (gtk_print_image_instance): #ifdef, not #if, HAVE_SUBWINDOWS.
25 * glyphs-gtk.c (gtk_finalize_image_instance): cast to right type.
26 * glyphs-gtk.c (gtk_image_instance_equal): #ifdef, not #if, HAVE_SUBWINDOWS.
27 * glyphs-gtk.c (gtk_image_instance_hash): #ifdef, not #if, HAVE_SUBWINDOWS.
28 * glyphs-gtk.c (xbm_instantiate_1): Use Extbyte*, not char*.
29 * glyphs-gtk.c (struct color_symbol): Use Ibyte, not char*.
30 * glyphs-gtk.c (extract_xpm_color_names): Pass correct data to free_cons().
31 * glyphs-gtk.c (gtk_xpm_instantiate): width, height are gint, not
32 unsigned. Use proper internal strcasecmp function.
33 * glyphs-gtk.c (resource_name_to_resource): Expect
34 image_instance_type, not int.
35 * glyphs-gtk.c (resource_symbol_to_type): Return
36 image_instance_type, not int.
37 * glyphs-gtk.c (gtk_resource_instantiate): Use
38 image_instance_type, not int.
39 * glyphs-gtk.c (cursor_name_to_index): Return GdkCursorType, not
40 gint.
41 * glyphs-gtk.c (cursor_font_instantiate): Use GdkCursorType, not
42 gint.
43 * glyphs-gtk.c (gtk_redisplay_widget): Commented out unused var.
44 * glyphs-gtk.c (BUILD_GLYPH_INST): Use ExtByte, not char*
45 * glyphs-gtk.c (gtk_colorize_image_instance): Cast to enum
46 bitfield.
47 * glyphs.h: typedef image_instance_type.
48 * gtk-glue.c (xemacs_gtklist_to_list): Cast first arg of
49 g_list_foreach() to right type.
50 * gtk-glue.c (xemacs_list_to_array): Cast to cghar*.
51 * gtk-glue.c (gdk_event_to_emacs_event): Cast button posn from
52 double to int.
53 * gtk-xemacs.c (gtk_xemacs_new): Cast constructor return to right type.
54 * gtk-xemacs.c (gtk_xemacs_draw): Cast data to right type.
55 * gui-gtk.c: Removed double definition of Qmenu_no_selection_hook.
56 * menubar-gtk.c (gtk_xemacs_menubar_new): Cast constructor return to right type.
57 * menubar-gtk.c (menu_name_to_accelerator): Remove unnecessary
58 cast to unsigned char.
59 * menubar-gtk.c (remove_underscores): Use Ibyte, char char*
60 * menubar-gtk.c (menu_descriptor_to_widget_1): ditto
61 * menubar-gtk.c (menu_can_reuse_widget): ditto
62 * objects-gtk.c (gtk_initialize_font_instance): Cast to right type.
63 * objects-gtk.c (gtk_find_charset_font): Use Ibyte, not char*.
64 * objects-gtk.c (__get_gtk_font_truename): ditto.
65 * redisplay-gtk.c (gtk_get_gc): Cast mask to right type.
66 * redisplay-gtk.c (gtk_output_string):Font attibs are int, not
67 unsigned.
68 * scrollbar-gtk.c (scrollbar_cb): Cast to right type.
69 * select-gtk.c (gtk_own_selection): Removed unused var selection_time.
70 * sysdll.c (search_linked_libs): Count is unsigned.
71 * sysdll.c (dll_function): Cast function pointer to void*.
72 * ui-byhand.c (generic_toolbar_insert_item): Cast Ibyte to char*.
73 * ui-gtk.c: Macro to hide manipulation of fundamental types.
74 * ui-gtk.c (initialize_dll_cache): Type problems with literal
75 strings.
76 * ui-gtk.c (Fdll_load): Use Ibyte form of strdup.
77 * ui-gtk.c (__allocate_object_storage): Cast during fundamental type test.
78 * ui-gtk.c (type_to_marshaller_type): Cast during fundamental type test.
79 * ui-gtk.c (__dll_mapper): Use CIbyte, not char*.
80 * ui-gtk.c (Fgtk_import_function_internal): Cast during fundamental type test.
81 * ui-gtk.c (Fgtk_call_function): Cast during fundamental type test.
82 * ui-gtk.c (Fgtk_describe_type): Cast during fundamental type test.
83 * ui-gtk.c (gtk_type_to_lisp): Cast during fundamental type test.
84 * ui-gtk.c (lisp_to_gtk_type): Cast during fundamental type test.
85 * ui-gtk.c (lisp_to_gtk_ret_type): Cast during fundamental type test.
86
1 2004-04-30 Jerry James <james@xemacs.org> 87 2004-04-30 Jerry James <james@xemacs.org>
2 88
3 * number.c (vars_of_number): Fix comment. Initialize 89 * number.c (vars_of_number): Fix comment. Initialize
4 bigfloat-max-prec when it is possible to do so safely. 90 bigfloat-max-prec when it is possible to do so safely.
5 * number.c (init_number): If bigfloat-max-prec is a bignum, set it 91 * number.c (init_number): If bigfloat-max-prec is a bignum, set it