Mercurial > hg > xemacs-beta
annotate tests/gtk/gtk-test.glade @ 5602:c9e5612f5424
Support the MP library on recent FreeBSD, have it pass relevant tests.
src/ChangeLog addition:
2011-11-26 Aidan Kehoe <kehoea@parhasard.net>
* number-mp.c (bignum_to_string):
Don't overwrite the accumulator we've just set up for this
function.
* number-mp.c (BIGNUM_TO_TYPE):
mp_itom() doesn't necessarily do what this code used to think with
negative numbers, it can treat them as unsigned ints. Subtract
numbers from bignum_zero instead of multiplying them by -1 to
convert them to their negative equivalents.
* number-mp.c (bignum_to_int):
* number-mp.c (bignum_to_uint):
* number-mp.c (bignum_to_long):
* number-mp.c (bignum_to_ulong):
* number-mp.c (bignum_to_double):
Use the changed BIGNUM_TO_TYPE() in these functions.
* number-mp.c (bignum_ceil):
* number-mp.c (bignum_floor):
In these functions, be more careful about rounding to positive and
negative infinity, respectively. Don't use the sign of QUOTIENT
when working out out whether to add or subtract one, rather use
the sign QUOTIENT would have if arbitrary-precision division were
done.
* number-mp.h:
* number-mp.h (MP_GCD):
Wrap #include <mp.h> in BEGIN_C_DECLS/END_C_DECLS.
* number.c (Fbigfloat_get_precision):
* number.c (Fbigfloat_set_precision):
Don't attempt to call XBIGFLOAT_GET_PREC if this build doesn't
support big floats.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 26 Nov 2011 17:59:14 +0000 |
parents | 90dcf2376909 |
children |
rev | line source |
---|---|
462 | 1 <?xml version="1.0"?> |
5423
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
2 |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
3 <!-- |
5477
90dcf2376909
Last minute notice fixups.
Stephen J. Turnbull <stephen@xemacs.org>
parents:
5423
diff
changeset
|
4 Copyright (C) 2000 Free Software Foundation |
5423
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
5 |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
6 This file is part of XEmacs. |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
7 |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
8 XEmacs is free software: you can redistribute it and/or modify it |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
9 under the terms of the GNU General Public License as published by the |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
10 Free Software Foundation, either version 3 of the License, or (at your |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
11 option) any later version. |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
12 |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
13 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
16 for more details. |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
17 |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
19 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
20 |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
21 --> |
d88ad9ccfa66
Migrate the rest of tests/ to GPLv3.
Mike Sperber <sperber@deinprogramm.de>
parents:
462
diff
changeset
|
22 |
462 | 23 <GTK-Interface> |
24 | |
25 <project> | |
26 <name>Project1</name> | |
27 <program_name>project1</program_name> | |
28 <directory></directory> | |
29 <source_directory>src</source_directory> | |
30 <pixmaps_directory>pixmaps</pixmaps_directory> | |
31 <language>C</language> | |
32 <gnome_support>True</gnome_support> | |
33 <gettext_support>True</gettext_support> | |
34 </project> | |
35 | |
36 <widget> | |
37 <class>GtkWindow</class> | |
38 <name>main_window</name> | |
39 <title>Glade Created Window</title> | |
40 <type>GTK_WINDOW_TOPLEVEL</type> | |
41 <position>GTK_WIN_POS_NONE</position> | |
42 <modal>False</modal> | |
43 <allow_shrink>False</allow_shrink> | |
44 <allow_grow>True</allow_grow> | |
45 <auto_shrink>False</auto_shrink> | |
46 | |
47 <widget> | |
48 <class>GtkVBox</class> | |
49 <name>Container</name> | |
50 <homogeneous>False</homogeneous> | |
51 <spacing>0</spacing> | |
52 | |
53 <widget> | |
54 <class>GtkToolbar</class> | |
55 <name>toolbar1</name> | |
56 <orientation>GTK_ORIENTATION_HORIZONTAL</orientation> | |
57 <type>GTK_TOOLBAR_BOTH</type> | |
58 <space_size>5</space_size> | |
59 <space_style>GTK_TOOLBAR_SPACE_EMPTY</space_style> | |
60 <relief>GTK_RELIEF_NORMAL</relief> | |
61 <tooltips>True</tooltips> | |
62 <child> | |
63 <padding>0</padding> | |
64 <expand>False</expand> | |
65 <fill>False</fill> | |
66 </child> | |
67 | |
68 <widget> | |
69 <class>GtkButton</class> | |
70 <child_name>Toolbar:button</child_name> | |
71 <name>button1</name> | |
72 <label>button1</label> | |
73 </widget> | |
74 | |
75 <widget> | |
76 <class>GtkButton</class> | |
77 <child_name>Toolbar:button</child_name> | |
78 <name>button2</name> | |
79 <label>button2</label> | |
80 </widget> | |
81 | |
82 <widget> | |
83 <class>GtkButton</class> | |
84 <child_name>Toolbar:button</child_name> | |
85 <name>button3</name> | |
86 <label>button3</label> | |
87 </widget> | |
88 </widget> | |
89 | |
90 <widget> | |
91 <class>GtkScrolledWindow</class> | |
92 <name>scrolledwindow1</name> | |
93 <hscrollbar_policy>GTK_POLICY_ALWAYS</hscrollbar_policy> | |
94 <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy> | |
95 <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy> | |
96 <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy> | |
97 <child> | |
98 <padding>0</padding> | |
99 <expand>True</expand> | |
100 <fill>True</fill> | |
101 </child> | |
102 | |
103 <widget> | |
104 <class>GtkCTree</class> | |
105 <name>ctree</name> | |
106 <can_focus>True</can_focus> | |
107 <columns>3</columns> | |
108 <column_widths>114,80,80</column_widths> | |
109 <selection_mode>GTK_SELECTION_SINGLE</selection_mode> | |
110 <show_titles>True</show_titles> | |
111 <shadow_type>GTK_SHADOW_IN</shadow_type> | |
112 | |
113 <widget> | |
114 <class>GtkLabel</class> | |
115 <child_name>CTree:title</child_name> | |
116 <name>label1</name> | |
117 <label>Tree</label> | |
118 <justify>GTK_JUSTIFY_CENTER</justify> | |
119 <wrap>False</wrap> | |
120 <xalign>2.98023e-08</xalign> | |
121 <yalign>0.5</yalign> | |
122 <xpad>0</xpad> | |
123 <ypad>0</ypad> | |
124 </widget> | |
125 | |
126 <widget> | |
127 <class>GtkLabel</class> | |
128 <child_name>CTree:title</child_name> | |
129 <name>label2</name> | |
130 <label>Header #1</label> | |
131 <justify>GTK_JUSTIFY_CENTER</justify> | |
132 <wrap>False</wrap> | |
133 <xalign>0.5</xalign> | |
134 <yalign>0.5</yalign> | |
135 <xpad>0</xpad> | |
136 <ypad>0</ypad> | |
137 </widget> | |
138 | |
139 <widget> | |
140 <class>GtkLabel</class> | |
141 <child_name>CTree:title</child_name> | |
142 <name>label3</name> | |
143 <label>Header #2</label> | |
144 <justify>GTK_JUSTIFY_CENTER</justify> | |
145 <wrap>False</wrap> | |
146 <xalign>0.5</xalign> | |
147 <yalign>0.5</yalign> | |
148 <xpad>0</xpad> | |
149 <ypad>0</ypad> | |
150 </widget> | |
151 </widget> | |
152 </widget> | |
153 | |
154 <widget> | |
155 <class>GtkStatusbar</class> | |
156 <name>statusbar</name> | |
157 <child> | |
158 <padding>0</padding> | |
159 <expand>False</expand> | |
160 <fill>False</fill> | |
161 </child> | |
162 </widget> | |
163 </widget> | |
164 </widget> | |
165 | |
166 </GTK-Interface> |