Mercurial > hg > xemacs-beta
annotate tests/gtk/gtk-test.glade @ 5050:6f2158fa75ed
Fix quick-build, use asserts() in place of ABORT()
-------------------- ChangeLog entries follow: --------------------
ChangeLog addition:
2010-02-20 Ben Wing <ben@xemacs.org>
* configure.ac (XE_COMPLEX_ARG):
Correct doc of --quick-build: It also doesn't check for Lisp shadows.
src/ChangeLog addition:
2010-02-20 Ben Wing <ben@xemacs.org>
* EmacsFrame.c:
* EmacsFrame.c (EmacsFrameRecomputeCellSize):
* alloca.c (i00afunc):
* buffer.c:
* buffer.c (MARKED_SLOT):
* buffer.c (complex_vars_of_buffer):
* cm.c:
* cm.c (cmcheckmagic):
* console.c:
* console.c (MARKED_SLOT):
* device-x.c:
* device-x.c (x_get_visual_depth):
* emacs.c (sort_args):
* eval.c (throw_or_bomb_out):
* event-stream.c:
* event-stream.c (Fadd_timeout):
* event-stream.c (Fadd_async_timeout):
* event-stream.c (Frecent_keys):
* events.c:
* events.c (Fdeallocate_event):
* events.c (event_pixel_translation):
* extents.c:
* extents.c (process_extents_for_insertion_mapper):
* fns.c (Fbase64_encode_region):
* fns.c (Fbase64_encode_string):
* fns.c (Fbase64_decode_region):
* fns.c (Fbase64_decode_string):
* font-lock.c:
* font-lock.c (find_context):
* frame-x.c:
* frame-x.c (x_wm_mark_shell_size_user_specified):
* frame-x.c (x_wm_mark_shell_position_user_specified):
* frame-x.c (x_wm_set_shell_iconic_p):
* frame-x.c (x_wm_set_cell_size):
* frame-x.c (x_wm_set_variable_size):
* frame-x.c (x_wm_store_class_hints):
* frame-x.c (x_wm_maybe_store_wm_command):
* frame-x.c (x_initialize_frame_size):
* frame.c (delete_frame_internal):
* frame.c (change_frame_size_1):
* free-hook.c (check_free):
* free-hook.c (note_block_input):
* free-hook.c (log_gcpro):
* gccache-gtk.c (gc_cache_lookup):
* gccache-x.c:
* gccache-x.c (gc_cache_lookup):
* glyphs-gtk.c:
* glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
* glyphs-x.c:
* glyphs-x.c (extract_xpm_color_names):
* insdel.c:
* insdel.c (move_gap):
* keymap.c:
* keymap.c (keymap_lookup_directly):
* keymap.c (keymap_delete_inverse_internal):
* keymap.c (accessible_keymaps_mapper_1):
* keymap.c (where_is_recursive_mapper):
* lisp.h:
* lstream.c (make_lisp_buffer_stream_1):
* macros.c:
* macros.c (pop_kbd_macro_event):
* mc-alloc.c (remove_page_from_used_list):
* menubar-x.c:
* menubar-x.c (set_frame_menubar):
* ralloc.c:
* ralloc.c (obtain):
* ralloc.c (relinquish):
* ralloc.c (relocate_blocs):
* ralloc.c (resize_bloc):
* ralloc.c (r_alloc_free):
* ralloc.c (r_re_alloc):
* ralloc.c (r_alloc_thaw):
* ralloc.c (init_ralloc):
* ralloc.c (Free_Addr_Block):
* scrollbar-x.c:
* scrollbar-x.c (x_update_scrollbar_instance_status):
* sunplay.c (init_device):
* unexnt.c:
* unexnt.c (read_in_bss):
* unexnt.c (map_in_heap):
* window.c:
* window.c (real_window):
* window.c (window_display_lines):
* window.c (window_display_buffer):
* window.c (set_window_display_buffer):
* window.c (unshow_buffer):
* window.c (Fget_lru_window):
if (...) ABORT(); ---> assert();
More specifically:
if (x == y) ABORT (); --> assert (x != y);
if (x != y) ABORT (); --> assert (x == y);
if (x > y) ABORT (); --> assert (x <= y);
etc.
if (!x) ABORT (); --> assert (x);
if (x) ABORT (); --> assert (!x);
DeMorgan's Law's applied and manually simplified:
if (x && !y) ABORT (); --> assert (!x || y);
if (!x || y >= z) ABORT (); --> assert (x && y < z);
Checked to make sure that assert() of an expression with side
effects ensures that the side effects get executed even when
asserts are disabled, and add a comment about this being a
requirement of any "disabled assert" expression.
* depend:
* make-src-depend:
* make-src-depend (PrintDeps):
Fix broken code in make-src-depend so it does what it was always
supposed to do, which was separate out config.h and lisp.h and
all the files they include into separate variables in the
depend part of Makefile so that quick-build can turn off the
lisp.h/config.h/text.h/etc. dependencies of the source files, to
speed up recompilation.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 20 Feb 2010 05:05:54 -0600 |
parents | 0784d089fdc9 |
children | d88ad9ccfa66 |
rev | line source |
---|---|
462 | 1 <?xml version="1.0"?> |
2 <GTK-Interface> | |
3 | |
4 <project> | |
5 <name>Project1</name> | |
6 <program_name>project1</program_name> | |
7 <directory></directory> | |
8 <source_directory>src</source_directory> | |
9 <pixmaps_directory>pixmaps</pixmaps_directory> | |
10 <language>C</language> | |
11 <gnome_support>True</gnome_support> | |
12 <gettext_support>True</gettext_support> | |
13 </project> | |
14 | |
15 <widget> | |
16 <class>GtkWindow</class> | |
17 <name>main_window</name> | |
18 <title>Glade Created Window</title> | |
19 <type>GTK_WINDOW_TOPLEVEL</type> | |
20 <position>GTK_WIN_POS_NONE</position> | |
21 <modal>False</modal> | |
22 <allow_shrink>False</allow_shrink> | |
23 <allow_grow>True</allow_grow> | |
24 <auto_shrink>False</auto_shrink> | |
25 | |
26 <widget> | |
27 <class>GtkVBox</class> | |
28 <name>Container</name> | |
29 <homogeneous>False</homogeneous> | |
30 <spacing>0</spacing> | |
31 | |
32 <widget> | |
33 <class>GtkToolbar</class> | |
34 <name>toolbar1</name> | |
35 <orientation>GTK_ORIENTATION_HORIZONTAL</orientation> | |
36 <type>GTK_TOOLBAR_BOTH</type> | |
37 <space_size>5</space_size> | |
38 <space_style>GTK_TOOLBAR_SPACE_EMPTY</space_style> | |
39 <relief>GTK_RELIEF_NORMAL</relief> | |
40 <tooltips>True</tooltips> | |
41 <child> | |
42 <padding>0</padding> | |
43 <expand>False</expand> | |
44 <fill>False</fill> | |
45 </child> | |
46 | |
47 <widget> | |
48 <class>GtkButton</class> | |
49 <child_name>Toolbar:button</child_name> | |
50 <name>button1</name> | |
51 <label>button1</label> | |
52 </widget> | |
53 | |
54 <widget> | |
55 <class>GtkButton</class> | |
56 <child_name>Toolbar:button</child_name> | |
57 <name>button2</name> | |
58 <label>button2</label> | |
59 </widget> | |
60 | |
61 <widget> | |
62 <class>GtkButton</class> | |
63 <child_name>Toolbar:button</child_name> | |
64 <name>button3</name> | |
65 <label>button3</label> | |
66 </widget> | |
67 </widget> | |
68 | |
69 <widget> | |
70 <class>GtkScrolledWindow</class> | |
71 <name>scrolledwindow1</name> | |
72 <hscrollbar_policy>GTK_POLICY_ALWAYS</hscrollbar_policy> | |
73 <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy> | |
74 <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy> | |
75 <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy> | |
76 <child> | |
77 <padding>0</padding> | |
78 <expand>True</expand> | |
79 <fill>True</fill> | |
80 </child> | |
81 | |
82 <widget> | |
83 <class>GtkCTree</class> | |
84 <name>ctree</name> | |
85 <can_focus>True</can_focus> | |
86 <columns>3</columns> | |
87 <column_widths>114,80,80</column_widths> | |
88 <selection_mode>GTK_SELECTION_SINGLE</selection_mode> | |
89 <show_titles>True</show_titles> | |
90 <shadow_type>GTK_SHADOW_IN</shadow_type> | |
91 | |
92 <widget> | |
93 <class>GtkLabel</class> | |
94 <child_name>CTree:title</child_name> | |
95 <name>label1</name> | |
96 <label>Tree</label> | |
97 <justify>GTK_JUSTIFY_CENTER</justify> | |
98 <wrap>False</wrap> | |
99 <xalign>2.98023e-08</xalign> | |
100 <yalign>0.5</yalign> | |
101 <xpad>0</xpad> | |
102 <ypad>0</ypad> | |
103 </widget> | |
104 | |
105 <widget> | |
106 <class>GtkLabel</class> | |
107 <child_name>CTree:title</child_name> | |
108 <name>label2</name> | |
109 <label>Header #1</label> | |
110 <justify>GTK_JUSTIFY_CENTER</justify> | |
111 <wrap>False</wrap> | |
112 <xalign>0.5</xalign> | |
113 <yalign>0.5</yalign> | |
114 <xpad>0</xpad> | |
115 <ypad>0</ypad> | |
116 </widget> | |
117 | |
118 <widget> | |
119 <class>GtkLabel</class> | |
120 <child_name>CTree:title</child_name> | |
121 <name>label3</name> | |
122 <label>Header #2</label> | |
123 <justify>GTK_JUSTIFY_CENTER</justify> | |
124 <wrap>False</wrap> | |
125 <xalign>0.5</xalign> | |
126 <yalign>0.5</yalign> | |
127 <xpad>0</xpad> | |
128 <ypad>0</ypad> | |
129 </widget> | |
130 </widget> | |
131 </widget> | |
132 | |
133 <widget> | |
134 <class>GtkStatusbar</class> | |
135 <name>statusbar</name> | |
136 <child> | |
137 <padding>0</padding> | |
138 <expand>False</expand> | |
139 <fill>False</fill> | |
140 </child> | |
141 </widget> | |
142 </widget> | |
143 </widget> | |
144 | |
145 </GTK-Interface> |