~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qmon/Xmt310/patch.xmt310

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -bpcBNC 5 Xmt310/Xmt/All.c Xmt310.ge/Xmt/All.c
 
2
*** Xmt310/Xmt/All.c    Sun Feb  4 22:20:22 2001
 
3
--- Xmt310.ge/Xmt/All.c Tue Jun 12 18:11:32 2001
 
4
***************
 
5
*** 1,16 ****
 
6
  /* 
 
7
   * Motif Tools Library, Version 3.1
 
8
!  * $Id$
 
9
   * 
 
10
   * Written by David Flanagan.
 
11
   * Copyright (c) 1992-2001 by David Flanagan.
 
12
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
13
   * This is open source software.  See the file LICENSE for details.
 
14
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
15
   *
 
16
!  * $Log$
 
17
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
18
!  * Initial checkin.
 
19
!  *
 
20
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
21
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
22
!  *                  kerberos compilation support
 
23
!  *
 
24
   *
 
25
   */
 
26
  
 
27
  #include <Xmt/Xmt.h>
 
28
  #include <Xmt/WidgetType.h>
 
29
--- 1,21 ----
 
30
  /* 
 
31
   * Motif Tools Library, Version 3.1
 
32
!  * $Id$
 
33
   * 
 
34
   * Written by David Flanagan.
 
35
   * Copyright (c) 1992-2001 by David Flanagan.
 
36
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
37
   * This is open source software.  See the file LICENSE for details.
 
38
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
39
   *
 
40
!  * $Log$
 
41
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
42
!  * Initial checkin.
 
43
!  *
 
44
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
45
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
46
!  *                  kerberos compilation support
 
47
!  *
 
48
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
49
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
50
!  *                  (http://sourceforge.net/projects/motiftools) with
 
51
!  *                  our xmt212 patches applied
 
52
!  *
 
53
   *
 
54
   */
 
55
  
 
56
  #include <Xmt/Xmt.h>
 
57
  #include <Xmt/WidgetType.h>
 
58
diff -bpcBNC 5 Xmt310/Xmt/All.h Xmt310.ge/Xmt/All.h
 
59
*** Xmt310/Xmt/All.h    Sun Feb  4 22:19:48 2001
 
60
--- Xmt310.ge/Xmt/All.h Tue Jun 12 18:11:32 2001
 
61
***************
 
62
*** 1,16 ****
 
63
  /* 
 
64
   * Motif Tools Library, Version 3.1
 
65
!  * $Id$
 
66
   * 
 
67
   * Written by David Flanagan.
 
68
   * Copyright (c) 1992-2001 by David Flanagan.
 
69
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
70
   * This is open source software.  See the file LICENSE for details.
 
71
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
72
   *
 
73
!  * $Log$
 
74
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
75
!  * Initial checkin.
 
76
!  *
 
77
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
78
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
79
!  *                  kerberos compilation support
 
80
!  *
 
81
   *
 
82
   */
 
83
  
 
84
  #ifndef _XmtAll_h
 
85
  #define _XmtAll_h
 
86
--- 1,21 ----
 
87
  /* 
 
88
   * Motif Tools Library, Version 3.1
 
89
!  * $Id$
 
90
   * 
 
91
   * Written by David Flanagan.
 
92
   * Copyright (c) 1992-2001 by David Flanagan.
 
93
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
94
   * This is open source software.  See the file LICENSE for details.
 
95
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
96
   *
 
97
!  * $Log$
 
98
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
99
!  * Initial checkin.
 
100
!  *
 
101
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
102
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
103
!  *                  kerberos compilation support
 
104
!  *
 
105
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
106
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
107
!  *                  (http://sourceforge.net/projects/motiftools) with
 
108
!  *                  our xmt212 patches applied
 
109
!  *
 
110
   *
 
111
   */
 
112
  
 
113
  #ifndef _XmtAll_h
 
114
  #define _XmtAll_h
 
115
diff -bpcBNC 5 Xmt310/Xmt/AppRes.c Xmt310.ge/Xmt/AppRes.c
 
116
*** Xmt310/Xmt/AppRes.c Sun Feb  4 22:31:28 2001
 
117
--- Xmt310.ge/Xmt/AppRes.c      Tue Jun 12 18:11:32 2001
 
118
***************
 
119
*** 1,16 ****
 
120
  /* 
 
121
   * Motif Tools Library, Version 3.1
 
122
!  * $Id$
 
123
   * 
 
124
   * Written by David Flanagan.
 
125
   * Copyright (c) 1992-2001 by David Flanagan.
 
126
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
127
   * This is open source software.  See the file LICENSE for details.
 
128
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
129
   *
 
130
!  * $Log$
 
131
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
132
!  * Initial checkin.
 
133
!  *
 
134
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
135
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
136
!  *                  kerberos compilation support
 
137
!  *
 
138
   *
 
139
   */
 
140
  
 
141
  #include <Xmt/Xmt.h>
 
142
  #include <Xmt/AppResP.h>
 
143
--- 1,21 ----
 
144
  /* 
 
145
   * Motif Tools Library, Version 3.1
 
146
!  * $Id$
 
147
   * 
 
148
   * Written by David Flanagan.
 
149
   * Copyright (c) 1992-2001 by David Flanagan.
 
150
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
151
   * This is open source software.  See the file LICENSE for details.
 
152
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
153
   *
 
154
!  * $Log$
 
155
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
156
!  * Initial checkin.
 
157
!  *
 
158
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
159
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
160
!  *                  kerberos compilation support
 
161
!  *
 
162
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
163
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
164
!  *                  (http://sourceforge.net/projects/motiftools) with
 
165
!  *                  our xmt212 patches applied
 
166
!  *
 
167
   *
 
168
   */
 
169
  
 
170
  #include <Xmt/Xmt.h>
 
171
  #include <Xmt/AppResP.h>
 
172
diff -bpcBNC 5 Xmt310/Xmt/AppRes.h Xmt310.ge/Xmt/AppRes.h
 
173
*** Xmt310/Xmt/AppRes.h Sun Feb  4 22:31:50 2001
 
174
--- Xmt310.ge/Xmt/AppRes.h      Tue Jun 12 18:11:32 2001
 
175
***************
 
176
*** 1,16 ****
 
177
  /* 
 
178
   * Motif Tools Library, Version 3.1
 
179
!  * $Id$
 
180
   * 
 
181
   * Written by David Flanagan.
 
182
   * Copyright (c) 1992-2001 by David Flanagan.
 
183
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
184
   * This is open source software.  See the file LICENSE for details.
 
185
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
186
   *
 
187
!  * $Log$
 
188
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
189
!  * Initial checkin.
 
190
!  *
 
191
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
192
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
193
!  *                  kerberos compilation support
 
194
!  *
 
195
   *
 
196
   */
 
197
  
 
198
  #ifndef _XmtAppRes_h
 
199
  #define _XmtAppRes_h
 
200
--- 1,21 ----
 
201
  /* 
 
202
   * Motif Tools Library, Version 3.1
 
203
!  * $Id$
 
204
   * 
 
205
   * Written by David Flanagan.
 
206
   * Copyright (c) 1992-2001 by David Flanagan.
 
207
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
208
   * This is open source software.  See the file LICENSE for details.
 
209
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
210
   *
 
211
!  * $Log$
 
212
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
213
!  * Initial checkin.
 
214
!  *
 
215
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
216
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
217
!  *                  kerberos compilation support
 
218
!  *
 
219
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
220
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
221
!  *                  (http://sourceforge.net/projects/motiftools) with
 
222
!  *                  our xmt212 patches applied
 
223
!  *
 
224
   *
 
225
   */
 
226
  
 
227
  #ifndef _XmtAppRes_h
 
228
  #define _XmtAppRes_h
 
229
diff -bpcBNC 5 Xmt310/Xmt/AppResP.h Xmt310.ge/Xmt/AppResP.h
 
230
*** Xmt310/Xmt/AppResP.h        Sun Feb  4 22:32:46 2001
 
231
--- Xmt310.ge/Xmt/AppResP.h     Tue Jun 12 18:11:32 2001
 
232
***************
 
233
*** 1,16 ****
 
234
  /* 
 
235
   * Motif Tools Library, Version 3.1
 
236
!  * $Id$
 
237
   * 
 
238
   * Written by David Flanagan.
 
239
   * Copyright (c) 1992-2001 by David Flanagan.
 
240
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
241
   * This is open source software.  See the file LICENSE for details.
 
242
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
243
   *
 
244
!  * $Log$
 
245
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
246
!  * Initial checkin.
 
247
!  *
 
248
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
249
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
250
!  *                  kerberos compilation support
 
251
!  *
 
252
   *
 
253
   */
 
254
  
 
255
  #ifndef _XmtAppResP_h
 
256
  #define _XmtAppResP_h
 
257
--- 1,21 ----
 
258
  /* 
 
259
   * Motif Tools Library, Version 3.1
 
260
!  * $Id$
 
261
   * 
 
262
   * Written by David Flanagan.
 
263
   * Copyright (c) 1992-2001 by David Flanagan.
 
264
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
265
   * This is open source software.  See the file LICENSE for details.
 
266
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
267
   *
 
268
!  * $Log$
 
269
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
270
!  * Initial checkin.
 
271
!  *
 
272
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
273
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
274
!  *                  kerberos compilation support
 
275
!  *
 
276
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
277
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
278
!  *                  (http://sourceforge.net/projects/motiftools) with
 
279
!  *                  our xmt212 patches applied
 
280
!  *
 
281
   *
 
282
   */
 
283
  
 
284
  #ifndef _XmtAppResP_h
 
285
  #define _XmtAppResP_h
 
286
diff -bpcBNC 5 Xmt310/Xmt/AskForBool.c Xmt310.ge/Xmt/AskForBool.c
 
287
*** Xmt310/Xmt/AskForBool.c     Sun Feb  4 22:33:02 2001
 
288
--- Xmt310.ge/Xmt/AskForBool.c  Tue Jun 12 18:11:32 2001
 
289
***************
 
290
*** 1,16 ****
 
291
  /* 
 
292
   * Motif Tools Library, Version 3.1
 
293
!  * $Id$
 
294
   * 
 
295
   * Written by David Flanagan.
 
296
   * Copyright (c) 1992-2001 by David Flanagan.
 
297
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
298
   * This is open source software.  See the file LICENSE for details.
 
299
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
300
   *
 
301
!  * $Log$
 
302
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
303
!  * Initial checkin.
 
304
!  *
 
305
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
306
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
307
!  *                  kerberos compilation support
 
308
!  *
 
309
   *
 
310
   */
 
311
  
 
312
  #include <X11/IntrinsicP.h>
 
313
  #include <Xmt/Xmt.h>
 
314
--- 1,21 ----
 
315
  /* 
 
316
   * Motif Tools Library, Version 3.1
 
317
!  * $Id$
 
318
   * 
 
319
   * Written by David Flanagan.
 
320
   * Copyright (c) 1992-2001 by David Flanagan.
 
321
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
322
   * This is open source software.  See the file LICENSE for details.
 
323
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
324
   *
 
325
!  * $Log$
 
326
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
327
!  * Initial checkin.
 
328
!  *
 
329
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
330
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
331
!  *                  kerberos compilation support
 
332
!  *
 
333
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
334
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
335
!  *                  (http://sourceforge.net/projects/motiftools) with
 
336
!  *                  our xmt212 patches applied
 
337
!  *
 
338
   *
 
339
   */
 
340
  
 
341
  #include <X11/IntrinsicP.h>
 
342
  #include <Xmt/Xmt.h>
 
343
*************** static String button_names[] = {
 
344
*** 116,126 ****
 
345
      "Done", "DoneButton", "Help", "HelpButton",
 
346
      "No", "NoButton", "Ok", "OkButton", "Okay", "OkayButton",
 
347
      "Reset", "ResetButton", "Stop", "StopButton",
 
348
      "Yes", "YesButton",
 
349
  };
 
350
! static int button_values[] = {
 
351
      XmtApplyButton, XmtApplyButton, XmtCancelButton, XmtCancelButton,
 
352
      XmtDoneButton, XmtDoneButton, XmtHelpButton, XmtHelpButton,
 
353
      XmtNoButton, XmtNoButton, XmtOkButton, XmtOkButton,
 
354
      XmtOkButton, XmtOkButton, XmtResetButton, XmtResetButton,
 
355
      XmtStopButton, XmtStopButton, XmtYesButton, XmtYesButton,
 
356
--- 121,131 ----
 
357
      "Done", "DoneButton", "Help", "HelpButton",
 
358
      "No", "NoButton", "Ok", "OkButton", "Okay", "OkayButton",
 
359
      "Reset", "ResetButton", "Stop", "StopButton",
 
360
      "Yes", "YesButton",
 
361
  };
 
362
! static Cardinal button_values[] = {
 
363
      XmtApplyButton, XmtApplyButton, XmtCancelButton, XmtCancelButton,
 
364
      XmtDoneButton, XmtDoneButton, XmtHelpButton, XmtHelpButton,
 
365
      XmtNoButton, XmtNoButton, XmtOkButton, XmtOkButton,
 
366
      XmtOkButton, XmtOkButton, XmtResetButton, XmtResetButton,
 
367
      XmtStopButton, XmtStopButton, XmtYesButton, XmtYesButton,
 
368
*************** StringConst help_text_default;
 
369
*** 358,371 ****
 
370
        data.icon_type = (unsigned char) icon_type_default;
 
371
        data.help_text = (String) help_text_default;
 
372
      }
 
373
  
 
374
      /* create the XmStrings */
 
375
!     title = XmtCreateXmString(data.title);
 
376
!     yes_label = XmtCreateXmString(data.yes_label);
 
377
!     no_label = XmtCreateXmString(data.no_label);
 
378
!     cancel_label = XmtCreateXmString(data.cancel_label);
 
379
  
 
380
      /* set icon pixmap and message  */
 
381
      XtVaSetValues(info->boolean_internals.icon,
 
382
                  XmtNpixmap, GetPixmap(info->boolean_dialog, data.icon_type),
 
383
                  NULL);
 
384
--- 363,376 ----
 
385
        data.icon_type = (unsigned char) icon_type_default;
 
386
        data.help_text = (String) help_text_default;
 
387
      }
 
388
  
 
389
      /* create the XmStrings */
 
390
!     title = XmtCreateLocalizedXmString(w, data.title);
 
391
!     yes_label = XmtCreateLocalizedXmString(w, data.yes_label);
 
392
!     no_label = XmtCreateLocalizedXmString(w, data.no_label);
 
393
!     cancel_label = XmtCreateLocalizedXmString(w, data.cancel_label);
 
394
  
 
395
      /* set icon pixmap and message  */
 
396
      XtVaSetValues(info->boolean_internals.icon,
 
397
                  XmtNpixmap, GetPixmap(info->boolean_dialog, data.icon_type),
 
398
                  NULL);
 
399
diff -bpcBNC 5 Xmt310/Xmt/AskForFile.c Xmt310.ge/Xmt/AskForFile.c
 
400
*** Xmt310/Xmt/AskForFile.c     Sun Feb  4 22:06:32 2001
 
401
--- Xmt310.ge/Xmt/AskForFile.c  Tue Jun 12 18:11:32 2001
 
402
***************
 
403
*** 1,16 ****
 
404
  /* 
 
405
   * Motif Tools Library, Version 3.1
 
406
!  * $Id$
 
407
   * 
 
408
   * Written by David Flanagan.
 
409
   * Copyright (c) 1992-2001 by David Flanagan.
 
410
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
411
   * This is open source software.  See the file LICENSE for details.
 
412
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
413
   *
 
414
!  * $Log$
 
415
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
416
!  * Initial checkin.
 
417
!  *
 
418
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
419
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
420
!  *                  kerberos compilation support
 
421
!  *
 
422
   *
 
423
   */
 
424
  
 
425
  #include <stdio.h>
 
426
  #include <errno.h>
 
427
--- 1,21 ----
 
428
  /* 
 
429
   * Motif Tools Library, Version 3.1
 
430
!  * $Id$
 
431
   * 
 
432
   * Written by David Flanagan.
 
433
   * Copyright (c) 1992-2001 by David Flanagan.
 
434
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
435
   * This is open source software.  See the file LICENSE for details.
 
436
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
437
   *
 
438
!  * $Log$
 
439
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
440
!  * Initial checkin.
 
441
!  *
 
442
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
443
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
444
!  *                  kerberos compilation support
 
445
!  *
 
446
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
447
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
448
!  *                  (http://sourceforge.net/projects/motiftools) with
 
449
!  *                  our xmt212 patches applied
 
450
!  *
 
451
   *
 
452
   */
 
453
  
 
454
  #include <stdio.h>
 
455
  #include <errno.h>
 
456
***************
 
457
*** 21,30 ****
 
458
--- 26,36 ----
 
459
  #include <Xmt/ScreenP.h>
 
460
  #include <Xmt/DialogsP.h>
 
461
  #include <Xm/DialogS.h>
 
462
  #include <Xm/FileSB.h>
 
463
  #include <Xm/Text.h>
 
464
+ #include <Xm/List.h>
 
465
  
 
466
  /* ARGSUSED */
 
467
  #if NeedFunctionPrototypes
 
468
  static void OpenFileCallback(Widget w, XtPointer tag, XtPointer call_data)
 
469
  #else
 
470
*************** Boolean open_file;
 
471
*** 235,248 ****
 
472
      /* if the directory and pattern are from buffers, use them to override */
 
473
      if (!lookup_directory) data.directory = directory_buffer;
 
474
      if (!lookup_pattern) data.pattern = pattern_buffer;
 
475
        
 
476
      /* create XmStrings */
 
477
!     message = XmtCreateXmString(data.message);
 
478
!     title = XmtCreateXmString(data.title);
 
479
!     directory = XmtCreateXmString(data.directory);
 
480
!     pattern = XmtCreateXmString(data.pattern);
 
481
  
 
482
      /*
 
483
       * Set XmNdirectory to NULL, so that the next call changes it
 
484
       * and forces the XmFileSelectionBox to re-selected the current dir.
 
485
       */
 
486
--- 241,254 ----
 
487
      /* if the directory and pattern are from buffers, use them to override */
 
488
      if (!lookup_directory) data.directory = directory_buffer;
 
489
      if (!lookup_pattern) data.pattern = pattern_buffer;
 
490
        
 
491
      /* create XmStrings */
 
492
!     message = XmtCreateLocalizedXmString(w, data.message);
 
493
!     title = XmtCreateLocalizedXmString(w, data.title);
 
494
!     directory = XmtCreateLocalizedXmString(w, data.directory);
 
495
!     pattern = XmtCreateLocalizedXmString(w, data.pattern);
 
496
  
 
497
      /*
 
498
       * Set XmNdirectory to NULL, so that the next call changes it
 
499
       * and forces the XmFileSelectionBox to re-selected the current dir.
 
500
       */
 
501
diff -bpcBNC 5 Xmt310/Xmt/AskForItem.c Xmt310.ge/Xmt/AskForItem.c
 
502
*** Xmt310/Xmt/AskForItem.c     Sun Feb  4 22:33:22 2001
 
503
--- Xmt310.ge/Xmt/AskForItem.c  Tue Jun 12 18:11:32 2001
 
504
***************
 
505
*** 1,26 ****
 
506
  /* 
 
507
   * Motif Tools Library, Version 3.1
 
508
!  * $Id$
 
509
   * 
 
510
   * Written by David Flanagan.
 
511
   * Copyright (c) 1992-2001 by David Flanagan.
 
512
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
513
   * This is open source software.  See the file LICENSE for details.
 
514
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
515
   *
 
516
!  * $Log$
 
517
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
518
!  * Initial checkin.
 
519
!  *
 
520
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
521
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
522
!  *                  kerberos compilation support
 
523
!  *
 
524
   *
 
525
   */
 
526
  
 
527
  #include <Xmt/Xmt.h>
 
528
  #include <Xmt/ScreenP.h>
 
529
  #include <Xmt/DialogsP.h>
 
530
  #include <Xmt/Converters.h>
 
531
  #include <Xm/DialogS.h>
 
532
  #include <Xm/SelectioB.h>
 
533
  #include <Xm/Text.h>
 
534
  
 
535
  /* ARGSUSED */
 
536
  #if NeedFunctionPrototypes
 
537
  static void NoMatchCallback(Widget w, XtPointer tag, XtPointer data)
 
538
  #else
 
539
--- 1,32 ----
 
540
  /* 
 
541
   * Motif Tools Library, Version 3.1
 
542
!  * $Id$
 
543
   * 
 
544
   * Written by David Flanagan.
 
545
   * Copyright (c) 1992-2001 by David Flanagan.
 
546
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
547
   * This is open source software.  See the file LICENSE for details.
 
548
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
549
   *
 
550
!  * $Log$
 
551
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
552
!  * Initial checkin.
 
553
!  *
 
554
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
555
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
556
!  *                  kerberos compilation support
 
557
!  *
 
558
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
559
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
560
!  *                  (http://sourceforge.net/projects/motiftools) with
 
561
!  *                  our xmt212 patches applied
 
562
!  *
 
563
   *
 
564
   */
 
565
  
 
566
  #include <Xmt/Xmt.h>
 
567
  #include <Xmt/ScreenP.h>
 
568
  #include <Xmt/DialogsP.h>
 
569
  #include <Xmt/Converters.h>
 
570
  #include <Xm/DialogS.h>
 
571
  #include <Xm/SelectioB.h>
 
572
  #include <Xm/Text.h>
 
573
+ #include <Xm/List.h>
 
574
  
 
575
  /* ARGSUSED */
 
576
  #if NeedFunctionPrototypes
 
577
  static void NoMatchCallback(Widget w, XtPointer tag, XtPointer data)
 
578
  #else
 
579
*************** Boolean return_number;
 
580
*** 194,206 ****
 
581
        data.help_text = (String) help_text_default;
 
582
        data.visible_items = 8;  /* no argument for this one */
 
583
      }
 
584
  
 
585
      /* create the XmStrings */
 
586
!     message = XmtCreateXmString(data.message);
 
587
!     title = XmtCreateXmString(data.title);
 
588
!     list_title = XmtCreateXmString(data.list_title);
 
589
  
 
590
      /*
 
591
       * If we got an items string from the resource db,
 
592
       * it is NULL-terminated, and we need to count the number
 
593
       * of items.  Otherwise we can just use num_items_default.
 
594
--- 200,212 ----
 
595
        data.help_text = (String) help_text_default;
 
596
        data.visible_items = 8;  /* no argument for this one */
 
597
      }
 
598
  
 
599
      /* create the XmStrings */
 
600
!     message = XmtCreateLocalizedXmString(w, data.message);
 
601
!     title = XmtCreateLocalizedXmString(w, data.title);
 
602
!     list_title = XmtCreateLocalizedXmString(w, data.list_title);
 
603
  
 
604
      /*
 
605
       * If we got an items string from the resource db,
 
606
       * it is NULL-terminated, and we need to count the number
 
607
       * of items.  Otherwise we can just use num_items_default.
 
608
*************** Boolean return_number;
 
609
*** 213,228 ****
 
610
      }
 
611
  
 
612
      /* convert the list items to XmStrings */
 
613
      item_labels = (XmString *) XtMalloc(num_items * sizeof(XmString));
 
614
      for(i = 0; i < num_items; i++)
 
615
!       item_labels[i] = XmtCreateXmString(data.items[i]);
 
616
  
 
617
      if (return_number)
 
618
        default_item_label = item_labels[*int_return];
 
619
      else if (buffer_return && *buffer_return)
 
620
!       default_item_label = XmtCreateXmString(buffer_return);
 
621
      else
 
622
        default_item_label = item_labels[0];
 
623
  
 
624
      /* set resources on the dialog */
 
625
      XtVaSetValues(info->item_dialog,
 
626
--- 219,234 ----
 
627
      }
 
628
  
 
629
      /* convert the list items to XmStrings */
 
630
      item_labels = (XmString *) XtMalloc(num_items * sizeof(XmString));
 
631
      for(i = 0; i < num_items; i++)
 
632
!       item_labels[i] = XmtCreateLocalizedXmString(w, data.items[i]);
 
633
  
 
634
      if (return_number)
 
635
        default_item_label = item_labels[*int_return];
 
636
      else if (buffer_return && *buffer_return)
 
637
!       default_item_label = XmtCreateLocalizedXmString(w, buffer_return);
 
638
      else
 
639
        default_item_label = item_labels[0];
 
640
  
 
641
      /* set resources on the dialog */
 
642
      XtVaSetValues(info->item_dialog,
 
643
diff -bpcBNC 5 Xmt310/Xmt/AskForString.c Xmt310.ge/Xmt/AskForString.c
 
644
*** Xmt310/Xmt/AskForString.c   Sun Feb  4 22:33:28 2001
 
645
--- Xmt310.ge/Xmt/AskForString.c        Tue Jun 12 18:11:32 2001
 
646
***************
 
647
*** 1,16 ****
 
648
  /* 
 
649
   * Motif Tools Library, Version 3.1
 
650
!  * $Id$
 
651
   * 
 
652
   * Written by David Flanagan.
 
653
   * Copyright (c) 1992-2001 by David Flanagan.
 
654
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
655
   * This is open source software.  See the file LICENSE for details.
 
656
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
657
   *
 
658
!  * $Log$
 
659
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
660
!  * Initial checkin.
 
661
!  *
 
662
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
663
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
664
!  *                  kerberos compilation support
 
665
!  *
 
666
   *
 
667
   */
 
668
  
 
669
  #include <stdio.h>
 
670
  #include <Xmt/Xmt.h>
 
671
--- 1,21 ----
 
672
  /* 
 
673
   * Motif Tools Library, Version 3.1
 
674
!  * $Id$
 
675
   * 
 
676
   * Written by David Flanagan.
 
677
   * Copyright (c) 1992-2001 by David Flanagan.
 
678
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
679
   * This is open source software.  See the file LICENSE for details.
 
680
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
681
   *
 
682
!  * $Log$
 
683
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
684
!  * Initial checkin.
 
685
!  *
 
686
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
687
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
688
!  *                  kerberos compilation support
 
689
!  *
 
690
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
691
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
692
!  *                  (http://sourceforge.net/projects/motiftools) with
 
693
!  *                  our xmt212 patches applied
 
694
!  *
 
695
   *
 
696
   */
 
697
  
 
698
  #include <stdio.h>
 
699
  #include <Xmt/Xmt.h>
 
700
*************** int type;
 
701
*** 233,243 ****
 
702
      VerifyCallbackStruct client_data_struct;
 
703
      String value;
 
704
      XmString message, title;
 
705
      Arg args[10];
 
706
      int i;
 
707
-     Widget text_widget;
 
708
      static String default_string_title;
 
709
      static String default_int_title;
 
710
      static String default_double_title;
 
711
      
 
712
      /* make sure the shell we pop up over is not a menu shell! */
 
713
--- 238,247 ----
 
714
*************** int type;
 
715
*** 322,333 ****
 
716
        buffer_length = 50;
 
717
        break;
 
718
      }
 
719
      
 
720
      /* set resources on the dialog box and the text widget within it. */
 
721
!     message = XmtCreateXmString(data.message);
 
722
!     title = XmtCreateXmString(data.title);
 
723
      i = 0;
 
724
      XtSetArg(args[i], XmNselectionLabelString, message); i++;
 
725
      XtSetArg(args[i], XmNdialogTitle, title); i++;
 
726
      XtSetValues(info->string_dialog, args, i);
 
727
      XmStringFree(message);
 
728
--- 326,337 ----
 
729
        buffer_length = 50;
 
730
        break;
 
731
      }
 
732
      
 
733
      /* set resources on the dialog box and the text widget within it. */
 
734
!     message = XmtCreateLocalizedXmString(w, data.message);
 
735
!     title = XmtCreateLocalizedXmString(w, data.title);
 
736
      i = 0;
 
737
      XtSetArg(args[i], XmNselectionLabelString, message); i++;
 
738
      XtSetArg(args[i], XmNdialogTitle, title); i++;
 
739
      XtSetValues(info->string_dialog, args, i);
 
740
      XmStringFree(message);
 
741
diff -bpcBNC 5 Xmt310/Xmt/AssertClass.c Xmt310.ge/Xmt/AssertClass.c
 
742
*** Xmt310/Xmt/AssertClass.c    Sun Feb  4 22:33:36 2001
 
743
--- Xmt310.ge/Xmt/AssertClass.c Tue Jun 12 18:11:32 2001
 
744
***************
 
745
*** 1,16 ****
 
746
  /* 
 
747
   * Motif Tools Library, Version 3.1
 
748
!  * $Id$
 
749
   * 
 
750
   * Written by David Flanagan.
 
751
   * Copyright (c) 1992-2001 by David Flanagan.
 
752
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
753
   * This is open source software.  See the file LICENSE for details.
 
754
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
755
   *
 
756
!  * $Log$
 
757
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
758
!  * Initial checkin.
 
759
!  *
 
760
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
761
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
762
!  *                  kerberos compilation support
 
763
!  *
 
764
   *
 
765
   */
 
766
  
 
767
  #include <Xmt/Xmt.h>
 
768
  #include <X11/IntrinsicP.h>
 
769
--- 1,21 ----
 
770
  /* 
 
771
   * Motif Tools Library, Version 3.1
 
772
!  * $Id$
 
773
   * 
 
774
   * Written by David Flanagan.
 
775
   * Copyright (c) 1992-2001 by David Flanagan.
 
776
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
777
   * This is open source software.  See the file LICENSE for details.
 
778
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
779
   *
 
780
!  * $Log$
 
781
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
782
!  * Initial checkin.
 
783
!  *
 
784
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
785
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
786
!  *                  kerberos compilation support
 
787
!  *
 
788
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
789
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
790
!  *                  (http://sourceforge.net/projects/motiftools) with
 
791
!  *                  our xmt212 patches applied
 
792
!  *
 
793
   *
 
794
   */
 
795
  
 
796
  #include <Xmt/Xmt.h>
 
797
  #include <X11/IntrinsicP.h>
 
798
*************** void XmtAssertWidgetClass(w, c, procname
 
799
*** 33,44 ****
 
800
  Widget w;
 
801
  WidgetClass c;
 
802
  String procname;
 
803
  #endif
 
804
  {
 
805
-     extern void abort();
 
806
-     
 
807
      if (!XtIsSubclass(w, c)) {
 
808
        XmtWarningMsg("XmtAssertWidgetClass", "typeMismatch",
 
809
                      "\n\tA widget of class %s was passed to procedure %s.\n\tA widget of class %s was expected.\n\tAborting.",
 
810
                      XtClass(w)->core_class.class_name,
 
811
                      procname,
 
812
--- 38,47 ----
 
813
diff -bpcBNC 5 Xmt310/Xmt/BSearch.c Xmt310.ge/Xmt/BSearch.c
 
814
*** Xmt310/Xmt/BSearch.c        Sun Feb  4 22:33:52 2001
 
815
--- Xmt310.ge/Xmt/BSearch.c     Tue Jun 12 18:11:32 2001
 
816
***************
 
817
*** 1,16 ****
 
818
  /* 
 
819
   * Motif Tools Library, Version 3.1
 
820
!  * $Id$
 
821
   * 
 
822
   * Written by David Flanagan.
 
823
   * Copyright (c) 1992-2001 by David Flanagan.
 
824
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
825
   * This is open source software.  See the file LICENSE for details.
 
826
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
827
   *
 
828
!  * $Log$
 
829
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
830
!  * Initial checkin.
 
831
!  *
 
832
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
833
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
834
!  *                  kerberos compilation support
 
835
!  *
 
836
   *
 
837
   */
 
838
  
 
839
  #include <Xmt/Xmt.h>
 
840
  
 
841
--- 1,21 ----
 
842
  /* 
 
843
   * Motif Tools Library, Version 3.1
 
844
!  * $Id$
 
845
   * 
 
846
   * Written by David Flanagan.
 
847
   * Copyright (c) 1992-2001 by David Flanagan.
 
848
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
849
   * This is open source software.  See the file LICENSE for details.
 
850
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
851
   *
 
852
!  * $Log$
 
853
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
854
!  * Initial checkin.
 
855
!  *
 
856
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
857
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
858
!  *                  kerberos compilation support
 
859
!  *
 
860
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
861
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
862
!  *                  (http://sourceforge.net/projects/motiftools) with
 
863
!  *                  our xmt212 patches applied
 
864
!  *
 
865
   *
 
866
   */
 
867
  
 
868
  #include <Xmt/Xmt.h>
 
869
  
 
870
diff -bpcBNC 5 Xmt310/Xmt/BitmapCvt.c Xmt310.ge/Xmt/BitmapCvt.c
 
871
*** Xmt310/Xmt/BitmapCvt.c      Sun Feb  4 22:34:04 2001
 
872
--- Xmt310.ge/Xmt/BitmapCvt.c   Tue Jun 12 18:11:32 2001
 
873
***************
 
874
*** 1,16 ****
 
875
  /* 
 
876
   * Motif Tools Library, Version 3.1
 
877
!  * $Id$
 
878
   * 
 
879
   * Written by David Flanagan.
 
880
   * Copyright (c) 1992-2001 by David Flanagan.
 
881
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
882
   * This is open source software.  See the file LICENSE for details.
 
883
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
884
   *
 
885
!  * $Log$
 
886
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
887
!  * Initial checkin.
 
888
!  *
 
889
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
890
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
891
!  *                  kerberos compilation support
 
892
!  *
 
893
   *
 
894
   */
 
895
  
 
896
  #include <Xmt/Xmt.h>
 
897
  #include <Xmt/Pixmap.h>
 
898
--- 1,21 ----
 
899
  /* 
 
900
   * Motif Tools Library, Version 3.1
 
901
!  * $Id$
 
902
   * 
 
903
   * Written by David Flanagan.
 
904
   * Copyright (c) 1992-2001 by David Flanagan.
 
905
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
906
   * This is open source software.  See the file LICENSE for details.
 
907
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
908
   *
 
909
!  * $Log$
 
910
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
911
!  * Initial checkin.
 
912
!  *
 
913
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
914
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
915
!  *                  kerberos compilation support
 
916
!  *
 
917
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
918
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
919
!  *                  (http://sourceforge.net/projects/motiftools) with
 
920
!  *                  our xmt212 patches applied
 
921
!  *
 
922
   *
 
923
   */
 
924
  
 
925
  #include <Xmt/Xmt.h>
 
926
  #include <Xmt/Pixmap.h>
 
927
diff -bpcBNC 5 Xmt310/Xmt/Block.c Xmt310.ge/Xmt/Block.c
 
928
*** Xmt310/Xmt/Block.c  Sun Feb  4 22:34:10 2001
 
929
--- Xmt310.ge/Xmt/Block.c       Tue Jun 12 18:11:32 2001
 
930
***************
 
931
*** 1,16 ****
 
932
  /* 
 
933
   * Motif Tools Library, Version 3.1
 
934
!  * $Id$
 
935
   * 
 
936
   * Written by David Flanagan.
 
937
   * Copyright (c) 1992-2001 by David Flanagan.
 
938
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
939
   * This is open source software.  See the file LICENSE for details.
 
940
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
941
   *
 
942
!  * $Log$
 
943
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
944
!  * Initial checkin.
 
945
!  *
 
946
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
947
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
948
!  *                  kerberos compilation support
 
949
!  *
 
950
   *
 
951
   */
 
952
  
 
953
  #include <Xmt/Xmt.h>
 
954
  
 
955
--- 1,21 ----
 
956
  /* 
 
957
   * Motif Tools Library, Version 3.1
 
958
!  * $Id$
 
959
   * 
 
960
   * Written by David Flanagan.
 
961
   * Copyright (c) 1992-2001 by David Flanagan.
 
962
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
963
   * This is open source software.  See the file LICENSE for details.
 
964
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
965
   *
 
966
!  * $Log$
 
967
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
968
!  * Initial checkin.
 
969
!  *
 
970
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
971
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
972
!  *                  kerberos compilation support
 
973
!  *
 
974
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
975
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
976
!  *                  (http://sourceforge.net/projects/motiftools) with
 
977
!  *                  our xmt212 patches applied
 
978
!  *
 
979
   *
 
980
   */
 
981
  
 
982
  #include <Xmt/Xmt.h>
 
983
  
 
984
Common subdirectories: Xmt310/Xmt/CVS and Xmt310.ge/Xmt/CVS
 
985
diff -bpcBNC 5 Xmt310/Xmt/CallbackCvt.c Xmt310.ge/Xmt/CallbackCvt.c
 
986
*** Xmt310/Xmt/CallbackCvt.c    Sun Feb  4 22:34:24 2001
 
987
--- Xmt310.ge/Xmt/CallbackCvt.c Tue Jun 12 18:11:32 2001
 
988
***************
 
989
*** 1,16 ****
 
990
  /* 
 
991
   * Motif Tools Library, Version 3.1
 
992
!  * $Id$
 
993
   * 
 
994
   * Written by David Flanagan.
 
995
   * Copyright (c) 1992-2001 by David Flanagan.
 
996
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
997
   * This is open source software.  See the file LICENSE for details.
 
998
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
999
   *
 
1000
!  * $Log$
 
1001
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1002
!  * Initial checkin.
 
1003
!  *
 
1004
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1005
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1006
!  *                  kerberos compilation support
 
1007
!  *
 
1008
   *
 
1009
   */
 
1010
  
 
1011
  #include <Xmt/Xmt.h>
 
1012
  #include <Xmt/ProceduresP.h>
 
1013
--- 1,21 ----
 
1014
  /* 
 
1015
   * Motif Tools Library, Version 3.1
 
1016
!  * $Id$
 
1017
   * 
 
1018
   * Written by David Flanagan.
 
1019
   * Copyright (c) 1992-2001 by David Flanagan.
 
1020
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1021
   * This is open source software.  See the file LICENSE for details.
 
1022
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1023
   *
 
1024
!  * $Log$
 
1025
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1026
!  * Initial checkin.
 
1027
!  *
 
1028
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1029
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1030
!  *                  kerberos compilation support
 
1031
!  *
 
1032
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
1033
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
1034
!  *                  (http://sourceforge.net/projects/motiftools) with
 
1035
!  *                  our xmt212 patches applied
 
1036
!  *
 
1037
   *
 
1038
   */
 
1039
  
 
1040
  #include <Xmt/Xmt.h>
 
1041
  #include <Xmt/ProceduresP.h>
 
1042
diff -bpcBNC 5 Xmt310/Xmt/CheckFormat.c Xmt310.ge/Xmt/CheckFormat.c
 
1043
*** Xmt310/Xmt/CheckFormat.c    Sun Feb  4 22:34:30 2001
 
1044
--- Xmt310.ge/Xmt/CheckFormat.c Tue Jun 12 18:11:32 2001
 
1045
***************
 
1046
*** 1,16 ****
 
1047
  /* 
 
1048
   * Motif Tools Library, Version 3.1
 
1049
!  * $Id$
 
1050
   * 
 
1051
   * Written by David Flanagan.
 
1052
   * Copyright (c) 1992-2001 by David Flanagan.
 
1053
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1054
   * This is open source software.  See the file LICENSE for details.
 
1055
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1056
   *
 
1057
!  * $Log$
 
1058
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1059
!  * Initial checkin.
 
1060
!  *
 
1061
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1062
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1063
!  *                  kerberos compilation support
 
1064
!  *
 
1065
   *
 
1066
   */
 
1067
  
 
1068
  #include <Xmt/Xmt.h>
 
1069
  #include <string.h>
 
1070
--- 1,21 ----
 
1071
  /* 
 
1072
   * Motif Tools Library, Version 3.1
 
1073
!  * $Id$
 
1074
   * 
 
1075
   * Written by David Flanagan.
 
1076
   * Copyright (c) 1992-2001 by David Flanagan.
 
1077
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1078
   * This is open source software.  See the file LICENSE for details.
 
1079
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1080
   *
 
1081
!  * $Log$
 
1082
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1083
!  * Initial checkin.
 
1084
!  *
 
1085
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1086
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1087
!  *                  kerberos compilation support
 
1088
!  *
 
1089
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
1090
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
1091
!  *                  (http://sourceforge.net/projects/motiftools) with
 
1092
!  *                  our xmt212 patches applied
 
1093
!  *
 
1094
   *
 
1095
   */
 
1096
  
 
1097
  #include <Xmt/Xmt.h>
 
1098
  #include <string.h>
 
1099
diff -bpcBNC 5 Xmt310/Xmt/Chooser.c Xmt310.ge/Xmt/Chooser.c
 
1100
*** Xmt310/Xmt/Chooser.c        Sun Feb  4 22:34:50 2001
 
1101
--- Xmt310.ge/Xmt/Chooser.c     Tue Jun 12 18:25:28 2001
 
1102
***************
 
1103
*** 1,16 ****
 
1104
  /* 
 
1105
   * Motif Tools Library, Version 3.1
 
1106
!  * $Id$
 
1107
   * 
 
1108
   * Written by David Flanagan.
 
1109
   * Copyright (c) 1992-2001 by David Flanagan.
 
1110
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1111
   * This is open source software.  See the file LICENSE for details.
 
1112
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1113
   *
 
1114
!  * $Log$
 
1115
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1116
!  * Initial checkin.
 
1117
!  *
 
1118
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1119
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1120
!  *                  kerberos compilation support
 
1121
!  *
 
1122
   *
 
1123
   */
 
1124
  
 
1125
  #include <stdio.h>
 
1126
  #include <string.h>
 
1127
--- 1,19 ----
 
1128
  /* 
 
1129
   * Motif Tools Library, Version 3.1
 
1130
!  * $Id$
 
1131
   * 
 
1132
   * Written by David Flanagan.
 
1133
   * Copyright (c) 1992-2001 by David Flanagan.
 
1134
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1135
   * This is open source software.  See the file LICENSE for details.
 
1136
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1137
   *
 
1138
!  * $Log$
 
1139
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1140
!  * Initial checkin.
 
1141
!  *
 
1142
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1143
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1144
!  *                  kerberos compilation support
 
1145
!  *
 
1146
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1147
!  * *** empty log message ***
 
1148
!  *
 
1149
   *
 
1150
   */
 
1151
  
 
1152
  #include <stdio.h>
 
1153
  #include <string.h>
 
1154
*************** static void CopyValues(XmtChooserWidget 
 
1155
*** 505,515 ****
 
1156
  static void CopyValues(cw)
 
1157
  XmtChooserWidget cw;     
 
1158
  #endif
 
1159
  {
 
1160
      char *values;
 
1161
!     int size = cw->chooser.num_items * cw->chooser.value_size;
 
1162
      
 
1163
      /* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
 
1164
      cw->chooser.value_strings = NULL;
 
1165
  
 
1166
      values = XtMalloc(size);
 
1167
--- 508,518 ----
 
1168
  static void CopyValues(cw)
 
1169
  XmtChooserWidget cw;     
 
1170
  #endif
 
1171
  {
 
1172
      char *values;
 
1173
!     size_t size = cw->chooser.num_items * cw->chooser.value_size;
 
1174
      
 
1175
      /* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
 
1176
      cw->chooser.value_strings = NULL;
 
1177
  
 
1178
      values = XtMalloc(size);
 
1179
*************** static void ClassInitialize()
 
1180
*** 582,592 ****
 
1181
  #if XmVersion >= 2000
 
1182
          "ComboBox",
 
1183
  #endif
 
1184
        "Option", "RadioBox", "RadioList", "RadioPalette"
 
1185
      };
 
1186
!     static int values[] = {
 
1187
        XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
 
1188
        XmtChooserCheckPalette,
 
1189
  #if XmVersion >= 2000
 
1190
          XmtChooserComboBox,
 
1191
  #endif
 
1192
--- 585,595 ----
 
1193
  #if XmVersion >= 2000
 
1194
          "ComboBox",
 
1195
  #endif
 
1196
        "Option", "RadioBox", "RadioList", "RadioPalette"
 
1197
      };
 
1198
!     static Cardinal values[] = {
 
1199
        XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
 
1200
        XmtChooserCheckPalette,
 
1201
  #if XmVersion >= 2000
 
1202
          XmtChooserComboBox,
 
1203
  #endif
 
1204
*************** Cardinal *num_args;
 
1205
*** 813,823 ****
 
1206
      /* create the label XmStrings in string mode */
 
1207
      if (nw->chooser.label_type == XmSTRING) {
 
1208
        item_labels = (XmString *)
 
1209
            XtMalloc(nw->chooser.num_items*sizeof(XmString));
 
1210
        for(i = 0; i < nw->chooser.num_items; i++)
 
1211
!           item_labels[i] = XmtCreateXmString(nw->chooser.strings[i]);
 
1212
      }
 
1213
      
 
1214
      /*
 
1215
       * Create the widgets.  Option menus are handled separately.
 
1216
       */
 
1217
--- 816,826 ----
 
1218
      /* create the label XmStrings in string mode */
 
1219
      if (nw->chooser.label_type == XmSTRING) {
 
1220
        item_labels = (XmString *)
 
1221
            XtMalloc(nw->chooser.num_items*sizeof(XmString));
 
1222
        for(i = 0; i < nw->chooser.num_items; i++)
 
1223
!           item_labels[i] = XmtCreateLocalizedXmString((Widget) nw, nw->chooser.strings[i]);
 
1224
      }
 
1225
      
 
1226
      /*
 
1227
       * Create the widgets.  Option menus are handled separately.
 
1228
       */
 
1229
diff -bpcBNC 5 Xmt310/Xmt/Chooser.h Xmt310.ge/Xmt/Chooser.h
 
1230
*** Xmt310/Xmt/Chooser.h        Sun Feb  4 22:34:56 2001
 
1231
--- Xmt310.ge/Xmt/Chooser.h     Tue Jun 12 18:25:28 2001
 
1232
***************
 
1233
*** 1,16 ****
 
1234
  /* 
 
1235
   * Motif Tools Library, Version 3.1
 
1236
!  * $Id$
 
1237
   * 
 
1238
   * Written by David Flanagan.
 
1239
   * Copyright (c) 1992-2001 by David Flanagan.
 
1240
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1241
   * This is open source software.  See the file LICENSE for details.
 
1242
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1243
   *
 
1244
!  * $Log$
 
1245
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1246
!  * Initial checkin.
 
1247
!  *
 
1248
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1249
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1250
!  *                  kerberos compilation support
 
1251
!  *
 
1252
   *
 
1253
   */
 
1254
  
 
1255
  #ifndef _XmtChooser_h
 
1256
  #define _XmtChooser_h
 
1257
--- 1,19 ----
 
1258
  /* 
 
1259
   * Motif Tools Library, Version 3.1
 
1260
!  * $Id$
 
1261
   * 
 
1262
   * Written by David Flanagan.
 
1263
   * Copyright (c) 1992-2001 by David Flanagan.
 
1264
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1265
   * This is open source software.  See the file LICENSE for details.
 
1266
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1267
   *
 
1268
!  * $Log$
 
1269
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1270
!  * Initial checkin.
 
1271
!  *
 
1272
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1273
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1274
!  *                  kerberos compilation support
 
1275
!  *
 
1276
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1277
!  * *** empty log message ***
 
1278
!  *
 
1279
   *
 
1280
   */
 
1281
  
 
1282
  #ifndef _XmtChooser_h
 
1283
  #define _XmtChooser_h
 
1284
*************** typedef enum {
 
1285
*** 31,41 ****
 
1286
  #endif        
 
1287
  } XmtChooserType;
 
1288
  
 
1289
  typedef struct {
 
1290
      int state;        /* selected item or OR of items */
 
1291
!     int item;         /* whichever item just was clicked */
 
1292
      XtPointer valuep; /* address of value from XmtNvalues array */
 
1293
  } XmtChooserCallbackStruct;
 
1294
  
 
1295
  externalref WidgetClass xmtChooserWidgetClass;
 
1296
  typedef struct _XmtChooserClassRec *XmtChooserWidgetClass;
 
1297
--- 34,44 ----
 
1298
  #endif        
 
1299
  } XmtChooserType;
 
1300
  
 
1301
  typedef struct {
 
1302
      int state;        /* selected item or OR of items */
 
1303
!     Cardinal item;         /* whichever item just was clicked */
 
1304
      XtPointer valuep; /* address of value from XmtNvalues array */
 
1305
  } XmtChooserCallbackStruct;
 
1306
  
 
1307
  externalref WidgetClass xmtChooserWidgetClass;
 
1308
  typedef struct _XmtChooserClassRec *XmtChooserWidgetClass;
 
1309
diff -bpcBNC 5 Xmt310/Xmt/ChooserP.h Xmt310.ge/Xmt/ChooserP.h
 
1310
*** Xmt310/Xmt/ChooserP.h       Sun Feb  4 22:35:02 2001
 
1311
--- Xmt310.ge/Xmt/ChooserP.h    Tue Jun 12 18:25:28 2001
 
1312
***************
 
1313
*** 1,16 ****
 
1314
  /* 
 
1315
   * Motif Tools Library, Version 3.1
 
1316
!  * $Id$
 
1317
   * 
 
1318
   * Written by David Flanagan.
 
1319
   * Copyright (c) 1992-2001 by David Flanagan.
 
1320
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1321
   * This is open source software.  See the file LICENSE for details.
 
1322
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1323
   *
 
1324
!  * $Log$
 
1325
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1326
!  * Initial checkin.
 
1327
!  *
 
1328
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1329
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1330
!  *                  kerberos compilation support
 
1331
!  *
 
1332
   *
 
1333
   */
 
1334
  
 
1335
  #ifndef _XmtChooserP_h
 
1336
  #define _XmtChooserP_h
 
1337
--- 1,19 ----
 
1338
  /* 
 
1339
   * Motif Tools Library, Version 3.1
 
1340
!  * $Id$
 
1341
   * 
 
1342
   * Written by David Flanagan.
 
1343
   * Copyright (c) 1992-2001 by David Flanagan.
 
1344
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1345
   * This is open source software.  See the file LICENSE for details.
 
1346
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1347
   *
 
1348
!  * $Log$
 
1349
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1350
!  * Initial checkin.
 
1351
!  *
 
1352
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1353
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1354
!  *                  kerberos compilation support
 
1355
!  *
 
1356
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1357
!  * *** empty log message ***
 
1358
!  *
 
1359
   *
 
1360
   */
 
1361
  
 
1362
  #ifndef _XmtChooserP_h
 
1363
  #define _XmtChooserP_h
 
1364
*************** typedef struct _XmtChooserClassRec {
 
1365
*** 37,60 ****
 
1366
  externalref XmtChooserClassRec xmtChooserClassRec;
 
1367
      
 
1368
  typedef struct _XmtChooserPart {
 
1369
      /* resources */
 
1370
      XmtChooserType type;
 
1371
!     int num_items;
 
1372
      String *strings;
 
1373
      Pixmap *pixmaps;
 
1374
      Pixmap *select_pixmaps;
 
1375
      Pixmap *insensitive_pixmaps;
 
1376
      XtPointer values;
 
1377
      String *value_strings;
 
1378
      String value_type;
 
1379
!     int value_size;
 
1380
      XmFontList font_list;
 
1381
  #if XmVersion >= 2000
 
1382
      XmRenderTable render_table;
 
1383
  #endif
 
1384
!     int visible_items;
 
1385
      int state;
 
1386
      String symbol_name;
 
1387
      unsigned char label_type;
 
1388
      XtCallbackList callback;
 
1389
      Widget *item_widgets;
 
1390
--- 40,63 ----
 
1391
  externalref XmtChooserClassRec xmtChooserClassRec;
 
1392
      
 
1393
  typedef struct _XmtChooserPart {
 
1394
      /* resources */
 
1395
      XmtChooserType type;
 
1396
!     Cardinal num_items;
 
1397
      String *strings;
 
1398
      Pixmap *pixmaps;
 
1399
      Pixmap *select_pixmaps;
 
1400
      Pixmap *insensitive_pixmaps;
 
1401
      XtPointer values;
 
1402
      String *value_strings;
 
1403
      String value_type;
 
1404
!     Cardinal value_size;
 
1405
      XmFontList font_list;
 
1406
  #if XmVersion >= 2000
 
1407
      XmRenderTable render_table;
 
1408
  #endif
 
1409
!     Cardinal visible_items;
 
1410
      int state;
 
1411
      String symbol_name;
 
1412
      unsigned char label_type;
 
1413
      XtCallbackList callback;
 
1414
      Widget *item_widgets;
 
1415
diff -bpcBNC 5 Xmt310/Xmt/ChooserS.c Xmt310.ge/Xmt/ChooserS.c
 
1416
*** Xmt310/Xmt/ChooserS.c       Sun Feb  4 22:35:10 2001
 
1417
--- Xmt310.ge/Xmt/ChooserS.c    Tue Jun 12 18:25:28 2001
 
1418
***************
 
1419
*** 1,16 ****
 
1420
  /* 
 
1421
   * Motif Tools Library, Version 3.1
 
1422
!  * $Id$
 
1423
   * 
 
1424
   * Written by David Flanagan.
 
1425
   * Copyright (c) 1992-2001 by David Flanagan.
 
1426
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1427
   * This is open source software.  See the file LICENSE for details.
 
1428
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1429
   *
 
1430
!  * $Log$
 
1431
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1432
!  * Initial checkin.
 
1433
!  *
 
1434
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1435
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1436
!  *                  kerberos compilation support
 
1437
!  *
 
1438
   *
 
1439
   */
 
1440
  #include <X11/Intrinsic.h>
 
1441
  #ifndef _Xconst
 
1442
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
1443
--- 1,19 ----
 
1444
  /* 
 
1445
   * Motif Tools Library, Version 3.1
 
1446
!  * $Id$
 
1447
   * 
 
1448
   * Written by David Flanagan.
 
1449
   * Copyright (c) 1992-2001 by David Flanagan.
 
1450
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1451
   * This is open source software.  See the file LICENSE for details.
 
1452
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1453
   *
 
1454
!  * $Log$
 
1455
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1456
!  * Initial checkin.
 
1457
!  *
 
1458
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1459
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1460
!  *                  kerberos compilation support
 
1461
!  *
 
1462
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1463
!  * *** empty log message ***
 
1464
!  *
 
1465
   *
 
1466
   */
 
1467
  #include <X11/Intrinsic.h>
 
1468
  #ifndef _Xconst
 
1469
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
1470
diff -bpcBNC 5 Xmt310/Xmt/Cli.c Xmt310.ge/Xmt/Cli.c
 
1471
*** Xmt310/Xmt/Cli.c    Sun Feb  4 22:35:22 2001
 
1472
--- Xmt310.ge/Xmt/Cli.c Tue Jun 12 18:25:28 2001
 
1473
***************
 
1474
*** 1,16 ****
 
1475
  /* 
 
1476
   * Motif Tools Library, Version 3.1
 
1477
!  * $Id$
 
1478
   * 
 
1479
   * Written by David Flanagan.
 
1480
   * Copyright (c) 1992-2001 by David Flanagan.
 
1481
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1482
   * This is open source software.  See the file LICENSE for details.
 
1483
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1484
   *
 
1485
!  * $Log$
 
1486
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1487
!  * Initial checkin.
 
1488
!  *
 
1489
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1490
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1491
!  *                  kerberos compilation support
 
1492
!  *
 
1493
   *
 
1494
   */
 
1495
   
 
1496
  /*
 
1497
   * Portions of this file are based upon work done by David Flanagan while
 
1498
--- 1,19 ----
 
1499
  /* 
 
1500
   * Motif Tools Library, Version 3.1
 
1501
!  * $Id$
 
1502
   * 
 
1503
   * Written by David Flanagan.
 
1504
   * Copyright (c) 1992-2001 by David Flanagan.
 
1505
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1506
   * This is open source software.  See the file LICENSE for details.
 
1507
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1508
   *
 
1509
!  * $Log$
 
1510
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1511
!  * Initial checkin.
 
1512
!  *
 
1513
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1514
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1515
!  *                  kerberos compilation support
 
1516
!  *
 
1517
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1518
!  * *** empty log message ***
 
1519
!  *
 
1520
   *
 
1521
   */
 
1522
   
 
1523
  /*
 
1524
   * Portions of this file are based upon work done by David Flanagan while
 
1525
diff -bpcBNC 5 Xmt310/Xmt/Cli.h Xmt310.ge/Xmt/Cli.h
 
1526
*** Xmt310/Xmt/Cli.h    Sun Feb  4 22:35:32 2001
 
1527
--- Xmt310.ge/Xmt/Cli.h Tue Jun 12 18:25:28 2001
 
1528
***************
 
1529
*** 1,16 ****
 
1530
  /* 
 
1531
   * Motif Tools Library, Version 3.1
 
1532
!  * $Id$
 
1533
   * 
 
1534
   * Written by David Flanagan.
 
1535
   * Copyright (c) 1992-2001 by David Flanagan.
 
1536
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1537
   * This is open source software.  See the file LICENSE for details.
 
1538
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1539
   *
 
1540
!  * $Log$
 
1541
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1542
!  * Initial checkin.
 
1543
!  *
 
1544
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1545
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1546
!  *                  kerberos compilation support
 
1547
!  *
 
1548
   *
 
1549
   */
 
1550
  
 
1551
  #ifndef _XmtCli_h
 
1552
  #define _XmtCli_h    
 
1553
--- 1,19 ----
 
1554
  /* 
 
1555
   * Motif Tools Library, Version 3.1
 
1556
!  * $Id$
 
1557
   * 
 
1558
   * Written by David Flanagan.
 
1559
   * Copyright (c) 1992-2001 by David Flanagan.
 
1560
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1561
   * This is open source software.  See the file LICENSE for details.
 
1562
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1563
   *
 
1564
!  * $Log$
 
1565
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1566
!  * Initial checkin.
 
1567
!  *
 
1568
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1569
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1570
!  *                  kerberos compilation support
 
1571
!  *
 
1572
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1573
!  * *** empty log message ***
 
1574
!  *
 
1575
   *
 
1576
   */
 
1577
  
 
1578
  #ifndef _XmtCli_h
 
1579
  #define _XmtCli_h    
 
1580
diff -bpcBNC 5 Xmt310/Xmt/CliP.h Xmt310.ge/Xmt/CliP.h
 
1581
*** Xmt310/Xmt/CliP.h   Sun Feb  4 22:35:38 2001
 
1582
--- Xmt310.ge/Xmt/CliP.h        Tue Jun 12 18:25:28 2001
 
1583
***************
 
1584
*** 1,16 ****
 
1585
  /* 
 
1586
   * Motif Tools Library, Version 3.1
 
1587
!  * $Id$
 
1588
   * 
 
1589
   * Written by David Flanagan.
 
1590
   * Copyright (c) 1992-2001 by David Flanagan.
 
1591
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1592
   * This is open source software.  See the file LICENSE for details.
 
1593
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1594
   *
 
1595
!  * $Log$
 
1596
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1597
!  * Initial checkin.
 
1598
!  *
 
1599
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1600
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1601
!  *                  kerberos compilation support
 
1602
!  *
 
1603
   *
 
1604
   */
 
1605
  
 
1606
  #ifndef _XmtCliP_h
 
1607
  #define _XmtCliP_h    
 
1608
--- 1,19 ----
 
1609
  /* 
 
1610
   * Motif Tools Library, Version 3.1
 
1611
!  * $Id$
 
1612
   * 
 
1613
   * Written by David Flanagan.
 
1614
   * Copyright (c) 1992-2001 by David Flanagan.
 
1615
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1616
   * This is open source software.  See the file LICENSE for details.
 
1617
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1618
   *
 
1619
!  * $Log$
 
1620
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1621
!  * Initial checkin.
 
1622
!  *
 
1623
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1624
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1625
!  *                  kerberos compilation support
 
1626
!  *
 
1627
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1628
!  * *** empty log message ***
 
1629
!  *
 
1630
   *
 
1631
   */
 
1632
  
 
1633
  #ifndef _XmtCliP_h
 
1634
  #define _XmtCliP_h    
 
1635
diff -bpcBNC 5 Xmt310/Xmt/CliS.c Xmt310.ge/Xmt/CliS.c
 
1636
*** Xmt310/Xmt/CliS.c   Sun Feb  4 22:35:42 2001
 
1637
--- Xmt310.ge/Xmt/CliS.c        Tue Jun 12 18:25:28 2001
 
1638
***************
 
1639
*** 1,16 ****
 
1640
  /* 
 
1641
   * Motif Tools Library, Version 3.1
 
1642
!  * $Id$
 
1643
   * 
 
1644
   * Written by David Flanagan.
 
1645
   * Copyright (c) 1992-2001 by David Flanagan.
 
1646
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1647
   * This is open source software.  See the file LICENSE for details.
 
1648
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1649
   *
 
1650
!  * $Log$
 
1651
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1652
!  * Initial checkin.
 
1653
!  *
 
1654
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1655
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1656
!  *                  kerberos compilation support
 
1657
!  *
 
1658
   *
 
1659
   */
 
1660
  #include <X11/Intrinsic.h>
 
1661
  #ifndef _Xconst
 
1662
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
1663
--- 1,19 ----
 
1664
  /* 
 
1665
   * Motif Tools Library, Version 3.1
 
1666
!  * $Id$
 
1667
   * 
 
1668
   * Written by David Flanagan.
 
1669
   * Copyright (c) 1992-2001 by David Flanagan.
 
1670
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1671
   * This is open source software.  See the file LICENSE for details.
 
1672
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1673
   *
 
1674
!  * $Log$
 
1675
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1676
!  * Initial checkin.
 
1677
!  *
 
1678
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1679
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1680
!  *                  kerberos compilation support
 
1681
!  *
 
1682
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1683
!  * *** empty log message ***
 
1684
!  *
 
1685
   *
 
1686
   */
 
1687
  #include <X11/Intrinsic.h>
 
1688
  #ifndef _Xconst
 
1689
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
1690
diff -bpcBNC 5 Xmt310/Xmt/Color.c Xmt310.ge/Xmt/Color.c
 
1691
*** Xmt310/Xmt/Color.c  Sun Feb  4 22:35:58 2001
 
1692
--- Xmt310.ge/Xmt/Color.c       Tue Jun 12 18:25:28 2001
 
1693
***************
 
1694
*** 1,16 ****
 
1695
  /* 
 
1696
   * Motif Tools Library, Version 3.1
 
1697
!  * $Id$
 
1698
   * 
 
1699
   * Written by David Flanagan.
 
1700
   * Copyright (c) 1992-2001 by David Flanagan.
 
1701
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1702
   * This is open source software.  See the file LICENSE for details.
 
1703
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1704
   *
 
1705
!  * $Log$
 
1706
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1707
!  * Initial checkin.
 
1708
!  *
 
1709
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1710
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1711
!  *                  kerberos compilation support
 
1712
!  *
 
1713
   *
 
1714
   */
 
1715
  
 
1716
  #include <ctype.h>
 
1717
  #include <Xmt/Xmt.h>
 
1718
--- 1,19 ----
 
1719
  /* 
 
1720
   * Motif Tools Library, Version 3.1
 
1721
!  * $Id$
 
1722
   * 
 
1723
   * Written by David Flanagan.
 
1724
   * Copyright (c) 1992-2001 by David Flanagan.
 
1725
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1726
   * This is open source software.  See the file LICENSE for details.
 
1727
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1728
   *
 
1729
!  * $Log$
 
1730
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1731
!  * Initial checkin.
 
1732
!  *
 
1733
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1734
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1735
!  *                  kerberos compilation support
 
1736
!  *
 
1737
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1738
!  * *** empty log message ***
 
1739
!  *
 
1740
   *
 
1741
   */
 
1742
  
 
1743
  #include <ctype.h>
 
1744
  #include <Xmt/Xmt.h>
 
1745
***************
 
1746
*** 23,32 ****
 
1747
--- 26,42 ----
 
1748
  #else
 
1749
  extern long int strtol();
 
1750
  #endif
 
1751
  
 
1752
  /*
 
1753
+ ** undefine if you don't want the full colormap fix
 
1754
+ ** contributed by Glenn Carr 
 
1755
+ */
 
1756
+ #define CLOSEST_COLOR
 
1757
 
1758
 
1759
+ /*
 
1760
   * HSL color syntax: H / S / L, where H, S, and L are integers
 
1761
   * with an optional leading '+' or '-'.  Whitespace is okay.
 
1762
   */
 
1763
  #if NeedFunctionPrototypes
 
1764
  static Boolean ParseHSLColor(StringConst name, XColor *c,
 
1765
*************** Boolean is_foreground;
 
1766
*** 91,100 ****
 
1767
--- 101,238 ----
 
1768
      c->blue = b;
 
1769
      c->flags = DoRed | DoGreen | DoBlue;
 
1770
      return True;
 
1771
  }
 
1772
  
 
1773
+ #ifdef CLOSEST_COLOR
 
1774
 
1775
+ /* Legal Garbage:  I borrowed the basis of this code from the...
 
1776
+  *
 
1777
+  * The Tk Toolkit
 
1778
+  * by John Ousterhout (and many others at Sun Microsystems and elsewhere)
 
1779
+  * john.ousterhout@eng.sun.com
 
1780
+  *
 
1781
+  * This software is copyrighted by the Regents of the University of
 
1782
+  * California, Sun Microsystems, Inc., and other parties.  The following
 
1783
+  * terms apply to all files associated with the software unless explicitly
 
1784
+  * disclaimed in individual files.
 
1785
+  * 
 
1786
+  * The authors hereby grant permission to use, copy, modify, distribute,
 
1787
+  * and license this software and its documentation for any purpose, provided
 
1788
+  * that existing copyright notices are retained in all copies and that this
 
1789
+  * notice is included verbatim in any distributions. No written agreement,
 
1790
+  * license, or royalty fee is required for any of the authorized uses.
 
1791
+  * Modifications to this software may be copyrighted by their authors
 
1792
+  * and need not follow the licensing terms described here, provided that
 
1793
+  * the new terms are clearly indicated on the first page of each file where
 
1794
+  * they apply.
 
1795
+  * 
 
1796
+  * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
 
1797
+  * FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
 
1798
+  * ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
 
1799
+  * DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
 
1800
+  * POSSIBILITY OF SUCH DAMAGE.
 
1801
+  * 
 
1802
+  * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
 
1803
+  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
 
1804
+  * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
 
1805
+  * IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
 
1806
+  * NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
 
1807
+  * MODIFICATIONS.
 
1808
+  * 
 
1809
+  * RESTRICTED RIGHTS: Use, duplication or disclosure by the government
 
1810
+  * is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
 
1811
+  * of the Rights in Technical Data and Computer Software Clause as DFARS
 
1812
+  * 252.227-7013 and FAR 52.227-19.
 
1813
+  */
 
1814
 
1815
+ #if NeedFunctionPrototypes
 
1816
+ static void
 
1817
+ FindClosestColor(Screen * screen,
 
1818
+                  Colormap colormap,
 
1819
+                  XColor * pxcolorDesired,
 
1820
+                  XColor * pxcolorActual)
 
1821
+ #else
 
1822
+ static void
 
1823
+ FindClosestColor(screen, colormap, pxcolorDesired, pxcolorActual)
 
1824
+ Screen * screen;
 
1825
+ Colormap colormap;
 
1826
+ XColor * pxcolorDesired;
 
1827
+ XColor * pxcolorActual;
 
1828
+ #endif
 
1829
+ {
 
1830
+     float           closestDistance, distance, tmp;
 
1831
+     Display        *dpy = DisplayOfScreen(screen);
 
1832
+     XtAppContext    appContext = XtDisplayToApplicationContext(dpy);
 
1833
+     Visual         *pvisual = XDefaultVisualOfScreen(screen);
 
1834
+     static XColor  *pxcolors;
 
1835
+     int             i, closest;
 
1836
+     int             nColors = pvisual->map_entries;
 
1837
 
1838
+     /*
 
1839
+      * Get all the colors from the colormap.  These should all be
 
1840
+      * allocated, otherwise we wouldn't be here.
 
1841
+      */
 
1842
+     if (NULL == pxcolors) {
 
1843
+         pxcolors = calloc(nColors, sizeof(*pxcolors));
 
1844
+         for (i = 0; i < nColors; i++)
 
1845
+             pxcolors[i].pixel = i;
 
1846
+     }
 
1847
+     XQueryColors(dpy, colormap, pxcolors, pvisual->map_entries);
 
1848
 
1849
+     while (nColors > 0) {
 
1850
+         closestDistance = 1e30;
 
1851
+         closest = 0;
 
1852
+         for (i = 0; i < nColors; i++) {
 
1853
+             /*
 
1854
+              * Use Euclidean distance in RGB space, weighted by Y (of YIQ)
 
1855
+              * as the objective function;  this accounts for differences
 
1856
+              * in the color sensitivity of the eye.
 
1857
+              */
 
1858
+             tmp = .30 * (((int) pxcolorDesired->red) - (int) pxcolors[i].red);
 
1859
+             distance = tmp * tmp;
 
1860
+             tmp = .61 * (((int) pxcolorDesired->green) - (int) pxcolors[i].green);
 
1861
+             distance += tmp * tmp;
 
1862
+             tmp = .11 * (((int) pxcolorDesired->blue) - (int) pxcolors[i].blue);
 
1863
+             distance += tmp * tmp;
 
1864
+             if (distance < closestDistance) {
 
1865
+                 closest = i;
 
1866
+                 closestDistance = distance;
 
1867
+             }
 
1868
+         }
 
1869
+         if (XAllocColor(dpy, colormap, &pxcolors[closest])) {
 
1870
+             *pxcolorActual = pxcolors[closest];
 
1871
+             return;
 
1872
+         }
 
1873
+         pxcolors[closest] = pxcolors[nColors - 1];
 
1874
+         nColors -= 1;
 
1875
+     }
 
1876
 
1877
+     /*
 
1878
+      * Should never get here, but just in case...
 
1879
+      */
 
1880
+     {
 
1881
+         char            szColor[64];
 
1882
+         Cardinal        num_params = 1;
 
1883
+         String          params[1]; 
 
1884
 
1885
+         params[0] = szColor;
 
1886
 
1887
+         sprintf(szColor, "#%04x%04x%04x",
 
1888
+                 pxcolorDesired->red,
 
1889
+                 pxcolorDesired->green,
 
1890
+                 pxcolorDesired->blue);
 
1891
 
1892
+         XtAppWarningMsg(appContext, "badValue", "cvtStringToPixel",
 
1893
+                         "FindClosestColor",
 
1894
+                         "Can't find approximation for color \"%s\"",
 
1895
+                         params, &num_params);
 
1896
+     }
 
1897
 
1898
+ }                               /* FindClosestColor */
 
1899
 
1900
+ #endif
 
1901
  /*
 
1902
   * This function allocates the named color, using the specified
 
1903
   * colormap, visual, and color table.  The widget argument is
 
1904
   * used only to obtain the display, and application resoruces.
 
1905
   * If the colormap, visual, or color table are unspecified, the
 
1906
*************** Pixel *pixel_return;
 
1907
*** 125,134 ****
 
1908
--- 263,277 ----
 
1909
      Colormap root_colormap = shell->core.colormap;
 
1910
      XmtAppResources *appres = XmtGetApplicationResources(shell);
 
1911
      Boolean is_foreground = (name[0] == '+');
 
1912
      XColor c1, c2;
 
1913
  
 
1914
+ #ifdef CLOSEST_COLOR
 
1915
+     Screen* screen = XtScreen(w);
 
1916
+ #endif
 
1917
 
1918
 
1919
      /* get default values for unspecified values */
 
1920
      while(!XtIsWidget(w)) w = XtParent(w);
 
1921
      if (cmap == None) cmap = w->core.colormap;
 
1922
      if (visual == NULL) visual = XmtGetVisual(w);
 
1923
      if (ctable == NULL) ctable = appres->colortable;
 
1924
*************** Pixel *pixel_return;
 
1925
*** 163,180 ****
 
1926
--- 306,333 ----
 
1927
       * Otherwise, it is a color name, or and Xcms color specification,
 
1928
       * and is converted with XAllocNamedColor()
 
1929
       */
 
1930
      if (name[0] == '#') {
 
1931
        if (XParseColor(dpy, cmap, name, &c1) == 0) return 1;
 
1932
+ #ifdef CLOSEST_COLOR
 
1933
+         if (XAllocColor(dpy, cmap, &c1) == 0)
 
1934
+             FindClosestColor(screen, cmap, &c1, &c1);
 
1935
+ #else
 
1936
          if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
 
1937
+ #endif
 
1938
        *pixel_return = c1.pixel;
 
1939
        return 0;
 
1940
      }
 
1941
      else if (name[0] == '%') {
 
1942
        if (ParseHSLColor(&name[1], &c1, appres, is_foreground) == False)
 
1943
            return 1;
 
1944
+ #ifdef CLOSEST_COLOR
 
1945
+         if (XAllocColor(dpy, cmap, &c1) == 0)
 
1946
+             FindClosestColor(screen, cmap, &c1, &c1);
 
1947
+ #else
 
1948
          if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
 
1949
+ #endif
 
1950
        *pixel_return = c1.pixel;
 
1951
        return 0;
 
1952
      }
 
1953
      else if (name[0] == '$') {  /* lookup symbolic colors by recursing */
 
1954
        String newname;
 
1955
*************** Pixel *pixel_return;
 
1956
*** 203,213 ****
 
1957
--- 356,374 ----
 
1958
        if (XAllocNamedColor(dpy, cmap, name, &c1, &c2)) {
 
1959
            *pixel_return = c1.pixel;
 
1960
            return 0;
 
1961
        }
 
1962
        else {
 
1963
+ #ifdef CLOSEST_COLOR
 
1964
+             if (XLookupColor(dpy, cmap, name, &c1, &c2)) {
 
1965
+                 FindClosestColor(screen, cmap, &c2, &c2);
 
1966
+                 *pixel_return = c2.pixel;
 
1967
+                 return 0;
 
1968
+             }
 
1969
+ #else
 
1970
              if (XLookupColor(dpy, cmap, name, &c1, &c2)) return 2;
 
1971
+ #endif
 
1972
            else return 1;
 
1973
        }
 
1974
      }
 
1975
  }
 
1976
  
 
1977
diff -bpcBNC 5 Xmt310/Xmt/Color.h Xmt310.ge/Xmt/Color.h
 
1978
*** Xmt310/Xmt/Color.h  Sun Feb  4 22:36:12 2001
 
1979
--- Xmt310.ge/Xmt/Color.h       Tue Jun 12 18:25:28 2001
 
1980
***************
 
1981
*** 1,16 ****
 
1982
  /* 
 
1983
   * Motif Tools Library, Version 3.1
 
1984
!  * $Id$
 
1985
   * 
 
1986
   * Written by David Flanagan.
 
1987
   * Copyright (c) 1992-2001 by David Flanagan.
 
1988
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
1989
   * This is open source software.  See the file LICENSE for details.
 
1990
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1991
   *
 
1992
!  * $Log$
 
1993
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1994
!  * Initial checkin.
 
1995
!  *
 
1996
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1997
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1998
!  *                  kerberos compilation support
 
1999
!  *
 
2000
   *
 
2001
   */
 
2002
  
 
2003
  #ifndef _XmtColor_h
 
2004
  #define _XmtColor_h
 
2005
--- 1,19 ----
 
2006
  /* 
 
2007
   * Motif Tools Library, Version 3.1
 
2008
!  * $Id$
 
2009
   * 
 
2010
   * Written by David Flanagan.
 
2011
   * Copyright (c) 1992-2001 by David Flanagan.
 
2012
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2013
   * This is open source software.  See the file LICENSE for details.
 
2014
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2015
   *
 
2016
!  * $Log$
 
2017
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2018
!  * Initial checkin.
 
2019
!  *
 
2020
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2021
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2022
!  *                  kerberos compilation support
 
2023
!  *
 
2024
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2025
!  * *** empty log message ***
 
2026
!  *
 
2027
   *
 
2028
   */
 
2029
  
 
2030
  #ifndef _XmtColor_h
 
2031
  #define _XmtColor_h
 
2032
diff -bpcBNC 5 Xmt310/Xmt/ColorTable.c Xmt310.ge/Xmt/ColorTable.c
 
2033
*** Xmt310/Xmt/ColorTable.c     Sun Feb  4 22:36:20 2001
 
2034
--- Xmt310.ge/Xmt/ColorTable.c  Tue Jun 12 18:25:28 2001
 
2035
***************
 
2036
*** 1,16 ****
 
2037
  /* 
 
2038
   * Motif Tools Library, Version 3.1
 
2039
!  * $Id$
 
2040
   * 
 
2041
   * Written by David Flanagan.
 
2042
   * Copyright (c) 1992-2001 by David Flanagan.
 
2043
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2044
   * This is open source software.  See the file LICENSE for details.
 
2045
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2046
   *
 
2047
!  * $Log$
 
2048
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2049
!  * Initial checkin.
 
2050
!  *
 
2051
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2052
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2053
!  *                  kerberos compilation support
 
2054
!  *
 
2055
   *
 
2056
   */
 
2057
  
 
2058
  #include <Xmt/Xmt.h>
 
2059
  #include <Xmt/Hash.h>
 
2060
--- 1,19 ----
 
2061
  /* 
 
2062
   * Motif Tools Library, Version 3.1
 
2063
!  * $Id$
 
2064
   * 
 
2065
   * Written by David Flanagan.
 
2066
   * Copyright (c) 1992-2001 by David Flanagan.
 
2067
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2068
   * This is open source software.  See the file LICENSE for details.
 
2069
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2070
   *
 
2071
!  * $Log$
 
2072
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2073
!  * Initial checkin.
 
2074
!  *
 
2075
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2076
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2077
!  *                  kerberos compilation support
 
2078
!  *
 
2079
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2080
!  * *** empty log message ***
 
2081
!  *
 
2082
   *
 
2083
   */
 
2084
  
 
2085
  #include <Xmt/Xmt.h>
 
2086
  #include <Xmt/Hash.h>
 
2087
diff -bpcBNC 5 Xmt310/Xmt/ColorTblCvt.c Xmt310.ge/Xmt/ColorTblCvt.c
 
2088
*** Xmt310/Xmt/ColorTblCvt.c    Sun Feb  4 22:36:24 2001
 
2089
--- Xmt310.ge/Xmt/ColorTblCvt.c Tue Jun 12 18:25:28 2001
 
2090
***************
 
2091
*** 1,16 ****
 
2092
  /* 
 
2093
   * Motif Tools Library, Version 3.1
 
2094
!  * $Id$
 
2095
   * 
 
2096
   * Written by David Flanagan.
 
2097
   * Copyright (c) 1992-2001 by David Flanagan.
 
2098
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2099
   * This is open source software.  See the file LICENSE for details.
 
2100
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2101
   *
 
2102
!  * $Log$
 
2103
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2104
!  * Initial checkin.
 
2105
!  *
 
2106
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2107
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2108
!  *                  kerberos compilation support
 
2109
!  *
 
2110
   *
 
2111
   */
 
2112
  
 
2113
  #include <ctype.h>
 
2114
  #include <Xmt/Xmt.h>
 
2115
--- 1,19 ----
 
2116
  /* 
 
2117
   * Motif Tools Library, Version 3.1
 
2118
!  * $Id$
 
2119
   * 
 
2120
   * Written by David Flanagan.
 
2121
   * Copyright (c) 1992-2001 by David Flanagan.
 
2122
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2123
   * This is open source software.  See the file LICENSE for details.
 
2124
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2125
   *
 
2126
!  * $Log$
 
2127
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2128
!  * Initial checkin.
 
2129
!  *
 
2130
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2131
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2132
!  *                  kerberos compilation support
 
2133
!  *
 
2134
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2135
!  * *** empty log message ***
 
2136
!  *
 
2137
   *
 
2138
   */
 
2139
  
 
2140
  #include <ctype.h>
 
2141
  #include <Xmt/Xmt.h>
 
2142
diff -bpcBNC 5 Xmt310/Xmt/ContextHelp.c Xmt310.ge/Xmt/ContextHelp.c
 
2143
*** Xmt310/Xmt/ContextHelp.c    Sun Feb  4 22:36:30 2001
 
2144
--- Xmt310.ge/Xmt/ContextHelp.c Tue Jun 12 18:25:28 2001
 
2145
***************
 
2146
*** 1,16 ****
 
2147
  /* 
 
2148
   * Motif Tools Library, Version 3.1
 
2149
!  * $Id$
 
2150
   * 
 
2151
   * Written by David Flanagan.
 
2152
   * Copyright (c) 1992-2001 by David Flanagan.
 
2153
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2154
   * This is open source software.  See the file LICENSE for details.
 
2155
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2156
   *
 
2157
!  * $Log$
 
2158
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2159
!  * Initial checkin.
 
2160
!  *
 
2161
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2162
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2163
!  *                  kerberos compilation support
 
2164
!  *
 
2165
   *
 
2166
   */
 
2167
  
 
2168
  #include <Xmt/Xmt.h>
 
2169
  #include <Xmt/Help.h>
 
2170
--- 1,19 ----
 
2171
  /* 
 
2172
   * Motif Tools Library, Version 3.1
 
2173
!  * $Id$
 
2174
   * 
 
2175
   * Written by David Flanagan.
 
2176
   * Copyright (c) 1992-2001 by David Flanagan.
 
2177
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2178
   * This is open source software.  See the file LICENSE for details.
 
2179
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2180
   *
 
2181
!  * $Log$
 
2182
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2183
!  * Initial checkin.
 
2184
!  *
 
2185
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2186
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2187
!  *                  kerberos compilation support
 
2188
!  *
 
2189
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2190
!  * *** empty log message ***
 
2191
!  *
 
2192
   *
 
2193
   */
 
2194
  
 
2195
  #include <Xmt/Xmt.h>
 
2196
  #include <Xmt/Help.h>
 
2197
diff -bpcBNC 5 Xmt310/Xmt/ConvertData.c Xmt310.ge/Xmt/ConvertData.c
 
2198
*** Xmt310/Xmt/ConvertData.c    Sun Feb  4 22:36:34 2001
 
2199
--- Xmt310.ge/Xmt/ConvertData.c Tue Jun 12 18:25:28 2001
 
2200
***************
 
2201
*** 1,16 ****
 
2202
  /* 
 
2203
   * Motif Tools Library, Version 3.1
 
2204
!  * $Id$
 
2205
   * 
 
2206
   * Written by David Flanagan.
 
2207
   * Copyright (c) 1992-2001 by David Flanagan.
 
2208
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2209
   * This is open source software.  See the file LICENSE for details.
 
2210
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2211
   *
 
2212
!  * $Log$
 
2213
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2214
!  * Initial checkin.
 
2215
!  *
 
2216
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2217
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2218
!  *                  kerberos compilation support
 
2219
!  *
 
2220
   *
 
2221
   */
 
2222
  
 
2223
  #include <Xmt/Xmt.h>
 
2224
  #include <Xmt/Converters.h>
 
2225
--- 1,19 ----
 
2226
  /* 
 
2227
   * Motif Tools Library, Version 3.1
 
2228
!  * $Id$
 
2229
   * 
 
2230
   * Written by David Flanagan.
 
2231
   * Copyright (c) 1992-2001 by David Flanagan.
 
2232
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2233
   * This is open source software.  See the file LICENSE for details.
 
2234
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2235
   *
 
2236
!  * $Log$
 
2237
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2238
!  * Initial checkin.
 
2239
!  *
 
2240
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2241
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2242
!  *                  kerberos compilation support
 
2243
!  *
 
2244
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2245
!  * *** empty log message ***
 
2246
!  *
 
2247
   *
 
2248
   */
 
2249
  
 
2250
  #include <Xmt/Xmt.h>
 
2251
  #include <Xmt/Converters.h>
 
2252
diff -bpcBNC 5 Xmt310/Xmt/Converters.h Xmt310.ge/Xmt/Converters.h
 
2253
*** Xmt310/Xmt/Converters.h     Sun Feb  4 22:36:42 2001
 
2254
--- Xmt310.ge/Xmt/Converters.h  Tue Jun 12 18:25:28 2001
 
2255
***************
 
2256
*** 1,16 ****
 
2257
  /* 
 
2258
   * Motif Tools Library, Version 3.1
 
2259
!  * $Id$
 
2260
   * 
 
2261
   * Written by David Flanagan.
 
2262
   * Copyright (c) 1992-2001 by David Flanagan.
 
2263
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2264
   * This is open source software.  See the file LICENSE for details.
 
2265
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2266
   *
 
2267
!  * $Log$
 
2268
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2269
!  * Initial checkin.
 
2270
!  *
 
2271
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2272
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2273
!  *                  kerberos compilation support
 
2274
!  *
 
2275
   *
 
2276
   */
 
2277
  #ifndef _XmtConverters_h
 
2278
  #define _XmtConverters_h
 
2279
  
 
2280
--- 1,19 ----
 
2281
  /* 
 
2282
   * Motif Tools Library, Version 3.1
 
2283
!  * $Id$
 
2284
   * 
 
2285
   * Written by David Flanagan.
 
2286
   * Copyright (c) 1992-2001 by David Flanagan.
 
2287
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2288
   * This is open source software.  See the file LICENSE for details.
 
2289
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2290
   *
 
2291
!  * $Log$
 
2292
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2293
!  * Initial checkin.
 
2294
!  *
 
2295
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2296
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2297
!  *                  kerberos compilation support
 
2298
!  *
 
2299
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2300
!  * *** empty log message ***
 
2301
!  *
 
2302
   *
 
2303
   */
 
2304
  #ifndef _XmtConverters_h
 
2305
  #define _XmtConverters_h
 
2306
  
 
2307
*************** externalref _Xconst char XmtConverterStr
 
2308
*** 35,46 ****
 
2309
  #define XmtRBitmask ((char*)&XmtConverterStrings[50])
 
2310
  #endif
 
2311
  
 
2312
  _XFUNCPROTOBEGIN
 
2313
  #if NeedFunctionPrototypes
 
2314
! extern void XmtRegisterEnumConverter(StringConst, String *, int *,
 
2315
!                                    int, String *);
 
2316
  extern void XmtRegisterWidgetConverter(void);
 
2317
  extern void XmtRegisterCallbackConverter(void);
 
2318
  extern void XmtRegisterXmStringConverter(void);
 
2319
  extern void XmtRegisterStringListConverter(void);
 
2320
  extern void XmtRegisterMenuItemsConverter(void);
 
2321
--- 38,49 ----
 
2322
  #define XmtRBitmask ((char*)&XmtConverterStrings[50])
 
2323
  #endif
 
2324
  
 
2325
  _XFUNCPROTOBEGIN
 
2326
  #if NeedFunctionPrototypes
 
2327
! extern void XmtRegisterEnumConverter(StringConst, String *, Cardinal *,
 
2328
!                                    Cardinal, String *);
 
2329
  extern void XmtRegisterWidgetConverter(void);
 
2330
  extern void XmtRegisterCallbackConverter(void);
 
2331
  extern void XmtRegisterXmStringConverter(void);
 
2332
  extern void XmtRegisterStringListConverter(void);
 
2333
  extern void XmtRegisterMenuItemsConverter(void);
 
2334
diff -bpcBNC 5 Xmt310/Xmt/ConvertersP.h Xmt310.ge/Xmt/ConvertersP.h
 
2335
*** Xmt310/Xmt/ConvertersP.h    Sun Feb  4 22:36:46 2001
 
2336
--- Xmt310.ge/Xmt/ConvertersP.h Tue Jun 12 18:25:28 2001
 
2337
***************
 
2338
*** 1,16 ****
 
2339
  /* 
 
2340
   * Motif Tools Library, Version 3.1
 
2341
!  * $Id$
 
2342
   * 
 
2343
   * Written by David Flanagan.
 
2344
   * Copyright (c) 1992-2001 by David Flanagan.
 
2345
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2346
   * This is open source software.  See the file LICENSE for details.
 
2347
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2348
   *
 
2349
!  * $Log$
 
2350
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2351
!  * Initial checkin.
 
2352
!  *
 
2353
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2354
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2355
!  *                  kerberos compilation support
 
2356
!  *
 
2357
   *
 
2358
   */
 
2359
  
 
2360
  #ifndef _XmtConvertersP_h
 
2361
  #define _XmtConvertersP_h
 
2362
--- 1,19 ----
 
2363
  /* 
 
2364
   * Motif Tools Library, Version 3.1
 
2365
!  * $Id$
 
2366
   * 
 
2367
   * Written by David Flanagan.
 
2368
   * Copyright (c) 1992-2001 by David Flanagan.
 
2369
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2370
   * This is open source software.  See the file LICENSE for details.
 
2371
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2372
   *
 
2373
!  * $Log$
 
2374
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2375
!  * Initial checkin.
 
2376
!  *
 
2377
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2378
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2379
!  *                  kerberos compilation support
 
2380
!  *
 
2381
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2382
!  * *** empty log message ***
 
2383
!  *
 
2384
   *
 
2385
   */
 
2386
  
 
2387
  #ifndef _XmtConvertersP_h
 
2388
  #define _XmtConvertersP_h
 
2389
diff -bpcBNC 5 Xmt310/Xmt/Create.c Xmt310.ge/Xmt/Create.c
 
2390
*** Xmt310/Xmt/Create.c Sun Feb  4 22:36:52 2001
 
2391
--- Xmt310.ge/Xmt/Create.c      Tue Jun 12 18:25:28 2001
 
2392
***************
 
2393
*** 1,16 ****
 
2394
  /* 
 
2395
   * Motif Tools Library, Version 3.1
 
2396
!  * $Id$
 
2397
   * 
 
2398
   * Written by David Flanagan.
 
2399
   * Copyright (c) 1992-2001 by David Flanagan.
 
2400
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2401
   * This is open source software.  See the file LICENSE for details.
 
2402
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2403
   *
 
2404
!  * $Log$
 
2405
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2406
!  * Initial checkin.
 
2407
!  *
 
2408
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2409
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2410
!  *                  kerberos compilation support
 
2411
!  *
 
2412
   *
 
2413
   */
 
2414
  
 
2415
  #include <Xmt/Xmt.h>
 
2416
  #include <Xmt/Create.h>
 
2417
--- 1,19 ----
 
2418
  /* 
 
2419
   * Motif Tools Library, Version 3.1
 
2420
!  * $Id$
 
2421
   * 
 
2422
   * Written by David Flanagan.
 
2423
   * Copyright (c) 1992-2001 by David Flanagan.
 
2424
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2425
   * This is open source software.  See the file LICENSE for details.
 
2426
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2427
   *
 
2428
!  * $Log$
 
2429
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2430
!  * Initial checkin.
 
2431
!  *
 
2432
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2433
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2434
!  *                  kerberos compilation support
 
2435
!  *
 
2436
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2437
!  * *** empty log message ***
 
2438
!  *
 
2439
   *
 
2440
   */
 
2441
  
 
2442
  #include <Xmt/Xmt.h>
 
2443
  #include <Xmt/Create.h>
 
2444
*************** Cardinal *num_styles;
 
2445
*** 318,328 ****
 
2446
            template_name = XmtLexerStrValue(l);
 
2447
            XmtLexerConsumeToken(l);
 
2448
            XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
 
2449
            style = XmtTemplateSubstituteArgs(style, args, num_args,
 
2450
                                              &expected_args);
 
2451
!           *styles[*num_styles] = style;
 
2452
            *num_styles += 1;
 
2453
            if (num_args > expected_args)
 
2454
                XmtWarningMsg("XmtParseWidgetType", "styleArgs",
 
2455
                              "widget '%s':\n\tstyle '%s' expects up to %d args; %d passed.",
 
2456
                              name, template_name, expected_args, num_args);
 
2457
--- 321,331 ----
 
2458
            template_name = XmtLexerStrValue(l);
 
2459
            XmtLexerConsumeToken(l);
 
2460
            XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
 
2461
            style = XmtTemplateSubstituteArgs(style, args, num_args,
 
2462
                                              &expected_args);
 
2463
!           (*styles)[*num_styles] = style;
 
2464
            *num_styles += 1;
 
2465
            if (num_args > expected_args)
 
2466
                XmtWarningMsg("XmtParseWidgetType", "styleArgs",
 
2467
                              "widget '%s':\n\tstyle '%s' expects up to %d args; %d passed.",
 
2468
                              name, template_name, expected_args, num_args);
 
2469
diff -bpcBNC 5 Xmt310/Xmt/Create.h Xmt310.ge/Xmt/Create.h
 
2470
*** Xmt310/Xmt/Create.h Sun Feb  4 22:37:14 2001
 
2471
--- Xmt310.ge/Xmt/Create.h      Tue Jun 12 18:25:28 2001
 
2472
***************
 
2473
*** 1,16 ****
 
2474
  /* 
 
2475
   * Motif Tools Library, Version 3.1
 
2476
!  * $Id$
 
2477
   * 
 
2478
   * Written by David Flanagan.
 
2479
   * Copyright (c) 1992-2001 by David Flanagan.
 
2480
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2481
   * This is open source software.  See the file LICENSE for details.
 
2482
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2483
   *
 
2484
!  * $Log$
 
2485
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2486
!  * Initial checkin.
 
2487
!  *
 
2488
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2489
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2490
!  *                  kerberos compilation support
 
2491
!  *
 
2492
   *
 
2493
   */
 
2494
  
 
2495
  #ifndef _XmtCreate_h
 
2496
  #define _XmtCreate_h
 
2497
--- 1,19 ----
 
2498
  /* 
 
2499
   * Motif Tools Library, Version 3.1
 
2500
!  * $Id$
 
2501
   * 
 
2502
   * Written by David Flanagan.
 
2503
   * Copyright (c) 1992-2001 by David Flanagan.
 
2504
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2505
   * This is open source software.  See the file LICENSE for details.
 
2506
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2507
   *
 
2508
!  * $Log$
 
2509
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2510
!  * Initial checkin.
 
2511
!  *
 
2512
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2513
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2514
!  *                  kerberos compilation support
 
2515
!  *
 
2516
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2517
!  * *** empty log message ***
 
2518
!  *
 
2519
   *
 
2520
   */
 
2521
  
 
2522
  #ifndef _XmtCreate_h
 
2523
  #define _XmtCreate_h
 
2524
diff -bpcBNC 5 Xmt310/Xmt/Cursor.c Xmt310.ge/Xmt/Cursor.c
 
2525
*** Xmt310/Xmt/Cursor.c Sun Feb  4 22:37:22 2001
 
2526
--- Xmt310.ge/Xmt/Cursor.c      Tue Jun 12 18:25:28 2001
 
2527
***************
 
2528
*** 1,16 ****
 
2529
  /* 
 
2530
   * Motif Tools Library, Version 3.1
 
2531
!  * $Id$
 
2532
   * 
 
2533
   * Written by David Flanagan.
 
2534
   * Copyright (c) 1992-2001 by David Flanagan.
 
2535
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2536
   * This is open source software.  See the file LICENSE for details.
 
2537
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2538
   *
 
2539
!  * $Log$
 
2540
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2541
!  * Initial checkin.
 
2542
!  *
 
2543
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2544
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2545
!  *                  kerberos compilation support
 
2546
!  *
 
2547
   *
 
2548
   */
 
2549
  
 
2550
  #include <Xmt/Xmt.h>
 
2551
  #include <Xmt/AppResP.h>
 
2552
--- 1,19 ----
 
2553
  /* 
 
2554
   * Motif Tools Library, Version 3.1
 
2555
!  * $Id$
 
2556
   * 
 
2557
   * Written by David Flanagan.
 
2558
   * Copyright (c) 1992-2001 by David Flanagan.
 
2559
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2560
   * This is open source software.  See the file LICENSE for details.
 
2561
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2562
   *
 
2563
!  * $Log$
 
2564
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2565
!  * Initial checkin.
 
2566
!  *
 
2567
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2568
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2569
!  *                  kerberos compilation support
 
2570
!  *
 
2571
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2572
!  * *** empty log message ***
 
2573
!  *
 
2574
   *
 
2575
   */
 
2576
  
 
2577
  #include <Xmt/Xmt.h>
 
2578
  #include <Xmt/AppResP.h>
 
2579
diff -bpcBNC 5 Xmt310/Xmt/DECHack.c Xmt310.ge/Xmt/DECHack.c
 
2580
*** Xmt310/Xmt/DECHack.c        Sun Feb  4 22:37:34 2001
 
2581
--- Xmt310.ge/Xmt/DECHack.c     Tue Jun 12 18:25:28 2001
 
2582
***************
 
2583
*** 1,16 ****
 
2584
  /* 
 
2585
   * Motif Tools Library, Version 3.1
 
2586
!  * $Id$
 
2587
   * 
 
2588
   * Written by David Flanagan.
 
2589
   * Copyright (c) 1992-2001 by David Flanagan.
 
2590
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2591
   * This is open source software.  See the file LICENSE for details.
 
2592
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2593
   *
 
2594
!  * $Log$
 
2595
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2596
!  * Initial checkin.
 
2597
!  *
 
2598
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2599
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2600
!  *                  kerberos compilation support
 
2601
!  *
 
2602
   *
 
2603
   */
 
2604
  
 
2605
  /*
 
2606
   * The procedures in this file are only needed with DECWindows Xt
 
2607
--- 1,19 ----
 
2608
  /* 
 
2609
   * Motif Tools Library, Version 3.1
 
2610
!  * $Id$
 
2611
   * 
 
2612
   * Written by David Flanagan.
 
2613
   * Copyright (c) 1992-2001 by David Flanagan.
 
2614
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2615
   * This is open source software.  See the file LICENSE for details.
 
2616
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2617
   *
 
2618
!  * $Log$
 
2619
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2620
!  * Initial checkin.
 
2621
!  *
 
2622
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2623
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2624
!  *                  kerberos compilation support
 
2625
!  *
 
2626
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2627
!  * *** empty log message ***
 
2628
!  *
 
2629
   *
 
2630
   */
 
2631
  
 
2632
  /*
 
2633
   * The procedures in this file are only needed with DECWindows Xt
 
2634
diff -bpcBNC 5 Xmt310/Xmt/Dialog.c Xmt310.ge/Xmt/Dialog.c
 
2635
*** Xmt310/Xmt/Dialog.c Sun Feb  4 22:37:38 2001
 
2636
--- Xmt310.ge/Xmt/Dialog.c      Tue Jun 12 18:25:28 2001
 
2637
***************
 
2638
*** 1,16 ****
 
2639
  /* 
 
2640
   * Motif Tools Library, Version 3.1
 
2641
!  * $Id$
 
2642
   * 
 
2643
   * Written by David Flanagan.
 
2644
   * Copyright (c) 1992-2001 by David Flanagan.
 
2645
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2646
   * This is open source software.  See the file LICENSE for details.
 
2647
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2648
   *
 
2649
!  * $Log$
 
2650
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2651
!  * Initial checkin.
 
2652
!  *
 
2653
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2654
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2655
!  *                  kerberos compilation support
 
2656
!  *
 
2657
   *
 
2658
   */
 
2659
  
 
2660
  #include <Xmt/Xmt.h>
 
2661
  #include <Xmt/DialogP.h>
 
2662
--- 1,19 ----
 
2663
  /* 
 
2664
   * Motif Tools Library, Version 3.1
 
2665
!  * $Id$
 
2666
   * 
 
2667
   * Written by David Flanagan.
 
2668
   * Copyright (c) 1992-2001 by David Flanagan.
 
2669
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2670
   * This is open source software.  See the file LICENSE for details.
 
2671
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2672
   *
 
2673
!  * $Log$
 
2674
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2675
!  * Initial checkin.
 
2676
!  *
 
2677
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2678
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2679
!  *                  kerberos compilation support
 
2680
!  *
 
2681
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2682
!  * *** empty log message ***
 
2683
!  *
 
2684
   *
 
2685
   */
 
2686
  
 
2687
  #include <Xmt/Xmt.h>
 
2688
  #include <Xmt/DialogP.h>
 
2689
diff -bpcBNC 5 Xmt310/Xmt/Dialog.h Xmt310.ge/Xmt/Dialog.h
 
2690
*** Xmt310/Xmt/Dialog.h Sun Feb  4 22:37:54 2001
 
2691
--- Xmt310.ge/Xmt/Dialog.h      Tue Jun 12 18:25:28 2001
 
2692
***************
 
2693
*** 1,16 ****
 
2694
  /* 
 
2695
   * Motif Tools Library, Version 3.1
 
2696
!  * $Id$
 
2697
   * 
 
2698
   * Written by David Flanagan.
 
2699
   * Copyright (c) 1992-2001 by David Flanagan.
 
2700
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2701
   * This is open source software.  See the file LICENSE for details.
 
2702
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2703
   *
 
2704
!  * $Log$
 
2705
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2706
!  * Initial checkin.
 
2707
!  *
 
2708
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2709
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2710
!  *                  kerberos compilation support
 
2711
!  *
 
2712
   *
 
2713
   */
 
2714
  
 
2715
  #ifndef _XmtDialog_h
 
2716
  #define _XmtDialog_h
 
2717
--- 1,19 ----
 
2718
  /* 
 
2719
   * Motif Tools Library, Version 3.1
 
2720
!  * $Id$
 
2721
   * 
 
2722
   * Written by David Flanagan.
 
2723
   * Copyright (c) 1992-2001 by David Flanagan.
 
2724
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2725
   * This is open source software.  See the file LICENSE for details.
 
2726
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2727
   *
 
2728
!  * $Log$
 
2729
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2730
!  * Initial checkin.
 
2731
!  *
 
2732
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2733
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2734
!  *                  kerberos compilation support
 
2735
!  *
 
2736
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2737
!  * *** empty log message ***
 
2738
!  *
 
2739
   *
 
2740
   */
 
2741
  
 
2742
  #ifndef _XmtDialog_h
 
2743
  #define _XmtDialog_h
 
2744
diff -bpcBNC 5 Xmt310/Xmt/DialogP.h Xmt310.ge/Xmt/DialogP.h
 
2745
*** Xmt310/Xmt/DialogP.h        Sun Feb  4 22:38:04 2001
 
2746
--- Xmt310.ge/Xmt/DialogP.h     Tue Jun 12 18:25:28 2001
 
2747
***************
 
2748
*** 1,16 ****
 
2749
  /* 
 
2750
   * Motif Tools Library, Version 3.1
 
2751
!  * $Id$
 
2752
   * 
 
2753
   * Written by David Flanagan.
 
2754
   * Copyright (c) 1992-2001 by David Flanagan.
 
2755
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2756
   * This is open source software.  See the file LICENSE for details.
 
2757
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2758
   *
 
2759
!  * $Log$
 
2760
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2761
!  * Initial checkin.
 
2762
!  *
 
2763
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2764
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2765
!  *                  kerberos compilation support
 
2766
!  *
 
2767
   *
 
2768
   */
 
2769
  
 
2770
  #ifndef _XmtDialogP_h
 
2771
  #define _XmtDialogP_h
 
2772
--- 1,19 ----
 
2773
  /* 
 
2774
   * Motif Tools Library, Version 3.1
 
2775
!  * $Id$
 
2776
   * 
 
2777
   * Written by David Flanagan.
 
2778
   * Copyright (c) 1992-2001 by David Flanagan.
 
2779
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2780
   * This is open source software.  See the file LICENSE for details.
 
2781
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2782
   *
 
2783
!  * $Log$
 
2784
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2785
!  * Initial checkin.
 
2786
!  *
 
2787
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2788
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2789
!  *                  kerberos compilation support
 
2790
!  *
 
2791
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2792
!  * *** empty log message ***
 
2793
!  *
 
2794
   *
 
2795
   */
 
2796
  
 
2797
  #ifndef _XmtDialogP_h
 
2798
  #define _XmtDialogP_h
 
2799
diff -bpcBNC 5 Xmt310/Xmt/DialogPos.c Xmt310.ge/Xmt/DialogPos.c
 
2800
*** Xmt310/Xmt/DialogPos.c      Sun Feb  4 22:38:18 2001
 
2801
--- Xmt310.ge/Xmt/DialogPos.c   Tue Jun 12 18:25:28 2001
 
2802
***************
 
2803
*** 1,16 ****
 
2804
  /* 
 
2805
   * Motif Tools Library, Version 3.1
 
2806
!  * $Id$
 
2807
   * 
 
2808
   * Written by David Flanagan.
 
2809
   * Copyright (c) 1992-2001 by David Flanagan.
 
2810
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2811
   * This is open source software.  See the file LICENSE for details.
 
2812
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2813
   *
 
2814
!  * $Log$
 
2815
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2816
!  * Initial checkin.
 
2817
!  *
 
2818
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2819
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2820
!  *                  kerberos compilation support
 
2821
!  *
 
2822
   *
 
2823
   */
 
2824
  
 
2825
  #include <Xmt/Xmt.h>
 
2826
  #include <Xmt/Dialogs.h>
 
2827
--- 1,19 ----
 
2828
  /* 
 
2829
   * Motif Tools Library, Version 3.1
 
2830
!  * $Id$
 
2831
   * 
 
2832
   * Written by David Flanagan.
 
2833
   * Copyright (c) 1992-2001 by David Flanagan.
 
2834
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2835
   * This is open source software.  See the file LICENSE for details.
 
2836
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2837
   *
 
2838
!  * $Log$
 
2839
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2840
!  * Initial checkin.
 
2841
!  *
 
2842
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2843
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2844
!  *                  kerberos compilation support
 
2845
!  *
 
2846
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2847
!  * *** empty log message ***
 
2848
!  *
 
2849
   *
 
2850
   */
 
2851
  
 
2852
  #include <Xmt/Xmt.h>
 
2853
  #include <Xmt/Dialogs.h>
 
2854
diff -bpcBNC 5 Xmt310/Xmt/Dialogs.c Xmt310.ge/Xmt/Dialogs.c
 
2855
*** Xmt310/Xmt/Dialogs.c        Sun Feb  4 22:38:24 2001
 
2856
--- Xmt310.ge/Xmt/Dialogs.c     Tue Jun 12 18:25:28 2001
 
2857
***************
 
2858
*** 1,16 ****
 
2859
  /* 
 
2860
   * Motif Tools Library, Version 3.1
 
2861
!  * $Id$
 
2862
   * 
 
2863
   * Written by David Flanagan.
 
2864
   * Copyright (c) 1992-2001 by David Flanagan.
 
2865
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2866
   * This is open source software.  See the file LICENSE for details.
 
2867
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2868
   *
 
2869
!  * $Log$
 
2870
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2871
!  * Initial checkin.
 
2872
!  *
 
2873
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2874
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2875
!  *                  kerberos compilation support
 
2876
!  *
 
2877
   *
 
2878
   */
 
2879
  
 
2880
  #include <Xmt/Xmt.h>
 
2881
  #include <Xmt/ScreenP.h>
 
2882
--- 1,19 ----
 
2883
  /* 
 
2884
   * Motif Tools Library, Version 3.1
 
2885
!  * $Id$
 
2886
   * 
 
2887
   * Written by David Flanagan.
 
2888
   * Copyright (c) 1992-2001 by David Flanagan.
 
2889
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2890
   * This is open source software.  See the file LICENSE for details.
 
2891
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2892
   *
 
2893
!  * $Log$
 
2894
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2895
!  * Initial checkin.
 
2896
!  *
 
2897
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2898
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2899
!  *                  kerberos compilation support
 
2900
!  *
 
2901
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2902
!  * *** empty log message ***
 
2903
!  *
 
2904
   *
 
2905
   */
 
2906
  
 
2907
  #include <Xmt/Xmt.h>
 
2908
  #include <Xmt/ScreenP.h>
 
2909
diff -bpcBNC 5 Xmt310/Xmt/Dialogs.h Xmt310.ge/Xmt/Dialogs.h
 
2910
*** Xmt310/Xmt/Dialogs.h        Sun Feb  4 22:38:30 2001
 
2911
--- Xmt310.ge/Xmt/Dialogs.h     Tue Jun 12 18:25:28 2001
 
2912
***************
 
2913
*** 1,16 ****
 
2914
  /* 
 
2915
   * Motif Tools Library, Version 3.1
 
2916
!  * $Id$
 
2917
   * 
 
2918
   * Written by David Flanagan.
 
2919
   * Copyright (c) 1992-2001 by David Flanagan.
 
2920
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2921
   * This is open source software.  See the file LICENSE for details.
 
2922
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2923
   *
 
2924
!  * $Log$
 
2925
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2926
!  * Initial checkin.
 
2927
!  *
 
2928
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2929
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2930
!  *                  kerberos compilation support
 
2931
!  *
 
2932
   *
 
2933
   */
 
2934
  
 
2935
  #ifndef _XmtDialogs_h
 
2936
  #define _XmtDialogs_h    
 
2937
--- 1,19 ----
 
2938
  /* 
 
2939
   * Motif Tools Library, Version 3.1
 
2940
!  * $Id$
 
2941
   * 
 
2942
   * Written by David Flanagan.
 
2943
   * Copyright (c) 1992-2001 by David Flanagan.
 
2944
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2945
   * This is open source software.  See the file LICENSE for details.
 
2946
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2947
   *
 
2948
!  * $Log$
 
2949
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2950
!  * Initial checkin.
 
2951
!  *
 
2952
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2953
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2954
!  *                  kerberos compilation support
 
2955
!  *
 
2956
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2957
!  * *** empty log message ***
 
2958
!  *
 
2959
   *
 
2960
   */
 
2961
  
 
2962
  #ifndef _XmtDialogs_h
 
2963
  #define _XmtDialogs_h    
 
2964
diff -bpcBNC 5 Xmt310/Xmt/DialogsP.h Xmt310.ge/Xmt/DialogsP.h
 
2965
*** Xmt310/Xmt/DialogsP.h       Sun Feb  4 22:38:40 2001
 
2966
--- Xmt310.ge/Xmt/DialogsP.h    Tue Jun 12 18:25:28 2001
 
2967
***************
 
2968
*** 1,16 ****
 
2969
  /* 
 
2970
   * Motif Tools Library, Version 3.1
 
2971
!  * $Id$
 
2972
   * 
 
2973
   * Written by David Flanagan.
 
2974
   * Copyright (c) 1992-2001 by David Flanagan.
 
2975
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
2976
   * This is open source software.  See the file LICENSE for details.
 
2977
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2978
   *
 
2979
!  * $Log$
 
2980
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2981
!  * Initial checkin.
 
2982
!  *
 
2983
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2984
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2985
!  *                  kerberos compilation support
 
2986
!  *
 
2987
   *
 
2988
   */
 
2989
  
 
2990
  #ifndef _XmtDialogsP_h
 
2991
  #define _XmtDialogsP_h
 
2992
--- 1,19 ----
 
2993
  /* 
 
2994
   * Motif Tools Library, Version 3.1
 
2995
!  * $Id$
 
2996
   * 
 
2997
   * Written by David Flanagan.
 
2998
   * Copyright (c) 1992-2001 by David Flanagan.
 
2999
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3000
   * This is open source software.  See the file LICENSE for details.
 
3001
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3002
   *
 
3003
!  * $Log$
 
3004
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3005
!  * Initial checkin.
 
3006
!  *
 
3007
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3008
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3009
!  *                  kerberos compilation support
 
3010
!  *
 
3011
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3012
!  * *** empty log message ***
 
3013
!  *
 
3014
   *
 
3015
   */
 
3016
  
 
3017
  #ifndef _XmtDialogsP_h
 
3018
  #define _XmtDialogsP_h
 
3019
diff -bpcBNC 5 Xmt310/Xmt/Discard.c Xmt310.ge/Xmt/Discard.c
 
3020
*** Xmt310/Xmt/Discard.c        Sun Feb  4 22:38:48 2001
 
3021
--- Xmt310.ge/Xmt/Discard.c     Tue Jun 12 18:25:28 2001
 
3022
***************
 
3023
*** 1,16 ****
 
3024
  /* 
 
3025
   * Motif Tools Library, Version 3.1
 
3026
!  * $Id$
 
3027
   * 
 
3028
   * Written by David Flanagan.
 
3029
   * Copyright (c) 1992-2001 by David Flanagan.
 
3030
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3031
   * This is open source software.  See the file LICENSE for details.
 
3032
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3033
   *
 
3034
!  * $Log$
 
3035
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3036
!  * Initial checkin.
 
3037
!  *
 
3038
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3039
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3040
!  *                  kerberos compilation support
 
3041
!  *
 
3042
   *
 
3043
   */
 
3044
  
 
3045
  #include <Xmt/Xmt.h>
 
3046
  #include <Xmt/Util.h>
 
3047
--- 1,19 ----
 
3048
  /* 
 
3049
   * Motif Tools Library, Version 3.1
 
3050
!  * $Id$
 
3051
   * 
 
3052
   * Written by David Flanagan.
 
3053
   * Copyright (c) 1992-2001 by David Flanagan.
 
3054
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3055
   * This is open source software.  See the file LICENSE for details.
 
3056
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3057
   *
 
3058
!  * $Log$
 
3059
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3060
!  * Initial checkin.
 
3061
!  *
 
3062
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3063
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3064
!  *                  kerberos compilation support
 
3065
!  *
 
3066
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3067
!  * *** empty log message ***
 
3068
!  *
 
3069
   *
 
3070
   */
 
3071
  
 
3072
  #include <Xmt/Xmt.h>
 
3073
  #include <Xmt/Util.h>
 
3074
diff -bpcBNC 5 Xmt310/Xmt/EnumCvt.c Xmt310.ge/Xmt/EnumCvt.c
 
3075
*** Xmt310/Xmt/EnumCvt.c        Sun Feb  4 22:38:54 2001
 
3076
--- Xmt310.ge/Xmt/EnumCvt.c     Tue Jun 12 18:25:28 2001
 
3077
***************
 
3078
*** 1,46 ****
 
3079
  /* 
 
3080
   * Motif Tools Library, Version 3.1
 
3081
!  * $Id$
 
3082
   * 
 
3083
   * Written by David Flanagan.
 
3084
   * Copyright (c) 1992-2001 by David Flanagan.
 
3085
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3086
   * This is open source software.  See the file LICENSE for details.
 
3087
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3088
   *
 
3089
!  * $Log$
 
3090
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3091
!  * Initial checkin.
 
3092
!  *
 
3093
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3094
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3095
!  *                  kerberos compilation support
 
3096
!  *
 
3097
   *
 
3098
   */
 
3099
  
 
3100
  #include <Xmt/Xmt.h>
 
3101
  #include <Xmt/ConvertersP.h>
 
3102
  
 
3103
  /* ARGSUSED */
 
3104
  #if NeedFunctionPrototypes
 
3105
  Boolean XmtConvertStringToEnum(Display *dpy,
 
3106
!                              XrmValue *args, Cardinal *num_args,
 
3107
!                              XrmValue *from, XrmValue *to, XtPointer *data)
 
3108
  #else
 
3109
  Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
 
3110
  Display *dpy;
 
3111
! XrmValue *args;
 
3112
  Cardinal *num_args;
 
3113
! XrmValue *from;
 
3114
! XrmValue *to;
 
3115
  XtPointer *data;
 
3116
  #endif
 
3117
  {
 
3118
      String type = *(String *)args[0].addr;
 
3119
      String *names = *(String **)args[1].addr;
 
3120
!     int *values = *(int **)args[2].addr;
 
3121
!     int num = *(int *)args[3].addr;
 
3122
      String *prefixes = *(String **)args[4].addr;
 
3123
      String target = (String) from->addr;
 
3124
      String prefix;
 
3125
      int i;
 
3126
!     static int value;  /* static for converter return */
 
3127
  
 
3128
      /*
 
3129
       * First, strip any of the listed prefixes off of target.
 
3130
       * All of the prefixes are optional, but they must occur in the
 
3131
       * order that they appear in the array in.
 
3132
--- 1,51 ----
 
3133
  /* 
 
3134
   * Motif Tools Library, Version 3.1
 
3135
!  * $Id$
 
3136
   * 
 
3137
   * Written by David Flanagan.
 
3138
   * Copyright (c) 1992-2001 by David Flanagan.
 
3139
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3140
   * This is open source software.  See the file LICENSE for details.
 
3141
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3142
   *
 
3143
!  * $Log$
 
3144
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3145
!  * Initial checkin.
 
3146
!  *
 
3147
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3148
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3149
!  *                  kerberos compilation support
 
3150
!  *
 
3151
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3152
!  * *** empty log message ***
 
3153
!  *
 
3154
   *
 
3155
   */
 
3156
  
 
3157
  #include <Xmt/Xmt.h>
 
3158
  #include <Xmt/ConvertersP.h>
 
3159
  
 
3160
  /* ARGSUSED */
 
3161
  #if NeedFunctionPrototypes
 
3162
  Boolean XmtConvertStringToEnum(Display *dpy,
 
3163
!                                XrmValuePtr args, Cardinal *num_args,
 
3164
!                                XrmValuePtr from, XrmValuePtr to, XtPointer *data)
 
3165
  #else
 
3166
  Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
 
3167
  Display *dpy;
 
3168
! XrmValuePtr args;
 
3169
  Cardinal *num_args;
 
3170
! XrmValuePtr from;
 
3171
! XrmValuePtr to;
 
3172
  XtPointer *data;
 
3173
  #endif
 
3174
  {
 
3175
      String type = *(String *)args[0].addr;
 
3176
      String *names = *(String **)args[1].addr;
 
3177
! /*     Cardinal *values = *(Cardinal**)args[2].addr; */
 
3178
! /*     Cardinal num = (Cardinal)*(XtPointer*)args[3].addr; */
 
3179
!     Cardinal *values = (Cardinal*)*(XtPointer*)args[2].addr;
 
3180
!     Cardinal num = (Cardinal)*(XtPointer*)args[3].addr;
 
3181
      String *prefixes = *(String **)args[4].addr;
 
3182
      String target = (String) from->addr;
 
3183
      String prefix;
 
3184
      int i;
 
3185
!     static Cardinal value;  /* static for converter return */
 
3186
  
 
3187
      /*
 
3188
       * First, strip any of the listed prefixes off of target.
 
3189
       * All of the prefixes are optional, but they must occur in the
 
3190
       * order that they appear in the array in.
 
3191
*************** XtPointer *data;
 
3192
*** 57,66 ****
 
3193
--- 62,74 ----
 
3194
      /*
 
3195
       * now see if the target appears in the names array.
 
3196
       * If not, print a warning and fail.
 
3197
       */
 
3198
      i = XmtBSearch(target, names, num);
 
3199
 
3200
+ /* printf("XmtBSearch(target, names, num) => %d\n", i); */
 
3201
 
3202
      if (i == -1) {
 
3203
          XtDisplayStringConversionWarning(dpy, (String)from->addr, type);
 
3204
          return False;
 
3205
      }
 
3206
      
 
3207
*************** XtPointer *data;
 
3208
*** 73,95 ****
 
3209
      if (to->addr != NULL) {
 
3210
        switch (to->size) {
 
3211
        case sizeof(char):
 
3212
            *(char *)to->addr = value;
 
3213
            break;
 
3214
        case sizeof(short):
 
3215
            *(short *)to->addr = value;
 
3216
            break;
 
3217
!       case sizeof(int):
 
3218
!           *(int *)to->addr = value;
 
3219
            break;
 
3220
        default:
 
3221
!           if (to->size > sizeof(int)) {
 
3222
!               to->size = sizeof(int);
 
3223
!               *(int *)to->addr = value;
 
3224
            }
 
3225
            else {
 
3226
!               to->size = sizeof(int);
 
3227
                return False;
 
3228
            }
 
3229
            break;
 
3230
        }
 
3231
      }
 
3232
--- 81,109 ----
 
3233
      if (to->addr != NULL) {
 
3234
          switch (to->size) {
 
3235
          case sizeof(char):
 
3236
              *(char *)to->addr = value;
 
3237
              break;
 
3238
+ #ifdef CRAY /* short and int are the same size (8 bytes) on the Cray */
 
3239
+         case sizeof(int):
 
3240
+             *(int *)to->addr = value;
 
3241
+             break;
 
3242
+ #else
 
3243
          case sizeof(short):
 
3244
              *(short *)to->addr = value;
 
3245
              break;
 
3246
!         case sizeof(Cardinal):
 
3247
!             *(Cardinal *)to->addr = value;
 
3248
              break;
 
3249
+ #endif
 
3250
          default:
 
3251
!             if (to->size > sizeof(Cardinal)) {
 
3252
!                 to->size = sizeof(Cardinal);
 
3253
!                 *(Cardinal *)to->addr = value;
 
3254
              }
 
3255
              else {
 
3256
!                 to->size = sizeof(Cardinal);
 
3257
                  return False;
 
3258
              }
 
3259
              break;
 
3260
          }
 
3261
      }
 
3262
*************** XtPointer *data;
 
3263
*** 100,117 ****
 
3264
      return True;
 
3265
  }
 
3266
  
 
3267
  
 
3268
  #if NeedFunctionPrototypes
 
3269
! void XmtRegisterEnumConverter(StringConst type, String *names, int *values,
 
3270
!                             int num, String *prefixes)
 
3271
  #else
 
3272
  void XmtRegisterEnumConverter(type, names, values, num, prefixes)
 
3273
  StringConst type;
 
3274
  String *names;
 
3275
! int *values;
 
3276
! int num;
 
3277
  String *prefixes;
 
3278
  #endif
 
3279
  {
 
3280
      XtConvertArgRec args[5];
 
3281
  
 
3282
--- 114,131 ----
 
3283
      return True;
 
3284
  }
 
3285
  
 
3286
  
 
3287
  #if NeedFunctionPrototypes
 
3288
! void XmtRegisterEnumConverter(StringConst type, String *names, Cardinal *values,
 
3289
!                               Cardinal num, String *prefixes)
 
3290
  #else
 
3291
  void XmtRegisterEnumConverter(type, names, values, num, prefixes)
 
3292
  StringConst type;
 
3293
  String *names;
 
3294
! Cardinal *values;
 
3295
! Cardinal num;
 
3296
  String *prefixes;
 
3297
  #endif
 
3298
  {
 
3299
      XtConvertArgRec args[5];
 
3300
  
 
3301
diff -bpcBNC 5 Xmt310/Xmt/FindFile.c Xmt310.ge/Xmt/FindFile.c
 
3302
*** Xmt310/Xmt/FindFile.c       Sun Feb  4 22:39:06 2001
 
3303
--- Xmt310.ge/Xmt/FindFile.c    Tue Jun 12 18:25:28 2001
 
3304
***************
 
3305
*** 1,16 ****
 
3306
  /* 
 
3307
   * Motif Tools Library, Version 3.1
 
3308
!  * $Id$
 
3309
   * 
 
3310
   * Written by David Flanagan.
 
3311
   * Copyright (c) 1992-2001 by David Flanagan.
 
3312
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3313
   * This is open source software.  See the file LICENSE for details.
 
3314
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3315
   *
 
3316
!  * $Log$
 
3317
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3318
!  * Initial checkin.
 
3319
!  *
 
3320
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3321
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3322
!  *                  kerberos compilation support
 
3323
!  *
 
3324
   *
 
3325
   */
 
3326
  
 
3327
  /*
 
3328
   * Portions of this file are derived from the Xt source code.
 
3329
--- 1,19 ----
 
3330
  /* 
 
3331
   * Motif Tools Library, Version 3.1
 
3332
!  * $Id$
 
3333
   * 
 
3334
   * Written by David Flanagan.
 
3335
   * Copyright (c) 1992-2001 by David Flanagan.
 
3336
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3337
   * This is open source software.  See the file LICENSE for details.
 
3338
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3339
   *
 
3340
!  * $Log$
 
3341
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3342
!  * Initial checkin.
 
3343
!  *
 
3344
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3345
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3346
!  *                  kerberos compilation support
 
3347
!  *
 
3348
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3349
!  * *** empty log message ***
 
3350
!  *
 
3351
   *
 
3352
   */
 
3353
  
 
3354
  /*
 
3355
   * Portions of this file are derived from the Xt source code.
 
3356
***************
 
3357
*** 34,43 ****
 
3358
--- 37,47 ----
 
3359
  extern struct passwd *getpwuid(), *getpwnam();
 
3360
  #endif
 
3361
  
 
3362
  #ifndef X_NOT_STDC_ENV
 
3363
  #include <stdlib.h>
 
3364
+ #include <unistd.h>
 
3365
  #else
 
3366
  extern char *getenv();
 
3367
  #endif
 
3368
  
 
3369
  #if NeedFunctionPrototypes
 
3370
diff -bpcBNC 5 Xmt310/Xmt/FontListCvt.c Xmt310.ge/Xmt/FontListCvt.c
 
3371
*** Xmt310/Xmt/FontListCvt.c    Sun Feb  4 22:39:10 2001
 
3372
--- Xmt310.ge/Xmt/FontListCvt.c Tue Jun 12 18:25:28 2001
 
3373
***************
 
3374
*** 1,16 ****
 
3375
  /* 
 
3376
   * Motif Tools Library, Version 3.1
 
3377
!  * $Id$
 
3378
   * 
 
3379
   * Written by David Flanagan.
 
3380
   * Copyright (c) 1992-2001 by David Flanagan.
 
3381
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3382
   * This is open source software.  See the file LICENSE for details.
 
3383
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3384
   *
 
3385
!  * $Log$
 
3386
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3387
!  * Initial checkin.
 
3388
!  *
 
3389
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3390
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3391
!  *                  kerberos compilation support
 
3392
!  *
 
3393
   *
 
3394
   */
 
3395
  
 
3396
  #include <ctype.h>
 
3397
  #include <Xmt/Xmt.h>
 
3398
--- 1,19 ----
 
3399
  /* 
 
3400
   * Motif Tools Library, Version 3.1
 
3401
!  * $Id$
 
3402
   * 
 
3403
   * Written by David Flanagan.
 
3404
   * Copyright (c) 1992-2001 by David Flanagan.
 
3405
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3406
   * This is open source software.  See the file LICENSE for details.
 
3407
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3408
   *
 
3409
!  * $Log$
 
3410
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3411
!  * Initial checkin.
 
3412
!  *
 
3413
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3414
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3415
!  *                  kerberos compilation support
 
3416
!  *
 
3417
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3418
!  * *** empty log message ***
 
3419
!  *
 
3420
   *
 
3421
   */
 
3422
  
 
3423
  #include <ctype.h>
 
3424
  #include <Xmt/Xmt.h>
 
3425
*************** XtPointer *converter_data;
 
3426
*** 38,48 ****
 
3427
--- 41,59 ----
 
3428
      String copy = XtNewString((String) from->addr);
 
3429
      String s;
 
3430
      String next_entry;
 
3431
      String tag;
 
3432
      String tmp;
 
3433
+ #if 0    
 
3434
      XFontStruct *font;
 
3435
+     XFontSet fontset;
 
3436
+     char **missing_list;
 
3437
+     int missing_count;
 
3438
+     int i;
 
3439
+     char *def_string = NULL; 
 
3440
+ #endif    
 
3441
+     XmFontListEntry entry;
 
3442
      XmFontList fontlist = NULL;
 
3443
  
 
3444
      /*
 
3445
       * This XmFontList converter does not handle XFontSets defined in
 
3446
       * X11R5 and Motif 1.2.  This is to make it easier to write, and
 
3447
*************** XtPointer *converter_data;
 
3448
*** 107,116 ****
 
3449
--- 118,129 ----
 
3450
        while(isspace(*s)) s++;
 
3451
        if (!*s) break;
 
3452
  
 
3453
        /* isolate the first entry, and remember start of next entry */
 
3454
        next_entry = strchr(s, ',');
 
3455
+         if (next_entry == NULL)
 
3456
+             next_entry = strchr(s, ':');
 
3457
        if (next_entry) {
 
3458
            *next_entry = '\0';
 
3459
            next_entry++;
 
3460
        }
 
3461
  
 
3462
*************** XtPointer *converter_data;
 
3463
*** 138,147 ****
 
3464
--- 151,192 ----
 
3465
        /* remove any whitespace from the end of the font name */
 
3466
        tmp = s + strlen(s) - 1;
 
3467
        while (isspace(*tmp)) tmp--;
 
3468
        *(++tmp) = '\0';
 
3469
  
 
3470
+ #if 0
 
3471
+         /*
 
3472
+         ** fontset support it is a bit tricky, but needed for multibyte chars
 
3473
+         ** FIXME: figure out how to do it
 
3474
+         */
 
3475
 
3476
+         fontset = XCreateFontSet(dpy, s, &missing_list, &missing_count,
 
3477
+                                         &def_string);
 
3478
+         for (i=0; i<missing_count; i++) {
 
3479
+             printf("missing_list[%d]: '%s'\n", i, missing_list[i]);
 
3480
+             XtFree(missing_list[i]);
 
3481
+         }
 
3482
+         XtFree((char *)missing_list);
 
3483
 
3484
+ #if !defined(SOLARIS) && !defined(SOLARIS64)
 
3485
+         entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
 
3486
+ #else
 
3487
+         entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONTSET, tag);
 
3488
+ #endif
 
3489
+ #endif
 
3490
+         
 
3491
+         /*
 
3492
+         ** FIXME: replace the following line with the correct version
 
3493
+         **        for multibyte chars and fontsets
 
3494
+         */
 
3495
+         entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
 
3496
 
3497
+         fontlist = XmFontListAppendEntry(fontlist, entry);
 
3498
+         XmFontListEntryFree(&entry);
 
3499
+         
 
3500
 
3501
+ #if 0
 
3502
        font = XLoadQueryFont(dpy, s);
 
3503
        if (!font) {
 
3504
            XmtWarningMsg("XmtConvertStringToFontList", "badfont",
 
3505
                          "unknown font '%s'.\n\tUsing default.",
 
3506
                          s);
 
3507
*************** XtPointer *converter_data;
 
3508
*** 159,168 ****
 
3509
--- 204,215 ----
 
3510
        /* and use this font and tag to create or append to the font list */
 
3511
        if (!fontlist)
 
3512
            fontlist = XmFontListCreate(font, tag);
 
3513
        else 
 
3514
            fontlist = XmFontListAdd(fontlist, font, tag);
 
3515
 
3516
+ #endif
 
3517
  
 
3518
        /* finally, move on to the next entry, and start the loop over */
 
3519
        s = next_entry;
 
3520
      }
 
3521
  
 
3522
diff -bpcBNC 5 Xmt310/Xmt/GetPixmap.c Xmt310.ge/Xmt/GetPixmap.c
 
3523
*** Xmt310/Xmt/GetPixmap.c      Sun Feb  4 22:39:16 2001
 
3524
--- Xmt310.ge/Xmt/GetPixmap.c   Tue Jun 12 18:25:28 2001
 
3525
***************
 
3526
*** 1,21 ****
 
3527
  /* 
 
3528
   * Motif Tools Library, Version 3.1
 
3529
!  * $Id$
 
3530
   * 
 
3531
   * Written by David Flanagan.
 
3532
   * Copyright (c) 1992-2001 by David Flanagan.
 
3533
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3534
   * This is open source software.  See the file LICENSE for details.
 
3535
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3536
   *
 
3537
!  * $Log$
 
3538
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3539
!  * Initial checkin.
 
3540
!  *
 
3541
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3542
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3543
!  *                  kerberos compilation support
 
3544
!  *
 
3545
   *
 
3546
   */
 
3547
  
 
3548
  #include <stdio.h>
 
3549
  #include <ctype.h>
 
3550
  #include <Xmt/Xmt.h>
 
3551
  #include <Xmt/Pixmap.h>
 
3552
  #include <Xmt/Xpm.h>
 
3553
  #include <Xmt/Xbm.h>
 
3554
  #include <Xmt/Color.h>
 
3555
--- 1,27 ----
 
3556
  /* 
 
3557
   * Motif Tools Library, Version 3.1
 
3558
!  * $Id$
 
3559
   * 
 
3560
   * Written by David Flanagan.
 
3561
   * Copyright (c) 1992-2001 by David Flanagan.
 
3562
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3563
   * This is open source software.  See the file LICENSE for details.
 
3564
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3565
   *
 
3566
!  * $Log$
 
3567
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3568
!  * Initial checkin.
 
3569
!  *
 
3570
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3571
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3572
!  *                  kerberos compilation support
 
3573
!  *
 
3574
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3575
!  * *** empty log message ***
 
3576
!  *
 
3577
   *
 
3578
   */
 
3579
  
 
3580
  #include <stdio.h>
 
3581
  #include <ctype.h>
 
3582
+ #include <unistd.h>
 
3583
+ #include <stdlib.h>
 
3584
 
3585
  #include <Xmt/Xmt.h>
 
3586
  #include <Xmt/Pixmap.h>
 
3587
  #include <Xmt/Xpm.h>
 
3588
  #include <Xmt/Xbm.h>
 
3589
  #include <Xmt/Color.h>
 
3590
*************** Boolean get_bitmap;
 
3591
*** 56,66 ****
 
3592
      Boolean bitmap_file = False;
 
3593
      XtCacheRef color_table_cache_ref;
 
3594
      XtCacheRef refs[2];
 
3595
      Boolean free_color_table = False;
 
3596
      static int unique_image_number;
 
3597
-     extern char *getenv();
 
3598
  
 
3599
      for(w=object; !XtIsWidget(w); w = XtParent(w));
 
3600
      shell = XmtGetShell(w);
 
3601
  
 
3602
      app = XmtGetApplicationResources(shell);
 
3603
--- 62,71 ----
 
3604
diff -bpcBNC 5 Xmt310/Xmt/HSLtoRGB.c Xmt310.ge/Xmt/HSLtoRGB.c
 
3605
*** Xmt310/Xmt/HSLtoRGB.c       Sun Feb  4 22:39:20 2001
 
3606
--- Xmt310.ge/Xmt/HSLtoRGB.c    Tue Jun 12 18:25:28 2001
 
3607
***************
 
3608
*** 1,18 ****
 
3609
  /* 
 
3610
   * Motif Tools Library, Version 3.1
 
3611
!  * $Id$
 
3612
   * 
 
3613
   * Written by David Flanagan.
 
3614
   * Copyright (c) 1992-2001 by David Flanagan.
 
3615
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3616
   * This is open source software.  See the file LICENSE for details.
 
3617
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3618
   *
 
3619
!  * $Log$
 
3620
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3621
!  * Initial checkin.
 
3622
!  *
 
3623
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3624
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3625
!  *                  kerberos compilation support
 
3626
!  *
 
3627
   *
 
3628
   */
 
3629
  
 
3630
  /*
 
3631
   * RGB <--> HSL conversions were modified from code with the
 
3632
   * following attributions;
 
3633
   *
 
3634
--- 1,23 ----
 
3635
  /* 
 
3636
   * Motif Tools Library, Version 3.1
 
3637
!  * $Id$
 
3638
   * 
 
3639
   * Written by David Flanagan.
 
3640
   * Copyright (c) 1992-2001 by David Flanagan.
 
3641
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3642
   * This is open source software.  See the file LICENSE for details.
 
3643
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3644
   *
 
3645
!  * $Log$
 
3646
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3647
!  * Initial checkin.
 
3648
!  *
 
3649
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3650
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3651
!  *                  kerberos compilation support
 
3652
!  *
 
3653
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3654
!  * *** empty log message ***
 
3655
!  *
 
3656
   *
 
3657
   */
 
3658
 
3659
+ #include <Xmt/Xmt.h>
 
3660
  
 
3661
  /*
 
3662
   * RGB <--> HSL conversions were modified from code with the
 
3663
   * following attributions;
 
3664
   *
 
3665
diff -bpcBNC 5 Xmt310/Xmt/Hash.c Xmt310.ge/Xmt/Hash.c
 
3666
*** Xmt310/Xmt/Hash.c   Sun Feb  4 22:39:26 2001
 
3667
--- Xmt310.ge/Xmt/Hash.c        Tue Jun 12 18:25:28 2001
 
3668
***************
 
3669
*** 1,16 ****
 
3670
  /* 
 
3671
   * Motif Tools Library, Version 3.1
 
3672
!  * $Id$
 
3673
   * 
 
3674
   * Written by David Flanagan.
 
3675
   * Copyright (c) 1992-2001 by David Flanagan.
 
3676
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3677
   * This is open source software.  See the file LICENSE for details.
 
3678
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3679
   *
 
3680
!  * $Log$
 
3681
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3682
!  * Initial checkin.
 
3683
!  *
 
3684
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3685
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3686
!  *                  kerberos compilation support
 
3687
!  *
 
3688
   *
 
3689
   */
 
3690
  
 
3691
  /*
 
3692
   * This file is derived from the X11R5 source code.
 
3693
--- 1,19 ----
 
3694
  /* 
 
3695
   * Motif Tools Library, Version 3.1
 
3696
!  * $Id$
 
3697
   * 
 
3698
   * Written by David Flanagan.
 
3699
   * Copyright (c) 1992-2001 by David Flanagan.
 
3700
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3701
   * This is open source software.  See the file LICENSE for details.
 
3702
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3703
   *
 
3704
!  * $Log$
 
3705
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3706
!  * Initial checkin.
 
3707
!  *
 
3708
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3709
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3710
!  *                  kerberos compilation support
 
3711
!  *
 
3712
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3713
!  * *** empty log message ***
 
3714
!  *
 
3715
   *
 
3716
   */
 
3717
  
 
3718
  /*
 
3719
   * This file is derived from the X11R5 source code.
 
3720
*************** typedef struct _Bucket {        /* Stores one e
 
3721
*** 26,56 ****
 
3722
      struct _Bucket *next;
 
3723
  } Bucket;
 
3724
  
 
3725
  typedef struct _XmtHashTableRec {
 
3726
      Bucket **table;           /* Pointer to array of hash entries. */
 
3727
!     int size;                   /* log2 of the size */
 
3728
!     int mask;                 /* Current size of hash table minus 1. */
 
3729
!     int numentries;           /* Number of entries currently in table. */
 
3730
  } XmtHashTableRec;
 
3731
  
 
3732
  
 
3733
  #define Hash(ht,key) \
 
3734
!     (ht)->table[(((int)(key)) >> 2) & (ht)->mask]
 
3735
  
 
3736
  #if NeedFunctionPrototypes
 
3737
  static void ResizeTable(register XmtHashTable ht, Boolean grow)    
 
3738
  #else
 
3739
  static void ResizeTable(ht, grow)
 
3740
  register XmtHashTable ht;
 
3741
  Boolean grow;    
 
3742
  #endif
 
3743
  {
 
3744
      Bucket **otable;
 
3745
!     int otablesize;
 
3746
      register Bucket *bucket, *next, **head;
 
3747
!     register int i;
 
3748
  
 
3749
      otable = ht->table;
 
3750
      otablesize =  1 << ht->size;
 
3751
  
 
3752
      if (grow) ht->size++;
 
3753
--- 29,59 ----
 
3754
      struct _Bucket *next;
 
3755
  } Bucket;
 
3756
  
 
3757
  typedef struct _XmtHashTableRec {
 
3758
      Bucket **table;           /* Pointer to array of hash entries. */
 
3759
!     long size;                   /* log2 of the size */
 
3760
!     long mask;                        /* Current size of hash table minus 1. */
 
3761
!     long numentries;          /* Number of entries currently in table. */
 
3762
  } XmtHashTableRec;
 
3763
  
 
3764
  
 
3765
  #define Hash(ht,key) \
 
3766
!     (ht)->table[(((long)(key)) >> 2) & (ht)->mask]
 
3767
  
 
3768
  #if NeedFunctionPrototypes
 
3769
  static void ResizeTable(register XmtHashTable ht, Boolean grow)    
 
3770
  #else
 
3771
  static void ResizeTable(ht, grow)
 
3772
  register XmtHashTable ht;
 
3773
  Boolean grow;    
 
3774
  #endif
 
3775
  {
 
3776
      Bucket **otable;
 
3777
!     long otablesize;
 
3778
      register Bucket *bucket, *next, **head;
 
3779
!     register long i;
 
3780
  
 
3781
      otable = ht->table;
 
3782
      otablesize =  1 << ht->size;
 
3783
  
 
3784
      if (grow) ht->size++;
 
3785
*************** void XmtHashTableDestroy(XmtHashTable ht
 
3786
*** 92,102 ****
 
3787
  #else
 
3788
  void XmtHashTableDestroy(ht)
 
3789
  XmtHashTable ht;
 
3790
  #endif
 
3791
  {
 
3792
!     register int i;
 
3793
      register Bucket *bucket, *next;
 
3794
  
 
3795
      for(i=0; i < ht->mask+1; i++) {
 
3796
        for (bucket = ht->table[i]; bucket; bucket = next) {
 
3797
            next = bucket->next;
 
3798
--- 95,105 ----
 
3799
  #else
 
3800
  void XmtHashTableDestroy(ht)
 
3801
  XmtHashTable ht;
 
3802
  #endif
 
3803
  {
 
3804
!     register long i;
 
3805
      register Bucket *bucket, *next;
 
3806
  
 
3807
      for(i=0; i < ht->mask+1; i++) {
 
3808
        for (bucket = ht->table[i]; bucket; bucket = next) {
 
3809
            next = bucket->next;
 
3810
*************** void XmtHashTableForEach(XmtHashTable ta
 
3811
*** 113,123 ****
 
3812
  void XmtHashTableForEach(table, proc)
 
3813
  XmtHashTable table;
 
3814
  XmtHashTableForEachProc proc;
 
3815
  #endif
 
3816
  {
 
3817
!     register int i;
 
3818
      register Bucket *bucket;
 
3819
  
 
3820
      for(i=0; i < table->mask+1; i++) {
 
3821
        for (bucket = table->table[i]; bucket; bucket = bucket->next)
 
3822
            (*proc)(table, bucket->key, &bucket->data);
 
3823
--- 116,126 ----
 
3824
  void XmtHashTableForEach(table, proc)
 
3825
  XmtHashTable table;
 
3826
  XmtHashTableForEachProc proc;
 
3827
  #endif
 
3828
  {
 
3829
!     register long i;
 
3830
      register Bucket *bucket;
 
3831
  
 
3832
      for(i=0; i < table->mask+1; i++) {
 
3833
        for (bucket = table->table[i]; bucket; bucket = bucket->next)
 
3834
            (*proc)(table, bucket->key, &bucket->data);
 
3835
diff -bpcBNC 5 Xmt310/Xmt/Hash.h Xmt310.ge/Xmt/Hash.h
 
3836
*** Xmt310/Xmt/Hash.h   Sun Feb  4 22:39:30 2001
 
3837
--- Xmt310.ge/Xmt/Hash.h        Tue Jun 12 18:25:28 2001
 
3838
***************
 
3839
*** 1,16 ****
 
3840
  /* 
 
3841
   * Motif Tools Library, Version 3.1
 
3842
!  * $Id$
 
3843
   * 
 
3844
   * Written by David Flanagan.
 
3845
   * Copyright (c) 1992-2001 by David Flanagan.
 
3846
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3847
   * This is open source software.  See the file LICENSE for details.
 
3848
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3849
   *
 
3850
!  * $Log$
 
3851
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3852
!  * Initial checkin.
 
3853
!  *
 
3854
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3855
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3856
!  *                  kerberos compilation support
 
3857
!  *
 
3858
   *
 
3859
   */
 
3860
  
 
3861
  #ifndef _XmtHash_h
 
3862
  #define _XmtHash_h
 
3863
--- 1,19 ----
 
3864
  /* 
 
3865
   * Motif Tools Library, Version 3.1
 
3866
!  * $Id$
 
3867
   * 
 
3868
   * Written by David Flanagan.
 
3869
   * Copyright (c) 1992-2001 by David Flanagan.
 
3870
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3871
   * This is open source software.  See the file LICENSE for details.
 
3872
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3873
   *
 
3874
!  * $Log$
 
3875
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3876
!  * Initial checkin.
 
3877
!  *
 
3878
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3879
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3880
!  *                  kerberos compilation support
 
3881
!  *
 
3882
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3883
!  * *** empty log message ***
 
3884
!  *
 
3885
   *
 
3886
   */
 
3887
  
 
3888
  #ifndef _XmtHash_h
 
3889
  #define _XmtHash_h
 
3890
diff -bpcBNC 5 Xmt310/Xmt/Help.h Xmt310.ge/Xmt/Help.h
 
3891
*** Xmt310/Xmt/Help.h   Sun Feb  4 22:39:38 2001
 
3892
--- Xmt310.ge/Xmt/Help.h        Tue Jun 12 18:25:28 2001
 
3893
***************
 
3894
*** 1,16 ****
 
3895
  /* 
 
3896
   * Motif Tools Library, Version 3.1
 
3897
!  * $Id$
 
3898
   * 
 
3899
   * Written by David Flanagan.
 
3900
   * Copyright (c) 1992-2001 by David Flanagan.
 
3901
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3902
   * This is open source software.  See the file LICENSE for details.
 
3903
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3904
   *
 
3905
!  * $Log$
 
3906
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3907
!  * Initial checkin.
 
3908
!  *
 
3909
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3910
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3911
!  *                  kerberos compilation support
 
3912
!  *
 
3913
   *
 
3914
   */
 
3915
  
 
3916
  #ifndef _XmtHelp_h
 
3917
  #define _XmtHelp_h
 
3918
--- 1,19 ----
 
3919
  /* 
 
3920
   * Motif Tools Library, Version 3.1
 
3921
!  * $Id$
 
3922
   * 
 
3923
   * Written by David Flanagan.
 
3924
   * Copyright (c) 1992-2001 by David Flanagan.
 
3925
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3926
   * This is open source software.  See the file LICENSE for details.
 
3927
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3928
   *
 
3929
!  * $Log$
 
3930
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3931
!  * Initial checkin.
 
3932
!  *
 
3933
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3934
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3935
!  *                  kerberos compilation support
 
3936
!  *
 
3937
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3938
!  * *** empty log message ***
 
3939
!  *
 
3940
   *
 
3941
   */
 
3942
  
 
3943
  #ifndef _XmtHelp_h
 
3944
  #define _XmtHelp_h
 
3945
diff -bpcBNC 5 Xmt310/Xmt/HelpBox.c Xmt310.ge/Xmt/HelpBox.c
 
3946
*** Xmt310/Xmt/HelpBox.c        Sun Feb  4 22:39:42 2001
 
3947
--- Xmt310.ge/Xmt/HelpBox.c     Tue Jun 12 18:25:28 2001
 
3948
***************
 
3949
*** 1,16 ****
 
3950
  /* 
 
3951
   * Motif Tools Library, Version 3.1
 
3952
!  * $Id$
 
3953
   * 
 
3954
   * Written by David Flanagan.
 
3955
   * Copyright (c) 1992-2001 by David Flanagan.
 
3956
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3957
   * This is open source software.  See the file LICENSE for details.
 
3958
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3959
   *
 
3960
!  * $Log$
 
3961
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3962
!  * Initial checkin.
 
3963
!  *
 
3964
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3965
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3966
!  *                  kerberos compilation support
 
3967
!  *
 
3968
   *
 
3969
   */
 
3970
  
 
3971
  #include <stdio.h>
 
3972
  #include <Xmt/XmtP.h>
 
3973
--- 1,19 ----
 
3974
  /* 
 
3975
   * Motif Tools Library, Version 3.1
 
3976
!  * $Id$
 
3977
   * 
 
3978
   * Written by David Flanagan.
 
3979
   * Copyright (c) 1992-2001 by David Flanagan.
 
3980
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
3981
   * This is open source software.  See the file LICENSE for details.
 
3982
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3983
   *
 
3984
!  * $Log$
 
3985
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3986
!  * Initial checkin.
 
3987
!  *
 
3988
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3989
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3990
!  *                  kerberos compilation support
 
3991
!  *
 
3992
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3993
!  * *** empty log message ***
 
3994
!  *
 
3995
   *
 
3996
   */
 
3997
  
 
3998
  #include <stdio.h>
 
3999
  #include <Xmt/XmtP.h>
 
4000
diff -bpcBNC 5 Xmt310/Xmt/HelpBox.h Xmt310.ge/Xmt/HelpBox.h
 
4001
*** Xmt310/Xmt/HelpBox.h        Sun Feb  4 22:39:46 2001
 
4002
--- Xmt310.ge/Xmt/HelpBox.h     Tue Jun 12 18:25:28 2001
 
4003
***************
 
4004
*** 1,16 ****
 
4005
  /* 
 
4006
   * Motif Tools Library, Version 3.1
 
4007
!  * $Id$
 
4008
   * 
 
4009
   * Written by David Flanagan.
 
4010
   * Copyright (c) 1992-2001 by David Flanagan.
 
4011
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4012
   * This is open source software.  See the file LICENSE for details.
 
4013
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4014
   *
 
4015
!  * $Log$
 
4016
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4017
!  * Initial checkin.
 
4018
!  *
 
4019
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4020
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4021
!  *                  kerberos compilation support
 
4022
!  *
 
4023
   *
 
4024
   */
 
4025
  
 
4026
  #ifndef _XmtHelpBox_h
 
4027
  #define _XmtHelpBox_h    
 
4028
--- 1,19 ----
 
4029
  /* 
 
4030
   * Motif Tools Library, Version 3.1
 
4031
!  * $Id$
 
4032
   * 
 
4033
   * Written by David Flanagan.
 
4034
   * Copyright (c) 1992-2001 by David Flanagan.
 
4035
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4036
   * This is open source software.  See the file LICENSE for details.
 
4037
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4038
   *
 
4039
!  * $Log$
 
4040
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4041
!  * Initial checkin.
 
4042
!  *
 
4043
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4044
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4045
!  *                  kerberos compilation support
 
4046
!  *
 
4047
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4048
!  * *** empty log message ***
 
4049
!  *
 
4050
   *
 
4051
   */
 
4052
  
 
4053
  #ifndef _XmtHelpBox_h
 
4054
  #define _XmtHelpBox_h    
 
4055
diff -bpcBNC 5 Xmt310/Xmt/HelpBoxP.h Xmt310.ge/Xmt/HelpBoxP.h
 
4056
*** Xmt310/Xmt/HelpBoxP.h       Sun Feb  4 22:39:50 2001
 
4057
--- Xmt310.ge/Xmt/HelpBoxP.h    Tue Jun 12 18:25:28 2001
 
4058
***************
 
4059
*** 1,16 ****
 
4060
  /* 
 
4061
   * Motif Tools Library, Version 3.1
 
4062
!  * $Id$
 
4063
   * 
 
4064
   * Written by David Flanagan.
 
4065
   * Copyright (c) 1992-2001 by David Flanagan.
 
4066
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4067
   * This is open source software.  See the file LICENSE for details.
 
4068
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4069
   *
 
4070
!  * $Log$
 
4071
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4072
!  * Initial checkin.
 
4073
!  *
 
4074
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4075
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4076
!  *                  kerberos compilation support
 
4077
!  *
 
4078
   *
 
4079
   */
 
4080
  
 
4081
  #ifndef _XmtHelpBoxP_h
 
4082
  #define _XmtHelpBoxP_h    
 
4083
--- 1,19 ----
 
4084
  /* 
 
4085
   * Motif Tools Library, Version 3.1
 
4086
!  * $Id$
 
4087
   * 
 
4088
   * Written by David Flanagan.
 
4089
   * Copyright (c) 1992-2001 by David Flanagan.
 
4090
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4091
   * This is open source software.  See the file LICENSE for details.
 
4092
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4093
   *
 
4094
!  * $Log$
 
4095
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4096
!  * Initial checkin.
 
4097
!  *
 
4098
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4099
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4100
!  *                  kerberos compilation support
 
4101
!  *
 
4102
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4103
!  * *** empty log message ***
 
4104
!  *
 
4105
   *
 
4106
   */
 
4107
  
 
4108
  #ifndef _XmtHelpBoxP_h
 
4109
  #define _XmtHelpBoxP_h    
 
4110
diff -bpcBNC 5 Xmt310/Xmt/HelpBoxS.c Xmt310.ge/Xmt/HelpBoxS.c
 
4111
*** Xmt310/Xmt/HelpBoxS.c       Sun Feb  4 22:39:56 2001
 
4112
--- Xmt310.ge/Xmt/HelpBoxS.c    Tue Jun 12 18:25:28 2001
 
4113
***************
 
4114
*** 1,16 ****
 
4115
  /* 
 
4116
   * Motif Tools Library, Version 3.1
 
4117
!  * $Id$
 
4118
   * 
 
4119
   * Written by David Flanagan.
 
4120
   * Copyright (c) 1992-2001 by David Flanagan.
 
4121
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4122
   * This is open source software.  See the file LICENSE for details.
 
4123
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4124
   *
 
4125
!  * $Log$
 
4126
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4127
!  * Initial checkin.
 
4128
!  *
 
4129
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4130
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4131
!  *                  kerberos compilation support
 
4132
!  *
 
4133
   *
 
4134
   */
 
4135
  #include <X11/Intrinsic.h>
 
4136
  #ifndef _Xconst
 
4137
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
4138
--- 1,19 ----
 
4139
  /* 
 
4140
   * Motif Tools Library, Version 3.1
 
4141
!  * $Id$
 
4142
   * 
 
4143
   * Written by David Flanagan.
 
4144
   * Copyright (c) 1992-2001 by David Flanagan.
 
4145
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4146
   * This is open source software.  See the file LICENSE for details.
 
4147
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4148
   *
 
4149
!  * $Log$
 
4150
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4151
!  * Initial checkin.
 
4152
!  *
 
4153
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4154
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4155
!  *                  kerberos compilation support
 
4156
!  *
 
4157
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4158
!  * *** empty log message ***
 
4159
!  *
 
4160
   *
 
4161
   */
 
4162
  #include <X11/Intrinsic.h>
 
4163
  #ifndef _Xconst
 
4164
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
4165
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowser.c Xmt310.ge/Xmt/HelpBrowser.c
 
4166
*** Xmt310/Xmt/HelpBrowser.c    Sun Feb  4 22:40:00 2001
 
4167
--- Xmt310.ge/Xmt/HelpBrowser.c Tue Jun 12 18:25:28 2001
 
4168
***************
 
4169
*** 1,16 ****
 
4170
  /* 
 
4171
   * Motif Tools Library, Version 3.1
 
4172
!  * $Id$
 
4173
   * 
 
4174
   * Written by David Flanagan.
 
4175
   * Copyright (c) 1992-2001 by David Flanagan.
 
4176
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4177
   * This is open source software.  See the file LICENSE for details.
 
4178
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4179
   *
 
4180
!  * $Log$
 
4181
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4182
!  * Initial checkin.
 
4183
!  *
 
4184
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4185
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4186
!  *                  kerberos compilation support
 
4187
!  *
 
4188
   *
 
4189
   */
 
4190
  
 
4191
  #include <Xmt/XmtP.h>
 
4192
  #include <Xmt/HelpBrowserP.h>
 
4193
--- 1,19 ----
 
4194
  /* 
 
4195
   * Motif Tools Library, Version 3.1
 
4196
!  * $Id$
 
4197
   * 
 
4198
   * Written by David Flanagan.
 
4199
   * Copyright (c) 1992-2001 by David Flanagan.
 
4200
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4201
   * This is open source software.  See the file LICENSE for details.
 
4202
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4203
   *
 
4204
!  * $Log$
 
4205
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4206
!  * Initial checkin.
 
4207
!  *
 
4208
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4209
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4210
!  *                  kerberos compilation support
 
4211
!  *
 
4212
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4213
!  * *** empty log message ***
 
4214
!  *
 
4215
   *
 
4216
   */
 
4217
  
 
4218
  #include <Xmt/XmtP.h>
 
4219
  #include <Xmt/HelpBrowserP.h>
 
4220
*************** Widget w;
 
4221
*** 420,430 ****
 
4222
      ac = 0;
 
4223
      XtSetArg(args[ac], XmNfontList, hb->help_browser.toc_font_list); ac++;
 
4224
      XtSetArg(args[ac], XmNvisibleItemCount, hb->help_browser.toc_rows); ac++;
 
4225
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
4226
      hb->help_browser.toc_w = XmCreateScrolledList(w, "toc", args, ac);
 
4227
!     label = XmtCreateXmString(hb->help_browser.toc_label);
 
4228
      XtVaSetValues(XtParent(hb->help_browser.toc_w),
 
4229
                  XmtNlayoutCaption, label,
 
4230
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
4231
                  XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
 
4232
                  NULL);
 
4233
--- 423,433 ----
 
4234
      ac = 0;
 
4235
      XtSetArg(args[ac], XmNfontList, hb->help_browser.toc_font_list); ac++;
 
4236
      XtSetArg(args[ac], XmNvisibleItemCount, hb->help_browser.toc_rows); ac++;
 
4237
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
4238
      hb->help_browser.toc_w = XmCreateScrolledList(w, "toc", args, ac);
 
4239
!     label = XmtCreateLocalizedXmString(w, hb->help_browser.toc_label);
 
4240
      XtVaSetValues(XtParent(hb->help_browser.toc_w),
 
4241
                  XmtNlayoutCaption, label,
 
4242
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
4243
                  XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
 
4244
                  NULL);
 
4245
*************** Widget w;
 
4246
*** 433,443 ****
 
4247
  
 
4248
      ac = 0;
 
4249
      XtSetArg(args[ac], XmNfontList, hb->help_browser.index_font_list); ac++;
 
4250
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
4251
      hb->help_browser.index_w = XmCreateScrolledList(w, "index", args, ac);
 
4252
!     label = XmtCreateXmString(hb->help_browser.index_label);
 
4253
      XtVaSetValues(XtParent(hb->help_browser.index_w),
 
4254
                  XmtNlayoutCaption, label,
 
4255
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
4256
                  XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
 
4257
                  XmtNlayoutStretchability, 0,
 
4258
--- 436,446 ----
 
4259
  
 
4260
      ac = 0;
 
4261
      XtSetArg(args[ac], XmNfontList, hb->help_browser.index_font_list); ac++;
 
4262
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
4263
      hb->help_browser.index_w = XmCreateScrolledList(w, "index", args, ac);
 
4264
!     label = XmtCreateLocalizedXmString(w, hb->help_browser.index_label);
 
4265
      XtVaSetValues(XtParent(hb->help_browser.index_w),
 
4266
                  XmtNlayoutCaption, label,
 
4267
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
4268
                  XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
 
4269
                  XmtNlayoutStretchability, 0,
 
4270
*************** Widget w;
 
4271
*** 463,473 ****
 
4272
                      UpCallback, (XtPointer)hb);
 
4273
                      
 
4274
      }
 
4275
      XtCreateManagedWidget("", xmSeparatorWidgetClass,
 
4276
                          hb->help_browser.text_title_pane, NULL, 0);
 
4277
!     label = XmtCreateXmString(hb->help_browser.crossref_label);
 
4278
      hb->help_browser.see_also_label = 
 
4279
        XtVaCreateManagedWidget("", xmLabelWidgetClass,
 
4280
                                hb->help_browser.text_title_pane,
 
4281
                                XmNlabelString, label,
 
4282
                                XmNfontList,hb->help_browser.section_font_list,
 
4283
--- 466,476 ----
 
4284
                      UpCallback, (XtPointer)hb);
 
4285
                      
 
4286
      }
 
4287
      XtCreateManagedWidget("", xmSeparatorWidgetClass,
 
4288
                          hb->help_browser.text_title_pane, NULL, 0);
 
4289
!     label = XmtCreateLocalizedXmString(w, hb->help_browser.crossref_label);
 
4290
      hb->help_browser.see_also_label = 
 
4291
        XtVaCreateManagedWidget("", xmLabelWidgetClass,
 
4292
                                hb->help_browser.text_title_pane,
 
4293
                                XmNlabelString, label,
 
4294
                                XmNfontList,hb->help_browser.section_font_list,
 
4295
*************** Widget w;
 
4296
*** 566,588 ****
 
4297
      ac = 0;
 
4298
      XtSetArg(args[ac], XmNlabelString, NULL); ac++;
 
4299
      XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;        
 
4300
      
 
4301
      args[0].value =
 
4302
!       (XtArgVal)XmtCreateXmString(hb->help_browser.next_label);
 
4303
      hb->help_browser.next_w =
 
4304
        XtCreateManagedWidget("next", xmPushButtonWidgetClass, w, args, ac);
 
4305
      XmStringFree((XmString)args[0].value);
 
4306
  
 
4307
      args[0].value =
 
4308
!       (XtArgVal)XmtCreateXmString(hb->help_browser.prev_label);
 
4309
      hb->help_browser.prev_w =
 
4310
        XtCreateManagedWidget("prev", xmPushButtonWidgetClass, w, args, ac);
 
4311
      XmStringFree((XmString)args[0].value);
 
4312
  
 
4313
      args[0].value =
 
4314
!       (XtArgVal)XmtCreateXmString(hb->help_browser.done_label);
 
4315
      hb->help_browser.done_w =
 
4316
        XtCreateWidget("done", xmPushButtonWidgetClass, w, args, ac);
 
4317
      /* give this button a large margin to set it off from the others */
 
4318
      XtVaSetValues(hb->help_browser.done_w, XmtNlayoutMarginWidth, 15, NULL);
 
4319
      XtManageChild(hb->help_browser.done_w);
 
4320
--- 569,591 ----
 
4321
      ac = 0;
 
4322
      XtSetArg(args[ac], XmNlabelString, NULL); ac++;
 
4323
      XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;        
 
4324
      
 
4325
      args[0].value =
 
4326
!       (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.next_label);
 
4327
      hb->help_browser.next_w =
 
4328
        XtCreateManagedWidget("next", xmPushButtonWidgetClass, w, args, ac);
 
4329
      XmStringFree((XmString)args[0].value);
 
4330
  
 
4331
      args[0].value =
 
4332
!       (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.prev_label);
 
4333
      hb->help_browser.prev_w =
 
4334
        XtCreateManagedWidget("prev", xmPushButtonWidgetClass, w, args, ac);
 
4335
      XmStringFree((XmString)args[0].value);
 
4336
  
 
4337
      args[0].value =
 
4338
!       (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.done_label);
 
4339
      hb->help_browser.done_w =
 
4340
        XtCreateWidget("done", xmPushButtonWidgetClass, w, args, ac);
 
4341
      /* give this button a large margin to set it off from the others */
 
4342
      XtVaSetValues(hb->help_browser.done_w, XmtNlayoutMarginWidth, 15, NULL);
 
4343
      XtManageChild(hb->help_browser.done_w);
 
4344
*************** Cardinal *num_args;
 
4345
*** 1316,1338 ****
 
4346
        XtVaSetValues(sw->help_browser.index_title_g, XmtNlabel,
 
4347
                      sw->help_browser.index_label, NULL);
 
4348
        sw->help_browser.index_label = empty_string;
 
4349
      }
 
4350
      if (Changed(next_label)) {
 
4351
!       label = XmtCreateXmString(sw->help_browser.next_label);
 
4352
        XtVaSetValues(sw->help_browser.next_w, XmNlabelString, label, NULL);
 
4353
        XmStringFree(label);
 
4354
        sw->help_browser.next_label = empty_string;
 
4355
      }
 
4356
      if (Changed(prev_label)) {
 
4357
!       label = XmtCreateXmString(sw->help_browser.prev_label);
 
4358
        XtVaSetValues(sw->help_browser.prev_w, XmNlabelString, label, NULL);
 
4359
        XmStringFree(label);
 
4360
        sw->help_browser.prev_label = empty_string;
 
4361
      }
 
4362
      if (Changed(done_label)) {
 
4363
!       label = XmtCreateXmString(sw->help_browser.done_label);
 
4364
        XtVaSetValues(sw->help_browser.done_w, XmNlabelString, label, NULL);
 
4365
        XmStringFree(label);
 
4366
        sw->help_browser.done_label = empty_string;
 
4367
      }
 
4368
  
 
4369
--- 1319,1341 ----
 
4370
        XtVaSetValues(sw->help_browser.index_title_g, XmtNlabel,
 
4371
                      sw->help_browser.index_label, NULL);
 
4372
        sw->help_browser.index_label = empty_string;
 
4373
      }
 
4374
      if (Changed(next_label)) {
 
4375
!       label = XmtCreateLocalizedXmString((Widget)sw, sw->help_browser.next_label);
 
4376
        XtVaSetValues(sw->help_browser.next_w, XmNlabelString, label, NULL);
 
4377
        XmStringFree(label);
 
4378
        sw->help_browser.next_label = empty_string;
 
4379
      }
 
4380
      if (Changed(prev_label)) {
 
4381
!       label = XmtCreateLocalizedXmString((Widget) sw, sw->help_browser.prev_label);
 
4382
        XtVaSetValues(sw->help_browser.prev_w, XmNlabelString, label, NULL);
 
4383
        XmStringFree(label);
 
4384
        sw->help_browser.prev_label = empty_string;
 
4385
      }
 
4386
      if (Changed(done_label)) {
 
4387
!       label = XmtCreateLocalizedXmString((Widget) sw, sw->help_browser.done_label);
 
4388
        XtVaSetValues(sw->help_browser.done_w, XmNlabelString, label, NULL);
 
4389
        XmStringFree(label);
 
4390
        sw->help_browser.done_label = empty_string;
 
4391
      }
 
4392
  
 
4393
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowser.h Xmt310.ge/Xmt/HelpBrowser.h
 
4394
*** Xmt310/Xmt/HelpBrowser.h    Sun Feb  4 22:40:04 2001
 
4395
--- Xmt310.ge/Xmt/HelpBrowser.h Tue Jun 12 18:25:28 2001
 
4396
***************
 
4397
*** 1,16 ****
 
4398
  /* 
 
4399
   * Motif Tools Library, Version 3.1
 
4400
!  * $Id$
 
4401
   * 
 
4402
   * Written by David Flanagan.
 
4403
   * Copyright (c) 1992-2001 by David Flanagan.
 
4404
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4405
   * This is open source software.  See the file LICENSE for details.
 
4406
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4407
   *
 
4408
!  * $Log$
 
4409
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4410
!  * Initial checkin.
 
4411
!  *
 
4412
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4413
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4414
!  *                  kerberos compilation support
 
4415
!  *
 
4416
   *
 
4417
   */
 
4418
  
 
4419
  #ifndef _XmtHelpBrowser_h
 
4420
  #define _XmtHelpBrowser_h
 
4421
--- 1,19 ----
 
4422
  /* 
 
4423
   * Motif Tools Library, Version 3.1
 
4424
!  * $Id$
 
4425
   * 
 
4426
   * Written by David Flanagan.
 
4427
   * Copyright (c) 1992-2001 by David Flanagan.
 
4428
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4429
   * This is open source software.  See the file LICENSE for details.
 
4430
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4431
   *
 
4432
!  * $Log$
 
4433
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4434
!  * Initial checkin.
 
4435
!  *
 
4436
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4437
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4438
!  *                  kerberos compilation support
 
4439
!  *
 
4440
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4441
!  * *** empty log message ***
 
4442
!  *
 
4443
   *
 
4444
   */
 
4445
  
 
4446
  #ifndef _XmtHelpBrowser_h
 
4447
  #define _XmtHelpBrowser_h
 
4448
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowserP.h Xmt310.ge/Xmt/HelpBrowserP.h
 
4449
*** Xmt310/Xmt/HelpBrowserP.h   Sun Feb  4 22:40:08 2001
 
4450
--- Xmt310.ge/Xmt/HelpBrowserP.h        Tue Jun 12 18:25:28 2001
 
4451
***************
 
4452
*** 1,16 ****
 
4453
  /* 
 
4454
   * Motif Tools Library, Version 3.1
 
4455
!  * $Id$
 
4456
   * 
 
4457
   * Written by David Flanagan.
 
4458
   * Copyright (c) 1992-2001 by David Flanagan.
 
4459
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4460
   * This is open source software.  See the file LICENSE for details.
 
4461
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4462
   *
 
4463
!  * $Log$
 
4464
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4465
!  * Initial checkin.
 
4466
!  *
 
4467
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4468
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4469
!  *                  kerberos compilation support
 
4470
!  *
 
4471
   *
 
4472
   */
 
4473
  
 
4474
  #ifndef _XmtHelpBrowserP_h
 
4475
  #define _XmtHelpBrowserP_h
 
4476
--- 1,19 ----
 
4477
  /* 
 
4478
   * Motif Tools Library, Version 3.1
 
4479
!  * $Id$
 
4480
   * 
 
4481
   * Written by David Flanagan.
 
4482
   * Copyright (c) 1992-2001 by David Flanagan.
 
4483
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4484
   * This is open source software.  See the file LICENSE for details.
 
4485
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4486
   *
 
4487
!  * $Log$
 
4488
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4489
!  * Initial checkin.
 
4490
!  *
 
4491
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4492
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4493
!  *                  kerberos compilation support
 
4494
!  *
 
4495
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4496
!  * *** empty log message ***
 
4497
!  *
 
4498
   *
 
4499
   */
 
4500
  
 
4501
  #ifndef _XmtHelpBrowserP_h
 
4502
  #define _XmtHelpBrowserP_h
 
4503
diff -bpcBNC 5 Xmt310/Xmt/HelpBrowserS.c Xmt310.ge/Xmt/HelpBrowserS.c
 
4504
*** Xmt310/Xmt/HelpBrowserS.c   Sun Feb  4 22:40:12 2001
 
4505
--- Xmt310.ge/Xmt/HelpBrowserS.c        Tue Jun 12 18:25:28 2001
 
4506
***************
 
4507
*** 1,16 ****
 
4508
  /* 
 
4509
   * Motif Tools Library, Version 3.1
 
4510
!  * $Id$
 
4511
   * 
 
4512
   * Written by David Flanagan.
 
4513
   * Copyright (c) 1992-2001 by David Flanagan.
 
4514
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4515
   * This is open source software.  See the file LICENSE for details.
 
4516
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4517
   *
 
4518
!  * $Log$
 
4519
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4520
!  * Initial checkin.
 
4521
!  *
 
4522
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4523
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4524
!  *                  kerberos compilation support
 
4525
!  *
 
4526
   *
 
4527
   */
 
4528
  #include <X11/Intrinsic.h>
 
4529
  #ifndef _Xconst
 
4530
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
4531
--- 1,19 ----
 
4532
  /* 
 
4533
   * Motif Tools Library, Version 3.1
 
4534
!  * $Id$
 
4535
   * 
 
4536
   * Written by David Flanagan.
 
4537
   * Copyright (c) 1992-2001 by David Flanagan.
 
4538
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4539
   * This is open source software.  See the file LICENSE for details.
 
4540
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4541
   *
 
4542
!  * $Log$
 
4543
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4544
!  * Initial checkin.
 
4545
!  *
 
4546
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4547
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4548
!  *                  kerberos compilation support
 
4549
!  *
 
4550
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4551
!  * *** empty log message ***
 
4552
!  *
 
4553
   *
 
4554
   */
 
4555
  #include <X11/Intrinsic.h>
 
4556
  #ifndef _Xconst
 
4557
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
4558
diff -bpcBNC 5 Xmt310/Xmt/HelpNode.c Xmt310.ge/Xmt/HelpNode.c
 
4559
*** Xmt310/Xmt/HelpNode.c       Sun Feb  4 22:40:16 2001
 
4560
--- Xmt310.ge/Xmt/HelpNode.c    Tue Jun 12 18:25:28 2001
 
4561
***************
 
4562
*** 1,16 ****
 
4563
  /* 
 
4564
   * Motif Tools Library, Version 3.1
 
4565
!  * $Id$
 
4566
   * 
 
4567
   * Written by David Flanagan.
 
4568
   * Copyright (c) 1992-2001 by David Flanagan.
 
4569
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4570
   * This is open source software.  See the file LICENSE for details.
 
4571
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4572
   *
 
4573
!  * $Log$
 
4574
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4575
!  * Initial checkin.
 
4576
!  *
 
4577
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4578
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4579
!  *                  kerberos compilation support
 
4580
!  *
 
4581
   *
 
4582
   */
 
4583
  
 
4584
  #include <stdio.h>
 
4585
  #include <ctype.h>
 
4586
--- 1,19 ----
 
4587
  /* 
 
4588
   * Motif Tools Library, Version 3.1
 
4589
!  * $Id$
 
4590
   * 
 
4591
   * Written by David Flanagan.
 
4592
   * Copyright (c) 1992-2001 by David Flanagan.
 
4593
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4594
   * This is open source software.  See the file LICENSE for details.
 
4595
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4596
   *
 
4597
!  * $Log$
 
4598
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4599
!  * Initial checkin.
 
4600
!  *
 
4601
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4602
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4603
!  *                  kerberos compilation support
 
4604
!  *
 
4605
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4606
!  * *** empty log message ***
 
4607
!  *
 
4608
   *
 
4609
   */
 
4610
  
 
4611
  #include <stdio.h>
 
4612
  #include <ctype.h>
 
4613
diff -bpcBNC 5 Xmt310/Xmt/IBMManage.c Xmt310.ge/Xmt/IBMManage.c
 
4614
*** Xmt310/Xmt/IBMManage.c      Sun Feb  4 22:40:46 2001
 
4615
--- Xmt310.ge/Xmt/IBMManage.c   Tue Jun 12 18:25:28 2001
 
4616
***************
 
4617
*** 1,16 ****
 
4618
  /* 
 
4619
   * Motif Tools Library, Version 3.1
 
4620
!  * $Id$
 
4621
   * 
 
4622
   * Written by David Flanagan.
 
4623
   * Copyright (c) 1992-2001 by David Flanagan.
 
4624
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4625
   * This is open source software.  See the file LICENSE for details.
 
4626
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4627
   *
 
4628
!  * $Log$
 
4629
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4630
!  * Initial checkin.
 
4631
!  *
 
4632
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4633
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4634
!  *                  kerberos compilation support
 
4635
!  *
 
4636
   *
 
4637
   */
 
4638
  
 
4639
  /*
 
4640
   * This file is almost directly from the X11R5 distribution.
 
4641
--- 1,19 ----
 
4642
  /* 
 
4643
   * Motif Tools Library, Version 3.1
 
4644
!  * $Id$
 
4645
   * 
 
4646
   * Written by David Flanagan.
 
4647
   * Copyright (c) 1992-2001 by David Flanagan.
 
4648
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4649
   * This is open source software.  See the file LICENSE for details.
 
4650
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4651
   *
 
4652
!  * $Log$
 
4653
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4654
!  * Initial checkin.
 
4655
!  *
 
4656
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4657
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4658
!  *                  kerberos compilation support
 
4659
!  *
 
4660
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4661
!  * *** empty log message ***
 
4662
!  *
 
4663
   *
 
4664
   */
 
4665
  
 
4666
  /*
 
4667
   * This file is almost directly from the X11R5 distribution.
 
4668
diff -bpcBNC 5 Xmt310/Xmt/Icon.c Xmt310.ge/Xmt/Icon.c
 
4669
*** Xmt310/Xmt/Icon.c   Sun Feb  4 22:40:52 2001
 
4670
--- Xmt310.ge/Xmt/Icon.c        Tue Jun 12 18:25:28 2001
 
4671
***************
 
4672
*** 1,16 ****
 
4673
  /* 
 
4674
   * Motif Tools Library, Version 3.1
 
4675
!  * $Id$
 
4676
   * 
 
4677
   * Written by David Flanagan.
 
4678
   * Copyright (c) 1992-2001 by David Flanagan.
 
4679
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4680
   * This is open source software.  See the file LICENSE for details.
 
4681
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4682
   *
 
4683
!  * $Log$
 
4684
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4685
!  * Initial checkin.
 
4686
!  *
 
4687
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4688
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4689
!  *                  kerberos compilation support
 
4690
!  *
 
4691
   *
 
4692
   */
 
4693
  
 
4694
  #include <Xmt/Xmt.h>
 
4695
  #include <Xmt/Icon.h>
 
4696
--- 1,19 ----
 
4697
  /* 
 
4698
   * Motif Tools Library, Version 3.1
 
4699
!  * $Id$
 
4700
   * 
 
4701
   * Written by David Flanagan.
 
4702
   * Copyright (c) 1992-2001 by David Flanagan.
 
4703
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4704
   * This is open source software.  See the file LICENSE for details.
 
4705
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4706
   *
 
4707
!  * $Log$
 
4708
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4709
!  * Initial checkin.
 
4710
!  *
 
4711
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4712
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4713
!  *                  kerberos compilation support
 
4714
!  *
 
4715
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4716
!  * *** empty log message ***
 
4717
!  *
 
4718
   *
 
4719
   */
 
4720
  
 
4721
  #include <Xmt/Xmt.h>
 
4722
  #include <Xmt/Icon.h>
 
4723
diff -bpcBNC 5 Xmt310/Xmt/Icon.h Xmt310.ge/Xmt/Icon.h
 
4724
*** Xmt310/Xmt/Icon.h   Sun Feb  4 22:40:56 2001
 
4725
--- Xmt310.ge/Xmt/Icon.h        Tue Jun 12 18:25:28 2001
 
4726
***************
 
4727
*** 1,16 ****
 
4728
  /* 
 
4729
   * Motif Tools Library, Version 3.1
 
4730
!  * $Id$
 
4731
   * 
 
4732
   * Written by David Flanagan.
 
4733
   * Copyright (c) 1992-2001 by David Flanagan.
 
4734
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4735
   * This is open source software.  See the file LICENSE for details.
 
4736
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4737
   *
 
4738
!  * $Log$
 
4739
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4740
!  * Initial checkin.
 
4741
!  *
 
4742
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4743
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4744
!  *                  kerberos compilation support
 
4745
!  *
 
4746
   *
 
4747
   */
 
4748
  
 
4749
  #ifndef _XmtIcon_h
 
4750
  #define _XmtIcon_h
 
4751
--- 1,19 ----
 
4752
  /* 
 
4753
   * Motif Tools Library, Version 3.1
 
4754
!  * $Id$
 
4755
   * 
 
4756
   * Written by David Flanagan.
 
4757
   * Copyright (c) 1992-2001 by David Flanagan.
 
4758
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4759
   * This is open source software.  See the file LICENSE for details.
 
4760
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4761
   *
 
4762
!  * $Log$
 
4763
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4764
!  * Initial checkin.
 
4765
!  *
 
4766
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4767
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4768
!  *                  kerberos compilation support
 
4769
!  *
 
4770
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4771
!  * *** empty log message ***
 
4772
!  *
 
4773
   *
 
4774
   */
 
4775
  
 
4776
  #ifndef _XmtIcon_h
 
4777
  #define _XmtIcon_h
 
4778
diff -bpcBNC 5 Xmt310/Xmt/Icons.c Xmt310.ge/Xmt/Icons.c
 
4779
*** Xmt310/Xmt/Icons.c  Sun Feb  4 22:41:00 2001
 
4780
--- Xmt310.ge/Xmt/Icons.c       Tue Jun 12 18:25:28 2001
 
4781
***************
 
4782
*** 1,16 ****
 
4783
  /* 
 
4784
   * Motif Tools Library, Version 3.1
 
4785
!  * $Id$
 
4786
   * 
 
4787
   * Written by David Flanagan.
 
4788
   * Copyright (c) 1992-2001 by David Flanagan.
 
4789
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4790
   * This is open source software.  See the file LICENSE for details.
 
4791
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4792
   *
 
4793
!  * $Log$
 
4794
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4795
!  * Initial checkin.
 
4796
!  *
 
4797
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4798
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4799
!  *                  kerberos compilation support
 
4800
!  *
 
4801
   *
 
4802
   */
 
4803
  
 
4804
  #include <Xmt/Xmt.h>
 
4805
  #include <Xmt/Xpm.h>
 
4806
--- 1,19 ----
 
4807
  /* 
 
4808
   * Motif Tools Library, Version 3.1
 
4809
!  * $Id$
 
4810
   * 
 
4811
   * Written by David Flanagan.
 
4812
   * Copyright (c) 1992-2001 by David Flanagan.
 
4813
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4814
   * This is open source software.  See the file LICENSE for details.
 
4815
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4816
   *
 
4817
!  * $Log$
 
4818
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4819
!  * Initial checkin.
 
4820
!  *
 
4821
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4822
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4823
!  *                  kerberos compilation support
 
4824
!  *
 
4825
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4826
!  * *** empty log message ***
 
4827
!  *
 
4828
   *
 
4829
   */
 
4830
  
 
4831
  #include <Xmt/Xmt.h>
 
4832
  #include <Xmt/Xpm.h>
 
4833
diff -bpcBNC 5 Xmt310/Xmt/Include.c Xmt310.ge/Xmt/Include.c
 
4834
*** Xmt310/Xmt/Include.c        Sun Feb  4 22:41:56 2001
 
4835
--- Xmt310.ge/Xmt/Include.c     Tue Jun 12 18:25:28 2001
 
4836
***************
 
4837
*** 1,16 ****
 
4838
  /* 
 
4839
   * Motif Tools Library, Version 3.1
 
4840
!  * $Id$
 
4841
   * 
 
4842
   * Written by David Flanagan.
 
4843
   * Copyright (c) 1992-2001 by David Flanagan.
 
4844
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4845
   * This is open source software.  See the file LICENSE for details.
 
4846
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4847
   *
 
4848
!  * $Log$
 
4849
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4850
!  * Initial checkin.
 
4851
!  *
 
4852
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4853
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4854
!  *                  kerberos compilation support
 
4855
!  *
 
4856
   *
 
4857
   */
 
4858
  
 
4859
  #include <stdio.h>
 
4860
  #include <errno.h>
 
4861
--- 1,19 ----
 
4862
  /* 
 
4863
   * Motif Tools Library, Version 3.1
 
4864
!  * $Id$
 
4865
   * 
 
4866
   * Written by David Flanagan.
 
4867
   * Copyright (c) 1992-2001 by David Flanagan.
 
4868
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4869
   * This is open source software.  See the file LICENSE for details.
 
4870
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4871
   *
 
4872
!  * $Log$
 
4873
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4874
!  * Initial checkin.
 
4875
!  *
 
4876
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4877
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4878
!  *                  kerberos compilation support
 
4879
!  *
 
4880
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4881
!  * *** empty log message ***
 
4882
!  *
 
4883
   *
 
4884
   */
 
4885
  
 
4886
  #include <stdio.h>
 
4887
  #include <errno.h>
 
4888
*************** Boolean user;
 
4889
*** 57,77 ****
 
4890
  Boolean override;
 
4891
  #endif
 
4892
  {
 
4893
      static XrmName required_names[2];
 
4894
      static XrmClass required_classes[2];
 
4895
!     static required_quarks_inited = False;
 
4896
      XmtAppResources *app = XmtGetApplicationResources(w);
 
4897
      XrmRepresentation type;
 
4898
      XrmValue value;
 
4899
      XrmDatabase newdb = NULL;
 
4900
      XrmDatabase userdb = NULL;
 
4901
      String full_filename;
 
4902
      String user_filename;
 
4903
      Boolean found = False;
 
4904
      XrmQuark fileq;
 
4905
!     XtPointer dummy;
 
4906
  
 
4907
      if (!filename || filename[0] == '\0') return False;
 
4908
      
 
4909
      /* find our application shell */
 
4910
      w = XmtGetApplicationShell(w);
 
4911
--- 60,80 ----
 
4912
  Boolean override;
 
4913
  #endif
 
4914
  {
 
4915
      static XrmName required_names[2];
 
4916
      static XrmClass required_classes[2];
 
4917
!     static Boolean required_quarks_inited = False;
 
4918
      XmtAppResources *app = XmtGetApplicationResources(w);
 
4919
      XrmRepresentation type;
 
4920
      XrmValue value;
 
4921
      XrmDatabase newdb = NULL;
 
4922
      XrmDatabase userdb = NULL;
 
4923
      String full_filename;
 
4924
      String user_filename;
 
4925
      Boolean found = False;
 
4926
      XrmQuark fileq;
 
4927
!     XtPointer dummy = NULL;
 
4928
  
 
4929
      if (!filename || filename[0] == '\0') return False;
 
4930
      
 
4931
      /* find our application shell */
 
4932
      w = XmtGetApplicationShell(w);
 
4933
diff -bpcBNC 5 Xmt310/Xmt/Include.h Xmt310.ge/Xmt/Include.h
 
4934
*** Xmt310/Xmt/Include.h        Sun Feb  4 22:42:16 2001
 
4935
--- Xmt310.ge/Xmt/Include.h     Tue Jun 12 18:25:28 2001
 
4936
***************
 
4937
*** 1,16 ****
 
4938
  /* 
 
4939
   * Motif Tools Library, Version 3.1
 
4940
!  * $Id$
 
4941
   * 
 
4942
   * Written by David Flanagan.
 
4943
   * Copyright (c) 1992-2001 by David Flanagan.
 
4944
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4945
   * This is open source software.  See the file LICENSE for details.
 
4946
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4947
   *
 
4948
!  * $Log$
 
4949
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4950
!  * Initial checkin.
 
4951
!  *
 
4952
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4953
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4954
!  *                  kerberos compilation support
 
4955
!  *
 
4956
   *
 
4957
   */
 
4958
  
 
4959
  #ifndef _XmtInclude_h
 
4960
  #define _XmtInclude_h
 
4961
--- 1,19 ----
 
4962
  /* 
 
4963
   * Motif Tools Library, Version 3.1
 
4964
!  * $Id$
 
4965
   * 
 
4966
   * Written by David Flanagan.
 
4967
   * Copyright (c) 1992-2001 by David Flanagan.
 
4968
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
4969
   * This is open source software.  See the file LICENSE for details.
 
4970
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4971
   *
 
4972
!  * $Log$
 
4973
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4974
!  * Initial checkin.
 
4975
!  *
 
4976
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4977
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4978
!  *                  kerberos compilation support
 
4979
!  *
 
4980
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4981
!  * *** empty log message ***
 
4982
!  *
 
4983
   *
 
4984
   */
 
4985
  
 
4986
  #ifndef _XmtInclude_h
 
4987
  #define _XmtInclude_h
 
4988
diff -bpcBNC 5 Xmt310/Xmt/InitFocus.c Xmt310.ge/Xmt/InitFocus.c
 
4989
*** Xmt310/Xmt/InitFocus.c      Sun Feb  4 22:42:22 2001
 
4990
--- Xmt310.ge/Xmt/InitFocus.c   Tue Jun 12 18:25:28 2001
 
4991
***************
 
4992
*** 1,16 ****
 
4993
  /* 
 
4994
   * Motif Tools Library, Version 3.1
 
4995
!  * $Id$
 
4996
   * 
 
4997
   * Written by David Flanagan.
 
4998
   * Copyright (c) 1992-2001 by David Flanagan.
 
4999
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5000
   * This is open source software.  See the file LICENSE for details.
 
5001
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5002
   *
 
5003
!  * $Log$
 
5004
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5005
!  * Initial checkin.
 
5006
!  *
 
5007
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5008
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5009
!  *                  kerberos compilation support
 
5010
!  *
 
5011
   *
 
5012
   */
 
5013
  
 
5014
  #include <Xmt/Xmt.h>
 
5015
  #include <Xmt/Util.h>
 
5016
--- 1,19 ----
 
5017
  /* 
 
5018
   * Motif Tools Library, Version 3.1
 
5019
!  * $Id$
 
5020
   * 
 
5021
   * Written by David Flanagan.
 
5022
   * Copyright (c) 1992-2001 by David Flanagan.
 
5023
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5024
   * This is open source software.  See the file LICENSE for details.
 
5025
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5026
   *
 
5027
!  * $Log$
 
5028
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5029
!  * Initial checkin.
 
5030
!  *
 
5031
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5032
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5033
!  *                  kerberos compilation support
 
5034
!  *
 
5035
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5036
!  * *** empty log message ***
 
5037
!  *
 
5038
   *
 
5039
   */
 
5040
  
 
5041
  #include <Xmt/Xmt.h>
 
5042
  #include <Xmt/Util.h>
 
5043
diff -bpcBNC 5 Xmt310/Xmt/Initialize.c Xmt310.ge/Xmt/Initialize.c
 
5044
*** Xmt310/Xmt/Initialize.c     Sun Feb  4 22:42:28 2001
 
5045
--- Xmt310.ge/Xmt/Initialize.c  Tue Jun 12 18:25:28 2001
 
5046
***************
 
5047
*** 1,16 ****
 
5048
  /* 
 
5049
   * Motif Tools Library, Version 3.1
 
5050
!  * $Id$
 
5051
   * 
 
5052
   * Written by David Flanagan.
 
5053
   * Copyright (c) 1992-2001 by David Flanagan.
 
5054
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5055
   * This is open source software.  See the file LICENSE for details.
 
5056
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5057
   *
 
5058
!  * $Log$
 
5059
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5060
!  * Initial checkin.
 
5061
!  *
 
5062
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5063
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5064
!  *                  kerberos compilation support
 
5065
!  *
 
5066
   *
 
5067
   */
 
5068
  
 
5069
  
 
5070
  /*
 
5071
--- 1,19 ----
 
5072
  /* 
 
5073
   * Motif Tools Library, Version 3.1
 
5074
!  * $Id$
 
5075
   * 
 
5076
   * Written by David Flanagan.
 
5077
   * Copyright (c) 1992-2001 by David Flanagan.
 
5078
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5079
   * This is open source software.  See the file LICENSE for details.
 
5080
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5081
   *
 
5082
!  * $Log$
 
5083
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5084
!  * Initial checkin.
 
5085
!  *
 
5086
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5087
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5088
!  *                  kerberos compilation support
 
5089
!  *
 
5090
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5091
!  * *** empty log message ***
 
5092
!  *
 
5093
   *
 
5094
   */
 
5095
  
 
5096
  
 
5097
  /*
 
5098
diff -bpcBNC 5 Xmt310/Xmt/InputField.c Xmt310.ge/Xmt/InputField.c
 
5099
*** Xmt310/Xmt/InputField.c     Sun Feb  4 22:42:38 2001
 
5100
--- Xmt310.ge/Xmt/InputField.c  Tue Jun 12 18:25:28 2001
 
5101
***************
 
5102
*** 1,16 ****
 
5103
  /* 
 
5104
   * Motif Tools Library, Version 3.1
 
5105
!  * $Id$
 
5106
   * 
 
5107
   * Written by David Flanagan.
 
5108
   * Copyright (c) 1992-2001 by David Flanagan.
 
5109
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5110
   * This is open source software.  See the file LICENSE for details.
 
5111
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5112
   *
 
5113
!  * $Log$
 
5114
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5115
!  * Initial checkin.
 
5116
!  *
 
5117
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5118
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5119
!  *                  kerberos compilation support
 
5120
!  *
 
5121
   *
 
5122
   */
 
5123
  
 
5124
  #include <stdio.h>
 
5125
  #include <ctype.h>
 
5126
--- 1,19 ----
 
5127
  /* 
 
5128
   * Motif Tools Library, Version 3.1
 
5129
!  * $Id$
 
5130
   * 
 
5131
   * Written by David Flanagan.
 
5132
   * Copyright (c) 1992-2001 by David Flanagan.
 
5133
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5134
   * This is open source software.  See the file LICENSE for details.
 
5135
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5136
   *
 
5137
!  * $Log$
 
5138
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5139
!  * Initial checkin.
 
5140
!  *
 
5141
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5142
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5143
!  *                  kerberos compilation support
 
5144
!  *
 
5145
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5146
!  * *** empty log message ***
 
5147
!  *
 
5148
   *
 
5149
   */
 
5150
  
 
5151
  #include <stdio.h>
 
5152
  #include <ctype.h>
 
5153
diff -bpcBNC 5 Xmt310/Xmt/InputField.h Xmt310.ge/Xmt/InputField.h
 
5154
*** Xmt310/Xmt/InputField.h     Sun Feb  4 22:42:42 2001
 
5155
--- Xmt310.ge/Xmt/InputField.h  Tue Jun 12 18:25:28 2001
 
5156
***************
 
5157
*** 1,16 ****
 
5158
  /* 
 
5159
   * Motif Tools Library, Version 3.1
 
5160
!  * $Id$
 
5161
   * 
 
5162
   * Written by David Flanagan.
 
5163
   * Copyright (c) 1992-2001 by David Flanagan.
 
5164
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5165
   * This is open source software.  See the file LICENSE for details.
 
5166
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5167
   *
 
5168
!  * $Log$
 
5169
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5170
!  * Initial checkin.
 
5171
!  *
 
5172
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5173
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5174
!  *                  kerberos compilation support
 
5175
!  *
 
5176
   *
 
5177
   */
 
5178
  
 
5179
  #ifndef _XmtInputField_h
 
5180
  #define _XmtInputField_h
 
5181
--- 1,19 ----
 
5182
  /* 
 
5183
   * Motif Tools Library, Version 3.1
 
5184
!  * $Id$
 
5185
   * 
 
5186
   * Written by David Flanagan.
 
5187
   * Copyright (c) 1992-2001 by David Flanagan.
 
5188
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5189
   * This is open source software.  See the file LICENSE for details.
 
5190
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5191
   *
 
5192
!  * $Log$
 
5193
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5194
!  * Initial checkin.
 
5195
!  *
 
5196
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5197
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5198
!  *                  kerberos compilation support
 
5199
!  *
 
5200
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5201
!  * *** empty log message ***
 
5202
!  *
 
5203
   *
 
5204
   */
 
5205
  
 
5206
  #ifndef _XmtInputField_h
 
5207
  #define _XmtInputField_h
 
5208
diff -bpcBNC 5 Xmt310/Xmt/InputFieldP.h Xmt310.ge/Xmt/InputFieldP.h
 
5209
*** Xmt310/Xmt/InputFieldP.h    Sun Feb  4 22:42:48 2001
 
5210
--- Xmt310.ge/Xmt/InputFieldP.h Tue Jun 12 18:25:28 2001
 
5211
***************
 
5212
*** 1,16 ****
 
5213
  /* 
 
5214
   * Motif Tools Library, Version 3.1
 
5215
!  * $Id$
 
5216
   * 
 
5217
   * Written by David Flanagan.
 
5218
   * Copyright (c) 1992-2001 by David Flanagan.
 
5219
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5220
   * This is open source software.  See the file LICENSE for details.
 
5221
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5222
   *
 
5223
!  * $Log$
 
5224
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5225
!  * Initial checkin.
 
5226
!  *
 
5227
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5228
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5229
!  *                  kerberos compilation support
 
5230
!  *
 
5231
   *
 
5232
   */
 
5233
  
 
5234
  #ifndef _XmtInputFieldP_h
 
5235
  #define _XmtInputFieldP_h
 
5236
--- 1,19 ----
 
5237
  /* 
 
5238
   * Motif Tools Library, Version 3.1
 
5239
!  * $Id$
 
5240
   * 
 
5241
   * Written by David Flanagan.
 
5242
   * Copyright (c) 1992-2001 by David Flanagan.
 
5243
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5244
   * This is open source software.  See the file LICENSE for details.
 
5245
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5246
   *
 
5247
!  * $Log$
 
5248
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5249
!  * Initial checkin.
 
5250
!  *
 
5251
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5252
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5253
!  *                  kerberos compilation support
 
5254
!  *
 
5255
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5256
!  * *** empty log message ***
 
5257
!  *
 
5258
   *
 
5259
   */
 
5260
  
 
5261
  #ifndef _XmtInputFieldP_h
 
5262
  #define _XmtInputFieldP_h
 
5263
diff -bpcBNC 5 Xmt310/Xmt/InputFieldS.c Xmt310.ge/Xmt/InputFieldS.c
 
5264
*** Xmt310/Xmt/InputFieldS.c    Sun Feb  4 22:42:52 2001
 
5265
--- Xmt310.ge/Xmt/InputFieldS.c Tue Jun 12 18:25:28 2001
 
5266
***************
 
5267
*** 1,16 ****
 
5268
  /* 
 
5269
   * Motif Tools Library, Version 3.1
 
5270
!  * $Id$
 
5271
   * 
 
5272
   * Written by David Flanagan.
 
5273
   * Copyright (c) 1992-2001 by David Flanagan.
 
5274
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5275
   * This is open source software.  See the file LICENSE for details.
 
5276
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5277
   *
 
5278
!  * $Log$
 
5279
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5280
!  * Initial checkin.
 
5281
!  *
 
5282
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5283
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5284
!  *                  kerberos compilation support
 
5285
!  *
 
5286
   *
 
5287
   */
 
5288
  #include <X11/Intrinsic.h>
 
5289
  #ifndef _Xconst
 
5290
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
5291
--- 1,19 ----
 
5292
  /* 
 
5293
   * Motif Tools Library, Version 3.1
 
5294
!  * $Id$
 
5295
   * 
 
5296
   * Written by David Flanagan.
 
5297
   * Copyright (c) 1992-2001 by David Flanagan.
 
5298
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5299
   * This is open source software.  See the file LICENSE for details.
 
5300
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5301
   *
 
5302
!  * $Log$
 
5303
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5304
!  * Initial checkin.
 
5305
!  *
 
5306
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5307
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5308
!  *                  kerberos compilation support
 
5309
!  *
 
5310
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5311
!  * *** empty log message ***
 
5312
!  *
 
5313
   *
 
5314
   */
 
5315
  #include <X11/Intrinsic.h>
 
5316
  #ifndef _Xconst
 
5317
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
5318
diff -bpcBNC 5 Xmt310/Xmt/Layout.c Xmt310.ge/Xmt/Layout.c
 
5319
*** Xmt310/Xmt/Layout.c Sun Feb  4 22:42:54 2001
 
5320
--- Xmt310.ge/Xmt/Layout.c      Tue Jun 12 18:25:28 2001
 
5321
***************
 
5322
*** 1,16 ****
 
5323
  /* 
 
5324
   * Motif Tools Library, Version 3.1
 
5325
!  * $Id$
 
5326
   * 
 
5327
   * Written by David Flanagan.
 
5328
   * Copyright (c) 1992-2001 by David Flanagan.
 
5329
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5330
   * This is open source software.  See the file LICENSE for details.
 
5331
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5332
   *
 
5333
!  * $Log$
 
5334
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5335
!  * Initial checkin.
 
5336
!  *
 
5337
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5338
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5339
!  *                  kerberos compilation support
 
5340
!  *
 
5341
   *
 
5342
   */
 
5343
  
 
5344
  #include <stdio.h>
 
5345
  #include <Xmt/XmtP.h>
 
5346
--- 1,19 ----
 
5347
  /* 
 
5348
   * Motif Tools Library, Version 3.1
 
5349
!  * $Id$
 
5350
   * 
 
5351
   * Written by David Flanagan.
 
5352
   * Copyright (c) 1992-2001 by David Flanagan.
 
5353
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5354
   * This is open source software.  See the file LICENSE for details.
 
5355
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5356
   *
 
5357
!  * $Log$
 
5358
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5359
!  * Initial checkin.
 
5360
!  *
 
5361
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5362
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5363
!  *                  kerberos compilation support
 
5364
!  *
 
5365
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5366
!  * *** empty log message ***
 
5367
!  *
 
5368
   *
 
5369
   */
 
5370
  
 
5371
  #include <stdio.h>
 
5372
  #include <Xmt/XmtP.h>
 
5373
*************** static void ClassInitialize(void)
 
5374
*** 257,308 ****
 
5375
  static void ClassInitialize()
 
5376
  #endif
 
5377
  {
 
5378
      static String justification_names[] = {
 
5379
        "Bottom", "Center", "Centered", "Filled", "Left", "Right", "Top"};
 
5380
!     static int justification_values[] = {
 
5381
        XmtLayoutFlushBottom, XmtLayoutCentered, XmtLayoutCentered,
 
5382
        XmtLayoutFilled,XmtLayoutFlushLeft,
 
5383
        XmtLayoutFlushRight, XmtLayoutFlushTop};
 
5384
      static String justification_prefixes[] = {"Xmt", "Layout", "Flush", NULL};
 
5385
      
 
5386
      static String edge_names[] = {
 
5387
        "Bottom", "Left", "Right", "Top"};
 
5388
!     static int edge_values[] = {
 
5389
          XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
 
5390
      };
 
5391
      static String edge_prefixes[] = {"Xmt", "Layout", NULL};
 
5392
  
 
5393
      static String line_type_names[] = {
 
5394
          "Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
 
5395
          "Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
 
5396
      };
 
5397
!     static int line_type_values[] = {
 
5398
          XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
 
5399
          XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
 
5400
          XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
 
5401
          XmtLayoutFrameShadowIn, XmtLayoutFrameShadowOut,
 
5402
          XmtLayoutFrameSingleLine, XmtLayoutFrameSingleLine
 
5403
      };
 
5404
  
 
5405
      static String frame_type_names[] = {
 
5406
          "Bottom", "Box", "Left", "None", "Right", "Top" };
 
5407
!     static int frame_type_values[] = {
 
5408
          XmtLayoutFrameBottom, XmtLayoutFrameBox, XmtLayoutFrameLeft,
 
5409
          XmtLayoutFrameNone, XmtLayoutFrameRight, XmtLayoutFrameTop
 
5410
      };
 
5411
      static String frame_type_prefixes[]  = {"Xmt", "Layout", "Frame", NULL};
 
5412
  
 
5413
      static String position_names[] = { "Inside", "Outside", "Through" };
 
5414
!     static int position_values[] = {
 
5415
          XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
 
5416
  
 
5417
      static String space_type_names[] = {
 
5418
          "CTabbed", "Even", "Interval", "LCR",
 
5419
        "LREven", "LTabbed", "None", "RTabbed"
 
5420
      };
 
5421
!     static int space_type_values[] = {
 
5422
          XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
 
5423
        XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
 
5424
          XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
 
5425
        XmtLayoutSpaceNone, XmtLayoutSpaceRTabbed
 
5426
      };
 
5427
--- 260,311 ----
 
5428
  static void ClassInitialize()
 
5429
  #endif
 
5430
  {
 
5431
      static String justification_names[] = {
 
5432
        "Bottom", "Center", "Centered", "Filled", "Left", "Right", "Top"};
 
5433
!     static Cardinal justification_values[] = {
 
5434
        XmtLayoutFlushBottom, XmtLayoutCentered, XmtLayoutCentered,
 
5435
        XmtLayoutFilled,XmtLayoutFlushLeft,
 
5436
        XmtLayoutFlushRight, XmtLayoutFlushTop};
 
5437
      static String justification_prefixes[] = {"Xmt", "Layout", "Flush", NULL};
 
5438
      
 
5439
      static String edge_names[] = {
 
5440
        "Bottom", "Left", "Right", "Top"};
 
5441
!     static Cardinal edge_values[] = {
 
5442
          XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
 
5443
      };
 
5444
      static String edge_prefixes[] = {"Xmt", "Layout", NULL};
 
5445
  
 
5446
      static String line_type_names[] = {
 
5447
          "Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
 
5448
          "Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
 
5449
      };
 
5450
!     static Cardinal line_type_values[] = {
 
5451
          XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
 
5452
          XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
 
5453
          XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
 
5454
          XmtLayoutFrameShadowIn, XmtLayoutFrameShadowOut,
 
5455
          XmtLayoutFrameSingleLine, XmtLayoutFrameSingleLine
 
5456
      };
 
5457
  
 
5458
      static String frame_type_names[] = {
 
5459
          "Bottom", "Box", "Left", "None", "Right", "Top" };
 
5460
!     static Cardinal frame_type_values[] = {
 
5461
          XmtLayoutFrameBottom, XmtLayoutFrameBox, XmtLayoutFrameLeft,
 
5462
          XmtLayoutFrameNone, XmtLayoutFrameRight, XmtLayoutFrameTop
 
5463
      };
 
5464
      static String frame_type_prefixes[]  = {"Xmt", "Layout", "Frame", NULL};
 
5465
  
 
5466
      static String position_names[] = { "Inside", "Outside", "Through" };
 
5467
!     static Cardinal position_values[] = {
 
5468
          XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
 
5469
  
 
5470
      static String space_type_names[] = {
 
5471
          "CTabbed", "Even", "Interval", "LCR",
 
5472
        "LREven", "LTabbed", "None", "RTabbed"
 
5473
      };
 
5474
!     static Cardinal space_type_values[] = {
 
5475
          XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
 
5476
        XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
 
5477
          XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
 
5478
        XmtLayoutSpaceNone, XmtLayoutSpaceRTabbed
 
5479
      };
 
5480
*************** Widget c;
 
5481
*** 1043,1061 ****
 
5482
  Region region;
 
5483
  #endif
 
5484
  {
 
5485
      XmtLayoutConstraintsPart *cc;
 
5486
      int x, y, w, h;      /* coordinates of widget */
 
5487
!     int fx, fy, fw, fh;  /* coordinates of outside of frame */
 
5488
!     int cx, cy, cw, ch;  /* coordinates of caption bounding box*/
 
5489
      XmtLayoutFrameType frame_type;
 
5490
      XmtLayoutFrameLineType frame_line_type;
 
5491
      int frame_thickness;
 
5492
      int frame_margin;
 
5493
      XmtLayoutFramePosition frame_position;
 
5494
      int frame_total;
 
5495
!     int caption_total_width, caption_total_height;
 
5496
      Boolean frame_redrawn;
 
5497
  
 
5498
      /*
 
5499
       * For the specified child widget:
 
5500
       * compute the position of the frame and caption.  If the frame intersects
 
5501
--- 1046,1064 ----
 
5502
  Region region;
 
5503
  #endif
 
5504
  {
 
5505
      XmtLayoutConstraintsPart *cc;
 
5506
      int x, y, w, h;      /* coordinates of widget */
 
5507
!     int fx = 0, fy = 0, fw = 0, fh = 0;  /* coordinates of outside of frame */
 
5508
!     int cx = 0, cy = 0, cw = 0, ch = 0;  /* coordinates of caption bounding box*/
 
5509
      XmtLayoutFrameType frame_type;
 
5510
      XmtLayoutFrameLineType frame_line_type;
 
5511
      int frame_thickness;
 
5512
      int frame_margin;
 
5513
      XmtLayoutFramePosition frame_position;
 
5514
      int frame_total;
 
5515
!     int caption_total_width = 0, caption_total_height = 0;
 
5516
      Boolean frame_redrawn;
 
5517
  
 
5518
      /*
 
5519
       * For the specified child widget:
 
5520
       * compute the position of the frame and caption.  If the frame intersects
 
5521
*************** Widget w;
 
5522
*** 1381,1392 ****
 
5523
  XtWidgetGeometry *request;
 
5524
  XtWidgetGeometry *reply;
 
5525
  #endif
 
5526
  {
 
5527
      XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
 
5528
!     Position x,y;
 
5529
!     Dimension width, height, border_width;
 
5530
  
 
5531
      /* this is case 2 described above */
 
5532
      if (lw->layout.geometry_okay) {
 
5533
        XtConfigureWidget(w,
 
5534
              (request->request_mode&CWX)?request->x:w->core.x,
 
5535
--- 1384,1394 ----
 
5536
  XtWidgetGeometry *request;
 
5537
  XtWidgetGeometry *reply;
 
5538
  #endif
 
5539
  {
 
5540
      XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
 
5541
!     Dimension width, height;
 
5542
  
 
5543
      /* this is case 2 described above */
 
5544
      if (lw->layout.geometry_okay) {
 
5545
        XtConfigureWidget(w,
 
5546
              (request->request_mode&CWX)?request->x:w->core.x,
 
5547
*************** XtWidgetGeometry *reply;
 
5548
*** 1455,1469 ****
 
5549
      reply->width = LayoutConstraints(w->layout.toplevel).pref_w +
 
5550
                      2 * w->bulletin_board.margin_width;
 
5551
      reply->height = LayoutConstraints(w->layout.toplevel).pref_h +
 
5552
                      2 * w->bulletin_board.margin_height;
 
5553
      reply->request_mode = CWWidth | CWHeight;
 
5554
!     if (request->request_mode & (CWWidth | CWHeight) == (CWWidth | CWHeight)
 
5555
!       && request->width == reply->width
 
5556
!       && request->height == reply->height)
 
5557
        return XtGeometryYes;
 
5558
!     else if (reply->width == w->core.width && reply->height == w->core.height)
 
5559
        return XtGeometryNo;
 
5560
      else
 
5561
        return XtGeometryAlmost;
 
5562
  }
 
5563
  
 
5564
--- 1457,1471 ----
 
5565
      reply->width = LayoutConstraints(w->layout.toplevel).pref_w +
 
5566
                      2 * w->bulletin_board.margin_width;
 
5567
      reply->height = LayoutConstraints(w->layout.toplevel).pref_h +
 
5568
                      2 * w->bulletin_board.margin_height;
 
5569
      reply->request_mode = CWWidth | CWHeight;
 
5570
!     if (((request->request_mode & (CWWidth | CWHeight)) == (CWWidth | CWHeight))
 
5571
!       && (request->width == reply->width)
 
5572
!       && (request->height == reply->height))
 
5573
        return XtGeometryYes;
 
5574
!     else if ((reply->width == w->core.width) && (reply->height == w->core.height))
 
5575
        return XtGeometryNo;
 
5576
      else
 
5577
        return XtGeometryAlmost;
 
5578
  }
 
5579
  
 
5580
*************** Cardinal *num_args;
 
5581
*** 2027,2037 ****
 
5582
       */
 
5583
      if ((set->core.x != current->core.x) || (set->core.y != current->core.y)) {
 
5584
        set->core.x = current->core.x;
 
5585
        set->core.y = current->core.y;
 
5586
        XmtWarningMsg("XmtLayout", "cantsetpos",
 
5587
!                     "Widget %s: can't set XtNx or XtNy resources of a child of\n\tan XmtLayout widget.  Changes ignored.");
 
5588
      }
 
5589
  
 
5590
  #undef Changed
 
5591
  
 
5592
      /*
 
5593
--- 2029,2039 ----
 
5594
       */
 
5595
      if ((set->core.x != current->core.x) || (set->core.y != current->core.y)) {
 
5596
        set->core.x = current->core.x;
 
5597
        set->core.y = current->core.y;
 
5598
        XmtWarningMsg("XmtLayout", "cantsetpos",
 
5599
!                     "Widget %s: can't set XtNx or XtNy resources of a child of\n\tan XmtLayout widget.  Changes ignored.", XtName((Widget)set));
 
5600
      }
 
5601
  
 
5602
  #undef Changed
 
5603
  
 
5604
      /*
 
5605
diff -bpcBNC 5 Xmt310/Xmt/Layout.h Xmt310.ge/Xmt/Layout.h
 
5606
*** Xmt310/Xmt/Layout.h Sun Feb  4 22:42:58 2001
 
5607
--- Xmt310.ge/Xmt/Layout.h      Tue Jun 12 18:25:28 2001
 
5608
***************
 
5609
*** 1,16 ****
 
5610
  /* 
 
5611
   * Motif Tools Library, Version 3.1
 
5612
!  * $Id$
 
5613
   * 
 
5614
   * Written by David Flanagan.
 
5615
   * Copyright (c) 1992-2001 by David Flanagan.
 
5616
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5617
   * This is open source software.  See the file LICENSE for details.
 
5618
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5619
   *
 
5620
!  * $Log$
 
5621
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5622
!  * Initial checkin.
 
5623
!  *
 
5624
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5625
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5626
!  *                  kerberos compilation support
 
5627
!  *
 
5628
   *
 
5629
   */
 
5630
  
 
5631
  #ifndef _XmtLayout_h
 
5632
  #define _XmtLayout_h
 
5633
--- 1,19 ----
 
5634
  /* 
 
5635
   * Motif Tools Library, Version 3.1
 
5636
!  * $Id$
 
5637
   * 
 
5638
   * Written by David Flanagan.
 
5639
   * Copyright (c) 1992-2001 by David Flanagan.
 
5640
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5641
   * This is open source software.  See the file LICENSE for details.
 
5642
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5643
   *
 
5644
!  * $Log$
 
5645
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5646
!  * Initial checkin.
 
5647
!  *
 
5648
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5649
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5650
!  *                  kerberos compilation support
 
5651
!  *
 
5652
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5653
!  * *** empty log message ***
 
5654
!  *
 
5655
   *
 
5656
   */
 
5657
  
 
5658
  #ifndef _XmtLayout_h
 
5659
  #define _XmtLayout_h
 
5660
diff -bpcBNC 5 Xmt310/Xmt/LayoutBox.c Xmt310.ge/Xmt/LayoutBox.c
 
5661
*** Xmt310/Xmt/LayoutBox.c      Sun Feb  4 22:43:02 2001
 
5662
--- Xmt310.ge/Xmt/LayoutBox.c   Tue Jun 12 18:25:28 2001
 
5663
***************
 
5664
*** 1,16 ****
 
5665
  /* 
 
5666
   * Motif Tools Library, Version 3.1
 
5667
!  * $Id$
 
5668
   * 
 
5669
   * Written by David Flanagan.
 
5670
   * Copyright (c) 1992-2001 by David Flanagan.
 
5671
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5672
   * This is open source software.  See the file LICENSE for details.
 
5673
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5674
   *
 
5675
!  * $Log$
 
5676
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5677
!  * Initial checkin.
 
5678
!  *
 
5679
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5680
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5681
!  *                  kerberos compilation support
 
5682
!  *
 
5683
   *
 
5684
   */
 
5685
  
 
5686
  #include <Xmt/XmtP.h>
 
5687
  #include <Xmt/LayoutGP.h>
 
5688
--- 1,19 ----
 
5689
  /* 
 
5690
   * Motif Tools Library, Version 3.1
 
5691
!  * $Id$
 
5692
   * 
 
5693
   * Written by David Flanagan.
 
5694
   * Copyright (c) 1992-2001 by David Flanagan.
 
5695
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5696
   * This is open source software.  See the file LICENSE for details.
 
5697
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5698
   *
 
5699
!  * $Log$
 
5700
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5701
!  * Initial checkin.
 
5702
!  *
 
5703
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5704
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5705
!  *                  kerberos compilation support
 
5706
!  *
 
5707
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5708
!  * *** empty log message ***
 
5709
!  *
 
5710
   *
 
5711
   */
 
5712
  
 
5713
  #include <Xmt/XmtP.h>
 
5714
  #include <Xmt/LayoutGP.h>
 
5715
*************** Widget w;
 
5716
*** 466,476 ****
 
5717
      int *cmajorlen, *cminorlen; /* addresses of child dimensions */
 
5718
      int next;
 
5719
      int margin_width, margin_height, top_margin, left_margin;
 
5720
      int *major_margin, *minor_margin;
 
5721
      int space_stretch;
 
5722
!     int total_space, space, interval;
 
5723
      
 
5724
      if (!XtIsManaged(w)) return;
 
5725
  
 
5726
      if (lb->layout_box.orientation == XmHORIZONTAL) row = True;
 
5727
      else row = False;
 
5728
--- 469,479 ----
 
5729
      int *cmajorlen, *cminorlen; /* addresses of child dimensions */
 
5730
      int next;
 
5731
      int margin_width, margin_height, top_margin, left_margin;
 
5732
      int *major_margin, *minor_margin;
 
5733
      int space_stretch;
 
5734
!     int total_space, space, interval = 0;
 
5735
      
 
5736
      if (!XtIsManaged(w)) return;
 
5737
  
 
5738
      if (lb->layout_box.orientation == XmHORIZONTAL) row = True;
 
5739
      else row = False;
 
5740
diff -bpcBNC 5 Xmt310/Xmt/LayoutCreate.c Xmt310.ge/Xmt/LayoutCreate.c
 
5741
*** Xmt310/Xmt/LayoutCreate.c   Sun Feb  4 22:43:06 2001
 
5742
--- Xmt310.ge/Xmt/LayoutCreate.c        Tue Jun 12 18:25:28 2001
 
5743
***************
 
5744
*** 1,16 ****
 
5745
  /* 
 
5746
   * Motif Tools Library, Version 3.1
 
5747
!  * $Id$
 
5748
   * 
 
5749
   * Written by David Flanagan.
 
5750
   * Copyright (c) 1992-2001 by David Flanagan.
 
5751
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5752
   * This is open source software.  See the file LICENSE for details.
 
5753
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5754
   *
 
5755
!  * $Log$
 
5756
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5757
!  * Initial checkin.
 
5758
!  *
 
5759
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5760
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5761
!  *                  kerberos compilation support
 
5762
!  *
 
5763
   *
 
5764
   */
 
5765
  
 
5766
  #include <Xmt/XmtP.h>
 
5767
  #include <Xmt/LayoutP.h>
 
5768
--- 1,19 ----
 
5769
  /* 
 
5770
   * Motif Tools Library, Version 3.1
 
5771
!  * $Id$
 
5772
   * 
 
5773
   * Written by David Flanagan.
 
5774
   * Copyright (c) 1992-2001 by David Flanagan.
 
5775
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5776
   * This is open source software.  See the file LICENSE for details.
 
5777
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5778
   *
 
5779
!  * $Log$
 
5780
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5781
!  * Initial checkin.
 
5782
!  *
 
5783
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5784
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5785
!  *                  kerberos compilation support
 
5786
!  *
 
5787
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5788
!  * *** empty log message ***
 
5789
!  *
 
5790
   *
 
5791
   */
 
5792
  
 
5793
  #include <Xmt/XmtP.h>
 
5794
  #include <Xmt/LayoutP.h>
 
5795
diff -bpcBNC 5 Xmt310/Xmt/LayoutG.h Xmt310.ge/Xmt/LayoutG.h
 
5796
*** Xmt310/Xmt/LayoutG.h        Sun Feb  4 22:43:10 2001
 
5797
--- Xmt310.ge/Xmt/LayoutG.h     Tue Jun 12 18:25:28 2001
 
5798
***************
 
5799
*** 1,16 ****
 
5800
  /* 
 
5801
   * Motif Tools Library, Version 3.1
 
5802
!  * $Id$
 
5803
   * 
 
5804
   * Written by David Flanagan.
 
5805
   * Copyright (c) 1992-2001 by David Flanagan.
 
5806
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5807
   * This is open source software.  See the file LICENSE for details.
 
5808
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5809
   *
 
5810
!  * $Log$
 
5811
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5812
!  * Initial checkin.
 
5813
!  *
 
5814
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5815
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5816
!  *                  kerberos compilation support
 
5817
!  *
 
5818
   *
 
5819
   */
 
5820
  
 
5821
  #ifndef _XmtLayoutG_h
 
5822
  #define _XmtLayoutG_h
 
5823
--- 1,19 ----
 
5824
  /* 
 
5825
   * Motif Tools Library, Version 3.1
 
5826
!  * $Id$
 
5827
   * 
 
5828
   * Written by David Flanagan.
 
5829
   * Copyright (c) 1992-2001 by David Flanagan.
 
5830
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5831
   * This is open source software.  See the file LICENSE for details.
 
5832
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5833
   *
 
5834
!  * $Log$
 
5835
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5836
!  * Initial checkin.
 
5837
!  *
 
5838
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5839
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5840
!  *                  kerberos compilation support
 
5841
!  *
 
5842
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5843
!  * *** empty log message ***
 
5844
!  *
 
5845
   *
 
5846
   */
 
5847
  
 
5848
  #ifndef _XmtLayoutG_h
 
5849
  #define _XmtLayoutG_h
 
5850
diff -bpcBNC 5 Xmt310/Xmt/LayoutGP.h Xmt310.ge/Xmt/LayoutGP.h
 
5851
*** Xmt310/Xmt/LayoutGP.h       Sun Feb  4 22:43:14 2001
 
5852
--- Xmt310.ge/Xmt/LayoutGP.h    Tue Jun 12 18:25:28 2001
 
5853
***************
 
5854
*** 1,16 ****
 
5855
  /* 
 
5856
   * Motif Tools Library, Version 3.1
 
5857
!  * $Id$
 
5858
   * 
 
5859
   * Written by David Flanagan.
 
5860
   * Copyright (c) 1992-2001 by David Flanagan.
 
5861
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5862
   * This is open source software.  See the file LICENSE for details.
 
5863
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5864
   *
 
5865
!  * $Log$
 
5866
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5867
!  * Initial checkin.
 
5868
!  *
 
5869
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5870
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5871
!  *                  kerberos compilation support
 
5872
!  *
 
5873
   *
 
5874
   */
 
5875
  
 
5876
  #ifndef _XmtLayoutGP_h
 
5877
  #define _XmtLayoutGP_h
 
5878
--- 1,19 ----
 
5879
  /* 
 
5880
   * Motif Tools Library, Version 3.1
 
5881
!  * $Id$
 
5882
   * 
 
5883
   * Written by David Flanagan.
 
5884
   * Copyright (c) 1992-2001 by David Flanagan.
 
5885
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5886
   * This is open source software.  See the file LICENSE for details.
 
5887
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5888
   *
 
5889
!  * $Log$
 
5890
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5891
!  * Initial checkin.
 
5892
!  *
 
5893
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5894
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5895
!  *                  kerberos compilation support
 
5896
!  *
 
5897
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5898
!  * *** empty log message ***
 
5899
!  *
 
5900
   *
 
5901
   */
 
5902
  
 
5903
  #ifndef _XmtLayoutGP_h
 
5904
  #define _XmtLayoutGP_h
 
5905
diff -bpcBNC 5 Xmt310/Xmt/LayoutGadget.c Xmt310.ge/Xmt/LayoutGadget.c
 
5906
*** Xmt310/Xmt/LayoutGadget.c   Sun Feb  4 22:43:18 2001
 
5907
--- Xmt310.ge/Xmt/LayoutGadget.c        Tue Jun 12 18:25:28 2001
 
5908
***************
 
5909
*** 1,16 ****
 
5910
  /* 
 
5911
   * Motif Tools Library, Version 3.1
 
5912
!  * $Id$
 
5913
   * 
 
5914
   * Written by David Flanagan.
 
5915
   * Copyright (c) 1992-2001 by David Flanagan.
 
5916
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5917
   * This is open source software.  See the file LICENSE for details.
 
5918
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5919
   *
 
5920
!  * $Log$
 
5921
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5922
!  * Initial checkin.
 
5923
!  *
 
5924
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5925
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5926
!  *                  kerberos compilation support
 
5927
!  *
 
5928
   *
 
5929
   */
 
5930
  
 
5931
  #include <Xmt/Xmt.h>
 
5932
  #include <Xmt/LayoutGP.h>
 
5933
--- 1,19 ----
 
5934
  /* 
 
5935
   * Motif Tools Library, Version 3.1
 
5936
!  * $Id$
 
5937
   * 
 
5938
   * Written by David Flanagan.
 
5939
   * Copyright (c) 1992-2001 by David Flanagan.
 
5940
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5941
   * This is open source software.  See the file LICENSE for details.
 
5942
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5943
   *
 
5944
!  * $Log$
 
5945
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5946
!  * Initial checkin.
 
5947
!  *
 
5948
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5949
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5950
!  *                  kerberos compilation support
 
5951
!  *
 
5952
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5953
!  * *** empty log message ***
 
5954
!  *
 
5955
   *
 
5956
   */
 
5957
  
 
5958
  #include <Xmt/Xmt.h>
 
5959
  #include <Xmt/LayoutGP.h>
 
5960
diff -bpcBNC 5 Xmt310/Xmt/LayoutP.h Xmt310.ge/Xmt/LayoutP.h
 
5961
*** Xmt310/Xmt/LayoutP.h        Sun Feb  4 22:43:22 2001
 
5962
--- Xmt310.ge/Xmt/LayoutP.h     Tue Jun 12 18:25:28 2001
 
5963
***************
 
5964
*** 1,16 ****
 
5965
  /* 
 
5966
   * Motif Tools Library, Version 3.1
 
5967
!  * $Id$
 
5968
   * 
 
5969
   * Written by David Flanagan.
 
5970
   * Copyright (c) 1992-2001 by David Flanagan.
 
5971
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5972
   * This is open source software.  See the file LICENSE for details.
 
5973
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5974
   *
 
5975
!  * $Log$
 
5976
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5977
!  * Initial checkin.
 
5978
!  *
 
5979
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5980
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5981
!  *                  kerberos compilation support
 
5982
!  *
 
5983
   *
 
5984
   */
 
5985
  
 
5986
  #ifndef _XmtLayoutP_h
 
5987
  #define _XmtLayoutP_h
 
5988
--- 1,19 ----
 
5989
  /* 
 
5990
   * Motif Tools Library, Version 3.1
 
5991
!  * $Id$
 
5992
   * 
 
5993
   * Written by David Flanagan.
 
5994
   * Copyright (c) 1992-2001 by David Flanagan.
 
5995
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
5996
   * This is open source software.  See the file LICENSE for details.
 
5997
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5998
   *
 
5999
!  * $Log$
 
6000
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6001
!  * Initial checkin.
 
6002
!  *
 
6003
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6004
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6005
!  *                  kerberos compilation support
 
6006
!  *
 
6007
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6008
!  * *** empty log message ***
 
6009
!  *
 
6010
   *
 
6011
   */
 
6012
  
 
6013
  #ifndef _XmtLayoutP_h
 
6014
  #define _XmtLayoutP_h
 
6015
diff -bpcBNC 5 Xmt310/Xmt/LayoutParse.c Xmt310.ge/Xmt/LayoutParse.c
 
6016
*** Xmt310/Xmt/LayoutParse.c    Sun Feb  4 22:43:26 2001
 
6017
--- Xmt310.ge/Xmt/LayoutParse.c Tue Jun 12 18:25:28 2001
 
6018
***************
 
6019
*** 1,16 ****
 
6020
  /* 
 
6021
   * Motif Tools Library, Version 3.1
 
6022
!  * $Id$
 
6023
   * 
 
6024
   * Written by David Flanagan.
 
6025
   * Copyright (c) 1992-2001 by David Flanagan.
 
6026
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6027
   * This is open source software.  See the file LICENSE for details.
 
6028
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6029
   *
 
6030
!  * $Log$
 
6031
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6032
!  * Initial checkin.
 
6033
!  *
 
6034
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6035
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6036
!  *                  kerberos compilation support
 
6037
!  *
 
6038
   *
 
6039
   */
 
6040
  
 
6041
  #include <Xmt/Xmt.h>
 
6042
  #include <Xmt/ConvertersP.h>
 
6043
--- 1,19 ----
 
6044
  /* 
 
6045
   * Motif Tools Library, Version 3.1
 
6046
!  * $Id$
 
6047
   * 
 
6048
   * Written by David Flanagan.
 
6049
   * Copyright (c) 1992-2001 by David Flanagan.
 
6050
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6051
   * This is open source software.  See the file LICENSE for details.
 
6052
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6053
   *
 
6054
!  * $Log$
 
6055
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6056
!  * Initial checkin.
 
6057
!  *
 
6058
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6059
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6060
!  *                  kerberos compilation support
 
6061
!  *
 
6062
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6063
!  * *** empty log message ***
 
6064
!  *
 
6065
   *
 
6066
   */
 
6067
  
 
6068
  #include <Xmt/Xmt.h>
 
6069
  #include <Xmt/ConvertersP.h>
 
6070
*************** XmtLayoutInfo *i;
 
6071
*** 357,367 ****
 
6072
        ConsumeToken();
 
6073
      }
 
6074
  
 
6075
      if (GetToken() == XmtLexerString) {
 
6076
        i->dummy_constraints.caption = (XmString)1;
 
6077
!       i->constraints.caption = XmtCreateXmString(GetStrValue());
 
6078
        i->constraints.dont_copy_caption = 1;
 
6079
        XtFree(GetStrValue());
 
6080
        ConsumeToken();
 
6081
      }
 
6082
      else
 
6083
--- 360,370 ----
 
6084
        ConsumeToken();
 
6085
      }
 
6086
  
 
6087
      if (GetToken() == XmtLexerString) {
 
6088
        i->dummy_constraints.caption = (XmString)1;
 
6089
!       i->constraints.caption = XmtCreateLocalizedXmString((Widget) lw, GetStrValue());
 
6090
        i->constraints.dont_copy_caption = 1;
 
6091
        XtFree(GetStrValue());
 
6092
        ConsumeToken();
 
6093
      }
 
6094
      else
 
6095
diff -bpcBNC 5 Xmt310/Xmt/LayoutPixmap.c Xmt310.ge/Xmt/LayoutPixmap.c
 
6096
*** Xmt310/Xmt/LayoutPixmap.c   Sun Feb  4 22:43:32 2001
 
6097
--- Xmt310.ge/Xmt/LayoutPixmap.c        Tue Jun 12 18:25:28 2001
 
6098
***************
 
6099
*** 1,16 ****
 
6100
  /* 
 
6101
   * Motif Tools Library, Version 3.1
 
6102
!  * $Id$
 
6103
   * 
 
6104
   * Written by David Flanagan.
 
6105
   * Copyright (c) 1992-2001 by David Flanagan.
 
6106
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6107
   * This is open source software.  See the file LICENSE for details.
 
6108
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6109
   *
 
6110
!  * $Log$
 
6111
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6112
!  * Initial checkin.
 
6113
!  *
 
6114
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6115
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6116
!  *                  kerberos compilation support
 
6117
!  *
 
6118
   *
 
6119
   */
 
6120
  
 
6121
  #include <Xmt/Xmt.h>
 
6122
  #include <Xmt/LayoutGP.h>
 
6123
--- 1,19 ----
 
6124
  /* 
 
6125
   * Motif Tools Library, Version 3.1
 
6126
!  * $Id$
 
6127
   * 
 
6128
   * Written by David Flanagan.
 
6129
   * Copyright (c) 1992-2001 by David Flanagan.
 
6130
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6131
   * This is open source software.  See the file LICENSE for details.
 
6132
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6133
   *
 
6134
!  * $Log$
 
6135
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6136
!  * Initial checkin.
 
6137
!  *
 
6138
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6139
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6140
!  *                  kerberos compilation support
 
6141
!  *
 
6142
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6143
!  * *** empty log message ***
 
6144
!  *
 
6145
   *
 
6146
   */
 
6147
  
 
6148
  #include <Xmt/Xmt.h>
 
6149
  #include <Xmt/LayoutGP.h>
 
6150
diff -bpcBNC 5 Xmt310/Xmt/LayoutS.c Xmt310.ge/Xmt/LayoutS.c
 
6151
*** Xmt310/Xmt/LayoutS.c        Sun Feb  4 22:43:50 2001
 
6152
--- Xmt310.ge/Xmt/LayoutS.c     Tue Jun 12 18:25:28 2001
 
6153
***************
 
6154
*** 1,16 ****
 
6155
  /* 
 
6156
   * Motif Tools Library, Version 3.1
 
6157
!  * $Id$
 
6158
   * 
 
6159
   * Written by David Flanagan.
 
6160
   * Copyright (c) 1992-2001 by David Flanagan.
 
6161
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6162
   * This is open source software.  See the file LICENSE for details.
 
6163
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6164
   *
 
6165
!  * $Log$
 
6166
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6167
!  * Initial checkin.
 
6168
!  *
 
6169
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6170
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6171
!  *                  kerberos compilation support
 
6172
!  *
 
6173
   *
 
6174
   */
 
6175
  
 
6176
  #include <X11/Intrinsic.h>
 
6177
  #ifndef _Xconst
 
6178
--- 1,19 ----
 
6179
  /* 
 
6180
   * Motif Tools Library, Version 3.1
 
6181
!  * $Id$
 
6182
   * 
 
6183
   * Written by David Flanagan.
 
6184
   * Copyright (c) 1992-2001 by David Flanagan.
 
6185
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6186
   * This is open source software.  See the file LICENSE for details.
 
6187
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6188
   *
 
6189
!  * $Log$
 
6190
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6191
!  * Initial checkin.
 
6192
!  *
 
6193
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6194
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6195
!  *                  kerberos compilation support
 
6196
!  *
 
6197
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6198
!  * *** empty log message ***
 
6199
!  *
 
6200
   *
 
6201
   */
 
6202
  
 
6203
  #include <X11/Intrinsic.h>
 
6204
  #ifndef _Xconst
 
6205
diff -bpcBNC 5 Xmt310/Xmt/LayoutSep.c Xmt310.ge/Xmt/LayoutSep.c
 
6206
*** Xmt310/Xmt/LayoutSep.c      Sun Feb  4 22:44:02 2001
 
6207
--- Xmt310.ge/Xmt/LayoutSep.c   Tue Jun 12 18:25:28 2001
 
6208
***************
 
6209
*** 1,16 ****
 
6210
  /* 
 
6211
   * Motif Tools Library, Version 3.1
 
6212
!  * $Id$
 
6213
   * 
 
6214
   * Written by David Flanagan.
 
6215
   * Copyright (c) 1992-2001 by David Flanagan.
 
6216
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6217
   * This is open source software.  See the file LICENSE for details.
 
6218
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6219
   *
 
6220
!  * $Log$
 
6221
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6222
!  * Initial checkin.
 
6223
!  *
 
6224
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6225
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6226
!  *                  kerberos compilation support
 
6227
!  *
 
6228
   *
 
6229
   */
 
6230
  
 
6231
  #include <Xmt/Xmt.h>
 
6232
  #include <Xmt/LayoutGP.h>
 
6233
--- 1,19 ----
 
6234
  /* 
 
6235
   * Motif Tools Library, Version 3.1
 
6236
!  * $Id$
 
6237
   * 
 
6238
   * Written by David Flanagan.
 
6239
   * Copyright (c) 1992-2001 by David Flanagan.
 
6240
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6241
   * This is open source software.  See the file LICENSE for details.
 
6242
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6243
   *
 
6244
!  * $Log$
 
6245
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6246
!  * Initial checkin.
 
6247
!  *
 
6248
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6249
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6250
!  *                  kerberos compilation support
 
6251
!  *
 
6252
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6253
!  * *** empty log message ***
 
6254
!  *
 
6255
   *
 
6256
   */
 
6257
  
 
6258
  #include <Xmt/Xmt.h>
 
6259
  #include <Xmt/LayoutGP.h>
 
6260
diff -bpcBNC 5 Xmt310/Xmt/LayoutSpace.c Xmt310.ge/Xmt/LayoutSpace.c
 
6261
*** Xmt310/Xmt/LayoutSpace.c    Sun Feb  4 22:44:06 2001
 
6262
--- Xmt310.ge/Xmt/LayoutSpace.c Tue Jun 12 18:25:28 2001
 
6263
***************
 
6264
*** 1,16 ****
 
6265
  /* 
 
6266
   * Motif Tools Library, Version 3.1
 
6267
!  * $Id$
 
6268
   * 
 
6269
   * Written by David Flanagan.
 
6270
   * Copyright (c) 1992-2001 by David Flanagan.
 
6271
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6272
   * This is open source software.  See the file LICENSE for details.
 
6273
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6274
   *
 
6275
!  * $Log$
 
6276
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6277
!  * Initial checkin.
 
6278
!  *
 
6279
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6280
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6281
!  *                  kerberos compilation support
 
6282
!  *
 
6283
   *
 
6284
   */
 
6285
  
 
6286
  #include <Xmt/Xmt.h>
 
6287
  #include <Xmt/LayoutGP.h>
 
6288
--- 1,19 ----
 
6289
  /* 
 
6290
   * Motif Tools Library, Version 3.1
 
6291
!  * $Id$
 
6292
   * 
 
6293
   * Written by David Flanagan.
 
6294
   * Copyright (c) 1992-2001 by David Flanagan.
 
6295
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6296
   * This is open source software.  See the file LICENSE for details.
 
6297
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6298
   *
 
6299
!  * $Log$
 
6300
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6301
!  * Initial checkin.
 
6302
!  *
 
6303
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6304
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6305
!  *                  kerberos compilation support
 
6306
!  *
 
6307
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6308
!  * *** empty log message ***
 
6309
!  *
 
6310
   *
 
6311
   */
 
6312
  
 
6313
  #include <Xmt/Xmt.h>
 
6314
  #include <Xmt/LayoutGP.h>
 
6315
diff -bpcBNC 5 Xmt310/Xmt/LayoutString.c Xmt310.ge/Xmt/LayoutString.c
 
6316
*** Xmt310/Xmt/LayoutString.c   Sun Feb  4 22:44:12 2001
 
6317
--- Xmt310.ge/Xmt/LayoutString.c        Tue Jun 12 18:25:28 2001
 
6318
***************
 
6319
*** 1,16 ****
 
6320
  /* 
 
6321
   * Motif Tools Library, Version 3.1
 
6322
!  * $Id$
 
6323
   * 
 
6324
   * Written by David Flanagan.
 
6325
   * Copyright (c) 1992-2001 by David Flanagan.
 
6326
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6327
   * This is open source software.  See the file LICENSE for details.
 
6328
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6329
   *
 
6330
!  * $Log$
 
6331
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6332
!  * Initial checkin.
 
6333
!  *
 
6334
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6335
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6336
!  *                  kerberos compilation support
 
6337
!  *
 
6338
   *
 
6339
   */
 
6340
  
 
6341
  #include <Xmt/Xmt.h>
 
6342
  #include <Xmt/LayoutGP.h>
 
6343
--- 1,19 ----
 
6344
  /* 
 
6345
   * Motif Tools Library, Version 3.1
 
6346
!  * $Id$
 
6347
   * 
 
6348
   * Written by David Flanagan.
 
6349
   * Copyright (c) 1992-2001 by David Flanagan.
 
6350
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6351
   * This is open source software.  See the file LICENSE for details.
 
6352
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6353
   *
 
6354
!  * $Log$
 
6355
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6356
!  * Initial checkin.
 
6357
!  *
 
6358
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6359
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6360
!  *                  kerberos compilation support
 
6361
!  *
 
6362
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6363
!  * *** empty log message ***
 
6364
!  *
 
6365
   *
 
6366
   */
 
6367
  
 
6368
  #include <Xmt/Xmt.h>
 
6369
  #include <Xmt/LayoutGP.h>
 
6370
*************** Cardinal *num_args;
 
6371
*** 214,224 ****
 
6372
            XmStringCopy(ls->layout_string.label_string);
 
6373
      else if (ls->layout_string.label) {
 
6374
        /* we don't copy the string; just convert it to an XmString */
 
6375
        /* and then set it to "" because we don't own it. */
 
6376
        ls->layout_string.label_string =
 
6377
!           XmtCreateXmString(ls->layout_string.label);
 
6378
        ls->layout_string.label = empty_string;
 
6379
      }
 
6380
  
 
6381
      MeasureString(lw, ls);
 
6382
      GetGC(lw, ls);
 
6383
--- 217,227 ----
 
6384
            XmStringCopy(ls->layout_string.label_string);
 
6385
      else if (ls->layout_string.label) {
 
6386
        /* we don't copy the string; just convert it to an XmString */
 
6387
        /* and then set it to "" because we don't own it. */
 
6388
        ls->layout_string.label_string =
 
6389
!           XmtCreateLocalizedXmString((Widget) lw, ls->layout_string.label);
 
6390
        ls->layout_string.label = empty_string;
 
6391
      }
 
6392
  
 
6393
      MeasureString(lw, ls);
 
6394
      GetGC(lw, ls);
 
6395
*************** Cardinal *num_args;
 
6396
*** 259,286 ****
 
6397
--- 262,302 ----
 
6398
      XmtLayoutStringGadget cs = (XmtLayoutStringGadget) current;
 
6399
      XmtLayoutStringGadget ss = (XmtLayoutStringGadget) set;
 
6400
      XmtLayoutWidget lw = (XmtLayoutWidget) XtParent(set);
 
6401
      Boolean redisplay = False;
 
6402
      Boolean relayout = False;
 
6403
+     Dimension cs_width, cs_height;
 
6404
  
 
6405
      if (ss->layout_string.label_string  != cs->layout_string.label_string) {
 
6406
        if (cs->layout_string.label_string)
 
6407
            XmStringFree(cs->layout_string.label_string);
 
6408
        if (ss->layout_string.label_string)
 
6409
            ss->layout_string.label_string =
 
6410
                XmStringCopy(ss->layout_string.label_string);
 
6411
+         cs_width  = cs->layout_string.width;
 
6412
+         cs_height = cs->layout_string.height;
 
6413
        MeasureString(lw, ss);
 
6414
+         if (cs_width  != ss->layout_string.width ||
 
6415
+                 cs_height != ss->layout_string.height)
 
6416
              relayout = True;
 
6417
+         else  
 
6418
+             redisplay = True;
 
6419
      }
 
6420
      else if (ss->layout_string.label != empty_string) {
 
6421
        if (cs->layout_string.label_string)
 
6422
            XmStringFree(cs->layout_string.label_string);
 
6423
        ss->layout_string.label_string =
 
6424
            XmtCreateXmString(ss->layout_string.label);
 
6425
        ss->layout_string.label = empty_string;
 
6426
+         cs_width  = cs->layout_string.width;
 
6427
+         cs_height = cs->layout_string.height;
 
6428
        MeasureString(lw, ss);
 
6429
+         if (cs_width  != ss->layout_string.width ||
 
6430
+                 cs_height != ss->layout_string.height)
 
6431
              relayout = True;
 
6432
+         else
 
6433
+             redisplay = True;
 
6434
      }
 
6435
  
 
6436
      if (ss->layout_string.foreground != cs->layout_string.foreground) {
 
6437
        if (ss->layout_string.gc) XtReleaseGC(set, ss->layout_string.gc);
 
6438
        GetGC(lw, ss);
 
6439
*************** Cardinal *num_args;
 
6440
*** 312,326 ****
 
6441
       * Returning True from this procedure doesn't do any good, presumably
 
6442
       * because the Intrinsics think that we're an Object, not a RectObj
 
6443
       * (This is one of the gross Motif hacks, described in Layout.c)
 
6444
       * So we generate an Expose event ourselves.
 
6445
       */
 
6446
!     if ((redisplay | relayout) && XtIsRealized((Widget)lw))
 
6447
        XClearArea(XtDisplay((Widget)lw), XtWindow((Widget)lw),
 
6448
                   cs->rectangle.x, cs->rectangle.y,
 
6449
                   cs->rectangle.width, cs->rectangle.height,
 
6450
                   True);
 
6451
      return False;
 
6452
  }
 
6453
  
 
6454
  /* ARGSUSED */
 
6455
  #if NeedFunctionPrototypes
 
6456
--- 328,346 ----
 
6457
       * Returning True from this procedure doesn't do any good, presumably
 
6458
       * because the Intrinsics think that we're an Object, not a RectObj
 
6459
       * (This is one of the gross Motif hacks, described in Layout.c)
 
6460
       * So we generate an Expose event ourselves.
 
6461
       */
 
6462
!     if (redisplay && XtIsRealized((Widget)lw)) {
 
6463
!          Redisplay((Widget)ss, (XEvent *)NULL, (Region)NULL);
 
6464
!     }
 
6465
!     else if ( relayout && XtIsRealized((Widget)lw)) {
 
6466
          XClearArea(XtDisplay((Widget)lw), XtWindow((Widget)lw),
 
6467
                     cs->rectangle.x, cs->rectangle.y,
 
6468
                     cs->rectangle.width, cs->rectangle.height,
 
6469
                     True);
 
6470
+     }
 
6471
      return False;
 
6472
  }
 
6473
  
 
6474
  /* ARGSUSED */
 
6475
  #if NeedFunctionPrototypes
 
6476
diff -bpcBNC 5 Xmt310/Xmt/Lexer.c Xmt310.ge/Xmt/Lexer.c
 
6477
*** Xmt310/Xmt/Lexer.c  Sun Feb  4 22:44:18 2001
 
6478
--- Xmt310.ge/Xmt/Lexer.c       Tue Jun 12 18:25:28 2001
 
6479
***************
 
6480
*** 1,16 ****
 
6481
  /* 
 
6482
   * Motif Tools Library, Version 3.1
 
6483
!  * $Id$
 
6484
   * 
 
6485
   * Written by David Flanagan.
 
6486
   * Copyright (c) 1992-2001 by David Flanagan.
 
6487
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6488
   * This is open source software.  See the file LICENSE for details.
 
6489
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6490
   *
 
6491
!  * $Log$
 
6492
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6493
!  * Initial checkin.
 
6494
!  *
 
6495
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6496
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6497
!  *                  kerberos compilation support
 
6498
!  *
 
6499
   *
 
6500
   */
 
6501
  
 
6502
  #include <ctype.h>
 
6503
  #include <Xmt/Xmt.h>
 
6504
--- 1,19 ----
 
6505
  /* 
 
6506
   * Motif Tools Library, Version 3.1
 
6507
!  * $Id$
 
6508
   * 
 
6509
   * Written by David Flanagan.
 
6510
   * Copyright (c) 1992-2001 by David Flanagan.
 
6511
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6512
   * This is open source software.  See the file LICENSE for details.
 
6513
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6514
   *
 
6515
!  * $Log$
 
6516
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6517
!  * Initial checkin.
 
6518
!  *
 
6519
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6520
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6521
!  *                  kerberos compilation support
 
6522
!  *
 
6523
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6524
!  * *** empty log message ***
 
6525
!  *
 
6526
   *
 
6527
   */
 
6528
  
 
6529
  #include <ctype.h>
 
6530
  #include <Xmt/Xmt.h>
 
6531
diff -bpcBNC 5 Xmt310/Xmt/Lexer.h Xmt310.ge/Xmt/Lexer.h
 
6532
*** Xmt310/Xmt/Lexer.h  Sun Feb  4 22:44:22 2001
 
6533
--- Xmt310.ge/Xmt/Lexer.h       Tue Jun 12 18:25:28 2001
 
6534
***************
 
6535
*** 1,16 ****
 
6536
  /* 
 
6537
   * Motif Tools Library, Version 3.1
 
6538
!  * $Id$
 
6539
   * 
 
6540
   * Written by David Flanagan.
 
6541
   * Copyright (c) 1992-2001 by David Flanagan.
 
6542
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6543
   * This is open source software.  See the file LICENSE for details.
 
6544
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6545
   *
 
6546
!  * $Log$
 
6547
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6548
!  * Initial checkin.
 
6549
!  *
 
6550
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6551
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6552
!  *                  kerberos compilation support
 
6553
!  *
 
6554
   *
 
6555
   */
 
6556
  
 
6557
  #ifndef _XmtLexer_h
 
6558
  #define _XmtLexer_h    
 
6559
--- 1,19 ----
 
6560
  /* 
 
6561
   * Motif Tools Library, Version 3.1
 
6562
!  * $Id$
 
6563
   * 
 
6564
   * Written by David Flanagan.
 
6565
   * Copyright (c) 1992-2001 by David Flanagan.
 
6566
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6567
   * This is open source software.  See the file LICENSE for details.
 
6568
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6569
   *
 
6570
!  * $Log$
 
6571
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6572
!  * Initial checkin.
 
6573
!  *
 
6574
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6575
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6576
!  *                  kerberos compilation support
 
6577
!  *
 
6578
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6579
!  * *** empty log message ***
 
6580
!  *
 
6581
   *
 
6582
   */
 
6583
  
 
6584
  #ifndef _XmtLexer_h
 
6585
  #define _XmtLexer_h    
 
6586
diff -bpcBNC 5 Xmt310/Xmt/Localize.c Xmt310.ge/Xmt/Localize.c
 
6587
*** Xmt310/Xmt/Localize.c       Sun Feb  4 22:44:36 2001
 
6588
--- Xmt310.ge/Xmt/Localize.c    Tue Jun 12 18:25:28 2001
 
6589
***************
 
6590
*** 1,16 ****
 
6591
  /* 
 
6592
   * Motif Tools Library, Version 3.1
 
6593
!  * $Id$
 
6594
   * 
 
6595
   * Written by David Flanagan.
 
6596
   * Copyright (c) 1992-2001 by David Flanagan.
 
6597
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6598
   * This is open source software.  See the file LICENSE for details.
 
6599
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6600
   *
 
6601
!  * $Log$
 
6602
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6603
!  * Initial checkin.
 
6604
!  *
 
6605
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6606
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6607
!  *                  kerberos compilation support
 
6608
!  *
 
6609
   *
 
6610
   */
 
6611
  
 
6612
  #include <stdio.h>
 
6613
  #include <Xmt/XmtP.h>
 
6614
--- 1,19 ----
 
6615
  /* 
 
6616
   * Motif Tools Library, Version 3.1
 
6617
!  * $Id$
 
6618
   * 
 
6619
   * Written by David Flanagan.
 
6620
   * Copyright (c) 1992-2001 by David Flanagan.
 
6621
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6622
   * This is open source software.  See the file LICENSE for details.
 
6623
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6624
   *
 
6625
!  * $Log$
 
6626
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6627
!  * Initial checkin.
 
6628
!  *
 
6629
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6630
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6631
!  *                  kerberos compilation support
 
6632
!  *
 
6633
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6634
!  * *** empty log message ***
 
6635
!  *
 
6636
   *
 
6637
   */
 
6638
  
 
6639
  #include <stdio.h>
 
6640
  #include <Xmt/XmtP.h>
 
6641
diff -bpcBNC 5 Xmt310/Xmt/Lookup.c Xmt310.ge/Xmt/Lookup.c
 
6642
*** Xmt310/Xmt/Lookup.c Sun Feb  4 22:44:38 2001
 
6643
--- Xmt310.ge/Xmt/Lookup.c      Tue Jun 12 18:25:28 2001
 
6644
***************
 
6645
*** 1,16 ****
 
6646
  /* 
 
6647
   * Motif Tools Library, Version 3.1
 
6648
!  * $Id$
 
6649
   * 
 
6650
   * Written by David Flanagan.
 
6651
   * Copyright (c) 1992-2001 by David Flanagan.
 
6652
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6653
   * This is open source software.  See the file LICENSE for details.
 
6654
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6655
   *
 
6656
!  * $Log$
 
6657
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6658
!  * Initial checkin.
 
6659
!  *
 
6660
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6661
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6662
!  *                  kerberos compilation support
 
6663
!  *
 
6664
   *
 
6665
   */
 
6666
  
 
6667
  #include <stdio.h>
 
6668
  #include <Xmt/Xmt.h>
 
6669
--- 1,19 ----
 
6670
  /* 
 
6671
   * Motif Tools Library, Version 3.1
 
6672
!  * $Id$
 
6673
   * 
 
6674
   * Written by David Flanagan.
 
6675
   * Copyright (c) 1992-2001 by David Flanagan.
 
6676
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6677
   * This is open source software.  See the file LICENSE for details.
 
6678
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6679
   *
 
6680
!  * $Log$
 
6681
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6682
!  * Initial checkin.
 
6683
!  *
 
6684
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6685
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6686
!  *                  kerberos compilation support
 
6687
!  *
 
6688
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6689
!  * *** empty log message ***
 
6690
!  *
 
6691
   *
 
6692
   */
 
6693
  
 
6694
  #include <stdio.h>
 
6695
  #include <Xmt/Xmt.h>
 
6696
diff -bpcBNC 5 Xmt310/Xmt/LookupP.h Xmt310.ge/Xmt/LookupP.h
 
6697
*** Xmt310/Xmt/LookupP.h        Sun Feb  4 22:44:42 2001
 
6698
--- Xmt310.ge/Xmt/LookupP.h     Tue Jun 12 18:25:28 2001
 
6699
***************
 
6700
*** 1,16 ****
 
6701
  /* 
 
6702
   * Motif Tools Library, Version 3.1
 
6703
!  * $Id$
 
6704
   * 
 
6705
   * Written by David Flanagan.
 
6706
   * Copyright (c) 1992-2001 by David Flanagan.
 
6707
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6708
   * This is open source software.  See the file LICENSE for details.
 
6709
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6710
   *
 
6711
!  * $Log$
 
6712
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6713
!  * Initial checkin.
 
6714
!  *
 
6715
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6716
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6717
!  *                  kerberos compilation support
 
6718
!  *
 
6719
   *
 
6720
   */
 
6721
  
 
6722
  #ifndef _XmtLookupP_h
 
6723
  #define _XmtLookupP_h
 
6724
--- 1,19 ----
 
6725
  /* 
 
6726
   * Motif Tools Library, Version 3.1
 
6727
!  * $Id$
 
6728
   * 
 
6729
   * Written by David Flanagan.
 
6730
   * Copyright (c) 1992-2001 by David Flanagan.
 
6731
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
6732
   * This is open source software.  See the file LICENSE for details.
 
6733
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6734
   *
 
6735
!  * $Log$
 
6736
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6737
!  * Initial checkin.
 
6738
!  *
 
6739
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6740
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6741
!  *                  kerberos compilation support
 
6742
!  *
 
6743
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6744
!  * *** empty log message ***
 
6745
!  *
 
6746
   *
 
6747
   */
 
6748
  
 
6749
  #ifndef _XmtLookupP_h
 
6750
  #define _XmtLookupP_h
 
6751
diff -bpcBNC 5 Xmt310/Xmt/Makefile.aimk Xmt310.ge/Xmt/Makefile.aimk
 
6752
*** Xmt310/Xmt/Makefile.aimk    Thu Jan  1 01:00:00 1970
 
6753
--- Xmt310.ge/Xmt/Makefile.aimk Tue Jun 12 18:11:34 2001
 
6754
***************
 
6755
*** 0 ****
 
6756
--- 1,502 ----
 
6757
+ # Changes by _AA 20.7.95
 
6758
+ # A changed version of the Xmt Makefile.aimk for
 
6759
+ # use with aimk 
 
6760
+ # The objects are build in the corresponding arch directory
 
6761
+ # The CFLAGS,XCFLAGS and the SDIR variable are delivered by aimk
 
6762
 
6763
+ XMT_SDIR = ../Xmt310/Xmt
 
6764
 
6765
+ XMTFLAGS = $(CFLAGS) -I../Xmt310
 
6766
 
6767
+ XMT_SRCS =  \
 
6768
+       $(XMT_SDIR)/All.c \
 
6769
+       $(XMT_SDIR)/AppRes.c \
 
6770
+       $(XMT_SDIR)/AskForBool.c \
 
6771
+       $(XMT_SDIR)/AskForFile.c \
 
6772
+       $(XMT_SDIR)/AskForItem.c \
 
6773
+       $(XMT_SDIR)/AskForString.c \
 
6774
+       $(XMT_SDIR)/AssertClass.c \
 
6775
+       $(XMT_SDIR)/BSearch.c \
 
6776
+       $(XMT_SDIR)/BitmapCvt.c \
 
6777
+       $(XMT_SDIR)/Block.c \
 
6778
+       $(XMT_SDIR)/CallbackCvt.c \
 
6779
+       $(XMT_SDIR)/CheckFormat.c \
 
6780
+       $(XMT_SDIR)/Chooser.c \
 
6781
+       $(XMT_SDIR)/Cli.c \
 
6782
+       $(XMT_SDIR)/Color.c \
 
6783
+       $(XMT_SDIR)/ColorTable.c \
 
6784
+       $(XMT_SDIR)/ColorTblCvt.c \
 
6785
+       $(XMT_SDIR)/ContextHelp.c \
 
6786
+       $(XMT_SDIR)/Create.c \
 
6787
+       $(XMT_SDIR)/Cursor.c \
 
6788
+       $(XMT_SDIR)/DECHack.c \
 
6789
+       $(XMT_SDIR)/Dialog.c \
 
6790
+       $(XMT_SDIR)/DialogPos.c \
 
6791
+       $(XMT_SDIR)/Dialogs.c \
 
6792
+       $(XMT_SDIR)/Discard.c \
 
6793
+       $(XMT_SDIR)/EnumCvt.c \
 
6794
+       $(XMT_SDIR)/FindFile.c \
 
6795
+       $(XMT_SDIR)/FontListCvt.c \
 
6796
+       $(XMT_SDIR)/GetPixmap.c \
 
6797
+       $(XMT_SDIR)/HSLtoRGB.c \
 
6798
+       $(XMT_SDIR)/Hash.c \
 
6799
+       $(XMT_SDIR)/HelpBox.c \
 
6800
+       $(XMT_SDIR)/HelpBrowser.c \
 
6801
+       $(XMT_SDIR)/HelpNode.c \
 
6802
+       $(XMT_SDIR)/IBMManage.c \
 
6803
+       $(XMT_SDIR)/Icon.c \
 
6804
+       $(XMT_SDIR)/Icons.c \
 
6805
+       $(XMT_SDIR)/Include.c \
 
6806
+       $(XMT_SDIR)/InitFocus.c \
 
6807
+       $(XMT_SDIR)/Initialize.c \
 
6808
+       $(XMT_SDIR)/InputField.c \
 
6809
+       $(XMT_SDIR)/Layout.c \
 
6810
+       $(XMT_SDIR)/LayoutBox.c \
 
6811
+       $(XMT_SDIR)/LayoutCreate.c \
 
6812
+       $(XMT_SDIR)/LayoutGadget.c \
 
6813
+       $(XMT_SDIR)/LayoutParse.c \
 
6814
+       $(XMT_SDIR)/LayoutPixmap.c \
 
6815
+       $(XMT_SDIR)/LayoutSep.c \
 
6816
+       $(XMT_SDIR)/LayoutSpace.c \
 
6817
+       $(XMT_SDIR)/LayoutString.c \
 
6818
+       $(XMT_SDIR)/Lexer.c \
 
6819
+       $(XMT_SDIR)/Localize.c \
 
6820
+       $(XMT_SDIR)/Lookup.c \
 
6821
+       $(XMT_SDIR)/Menu.c \
 
6822
+       $(XMT_SDIR)/MenuCvt.c \
 
6823
+       $(XMT_SDIR)/MotifWidgets.c \
 
6824
+       $(XMT_SDIR)/MsgDialogs.c \
 
6825
+       $(XMT_SDIR)/MsgLine.c \
 
6826
+       $(XMT_SDIR)/NameToWidget.c \
 
6827
+       $(XMT_SDIR)/PixelCvt.c \
 
6828
+       $(XMT_SDIR)/Pixmap.c \
 
6829
+       $(XMT_SDIR)/PixmapCvt.c \
 
6830
+       $(XMT_SDIR)/PixmapLstCvt.c \
 
6831
+       $(XMT_SDIR)/Procedures.c \
 
6832
+       $(XMT_SDIR)/Quarks.c \
 
6833
+       $(XMT_SDIR)/RGBtoHSL.c \
 
6834
+       $(XMT_SDIR)/Screen.c \
 
6835
+       $(XMT_SDIR)/SetValue.c \
 
6836
+       $(XMT_SDIR)/ShellUtil.c \
 
6837
+       $(XMT_SDIR)/StringLstCvt.c \
 
6838
+       $(XMT_SDIR)/Symbols.c \
 
6839
+       $(XMT_SDIR)/Template.c \
 
6840
+       $(XMT_SDIR)/Visual.c \
 
6841
+       $(XMT_SDIR)/UnixProcs.c \
 
6842
+       $(XMT_SDIR)/Wait.c \
 
6843
+       $(XMT_SDIR)/Warning.c \
 
6844
+       $(XMT_SDIR)/WidgetCvt.c \
 
6845
+       $(XMT_SDIR)/WidgetType.c \
 
6846
+       $(XMT_SDIR)/Working.c \
 
6847
+       $(XMT_SDIR)/WorkingBox.c \
 
6848
+       $(XMT_SDIR)/Xbm.c \
 
6849
+       $(XMT_SDIR)/XmCSText.c \
 
6850
+       $(XMT_SDIR)/XmComboBox.c \
 
6851
+       $(XMT_SDIR)/XmScale.c \
 
6852
+       $(XMT_SDIR)/XmStringCvt.c \
 
6853
+       $(XMT_SDIR)/XmText.c \
 
6854
+       $(XMT_SDIR)/XmTextField.c \
 
6855
+       $(XMT_SDIR)/XmToggleB.c \
 
6856
+       $(XMT_SDIR)/XmtProcs.c \
 
6857
+       $(XMT_SDIR)/XmtWidgets.c \
 
6858
+       $(XMT_SDIR)/Xpm.c \
 
6859
+       $(XMT_SDIR)/XpmParse.c \
 
6860
+       $(XMT_SDIR)/XtProcs.c\
 
6861
+       $(XMT_SDIR)/ConvertData.c \
 
6862
+       $(XMT_SDIR)/ChooserS.c\
 
6863
+       $(XMT_SDIR)/CliS.c\
 
6864
+       $(XMT_SDIR)/HelpBoxS.c\
 
6865
+       $(XMT_SDIR)/HelpBrowserS.c\
 
6866
+       $(XMT_SDIR)/InputFieldS.c\
 
6867
+       $(XMT_SDIR)/LayoutS.c\
 
6868
+       $(XMT_SDIR)/MenuS.c\
 
6869
+       $(XMT_SDIR)/MsgLineS.c\
 
6870
+       $(XMT_SDIR)/WorkingBoxS.c
 
6871
 
6872
+ XMT_OBJS =  \
 
6873
+       All.o \
 
6874
+       AppRes.o \
 
6875
+       AskForBool.o \
 
6876
+       AskForFile.o \
 
6877
+       AskForItem.o \
 
6878
+       AskForString.o \
 
6879
+       AssertClass.o \
 
6880
+       BSearch.o \
 
6881
+       BitmapCvt.o \
 
6882
+       Block.o \
 
6883
+       CallbackCvt.o \
 
6884
+       CheckFormat.o \
 
6885
+       Chooser.o \
 
6886
+       Cli.o \
 
6887
+       Color.o \
 
6888
+       ColorTable.o \
 
6889
+       ColorTblCvt.o \
 
6890
+       ContextHelp.o \
 
6891
+       Create.o \
 
6892
+       Cursor.o \
 
6893
+       DECHack.o \
 
6894
+       Dialog.o \
 
6895
+       DialogPos.o \
 
6896
+       Dialogs.o \
 
6897
+       Discard.o \
 
6898
+       EnumCvt.o \
 
6899
+       FindFile.o \
 
6900
+       FontListCvt.o \
 
6901
+       GetPixmap.o \
 
6902
+       HSLtoRGB.o \
 
6903
+       Hash.o \
 
6904
+       HelpBox.o \
 
6905
+       HelpBrowser.o \
 
6906
+       HelpNode.o \
 
6907
+       IBMManage.o \
 
6908
+       Icon.o \
 
6909
+       Icons.o \
 
6910
+       Include.o \
 
6911
+       InitFocus.o \
 
6912
+       Initialize.o \
 
6913
+       InputField.o \
 
6914
+       Layout.o \
 
6915
+       LayoutBox.o \
 
6916
+       LayoutCreate.o \
 
6917
+       LayoutGadget.o \
 
6918
+       LayoutParse.o \
 
6919
+       LayoutPixmap.o \
 
6920
+       LayoutSep.o \
 
6921
+       LayoutSpace.o \
 
6922
+       LayoutString.o \
 
6923
+       Lexer.o \
 
6924
+       Localize.o \
 
6925
+       Lookup.o \
 
6926
+       Menu.o \
 
6927
+       MenuCvt.o \
 
6928
+       MotifWidgets.o \
 
6929
+       MsgDialogs.o \
 
6930
+       MsgLine.o \
 
6931
+       NameToWidget.o \
 
6932
+       PixelCvt.o \
 
6933
+       Pixmap.o \
 
6934
+       PixmapCvt.o \
 
6935
+       PixmapLstCvt.o \
 
6936
+       Procedures.o \
 
6937
+       Quarks.o \
 
6938
+       RGBtoHSL.o \
 
6939
+       Screen.o \
 
6940
+       SetValue.o \
 
6941
+       ShellUtil.o \
 
6942
+       StringLstCvt.o \
 
6943
+       Symbols.o \
 
6944
+       Template.o \
 
6945
+       Visual.o \
 
6946
+       UnixProcs.o \
 
6947
+       Wait.o \
 
6948
+       Warning.o \
 
6949
+       WidgetCvt.o \
 
6950
+       WidgetType.o \
 
6951
+       Working.o \
 
6952
+       WorkingBox.o \
 
6953
+       Xbm.o \
 
6954
+    XmCSText.o \
 
6955
+       XmComboBox.o \
 
6956
+       XmScale.o \
 
6957
+       XmStringCvt.o \
 
6958
+       XmText.o \
 
6959
+       XmTextField.o \
 
6960
+       XmToggleB.o \
 
6961
+       XmtProcs.o \
 
6962
+       XmtWidgets.o \
 
6963
+       Xpm.o \
 
6964
+       XpmParse.o \
 
6965
+       XtProcs.o 
 
6966
 
6967
+ XMT_UNSHAREDOBJS = \
 
6968
+       ConvertData.o \
 
6969
+       ChooserS.o\
 
6970
+       CliS.o\
 
6971
+       HelpBoxS.o\
 
6972
+       HelpBrowserS.o\
 
6973
+       InputFieldS.o\
 
6974
+       LayoutS.o\
 
6975
+       MenuS.o\
 
6976
+       MsgLineS.o\
 
6977
+       WorkingBoxS.o
 
6978
 
6979
+ XMT_HEADERS = \
 
6980
+       $(XMT_SDIR)/All.h \
 
6981
+       $(XMT_SDIR)/AppResP.h \
 
6982
+       $(XMT_SDIR)/AppRes.h \
 
6983
+       $(XMT_SDIR)/Chooser.h \
 
6984
+       $(XMT_SDIR)/ChooserP.h \
 
6985
+       $(XMT_SDIR)/Cli.h \
 
6986
+       $(XMT_SDIR)/CliP.h \
 
6987
+       $(XMT_SDIR)/Color.h \
 
6988
+       $(XMT_SDIR)/Converters.h \
 
6989
+       $(XMT_SDIR)/ConvertersP.h \
 
6990
+       $(XMT_SDIR)/Create.h \
 
6991
+       $(XMT_SDIR)/Dialog.h \
 
6992
+       $(XMT_SDIR)/DialogP.h \
 
6993
+       $(XMT_SDIR)/Dialogs.h \
 
6994
+       $(XMT_SDIR)/DialogsP.h \
 
6995
+       $(XMT_SDIR)/Hash.h \
 
6996
+       $(XMT_SDIR)/Help.h \
 
6997
+       $(XMT_SDIR)/HelpBox.h \
 
6998
+       $(XMT_SDIR)/HelpBoxP.h \
 
6999
+       $(XMT_SDIR)/HelpBrowser.h \
 
7000
+       $(XMT_SDIR)/HelpBrowserP.h \
 
7001
+       $(XMT_SDIR)/Icon.h\
 
7002
+       $(XMT_SDIR)/Include.h \
 
7003
+       $(XMT_SDIR)/InputField.h \
 
7004
+       $(XMT_SDIR)/InputFieldP.h \
 
7005
+       $(XMT_SDIR)/Layout.h \
 
7006
+       $(XMT_SDIR)/LayoutG.h \
 
7007
+       $(XMT_SDIR)/LayoutGP.h \
 
7008
+       $(XMT_SDIR)/LayoutP.h \
 
7009
+       $(XMT_SDIR)/Lexer.h \
 
7010
+       $(XMT_SDIR)/LookupP.h \
 
7011
+       $(XMT_SDIR)/Menu.h \
 
7012
+       $(XMT_SDIR)/MenuP.h \
 
7013
+       $(XMT_SDIR)/MsgLine.h \
 
7014
+       $(XMT_SDIR)/MsgLineP.h \
 
7015
+       $(XMT_SDIR)/Pixmap.h \
 
7016
+       $(XMT_SDIR)/Procedures.h \
 
7017
+       $(XMT_SDIR)/ProceduresP.h \
 
7018
+       $(XMT_SDIR)/QuarksP.h \
 
7019
+       $(XMT_SDIR)/ScreenP.h \
 
7020
+       $(XMT_SDIR)/SetValue.h \
 
7021
+       $(XMT_SDIR)/Symbols.h \
 
7022
+       $(XMT_SDIR)/Template.h \
 
7023
+       $(XMT_SDIR)/Util.h \
 
7024
+       $(XMT_SDIR)/WidgetType.h \
 
7025
+       $(XMT_SDIR)/WorkingBox.h \
 
7026
+       $(XMT_SDIR)/WorkingBoxP.h \
 
7027
+       $(XMT_SDIR)/Xbm.h \
 
7028
+       $(XMT_SDIR)/Xmt.h \
 
7029
+       $(XMT_SDIR)/XmtP.h \
 
7030
+       $(XMT_SDIR)/Xpm.h
 
7031
 
7032
+ XMTLIB      = libXmt$(LIBEXT)
 
7033
 
7034
+ all: $(XMTLIB)
 
7035
 
7036
+ libXmt.a: $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
7037
+       $(AR) $(ARFLAGS) libXmt.a $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
7038
+       $(RANLIB) libXmt.a
 
7039
 
7040
+ libXmt$(SHAREDEXT): $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
7041
+       $(SHAREDLD) $(XLFLAGS) $(SHARED_LFLAGS) -o libXmt$(SHAREDEXT) $(XMT_OBJS) $(XMT_UNSHAREDOBJS) $(XLIBS)
 
7042
 
7043
+ #.c.o: $(SRCS) $(XMT_HEADERS)
 
7044
+ #     $(CC) -c $(CFLAGS) $*.c 
 
7045
 
7046
 
7047
+ All.o:                      $(XMT_SDIR)/All.c $(XMT_HEADERS)
 
7048
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/All.c 
 
7049
+ AppRes.o:                $(XMT_SDIR)/AppRes.c $(XMT_HEADERS)
 
7050
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AppRes.c 
 
7051
+ AskForBool.o:     $(XMT_SDIR)/AskForBool.c $(XMT_HEADERS)
 
7052
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForBool.c 
 
7053
+ AskForFile.o:         $(XMT_SDIR)/AskForFile.c $(XMT_HEADERS)
 
7054
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForFile.c 
 
7055
+ AskForItem.o:         $(XMT_SDIR)/AskForItem.c $(XMT_HEADERS)
 
7056
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForItem.c 
 
7057
+ AskForString.o:       $(XMT_SDIR)/AskForString.c $(XMT_HEADERS)
 
7058
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForString.c 
 
7059
+ AssertClass.o:                $(XMT_SDIR)/AssertClass.c $(XMT_HEADERS)
 
7060
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AssertClass.c 
 
7061
+ BSearch.o:               $(XMT_SDIR)/BSearch.c $(XMT_HEADERS)
 
7062
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/BSearch.c 
 
7063
+ BitmapCvt.o:          $(XMT_SDIR)/BitmapCvt.c $(XMT_HEADERS)
 
7064
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/BitmapCvt.c 
 
7065
+ Block.o:                    $(XMT_SDIR)/Block.c $(XMT_HEADERS)
 
7066
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Block.c 
 
7067
+ CallbackCvt.o:                $(XMT_SDIR)/CallbackCvt.c $(XMT_HEADERS)
 
7068
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CallbackCvt.c 
 
7069
+ CheckFormat.o:                $(XMT_SDIR)/CheckFormat.c $(XMT_HEADERS)
 
7070
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CheckFormat.c 
 
7071
+ Chooser.o:               $(XMT_SDIR)/Chooser.c $(XMT_HEADERS)
 
7072
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Chooser.c 
 
7073
+ Cli.o:                      $(XMT_SDIR)/Cli.c $(XMT_HEADERS)
 
7074
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Cli.c 
 
7075
+ Color.o:                    $(XMT_SDIR)/Color.c $(XMT_HEADERS)
 
7076
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Color.c 
 
7077
+ ColorTable.o:         $(XMT_SDIR)/ColorTable.c $(XMT_HEADERS)
 
7078
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ColorTable.c 
 
7079
+ ColorTblCvt.o:                $(XMT_SDIR)/ColorTblCvt.c $(XMT_HEADERS)
 
7080
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ColorTblCvt.c 
 
7081
+ ContextHelp.o:                $(XMT_SDIR)/ContextHelp.c $(XMT_HEADERS)
 
7082
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ContextHelp.c 
 
7083
+ Create.o:                $(XMT_SDIR)/Create.c $(XMT_HEADERS)
 
7084
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Create.c 
 
7085
+ Cursor.o:                $(XMT_SDIR)/Cursor.c $(XMT_HEADERS)
 
7086
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Cursor.c 
 
7087
+ DECHack.o:               $(XMT_SDIR)/DECHack.c $(XMT_HEADERS)
 
7088
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/DECHack.c 
 
7089
+ Dialog.o:                $(XMT_SDIR)/Dialog.c $(XMT_HEADERS)
 
7090
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Dialog.c 
 
7091
+ DialogPos.o:          $(XMT_SDIR)/DialogPos.c $(XMT_HEADERS)
 
7092
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/DialogPos.c 
 
7093
+ Dialogs.o:               $(XMT_SDIR)/Dialogs.c $(XMT_HEADERS)
 
7094
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Dialogs.c 
 
7095
+ Discard.o:               $(XMT_SDIR)/Discard.c $(XMT_HEADERS)
 
7096
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Discard.c 
 
7097
+ EnumCvt.o:               $(XMT_SDIR)/EnumCvt.c $(XMT_HEADERS)
 
7098
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/EnumCvt.c 
 
7099
+ FindFile.o:              $(XMT_SDIR)/FindFile.c $(XMT_HEADERS)
 
7100
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/FindFile.c 
 
7101
+ FontListCvt.o:                $(XMT_SDIR)/FontListCvt.c $(XMT_HEADERS)
 
7102
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/FontListCvt.c 
 
7103
+ GetPixmap.o:          $(XMT_SDIR)/GetPixmap.c $(XMT_HEADERS)
 
7104
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/GetPixmap.c 
 
7105
+ HSLtoRGB.o:              $(XMT_SDIR)/HSLtoRGB.c $(XMT_HEADERS)
 
7106
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HSLtoRGB.c 
 
7107
+ Hash.o:                     $(XMT_SDIR)/Hash.c $(XMT_HEADERS)
 
7108
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Hash.c 
 
7109
+ HelpBox.o:               $(XMT_SDIR)/HelpBox.c $(XMT_HEADERS)
 
7110
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBox.c 
 
7111
+ HelpBrowser.o:                $(XMT_SDIR)/HelpBrowser.c $(XMT_HEADERS)
 
7112
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBrowser.c 
 
7113
+ HelpNode.o:              $(XMT_SDIR)/HelpNode.c $(XMT_HEADERS)
 
7114
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpNode.c 
 
7115
+ IBMManage.o:          $(XMT_SDIR)/IBMManage.c $(XMT_HEADERS)
 
7116
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/IBMManage.c 
 
7117
+ Icon.o:                     $(XMT_SDIR)/Icon.c $(XMT_HEADERS)
 
7118
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Icon.c 
 
7119
+ Icons.o:                    $(XMT_SDIR)/Icons.c $(XMT_HEADERS)
 
7120
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Icons.c 
 
7121
+ Include.o:               $(XMT_SDIR)/Include.c $(XMT_HEADERS)
 
7122
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Include.c 
 
7123
+ InitFocus.o:          $(XMT_SDIR)/InitFocus.c $(XMT_HEADERS)
 
7124
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InitFocus.c 
 
7125
+ Initialize.o:         $(XMT_SDIR)/Initialize.c $(XMT_HEADERS)
 
7126
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Initialize.c 
 
7127
+ InputField.o:         $(XMT_SDIR)/InputField.c $(XMT_HEADERS)
 
7128
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InputField.c 
 
7129
+ Layout.o:                $(XMT_SDIR)/Layout.c $(XMT_HEADERS)
 
7130
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Layout.c 
 
7131
+ LayoutBox.o:          $(XMT_SDIR)/LayoutBox.c $(XMT_HEADERS)
 
7132
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutBox.c 
 
7133
+ LayoutCreate.o:   $(XMT_SDIR)/LayoutCreate.c $(XMT_HEADERS)
 
7134
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutCreate.c 
 
7135
+ LayoutGadget.o:       $(XMT_SDIR)/LayoutGadget.c $(XMT_HEADERS)
 
7136
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutGadget.c 
 
7137
+ LayoutParse.o:                $(XMT_SDIR)/LayoutParse.c $(XMT_HEADERS)
 
7138
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutParse.c 
 
7139
+ LayoutPixmap.o:       $(XMT_SDIR)/LayoutPixmap.c $(XMT_HEADERS)
 
7140
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutPixmap.c 
 
7141
+ LayoutSep.o:          $(XMT_SDIR)/LayoutSep.c $(XMT_HEADERS)
 
7142
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutSep.c 
 
7143
+ LayoutSpace.o:                $(XMT_SDIR)/LayoutSpace.c $(XMT_HEADERS)
 
7144
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutSpace.c 
 
7145
+ LayoutString.o:       $(XMT_SDIR)/LayoutString.c $(XMT_HEADERS)
 
7146
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutString.c 
 
7147
+ Lexer.o:                    $(XMT_SDIR)/Lexer.c $(XMT_HEADERS)
 
7148
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Lexer.c 
 
7149
+ Localize.o:              $(XMT_SDIR)/Localize.c $(XMT_HEADERS)
 
7150
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Localize.c 
 
7151
+ Lookup.o:                $(XMT_SDIR)/Lookup.c $(XMT_HEADERS)
 
7152
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Lookup.c 
 
7153
+ Menu.o:                     $(XMT_SDIR)/Menu.c $(XMT_HEADERS)
 
7154
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Menu.c 
 
7155
+ MenuCvt.o:               $(XMT_SDIR)/MenuCvt.c $(XMT_HEADERS)
 
7156
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MenuCvt.c 
 
7157
+ MotifWidgets.o:       $(XMT_SDIR)/MotifWidgets.c $(XMT_HEADERS)
 
7158
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MotifWidgets.c 
 
7159
+ MsgDialogs.o:         $(XMT_SDIR)/MsgDialogs.c $(XMT_HEADERS)
 
7160
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgDialogs.c 
 
7161
+ MsgLine.o:               $(XMT_SDIR)/MsgLine.c $(XMT_HEADERS)
 
7162
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgLine.c 
 
7163
+ NameToWidget.o:       $(XMT_SDIR)/NameToWidget.c $(XMT_HEADERS)
 
7164
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/NameToWidget.c 
 
7165
+ PixelCvt.o:              $(XMT_SDIR)/PixelCvt.c $(XMT_HEADERS)
 
7166
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixelCvt.c 
 
7167
+ Pixmap.o:                $(XMT_SDIR)/Pixmap.c $(XMT_HEADERS)
 
7168
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Pixmap.c 
 
7169
+ PixmapCvt.o:          $(XMT_SDIR)/PixmapCvt.c $(XMT_HEADERS)
 
7170
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixmapCvt.c 
 
7171
+ PixmapLstCvt.o:       $(XMT_SDIR)/PixmapLstCvt.c $(XMT_HEADERS)
 
7172
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixmapLstCvt.c 
 
7173
+ Procedures.o:         $(XMT_SDIR)/Procedures.c $(XMT_HEADERS)
 
7174
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Procedures.c 
 
7175
+ Quarks.o:                $(XMT_SDIR)/Quarks.c $(XMT_HEADERS)
 
7176
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Quarks.c 
 
7177
+ RGBtoHSL.o:              $(XMT_SDIR)/RGBtoHSL.c $(XMT_HEADERS)
 
7178
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/RGBtoHSL.c 
 
7179
+ Screen.o:                $(XMT_SDIR)/Screen.c $(XMT_HEADERS)
 
7180
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Screen.c 
 
7181
+ SetValue.o:              $(XMT_SDIR)/SetValue.c $(XMT_HEADERS)
 
7182
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/SetValue.c 
 
7183
+ ShellUtil.o:          $(XMT_SDIR)/ShellUtil.c $(XMT_HEADERS)
 
7184
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ShellUtil.c 
 
7185
+ StringLstCvt.o:   $(XMT_SDIR)/StringLstCvt.c $(XMT_HEADERS)
 
7186
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/StringLstCvt.c 
 
7187
+ Symbols.o:               $(XMT_SDIR)/Symbols.c $(XMT_HEADERS)
 
7188
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Symbols.c 
 
7189
+ Template.o:              $(XMT_SDIR)/Template.c $(XMT_HEADERS)
 
7190
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Template.c 
 
7191
+ Visual.o:                $(XMT_SDIR)/Visual.c $(XMT_HEADERS)
 
7192
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Visual.c 
 
7193
+ UnixProcs.o:          $(XMT_SDIR)/UnixProcs.c $(XMT_HEADERS)
 
7194
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/UnixProcs.c 
 
7195
+ Wait.o:                     $(XMT_SDIR)/Wait.c $(XMT_HEADERS)
 
7196
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Wait.c 
 
7197
+ Warning.o:               $(XMT_SDIR)/Warning.c $(XMT_HEADERS)
 
7198
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Warning.c 
 
7199
+ WidgetCvt.o:          $(XMT_SDIR)/WidgetCvt.c $(XMT_HEADERS)
 
7200
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WidgetCvt.c 
 
7201
+ WidgetType.o:         $(XMT_SDIR)/WidgetType.c $(XMT_HEADERS)
 
7202
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WidgetType.c 
 
7203
+ Working.o:               $(XMT_SDIR)/Working.c $(XMT_HEADERS)
 
7204
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Working.c 
 
7205
+ WorkingBox.o:         $(XMT_SDIR)/WorkingBox.c $(XMT_HEADERS)
 
7206
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WorkingBox.c 
 
7207
+ Xbm.o:                      $(XMT_SDIR)/Xbm.c $(XMT_HEADERS)
 
7208
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Xbm.c 
 
7209
+ XmCSText.o:              $(XMT_SDIR)/XmCSText.c $(XMT_HEADERS)
 
7210
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmCSText.c 
 
7211
+ XmComboBox.o:         $(XMT_SDIR)/XmComboBox.c $(XMT_HEADERS)
 
7212
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmComboBox.c 
 
7213
+ XmScale.o:               $(XMT_SDIR)/XmScale.c $(XMT_HEADERS)
 
7214
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmScale.c 
 
7215
+ XmStringCvt.o:                $(XMT_SDIR)/XmStringCvt.c $(XMT_HEADERS)
 
7216
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmStringCvt.c 
 
7217
+ XmText.o:                $(XMT_SDIR)/XmText.c $(XMT_HEADERS)
 
7218
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmText.c 
 
7219
+ XmTextField.o:                $(XMT_SDIR)/XmTextField.c $(XMT_HEADERS)
 
7220
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmTextField.c 
 
7221
+ XmToggleB.o:          $(XMT_SDIR)/XmToggleB.c $(XMT_HEADERS)
 
7222
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmToggleB.c 
 
7223
+ XmtProcs.o:              $(XMT_SDIR)/XmtProcs.c $(XMT_HEADERS)
 
7224
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmtProcs.c 
 
7225
+ XmtWidgets.o:         $(XMT_SDIR)/XmtWidgets.c $(XMT_HEADERS)
 
7226
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmtWidgets.c 
 
7227
+ Xpm.o:                      $(XMT_SDIR)/Xpm.c $(XMT_HEADERS)
 
7228
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Xpm.c 
 
7229
+ XpmParse.o:              $(XMT_SDIR)/XpmParse.c $(XMT_HEADERS)
 
7230
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XpmParse.c 
 
7231
+ XtProcs.o:               $(XMT_SDIR)/XtProcs.c $(XMT_HEADERS)
 
7232
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XtProcs.c 
 
7233
 
7234
+ ConvertData.o:           $(XMT_SDIR)/ConvertData.c $(XMT_HEADERS)
 
7235
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ConvertData.c 
 
7236
+ ChooserS.o:              $(XMT_SDIR)/ChooserS.c $(XMT_HEADERS)
 
7237
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ChooserS.c 
 
7238
+ CliS.o:                     $(XMT_SDIR)/CliS.c $(XMT_HEADERS)
 
7239
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CliS.c 
 
7240
+ HelpBoxS.o:              $(XMT_SDIR)/HelpBoxS.c $(XMT_HEADERS)
 
7241
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBoxS.c 
 
7242
+ HelpBrowserS.o:   $(XMT_SDIR)/HelpBrowserS.c $(XMT_HEADERS)
 
7243
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBrowserS.c 
 
7244
+ InputFieldS.o:                $(XMT_SDIR)/InputFieldS.c $(XMT_HEADERS)
 
7245
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InputFieldS.c 
 
7246
+ LayoutS.o:               $(XMT_SDIR)/LayoutS.c $(XMT_HEADERS)
 
7247
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutS.c 
 
7248
+ MenuS.o:                    $(XMT_SDIR)/MenuS.c $(XMT_HEADERS)
 
7249
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MenuS.c 
 
7250
+ MsgLineS.o:              $(XMT_SDIR)/MsgLineS.c $(XMT_HEADERS)
 
7251
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgLineS.c 
 
7252
+ WorkingBoxS.o:                $(XMT_SDIR)/WorkingBoxS.c $(XMT_HEADERS)
 
7253
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WorkingBoxS.c 
 
7254
 
7255
 
7256
+ Xmt_clean:
 
7257
+       $(RM) $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
7258
+       $(RM) libXmt.a libXmt$(SHAREDEXT)
 
7259
diff -bpcBNC 5 Xmt310/Xmt/Menu.c Xmt310.ge/Xmt/Menu.c
 
7260
*** Xmt310/Xmt/Menu.c   Sun Feb  4 22:45:26 2001
 
7261
--- Xmt310.ge/Xmt/Menu.c        Tue Jun 12 18:25:28 2001
 
7262
***************
 
7263
*** 1,16 ****
 
7264
  /* 
 
7265
   * Motif Tools Library, Version 3.1
 
7266
!  * $Id$
 
7267
   * 
 
7268
   * Written by David Flanagan.
 
7269
   * Copyright (c) 1992-2001 by David Flanagan.
 
7270
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7271
   * This is open source software.  See the file LICENSE for details.
 
7272
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7273
   *
 
7274
!  * $Log$
 
7275
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7276
!  * Initial checkin.
 
7277
!  *
 
7278
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7279
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7280
!  *                  kerberos compilation support
 
7281
!  *
 
7282
   *
 
7283
   */
 
7284
  
 
7285
  #include <stdio.h>
 
7286
  #include <Xmt/XmtP.h>
 
7287
--- 1,19 ----
 
7288
  /* 
 
7289
   * Motif Tools Library, Version 3.1
 
7290
!  * $Id$
 
7291
   * 
 
7292
   * Written by David Flanagan.
 
7293
   * Copyright (c) 1992-2001 by David Flanagan.
 
7294
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7295
   * This is open source software.  See the file LICENSE for details.
 
7296
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7297
   *
 
7298
!  * $Log$
 
7299
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7300
!  * Initial checkin.
 
7301
!  *
 
7302
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7303
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7304
!  *                  kerberos compilation support
 
7305
!  *
 
7306
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7307
!  * *** empty log message ***
 
7308
!  *
 
7309
   *
 
7310
   */
 
7311
  
 
7312
  #include <stdio.h>
 
7313
  #include <Xmt/XmtP.h>
 
7314
*************** Cardinal num_items;
 
7315
*** 337,347 ****
 
7316
  {
 
7317
      XmtMenuWidget mw = (XmtMenuWidget) w;
 
7318
      XmtMenuItem *item;
 
7319
      Arg args[10], submenu_args[10];
 
7320
      int n, m;
 
7321
!     XmString accel_label;
 
7322
      char namebuf[10], submenu_buf[20];
 
7323
      char *name, *submenu_name;
 
7324
      int numlabel, numpush, numtoggle, numsep, numsub;
 
7325
      int i;
 
7326
      static XrmQuark QBoolean = NULLQUARK;
 
7327
--- 340,350 ----
 
7328
  {
 
7329
      XmtMenuWidget mw = (XmtMenuWidget) w;
 
7330
      XmtMenuItem *item;
 
7331
      Arg args[10], submenu_args[10];
 
7332
      int n, m;
 
7333
!     XmString accel_label = NULL;
 
7334
      char namebuf[10], submenu_buf[20];
 
7335
      char *name, *submenu_name;
 
7336
      int numlabel, numpush, numtoggle, numsep, numsub;
 
7337
      int i;
 
7338
      static XrmQuark QBoolean = NULLQUARK;
 
7339
*************** Cardinal num_items;
 
7340
*** 414,424 ****
 
7341
                to.addr =(XPointer) &item->label1;
 
7342
                to.size = sizeof(Pixmap);
 
7343
                item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
 
7344
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
7345
            }
 
7346
!           else item->label1 = XmtCreateXmString(item->alt_label);
 
7347
        }
 
7348
  
 
7349
        /* if there is a normal label, create the XmString or pixmap */
 
7350
        if (item->label) {
 
7351
            if (item->type & XmtMenuItemPixmap) {
 
7352
--- 417,427 ----
 
7353
                to.addr =(XPointer) &item->label1;
 
7354
                to.size = sizeof(Pixmap);
 
7355
                item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
 
7356
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
7357
            }
 
7358
!           else item->label1 = XmtCreateLocalizedXmString(w, item->alt_label);
 
7359
        }
 
7360
  
 
7361
        /* if there is a normal label, create the XmString or pixmap */
 
7362
        if (item->label) {
 
7363
            if (item->type & XmtMenuItemPixmap) {
 
7364
*************** Cardinal num_items;
 
7365
*** 429,439 ****
 
7366
                to.addr =(XPointer) &item->label0;
 
7367
                to.size = sizeof(Pixmap);
 
7368
                item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
 
7369
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
7370
            }
 
7371
!           else item->label0 = XmtCreateXmString(item->label);
 
7372
        }
 
7373
  
 
7374
        /*
 
7375
         * if this is a toggle button w/ an alternate string and mnemonic,
 
7376
         * set whichever is appopriate for the initial state.  Otherwise,
 
7377
--- 432,442 ----
 
7378
                to.addr =(XPointer) &item->label0;
 
7379
                to.size = sizeof(Pixmap);
 
7380
                item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
 
7381
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
7382
            }
 
7383
!           else item->label0 = XmtCreateLocalizedXmString(w, item->label);
 
7384
        }
 
7385
  
 
7386
        /*
 
7387
         * if this is a toggle button w/ an alternate string and mnemonic,
 
7388
         * set whichever is appopriate for the initial state.  Otherwise,
 
7389
diff -bpcBNC 5 Xmt310/Xmt/Menu.h Xmt310.ge/Xmt/Menu.h
 
7390
*** Xmt310/Xmt/Menu.h   Sun Feb  4 22:45:30 2001
 
7391
--- Xmt310.ge/Xmt/Menu.h        Tue Jun 12 18:25:28 2001
 
7392
***************
 
7393
*** 1,16 ****
 
7394
  /* 
 
7395
   * Motif Tools Library, Version 3.1
 
7396
!  * $Id$
 
7397
   * 
 
7398
   * Written by David Flanagan.
 
7399
   * Copyright (c) 1992-2001 by David Flanagan.
 
7400
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7401
   * This is open source software.  See the file LICENSE for details.
 
7402
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7403
   *
 
7404
!  * $Log$
 
7405
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7406
!  * Initial checkin.
 
7407
!  *
 
7408
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7409
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7410
!  *                  kerberos compilation support
 
7411
!  *
 
7412
   *
 
7413
   */
 
7414
  
 
7415
  #ifndef _XmtMenu_h
 
7416
  #define _XmtMenu_h    
 
7417
--- 1,19 ----
 
7418
  /* 
 
7419
   * Motif Tools Library, Version 3.1
 
7420
!  * $Id$
 
7421
   * 
 
7422
   * Written by David Flanagan.
 
7423
   * Copyright (c) 1992-2001 by David Flanagan.
 
7424
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7425
   * This is open source software.  See the file LICENSE for details.
 
7426
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7427
   *
 
7428
!  * $Log$
 
7429
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7430
!  * Initial checkin.
 
7431
!  *
 
7432
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7433
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7434
!  *                  kerberos compilation support
 
7435
!  *
 
7436
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7437
!  * *** empty log message ***
 
7438
!  *
 
7439
   *
 
7440
   */
 
7441
  
 
7442
  #ifndef _XmtMenu_h
 
7443
  #define _XmtMenu_h    
 
7444
diff -bpcBNC 5 Xmt310/Xmt/MenuCvt.c Xmt310.ge/Xmt/MenuCvt.c
 
7445
*** Xmt310/Xmt/MenuCvt.c        Sun Feb  4 22:45:34 2001
 
7446
--- Xmt310.ge/Xmt/MenuCvt.c     Tue Jun 12 18:25:28 2001
 
7447
***************
 
7448
*** 1,16 ****
 
7449
  /* 
 
7450
   * Motif Tools Library, Version 3.1
 
7451
!  * $Id$
 
7452
   * 
 
7453
   * Written by David Flanagan.
 
7454
   * Copyright (c) 1992-2001 by David Flanagan.
 
7455
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7456
   * This is open source software.  See the file LICENSE for details.
 
7457
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7458
   *
 
7459
!  * $Log$
 
7460
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7461
!  * Initial checkin.
 
7462
!  *
 
7463
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7464
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7465
!  *                  kerberos compilation support
 
7466
!  *
 
7467
   *
 
7468
   */
 
7469
  
 
7470
  #include <ctype.h>
 
7471
  #include <stdio.h>
 
7472
--- 1,19 ----
 
7473
  /* 
 
7474
   * Motif Tools Library, Version 3.1
 
7475
!  * $Id$
 
7476
   * 
 
7477
   * Written by David Flanagan.
 
7478
   * Copyright (c) 1992-2001 by David Flanagan.
 
7479
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7480
   * This is open source software.  See the file LICENSE for details.
 
7481
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7482
   *
 
7483
!  * $Log$
 
7484
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7485
!  * Initial checkin.
 
7486
!  *
 
7487
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7488
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7489
!  *                  kerberos compilation support
 
7490
!  *
 
7491
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7492
!  * *** empty log message ***
 
7493
!  *
 
7494
   *
 
7495
   */
 
7496
  
 
7497
  #include <ctype.h>
 
7498
  #include <stdio.h>
 
7499
*************** XmtMenuItem *item;
 
7500
*** 394,406 ****
 
7501
       * converter is registered.
 
7502
       */
 
7503
      tok = XmtLexerGetToken(l);
 
7504
      if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
 
7505
        char *callback_string;
 
7506
!       int len;
 
7507
        XrmValue from, to;
 
7508
!       Boolean stat;
 
7509
        
 
7510
        if (tok == XmtLexerIdent) { /* a single callback */
 
7511
            /* back up by the length of the current identifier */
 
7512
            l->c -= XmtLexerStrLength(l);
 
7513
            XtFree(XmtLexerStrValue(l));
 
7514
--- 397,409 ----
 
7515
       * converter is registered.
 
7516
       */
 
7517
      tok = XmtLexerGetToken(l);
 
7518
      if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
 
7519
        char *callback_string;
 
7520
!       int len = 0;
 
7521
        XrmValue from, to;
 
7522
!       Boolean stat = False;
 
7523
        
 
7524
        if (tok == XmtLexerIdent) { /* a single callback */
 
7525
            /* back up by the length of the current identifier */
 
7526
            l->c -= XmtLexerStrLength(l);
 
7527
            XtFree(XmtLexerStrValue(l));
 
7528
diff -bpcBNC 5 Xmt310/Xmt/MenuP.h Xmt310.ge/Xmt/MenuP.h
 
7529
*** Xmt310/Xmt/MenuP.h  Sun Feb  4 22:45:38 2001
 
7530
--- Xmt310.ge/Xmt/MenuP.h       Tue Jun 12 18:25:28 2001
 
7531
***************
 
7532
*** 1,16 ****
 
7533
  /* 
 
7534
   * Motif Tools Library, Version 3.1
 
7535
!  * $Id$
 
7536
   * 
 
7537
   * Written by David Flanagan.
 
7538
   * Copyright (c) 1992-2001 by David Flanagan.
 
7539
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7540
   * This is open source software.  See the file LICENSE for details.
 
7541
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7542
   *
 
7543
!  * $Log$
 
7544
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7545
!  * Initial checkin.
 
7546
!  *
 
7547
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7548
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7549
!  *                  kerberos compilation support
 
7550
!  *
 
7551
   *
 
7552
   */
 
7553
  
 
7554
  #ifndef _XmtMenuP_h
 
7555
  #define _XmtMenuP_h    
 
7556
--- 1,19 ----
 
7557
  /* 
 
7558
   * Motif Tools Library, Version 3.1
 
7559
!  * $Id$
 
7560
   * 
 
7561
   * Written by David Flanagan.
 
7562
   * Copyright (c) 1992-2001 by David Flanagan.
 
7563
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7564
   * This is open source software.  See the file LICENSE for details.
 
7565
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7566
   *
 
7567
!  * $Log$
 
7568
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7569
!  * Initial checkin.
 
7570
!  *
 
7571
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7572
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7573
!  *                  kerberos compilation support
 
7574
!  *
 
7575
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7576
!  * *** empty log message ***
 
7577
!  *
 
7578
   *
 
7579
   */
 
7580
  
 
7581
  #ifndef _XmtMenuP_h
 
7582
  #define _XmtMenuP_h    
 
7583
diff -bpcBNC 5 Xmt310/Xmt/MenuS.c Xmt310.ge/Xmt/MenuS.c
 
7584
*** Xmt310/Xmt/MenuS.c  Sun Feb  4 22:45:40 2001
 
7585
--- Xmt310.ge/Xmt/MenuS.c       Tue Jun 12 18:25:28 2001
 
7586
***************
 
7587
*** 1,16 ****
 
7588
  /* 
 
7589
   * Motif Tools Library, Version 3.1
 
7590
!  * $Id$
 
7591
   * 
 
7592
   * Written by David Flanagan.
 
7593
   * Copyright (c) 1992-2001 by David Flanagan.
 
7594
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7595
   * This is open source software.  See the file LICENSE for details.
 
7596
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7597
   *
 
7598
!  * $Log$
 
7599
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7600
!  * Initial checkin.
 
7601
!  *
 
7602
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7603
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7604
!  *                  kerberos compilation support
 
7605
!  *
 
7606
   *
 
7607
   */
 
7608
  #include <X11/Intrinsic.h>
 
7609
  #ifndef _Xconst
 
7610
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
7611
--- 1,19 ----
 
7612
  /* 
 
7613
   * Motif Tools Library, Version 3.1
 
7614
!  * $Id$
 
7615
   * 
 
7616
   * Written by David Flanagan.
 
7617
   * Copyright (c) 1992-2001 by David Flanagan.
 
7618
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7619
   * This is open source software.  See the file LICENSE for details.
 
7620
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7621
   *
 
7622
!  * $Log$
 
7623
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7624
!  * Initial checkin.
 
7625
!  *
 
7626
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7627
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7628
!  *                  kerberos compilation support
 
7629
!  *
 
7630
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7631
!  * *** empty log message ***
 
7632
!  *
 
7633
   *
 
7634
   */
 
7635
  #include <X11/Intrinsic.h>
 
7636
  #ifndef _Xconst
 
7637
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
7638
diff -bpcBNC 5 Xmt310/Xmt/MotifWidgets.c Xmt310.ge/Xmt/MotifWidgets.c
 
7639
*** Xmt310/Xmt/MotifWidgets.c   Sun Feb  4 22:45:48 2001
 
7640
--- Xmt310.ge/Xmt/MotifWidgets.c        Tue Jun 12 18:25:28 2001
 
7641
***************
 
7642
*** 1,16 ****
 
7643
  /* 
 
7644
   * Motif Tools Library, Version 3.1
 
7645
!  * $Id$
 
7646
   * 
 
7647
   * Written by David Flanagan.
 
7648
   * Copyright (c) 1992-2001 by David Flanagan.
 
7649
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7650
   * This is open source software.  See the file LICENSE for details.
 
7651
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7652
   *
 
7653
!  * $Log$
 
7654
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7655
!  * Initial checkin.
 
7656
!  *
 
7657
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7658
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7659
!  *                  kerberos compilation support
 
7660
!  *
 
7661
   *
 
7662
   */
 
7663
  
 
7664
  #include <Xmt/Xmt.h>
 
7665
  #include <Xmt/WidgetType.h>
 
7666
--- 1,19 ----
 
7667
  /* 
 
7668
   * Motif Tools Library, Version 3.1
 
7669
!  * $Id$
 
7670
   * 
 
7671
   * Written by David Flanagan.
 
7672
   * Copyright (c) 1992-2001 by David Flanagan.
 
7673
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7674
   * This is open source software.  See the file LICENSE for details.
 
7675
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7676
   *
 
7677
!  * $Log$
 
7678
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7679
!  * Initial checkin.
 
7680
!  *
 
7681
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7682
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7683
!  *                  kerberos compilation support
 
7684
!  *
 
7685
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7686
!  * *** empty log message ***
 
7687
!  *
 
7688
   *
 
7689
   */
 
7690
  
 
7691
  #include <Xmt/Xmt.h>
 
7692
  #include <Xmt/WidgetType.h>
 
7693
***************
 
7694
*** 44,53 ****
 
7695
--- 47,57 ----
 
7696
  #if XmVersion >= 2000
 
7697
  #include <Xm/Container.h>
 
7698
  #include <Xm/IconG.h>
 
7699
  #include <Xm/Notebook.h>
 
7700
  #include <Xm/SpinB.h>
 
7701
+ #include <Xm/ComboBox.h>
 
7702
  #endif
 
7703
  
 
7704
  static XmtWidgetType motif_widgets[] = {
 
7705
  {"XmArrowButton", NULL, XmCreateArrowButton},
 
7706
  {"XmBulletinBoard", NULL, XmCreateBulletinBoard},
 
7707
diff -bpcBNC 5 Xmt310/Xmt/MsgDialogs.c Xmt310.ge/Xmt/MsgDialogs.c
 
7708
*** Xmt310/Xmt/MsgDialogs.c     Sun Feb  4 22:45:52 2001
 
7709
--- Xmt310.ge/Xmt/MsgDialogs.c  Tue Jun 12 18:25:28 2001
 
7710
***************
 
7711
*** 1,16 ****
 
7712
  /* 
 
7713
   * Motif Tools Library, Version 3.1
 
7714
!  * $Id$
 
7715
   * 
 
7716
   * Written by David Flanagan.
 
7717
   * Copyright (c) 1992-2001 by David Flanagan.
 
7718
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7719
   * This is open source software.  See the file LICENSE for details.
 
7720
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7721
   *
 
7722
!  * $Log$
 
7723
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7724
!  * Initial checkin.
 
7725
!  *
 
7726
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7727
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7728
!  *                  kerberos compilation support
 
7729
!  *
 
7730
   *
 
7731
   */
 
7732
  
 
7733
  #include <Xmt/Xmt.h>
 
7734
  #include <Xmt/DialogsP.h>
 
7735
--- 1,19 ----
 
7736
  /* 
 
7737
   * Motif Tools Library, Version 3.1
 
7738
!  * $Id$
 
7739
   * 
 
7740
   * Written by David Flanagan.
 
7741
   * Copyright (c) 1992-2001 by David Flanagan.
 
7742
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7743
   * This is open source software.  See the file LICENSE for details.
 
7744
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7745
   *
 
7746
!  * $Log$
 
7747
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7748
!  * Initial checkin.
 
7749
!  *
 
7750
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7751
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7752
!  *                  kerberos compilation support
 
7753
!  *
 
7754
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7755
!  * *** empty log message ***
 
7756
!  *
 
7757
   *
 
7758
   */
 
7759
  
 
7760
  #include <Xmt/Xmt.h>
 
7761
  #include <Xmt/DialogsP.h>
 
7762
*************** XtPointer tag, data;
 
7763
*** 116,126 ****
 
7764
      for(i=0; i < cache->num-1; i++)
 
7765
        if (cache->dialogs[i] == dialog) break;
 
7766
  
 
7767
      XtVaGetValues(dialog, XmNmessageString, &msg, NULL);
 
7768
      blank = XmStringSeparatorCreate();
 
7769
!     help = XmtCreateXmString(cache->help_strings[i]);
 
7770
      s1 = XmStringConcat(msg, blank);
 
7771
      s2 = XmStringConcat(s1, help);
 
7772
      XtVaSetValues(dialog, XmNmessageString, s2, NULL);
 
7773
      XmStringFree(msg);
 
7774
      XmStringFree(blank);
 
7775
--- 119,129 ----
 
7776
      for(i=0; i < cache->num-1; i++)
 
7777
        if (cache->dialogs[i] == dialog) break;
 
7778
  
 
7779
      XtVaGetValues(dialog, XmNmessageString, &msg, NULL);
 
7780
      blank = XmStringSeparatorCreate();
 
7781
!     help = XmtCreateLocalizedXmString(w, cache->help_strings[i]);
 
7782
      s1 = XmStringConcat(msg, blank);
 
7783
      s2 = XmStringConcat(s1, help);
 
7784
      XtVaSetValues(dialog, XmNmessageString, s2, NULL);
 
7785
      XmStringFree(msg);
 
7786
      XmStringFree(blank);
 
7787
*************** Widget shell;
 
7788
*** 228,238 ****
 
7789
  String help_text;
 
7790
  MsgDialogCache **cache_return;
 
7791
  #endif
 
7792
  {
 
7793
      MsgDialogCache *cache;
 
7794
!     Widget dialog, help_button;
 
7795
      String help;
 
7796
      
 
7797
      /* the first time, create the hash table */
 
7798
      if (!shell_to_cache_table)
 
7799
        shell_to_cache_table = XmtHashTableCreate(3);
 
7800
--- 231,241 ----
 
7801
  String help_text;
 
7802
  MsgDialogCache **cache_return;
 
7803
  #endif
 
7804
  {
 
7805
      MsgDialogCache *cache;
 
7806
!     Widget dialog = 0, help_button;
 
7807
      String help;
 
7808
      
 
7809
      /* the first time, create the hash table */
 
7810
      if (!shell_to_cache_table)
 
7811
        shell_to_cache_table = XmtHashTableCreate(3);
 
7812
*************** int style;
 
7813
*** 449,460 ****
 
7814
        vsprintf(buffer, data.message, *msg_args);
 
7815
        data.message = buffer;
 
7816
      }
 
7817
      
 
7818
      /* create XmStrings */
 
7819
!     msg = XmtCreateXmString(data.message);
 
7820
!     title = XmtCreateXmString(data.title);
 
7821
      
 
7822
      /*
 
7823
       * reset the type of the dialog so that the next call will change it.
 
7824
       * This is reqired to reset a custom icon back to the default icon
 
7825
       * when the type doesn't change
 
7826
--- 452,463 ----
 
7827
        vsprintf(buffer, data.message, *msg_args);
 
7828
        data.message = buffer;
 
7829
      }
 
7830
      
 
7831
      /* create XmStrings */
 
7832
!     msg = XmtCreateLocalizedXmString(w, data.message);
 
7833
!     title = XmtCreateLocalizedXmString(w, data.title);
 
7834
      
 
7835
      /*
 
7836
       * reset the type of the dialog so that the next call will change it.
 
7837
       * This is reqired to reset a custom icon back to the default icon
 
7838
       * when the type doesn't change
 
7839
diff -bpcBNC 5 Xmt310/Xmt/MsgLine.c Xmt310.ge/Xmt/MsgLine.c
 
7840
*** Xmt310/Xmt/MsgLine.c        Sun Feb  4 22:45:56 2001
 
7841
--- Xmt310.ge/Xmt/MsgLine.c     Tue Jun 12 18:25:28 2001
 
7842
***************
 
7843
*** 1,16 ****
 
7844
  /* 
 
7845
   * Motif Tools Library, Version 3.1
 
7846
!  * $Id$
 
7847
   * 
 
7848
   * Written by David Flanagan.
 
7849
   * Copyright (c) 1992-2001 by David Flanagan.
 
7850
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7851
   * This is open source software.  See the file LICENSE for details.
 
7852
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7853
   *
 
7854
!  * $Log$
 
7855
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7856
!  * Initial checkin.
 
7857
!  *
 
7858
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7859
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7860
!  *                  kerberos compilation support
 
7861
!  *
 
7862
   *
 
7863
   */
 
7864
   
 
7865
  /*
 
7866
   * Portions of this file are based upon work done by David Flanagan while
 
7867
--- 1,19 ----
 
7868
  /* 
 
7869
   * Motif Tools Library, Version 3.1
 
7870
!  * $Id$
 
7871
   * 
 
7872
   * Written by David Flanagan.
 
7873
   * Copyright (c) 1992-2001 by David Flanagan.
 
7874
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7875
   * This is open source software.  See the file LICENSE for details.
 
7876
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7877
   *
 
7878
!  * $Log$
 
7879
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7880
!  * Initial checkin.
 
7881
!  *
 
7882
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7883
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7884
!  *                  kerberos compilation support
 
7885
!  *
 
7886
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7887
!  * *** empty log message ***
 
7888
!  *
 
7889
   *
 
7890
   */
 
7891
   
 
7892
  /*
 
7893
   * Portions of this file are based upon work done by David Flanagan while
 
7894
diff -bpcBNC 5 Xmt310/Xmt/MsgLine.h Xmt310.ge/Xmt/MsgLine.h
 
7895
*** Xmt310/Xmt/MsgLine.h        Sun Feb  4 22:45:58 2001
 
7896
--- Xmt310.ge/Xmt/MsgLine.h     Tue Jun 12 18:25:28 2001
 
7897
***************
 
7898
*** 1,16 ****
 
7899
  /* 
 
7900
   * Motif Tools Library, Version 3.1
 
7901
!  * $Id$
 
7902
   * 
 
7903
   * Written by David Flanagan.
 
7904
   * Copyright (c) 1992-2001 by David Flanagan.
 
7905
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7906
   * This is open source software.  See the file LICENSE for details.
 
7907
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7908
   *
 
7909
!  * $Log$
 
7910
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7911
!  * Initial checkin.
 
7912
!  *
 
7913
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7914
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7915
!  *                  kerberos compilation support
 
7916
!  *
 
7917
   *
 
7918
   */
 
7919
  
 
7920
  #ifndef _XmtMsgLine_h
 
7921
  #define _XmtMsgLine_h    
 
7922
--- 1,19 ----
 
7923
  /* 
 
7924
   * Motif Tools Library, Version 3.1
 
7925
!  * $Id$
 
7926
   * 
 
7927
   * Written by David Flanagan.
 
7928
   * Copyright (c) 1992-2001 by David Flanagan.
 
7929
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7930
   * This is open source software.  See the file LICENSE for details.
 
7931
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7932
   *
 
7933
!  * $Log$
 
7934
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7935
!  * Initial checkin.
 
7936
!  *
 
7937
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7938
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7939
!  *                  kerberos compilation support
 
7940
!  *
 
7941
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7942
!  * *** empty log message ***
 
7943
!  *
 
7944
   *
 
7945
   */
 
7946
  
 
7947
  #ifndef _XmtMsgLine_h
 
7948
  #define _XmtMsgLine_h    
 
7949
diff -bpcBNC 5 Xmt310/Xmt/MsgLineP.h Xmt310.ge/Xmt/MsgLineP.h
 
7950
*** Xmt310/Xmt/MsgLineP.h       Sun Feb  4 22:46:02 2001
 
7951
--- Xmt310.ge/Xmt/MsgLineP.h    Tue Jun 12 18:25:28 2001
 
7952
***************
 
7953
*** 1,16 ****
 
7954
  /* 
 
7955
   * Motif Tools Library, Version 3.1
 
7956
!  * $Id$
 
7957
   * 
 
7958
   * Written by David Flanagan.
 
7959
   * Copyright (c) 1992-2001 by David Flanagan.
 
7960
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7961
   * This is open source software.  See the file LICENSE for details.
 
7962
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7963
   *
 
7964
!  * $Log$
 
7965
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7966
!  * Initial checkin.
 
7967
!  *
 
7968
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7969
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7970
!  *                  kerberos compilation support
 
7971
!  *
 
7972
   *
 
7973
   */
 
7974
  
 
7975
  #ifndef _XmtMsgLineP_h
 
7976
  #define _XmtMsgLineP_h    
 
7977
--- 1,19 ----
 
7978
  /* 
 
7979
   * Motif Tools Library, Version 3.1
 
7980
!  * $Id$
 
7981
   * 
 
7982
   * Written by David Flanagan.
 
7983
   * Copyright (c) 1992-2001 by David Flanagan.
 
7984
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
7985
   * This is open source software.  See the file LICENSE for details.
 
7986
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7987
   *
 
7988
!  * $Log$
 
7989
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7990
!  * Initial checkin.
 
7991
!  *
 
7992
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7993
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7994
!  *                  kerberos compilation support
 
7995
!  *
 
7996
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7997
!  * *** empty log message ***
 
7998
!  *
 
7999
   *
 
8000
   */
 
8001
  
 
8002
  #ifndef _XmtMsgLineP_h
 
8003
  #define _XmtMsgLineP_h    
 
8004
diff -bpcBNC 5 Xmt310/Xmt/MsgLineS.c Xmt310.ge/Xmt/MsgLineS.c
 
8005
*** Xmt310/Xmt/MsgLineS.c       Sun Feb  4 22:46:06 2001
 
8006
--- Xmt310.ge/Xmt/MsgLineS.c    Tue Jun 12 18:25:28 2001
 
8007
***************
 
8008
*** 1,16 ****
 
8009
  /* 
 
8010
   * Motif Tools Library, Version 3.1
 
8011
!  * $Id$
 
8012
   * 
 
8013
   * Written by David Flanagan.
 
8014
   * Copyright (c) 1992-2001 by David Flanagan.
 
8015
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8016
   * This is open source software.  See the file LICENSE for details.
 
8017
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8018
   *
 
8019
!  * $Log$
 
8020
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8021
!  * Initial checkin.
 
8022
!  *
 
8023
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8024
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8025
!  *                  kerberos compilation support
 
8026
!  *
 
8027
   *
 
8028
   */
 
8029
  #include <X11/Intrinsic.h>
 
8030
  #ifndef _Xconst
 
8031
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
8032
--- 1,19 ----
 
8033
  /* 
 
8034
   * Motif Tools Library, Version 3.1
 
8035
!  * $Id$
 
8036
   * 
 
8037
   * Written by David Flanagan.
 
8038
   * Copyright (c) 1992-2001 by David Flanagan.
 
8039
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8040
   * This is open source software.  See the file LICENSE for details.
 
8041
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8042
   *
 
8043
!  * $Log$
 
8044
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8045
!  * Initial checkin.
 
8046
!  *
 
8047
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8048
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8049
!  *                  kerberos compilation support
 
8050
!  *
 
8051
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8052
!  * *** empty log message ***
 
8053
!  *
 
8054
   *
 
8055
   */
 
8056
  #include <X11/Intrinsic.h>
 
8057
  #ifndef _Xconst
 
8058
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
8059
diff -bpcBNC 5 Xmt310/Xmt/NameToWidget.c Xmt310.ge/Xmt/NameToWidget.c
 
8060
*** Xmt310/Xmt/NameToWidget.c   Sun Feb  4 22:46:10 2001
 
8061
--- Xmt310.ge/Xmt/NameToWidget.c        Tue Jun 12 18:25:28 2001
 
8062
***************
 
8063
*** 1,16 ****
 
8064
  /* 
 
8065
   * Motif Tools Library, Version 3.1
 
8066
!  * $Id$
 
8067
   * 
 
8068
   * Written by David Flanagan.
 
8069
   * Copyright (c) 1992-2001 by David Flanagan.
 
8070
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8071
   * This is open source software.  See the file LICENSE for details.
 
8072
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8073
   *
 
8074
!  * $Log$
 
8075
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8076
!  * Initial checkin.
 
8077
!  *
 
8078
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8079
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8080
!  *                  kerberos compilation support
 
8081
!  *
 
8082
   *
 
8083
   */
 
8084
  
 
8085
  /*
 
8086
   * Portions of this file are derived from the Xt source code.
 
8087
--- 1,19 ----
 
8088
  /* 
 
8089
   * Motif Tools Library, Version 3.1
 
8090
!  * $Id$
 
8091
   * 
 
8092
   * Written by David Flanagan.
 
8093
   * Copyright (c) 1992-2001 by David Flanagan.
 
8094
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8095
   * This is open source software.  See the file LICENSE for details.
 
8096
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8097
   *
 
8098
!  * $Log$
 
8099
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8100
!  * Initial checkin.
 
8101
!  *
 
8102
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8103
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8104
!  *                  kerberos compilation support
 
8105
!  *
 
8106
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8107
!  * *** empty log message ***
 
8108
!  *
 
8109
   *
 
8110
   */
 
8111
  
 
8112
  /*
 
8113
   * Portions of this file are derived from the Xt source code.
 
8114
diff -bpcBNC 5 Xmt310/Xmt/PixelCvt.c Xmt310.ge/Xmt/PixelCvt.c
 
8115
*** Xmt310/Xmt/PixelCvt.c       Sun Feb  4 22:46:16 2001
 
8116
--- Xmt310.ge/Xmt/PixelCvt.c    Tue Jun 12 18:25:28 2001
 
8117
***************
 
8118
*** 1,16 ****
 
8119
  /* 
 
8120
   * Motif Tools Library, Version 3.1
 
8121
!  * $Id$
 
8122
   * 
 
8123
   * Written by David Flanagan.
 
8124
   * Copyright (c) 1992-2001 by David Flanagan.
 
8125
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8126
   * This is open source software.  See the file LICENSE for details.
 
8127
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8128
   *
 
8129
!  * $Log$
 
8130
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8131
!  * Initial checkin.
 
8132
!  *
 
8133
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8134
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8135
!  *                  kerberos compilation support
 
8136
!  *
 
8137
   *
 
8138
   */
 
8139
  
 
8140
  #include <Xmt/Xmt.h>
 
8141
  #include <Xmt/AppResP.h>
 
8142
--- 1,19 ----
 
8143
  /* 
 
8144
   * Motif Tools Library, Version 3.1
 
8145
!  * $Id$
 
8146
   * 
 
8147
   * Written by David Flanagan.
 
8148
   * Copyright (c) 1992-2001 by David Flanagan.
 
8149
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8150
   * This is open source software.  See the file LICENSE for details.
 
8151
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8152
   *
 
8153
!  * $Log$
 
8154
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8155
!  * Initial checkin.
 
8156
!  *
 
8157
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8158
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8159
!  *                  kerberos compilation support
 
8160
!  *
 
8161
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8162
!  * *** empty log message ***
 
8163
!  *
 
8164
   *
 
8165
   */
 
8166
  
 
8167
  #include <Xmt/Xmt.h>
 
8168
  #include <Xmt/AppResP.h>
 
8169
diff -bpcBNC 5 Xmt310/Xmt/Pixmap.c Xmt310.ge/Xmt/Pixmap.c
 
8170
*** Xmt310/Xmt/Pixmap.c Sun Feb  4 22:46:18 2001
 
8171
--- Xmt310.ge/Xmt/Pixmap.c      Tue Jun 12 18:25:28 2001
 
8172
***************
 
8173
*** 1,16 ****
 
8174
  /* 
 
8175
   * Motif Tools Library, Version 3.1
 
8176
!  * $Id$
 
8177
   * 
 
8178
   * Written by David Flanagan.
 
8179
   * Copyright (c) 1992-2001 by David Flanagan.
 
8180
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8181
   * This is open source software.  See the file LICENSE for details.
 
8182
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8183
   *
 
8184
!  * $Log$
 
8185
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8186
!  * Initial checkin.
 
8187
!  *
 
8188
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8189
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8190
!  *                  kerberos compilation support
 
8191
!  *
 
8192
   *
 
8193
   */
 
8194
  
 
8195
  #include <Xmt/Xmt.h>
 
8196
  #include <Xmt/Pixmap.h>
 
8197
--- 1,19 ----
 
8198
  /* 
 
8199
   * Motif Tools Library, Version 3.1
 
8200
!  * $Id$
 
8201
   * 
 
8202
   * Written by David Flanagan.
 
8203
   * Copyright (c) 1992-2001 by David Flanagan.
 
8204
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8205
   * This is open source software.  See the file LICENSE for details.
 
8206
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8207
   *
 
8208
!  * $Log$
 
8209
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8210
!  * Initial checkin.
 
8211
!  *
 
8212
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8213
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8214
!  *                  kerberos compilation support
 
8215
!  *
 
8216
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8217
!  * *** empty log message ***
 
8218
!  *
 
8219
   *
 
8220
   */
 
8221
  
 
8222
  #include <Xmt/Xmt.h>
 
8223
  #include <Xmt/Pixmap.h>
 
8224
diff -bpcBNC 5 Xmt310/Xmt/Pixmap.h Xmt310.ge/Xmt/Pixmap.h
 
8225
*** Xmt310/Xmt/Pixmap.h Sun Feb  4 22:46:22 2001
 
8226
--- Xmt310.ge/Xmt/Pixmap.h      Tue Jun 12 18:25:28 2001
 
8227
***************
 
8228
*** 1,16 ****
 
8229
  /* 
 
8230
   * Motif Tools Library, Version 3.1
 
8231
!  * $Id$
 
8232
   * 
 
8233
   * Written by David Flanagan.
 
8234
   * Copyright (c) 1992-2001 by David Flanagan.
 
8235
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8236
   * This is open source software.  See the file LICENSE for details.
 
8237
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8238
   *
 
8239
!  * $Log$
 
8240
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8241
!  * Initial checkin.
 
8242
!  *
 
8243
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8244
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8245
!  *                  kerberos compilation support
 
8246
!  *
 
8247
   *
 
8248
   */
 
8249
  
 
8250
  #ifndef _XmtPixmap_h
 
8251
  #define _XmtPixmap_h
 
8252
--- 1,19 ----
 
8253
  /* 
 
8254
   * Motif Tools Library, Version 3.1
 
8255
!  * $Id$
 
8256
   * 
 
8257
   * Written by David Flanagan.
 
8258
   * Copyright (c) 1992-2001 by David Flanagan.
 
8259
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8260
   * This is open source software.  See the file LICENSE for details.
 
8261
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8262
   *
 
8263
!  * $Log$
 
8264
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8265
!  * Initial checkin.
 
8266
!  *
 
8267
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8268
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8269
!  *                  kerberos compilation support
 
8270
!  *
 
8271
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8272
!  * *** empty log message ***
 
8273
!  *
 
8274
   *
 
8275
   */
 
8276
  
 
8277
  #ifndef _XmtPixmap_h
 
8278
  #define _XmtPixmap_h
 
8279
diff -bpcBNC 5 Xmt310/Xmt/PixmapCvt.c Xmt310.ge/Xmt/PixmapCvt.c
 
8280
*** Xmt310/Xmt/PixmapCvt.c      Sun Feb  4 22:46:26 2001
 
8281
--- Xmt310.ge/Xmt/PixmapCvt.c   Tue Jun 12 18:25:28 2001
 
8282
***************
 
8283
*** 1,16 ****
 
8284
  /* 
 
8285
   * Motif Tools Library, Version 3.1
 
8286
!  * $Id$
 
8287
   * 
 
8288
   * Written by David Flanagan.
 
8289
   * Copyright (c) 1992-2001 by David Flanagan.
 
8290
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8291
   * This is open source software.  See the file LICENSE for details.
 
8292
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8293
   *
 
8294
!  * $Log$
 
8295
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8296
!  * Initial checkin.
 
8297
!  *
 
8298
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8299
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8300
!  *                  kerberos compilation support
 
8301
!  *
 
8302
   *
 
8303
   */
 
8304
  
 
8305
  #include <Xmt/Xmt.h>
 
8306
  #include <Xmt/Pixmap.h>
 
8307
--- 1,19 ----
 
8308
  /* 
 
8309
   * Motif Tools Library, Version 3.1
 
8310
!  * $Id$
 
8311
   * 
 
8312
   * Written by David Flanagan.
 
8313
   * Copyright (c) 1992-2001 by David Flanagan.
 
8314
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8315
   * This is open source software.  See the file LICENSE for details.
 
8316
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8317
   *
 
8318
!  * $Log$
 
8319
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8320
!  * Initial checkin.
 
8321
!  *
 
8322
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8323
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8324
!  *                  kerberos compilation support
 
8325
!  *
 
8326
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8327
!  * *** empty log message ***
 
8328
!  *
 
8329
   *
 
8330
   */
 
8331
  
 
8332
  #include <Xmt/Xmt.h>
 
8333
  #include <Xmt/Pixmap.h>
 
8334
diff -bpcBNC 5 Xmt310/Xmt/PixmapLstCvt.c Xmt310.ge/Xmt/PixmapLstCvt.c
 
8335
*** Xmt310/Xmt/PixmapLstCvt.c   Sun Feb  4 22:46:28 2001
 
8336
--- Xmt310.ge/Xmt/PixmapLstCvt.c        Tue Jun 12 18:25:28 2001
 
8337
***************
 
8338
*** 1,16 ****
 
8339
  /* 
 
8340
   * Motif Tools Library, Version 3.1
 
8341
!  * $Id$
 
8342
   * 
 
8343
   * Written by David Flanagan.
 
8344
   * Copyright (c) 1992-2001 by David Flanagan.
 
8345
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8346
   * This is open source software.  See the file LICENSE for details.
 
8347
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8348
   *
 
8349
!  * $Log$
 
8350
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8351
!  * Initial checkin.
 
8352
!  *
 
8353
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8354
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8355
!  *                  kerberos compilation support
 
8356
!  *
 
8357
   *
 
8358
   */
 
8359
  
 
8360
  #include <ctype.h>
 
8361
  #include <Xmt/Xmt.h>
 
8362
--- 1,19 ----
 
8363
  /* 
 
8364
   * Motif Tools Library, Version 3.1
 
8365
!  * $Id$
 
8366
   * 
 
8367
   * Written by David Flanagan.
 
8368
   * Copyright (c) 1992-2001 by David Flanagan.
 
8369
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8370
   * This is open source software.  See the file LICENSE for details.
 
8371
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8372
   *
 
8373
!  * $Log$
 
8374
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8375
!  * Initial checkin.
 
8376
!  *
 
8377
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8378
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8379
!  *                  kerberos compilation support
 
8380
!  *
 
8381
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8382
!  * *** empty log message ***
 
8383
!  *
 
8384
   *
 
8385
   */
 
8386
  
 
8387
  #include <ctype.h>
 
8388
  #include <Xmt/Xmt.h>
 
8389
diff -bpcBNC 5 Xmt310/Xmt/Procedures.c Xmt310.ge/Xmt/Procedures.c
 
8390
*** Xmt310/Xmt/Procedures.c     Sun Feb  4 22:46:34 2001
 
8391
--- Xmt310.ge/Xmt/Procedures.c  Tue Jun 12 18:25:28 2001
 
8392
***************
 
8393
*** 1,16 ****
 
8394
  /* 
 
8395
   * Motif Tools Library, Version 3.1
 
8396
!  * $Id$
 
8397
   * 
 
8398
   * Written by David Flanagan.
 
8399
   * Copyright (c) 1992-2001 by David Flanagan.
 
8400
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8401
   * This is open source software.  See the file LICENSE for details.
 
8402
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8403
   *
 
8404
!  * $Log$
 
8405
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8406
!  * Initial checkin.
 
8407
!  *
 
8408
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8409
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8410
!  *                  kerberos compilation support
 
8411
!  *
 
8412
   *
 
8413
   */
 
8414
  
 
8415
  #include <Xmt/Xmt.h>
 
8416
  #include <Xmt/ProceduresP.h>
 
8417
--- 1,19 ----
 
8418
  /* 
 
8419
   * Motif Tools Library, Version 3.1
 
8420
!  * $Id$
 
8421
   * 
 
8422
   * Written by David Flanagan.
 
8423
   * Copyright (c) 1992-2001 by David Flanagan.
 
8424
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8425
   * This is open source software.  See the file LICENSE for details.
 
8426
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8427
   *
 
8428
!  * $Log$
 
8429
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8430
!  * Initial checkin.
 
8431
!  *
 
8432
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8433
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8434
!  *                  kerberos compilation support
 
8435
!  *
 
8436
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8437
!  * *** empty log message ***
 
8438
!  *
 
8439
   *
 
8440
   */
 
8441
  
 
8442
  #include <Xmt/Xmt.h>
 
8443
  #include <Xmt/ProceduresP.h>
 
8444
diff -bpcBNC 5 Xmt310/Xmt/Procedures.h Xmt310.ge/Xmt/Procedures.h
 
8445
*** Xmt310/Xmt/Procedures.h     Sun Feb  4 22:46:40 2001
 
8446
--- Xmt310.ge/Xmt/Procedures.h  Tue Jun 12 18:25:28 2001
 
8447
***************
 
8448
*** 1,16 ****
 
8449
  /* 
 
8450
   * Motif Tools Library, Version 3.1
 
8451
!  * $Id$
 
8452
   * 
 
8453
   * Written by David Flanagan.
 
8454
   * Copyright (c) 1992-2001 by David Flanagan.
 
8455
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8456
   * This is open source software.  See the file LICENSE for details.
 
8457
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8458
   *
 
8459
!  * $Log$
 
8460
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8461
!  * Initial checkin.
 
8462
!  *
 
8463
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8464
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8465
!  *                  kerberos compilation support
 
8466
!  *
 
8467
   *
 
8468
   */
 
8469
  
 
8470
  #ifndef _XmtProcedures_h
 
8471
  #define _XmtProcedures_h
 
8472
--- 1,19 ----
 
8473
  /* 
 
8474
   * Motif Tools Library, Version 3.1
 
8475
!  * $Id$
 
8476
   * 
 
8477
   * Written by David Flanagan.
 
8478
   * Copyright (c) 1992-2001 by David Flanagan.
 
8479
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8480
   * This is open source software.  See the file LICENSE for details.
 
8481
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8482
   *
 
8483
!  * $Log$
 
8484
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8485
!  * Initial checkin.
 
8486
!  *
 
8487
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8488
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8489
!  *                  kerberos compilation support
 
8490
!  *
 
8491
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8492
!  * *** empty log message ***
 
8493
!  *
 
8494
   *
 
8495
   */
 
8496
  
 
8497
  #ifndef _XmtProcedures_h
 
8498
  #define _XmtProcedures_h
 
8499
diff -bpcBNC 5 Xmt310/Xmt/ProceduresP.h Xmt310.ge/Xmt/ProceduresP.h
 
8500
*** Xmt310/Xmt/ProceduresP.h    Sun Feb  4 22:46:44 2001
 
8501
--- Xmt310.ge/Xmt/ProceduresP.h Tue Jun 12 18:25:28 2001
 
8502
***************
 
8503
*** 1,16 ****
 
8504
  /* 
 
8505
   * Motif Tools Library, Version 3.1
 
8506
!  * $Id$
 
8507
   * 
 
8508
   * Written by David Flanagan.
 
8509
   * Copyright (c) 1992-2001 by David Flanagan.
 
8510
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8511
   * This is open source software.  See the file LICENSE for details.
 
8512
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8513
   *
 
8514
!  * $Log$
 
8515
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8516
!  * Initial checkin.
 
8517
!  *
 
8518
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8519
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8520
!  *                  kerberos compilation support
 
8521
!  *
 
8522
   *
 
8523
   */
 
8524
  
 
8525
  #ifndef _XmtProceduresP_h
 
8526
  #define _XmtProceduresP_h
 
8527
--- 1,19 ----
 
8528
  /* 
 
8529
   * Motif Tools Library, Version 3.1
 
8530
!  * $Id$
 
8531
   * 
 
8532
   * Written by David Flanagan.
 
8533
   * Copyright (c) 1992-2001 by David Flanagan.
 
8534
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8535
   * This is open source software.  See the file LICENSE for details.
 
8536
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8537
   *
 
8538
!  * $Log$
 
8539
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8540
!  * Initial checkin.
 
8541
!  *
 
8542
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8543
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8544
!  *                  kerberos compilation support
 
8545
!  *
 
8546
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8547
!  * *** empty log message ***
 
8548
!  *
 
8549
   *
 
8550
   */
 
8551
  
 
8552
  #ifndef _XmtProceduresP_h
 
8553
  #define _XmtProceduresP_h
 
8554
diff -bpcBNC 5 Xmt310/Xmt/Quarks.c Xmt310.ge/Xmt/Quarks.c
 
8555
*** Xmt310/Xmt/Quarks.c Sun Feb  4 22:46:48 2001
 
8556
--- Xmt310.ge/Xmt/Quarks.c      Tue Jun 12 18:25:28 2001
 
8557
***************
 
8558
*** 1,16 ****
 
8559
  /* 
 
8560
   * Motif Tools Library, Version 3.1
 
8561
!  * $Id$
 
8562
   * 
 
8563
   * Written by David Flanagan.
 
8564
   * Copyright (c) 1992-2001 by David Flanagan.
 
8565
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8566
   * This is open source software.  See the file LICENSE for details.
 
8567
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8568
   *
 
8569
!  * $Log$
 
8570
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8571
!  * Initial checkin.
 
8572
!  *
 
8573
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8574
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8575
!  *                  kerberos compilation support
 
8576
!  *
 
8577
   *
 
8578
   */
 
8579
  
 
8580
  #include <Xmt/Xmt.h>
 
8581
  #include <Xmt/QuarksP.h>
 
8582
--- 1,19 ----
 
8583
  /* 
 
8584
   * Motif Tools Library, Version 3.1
 
8585
!  * $Id$
 
8586
   * 
 
8587
   * Written by David Flanagan.
 
8588
   * Copyright (c) 1992-2001 by David Flanagan.
 
8589
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8590
   * This is open source software.  See the file LICENSE for details.
 
8591
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8592
   *
 
8593
!  * $Log$
 
8594
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8595
!  * Initial checkin.
 
8596
!  *
 
8597
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8598
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8599
!  *                  kerberos compilation support
 
8600
!  *
 
8601
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8602
!  * *** empty log message ***
 
8603
!  *
 
8604
   *
 
8605
   */
 
8606
  
 
8607
  #include <Xmt/Xmt.h>
 
8608
  #include <Xmt/QuarksP.h>
 
8609
*************** externaldef(xmtqbuffer) XrmQuark XmtQBuf
 
8610
*** 33,43 ****
 
8611
  void _XmtInitQuarks(void)
 
8612
  #else
 
8613
  void _XmtInitQuarks()
 
8614
  #endif
 
8615
  {
 
8616
!     static inited = False;
 
8617
  
 
8618
      if (inited == False) {
 
8619
        inited = True;
 
8620
  
 
8621
        XmtQBool = XrmPermStringToQuark(XtRBool);
 
8622
--- 36,46 ----
 
8623
  void _XmtInitQuarks(void)
 
8624
  #else
 
8625
  void _XmtInitQuarks()
 
8626
  #endif
 
8627
  {
 
8628
!     static Boolean inited = False;
 
8629
  
 
8630
      if (inited == False) {
 
8631
        inited = True;
 
8632
  
 
8633
        XmtQBool = XrmPermStringToQuark(XtRBool);
 
8634
diff -bpcBNC 5 Xmt310/Xmt/QuarksP.h Xmt310.ge/Xmt/QuarksP.h
 
8635
*** Xmt310/Xmt/QuarksP.h        Sun Feb  4 22:46:50 2001
 
8636
--- Xmt310.ge/Xmt/QuarksP.h     Tue Jun 12 18:25:28 2001
 
8637
***************
 
8638
*** 1,16 ****
 
8639
  /* 
 
8640
   * Motif Tools Library, Version 3.1
 
8641
!  * $Id$
 
8642
   * 
 
8643
   * Written by David Flanagan.
 
8644
   * Copyright (c) 1992-2001 by David Flanagan.
 
8645
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8646
   * This is open source software.  See the file LICENSE for details.
 
8647
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8648
   *
 
8649
!  * $Log$
 
8650
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8651
!  * Initial checkin.
 
8652
!  *
 
8653
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8654
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8655
!  *                  kerberos compilation support
 
8656
!  *
 
8657
   *
 
8658
   */
 
8659
  
 
8660
  #ifndef _XmtQuarksP_h
 
8661
  #define _XmtQuarksP_h
 
8662
--- 1,19 ----
 
8663
  /* 
 
8664
   * Motif Tools Library, Version 3.1
 
8665
!  * $Id$
 
8666
   * 
 
8667
   * Written by David Flanagan.
 
8668
   * Copyright (c) 1992-2001 by David Flanagan.
 
8669
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8670
   * This is open source software.  See the file LICENSE for details.
 
8671
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8672
   *
 
8673
!  * $Log$
 
8674
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8675
!  * Initial checkin.
 
8676
!  *
 
8677
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8678
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8679
!  *                  kerberos compilation support
 
8680
!  *
 
8681
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8682
!  * *** empty log message ***
 
8683
!  *
 
8684
   *
 
8685
   */
 
8686
  
 
8687
  #ifndef _XmtQuarksP_h
 
8688
  #define _XmtQuarksP_h
 
8689
diff -bpcBNC 5 Xmt310/Xmt/RGBtoHSL.c Xmt310.ge/Xmt/RGBtoHSL.c
 
8690
*** Xmt310/Xmt/RGBtoHSL.c       Sun Feb  4 22:46:56 2001
 
8691
--- Xmt310.ge/Xmt/RGBtoHSL.c    Tue Jun 12 18:25:28 2001
 
8692
***************
 
8693
*** 1,18 ****
 
8694
  /* 
 
8695
   * Motif Tools Library, Version 3.1
 
8696
!  * $Id$
 
8697
   * 
 
8698
   * Written by David Flanagan.
 
8699
   * Copyright (c) 1992-2001 by David Flanagan.
 
8700
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8701
   * This is open source software.  See the file LICENSE for details.
 
8702
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8703
   *
 
8704
!  * $Log$
 
8705
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8706
!  * Initial checkin.
 
8707
!  *
 
8708
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8709
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8710
!  *                  kerberos compilation support
 
8711
!  *
 
8712
   *
 
8713
   */
 
8714
  
 
8715
  /*
 
8716
   * RGB <--> HSL conversions were modified from code with the
 
8717
   * following attributions;
 
8718
   *
 
8719
--- 1,23 ----
 
8720
  /* 
 
8721
   * Motif Tools Library, Version 3.1
 
8722
!  * $Id$
 
8723
   * 
 
8724
   * Written by David Flanagan.
 
8725
   * Copyright (c) 1992-2001 by David Flanagan.
 
8726
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8727
   * This is open source software.  See the file LICENSE for details.
 
8728
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8729
   *
 
8730
!  * $Log$
 
8731
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8732
!  * Initial checkin.
 
8733
!  *
 
8734
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8735
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8736
!  *                  kerberos compilation support
 
8737
!  *
 
8738
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8739
!  * *** empty log message ***
 
8740
!  *
 
8741
   *
 
8742
   */
 
8743
 
8744
+ #include <Xmt/Xmt.h>
 
8745
  
 
8746
  /*
 
8747
   * RGB <--> HSL conversions were modified from code with the
 
8748
   * following attributions;
 
8749
   *
 
8750
diff -bpcBNC 5 Xmt310/Xmt/Screen.c Xmt310.ge/Xmt/Screen.c
 
8751
*** Xmt310/Xmt/Screen.c Sun Feb  4 22:47:00 2001
 
8752
--- Xmt310.ge/Xmt/Screen.c      Tue Jun 12 18:25:28 2001
 
8753
***************
 
8754
*** 1,16 ****
 
8755
  /* 
 
8756
   * Motif Tools Library, Version 3.1
 
8757
!  * $Id$
 
8758
   * 
 
8759
   * Written by David Flanagan.
 
8760
   * Copyright (c) 1992-2001 by David Flanagan.
 
8761
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8762
   * This is open source software.  See the file LICENSE for details.
 
8763
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8764
   *
 
8765
!  * $Log$
 
8766
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8767
!  * Initial checkin.
 
8768
!  *
 
8769
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8770
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8771
!  *                  kerberos compilation support
 
8772
!  *
 
8773
   *
 
8774
   */
 
8775
  
 
8776
  #include <Xmt/Xmt.h>
 
8777
  #include <Xmt/ScreenP.h>
 
8778
--- 1,19 ----
 
8779
  /* 
 
8780
   * Motif Tools Library, Version 3.1
 
8781
!  * $Id$
 
8782
   * 
 
8783
   * Written by David Flanagan.
 
8784
   * Copyright (c) 1992-2001 by David Flanagan.
 
8785
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8786
   * This is open source software.  See the file LICENSE for details.
 
8787
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8788
   *
 
8789
!  * $Log$
 
8790
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8791
!  * Initial checkin.
 
8792
!  *
 
8793
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8794
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8795
!  *                  kerberos compilation support
 
8796
!  *
 
8797
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8798
!  * *** empty log message ***
 
8799
!  *
 
8800
   *
 
8801
   */
 
8802
  
 
8803
  #include <Xmt/Xmt.h>
 
8804
  #include <Xmt/ScreenP.h>
 
8805
diff -bpcBNC 5 Xmt310/Xmt/ScreenP.h Xmt310.ge/Xmt/ScreenP.h
 
8806
*** Xmt310/Xmt/ScreenP.h        Sun Feb  4 22:47:06 2001
 
8807
--- Xmt310.ge/Xmt/ScreenP.h     Tue Jun 12 18:25:28 2001
 
8808
***************
 
8809
*** 1,16 ****
 
8810
  /* 
 
8811
   * Motif Tools Library, Version 3.1
 
8812
!  * $Id$
 
8813
   * 
 
8814
   * Written by David Flanagan.
 
8815
   * Copyright (c) 1992-2001 by David Flanagan.
 
8816
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8817
   * This is open source software.  See the file LICENSE for details.
 
8818
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8819
   *
 
8820
!  * $Log$
 
8821
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8822
!  * Initial checkin.
 
8823
!  *
 
8824
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8825
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8826
!  *                  kerberos compilation support
 
8827
!  *
 
8828
   *
 
8829
   */
 
8830
  
 
8831
  #ifndef _XmtScreenP_h
 
8832
  #define _XmtScreenP_h
 
8833
--- 1,19 ----
 
8834
  /* 
 
8835
   * Motif Tools Library, Version 3.1
 
8836
!  * $Id$
 
8837
   * 
 
8838
   * Written by David Flanagan.
 
8839
   * Copyright (c) 1992-2001 by David Flanagan.
 
8840
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8841
   * This is open source software.  See the file LICENSE for details.
 
8842
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8843
   *
 
8844
!  * $Log$
 
8845
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8846
!  * Initial checkin.
 
8847
!  *
 
8848
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8849
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8850
!  *                  kerberos compilation support
 
8851
!  *
 
8852
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8853
!  * *** empty log message ***
 
8854
!  *
 
8855
   *
 
8856
   */
 
8857
  
 
8858
  #ifndef _XmtScreenP_h
 
8859
  #define _XmtScreenP_h
 
8860
*************** typedef struct {
 
8861
*** 23,32 ****
 
8862
--- 26,40 ----
 
8863
      Widget working_dialog;
 
8864
      Widget string_dialog;     /* dialog for XmtAskForString() */
 
8865
      Widget boolean_dialog;    /* dialog for XmtAskForBoolean() */
 
8866
      Widget file_dialog;       /* dialog for by XmtAskForFilename() */
 
8867
      Widget item_dialog;       /* dialog for XmtAskForItem[Number]() */
 
8868
+ /* _AA added XmtAskForTime(), XmtAskForMemory() */
 
8869
+     Widget time_dialog;
 
8870
+     Widget memory_dialog;
 
8871
+     Widget items_dialog;
 
8872
+ /******_AA******************/
 
8873
      struct {                  /* internal widgets of the boolean dialog */
 
8874
        Widget icon, message;
 
8875
        Widget yes, no, cancel, help;
 
8876
        Boolean show_cancel_button;
 
8877
      } boolean_internals;
 
8878
diff -bpcBNC 5 Xmt310/Xmt/SetValue.c Xmt310.ge/Xmt/SetValue.c
 
8879
*** Xmt310/Xmt/SetValue.c       Sun Feb  4 22:47:08 2001
 
8880
--- Xmt310.ge/Xmt/SetValue.c    Tue Jun 12 18:25:28 2001
 
8881
***************
 
8882
*** 1,16 ****
 
8883
  /* 
 
8884
   * Motif Tools Library, Version 3.1
 
8885
!  * $Id$
 
8886
   * 
 
8887
   * Written by David Flanagan.
 
8888
   * Copyright (c) 1992-2001 by David Flanagan.
 
8889
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8890
   * This is open source software.  See the file LICENSE for details.
 
8891
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8892
   *
 
8893
!  * $Log$
 
8894
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8895
!  * Initial checkin.
 
8896
!  *
 
8897
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8898
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8899
!  *                  kerberos compilation support
 
8900
!  *
 
8901
   *
 
8902
   */
 
8903
  
 
8904
  #include <Xmt/Xmt.h>
 
8905
  #include <Xmt/SetValue.h>
 
8906
--- 1,19 ----
 
8907
  /* 
 
8908
   * Motif Tools Library, Version 3.1
 
8909
!  * $Id$
 
8910
   * 
 
8911
   * Written by David Flanagan.
 
8912
   * Copyright (c) 1992-2001 by David Flanagan.
 
8913
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8914
   * This is open source software.  See the file LICENSE for details.
 
8915
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8916
   *
 
8917
!  * $Log$
 
8918
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8919
!  * Initial checkin.
 
8920
!  *
 
8921
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8922
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8923
!  *                  kerberos compilation support
 
8924
!  *
 
8925
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8926
!  * *** empty log message ***
 
8927
!  *
 
8928
   *
 
8929
   */
 
8930
  
 
8931
  #include <Xmt/Xmt.h>
 
8932
  #include <Xmt/SetValue.h>
 
8933
diff -bpcBNC 5 Xmt310/Xmt/SetValue.h Xmt310.ge/Xmt/SetValue.h
 
8934
*** Xmt310/Xmt/SetValue.h       Sun Feb  4 22:47:12 2001
 
8935
--- Xmt310.ge/Xmt/SetValue.h    Tue Jun 12 18:25:28 2001
 
8936
***************
 
8937
*** 1,16 ****
 
8938
  /* 
 
8939
   * Motif Tools Library, Version 3.1
 
8940
!  * $Id$
 
8941
   * 
 
8942
   * Written by David Flanagan.
 
8943
   * Copyright (c) 1992-2001 by David Flanagan.
 
8944
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8945
   * This is open source software.  See the file LICENSE for details.
 
8946
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8947
   *
 
8948
!  * $Log$
 
8949
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8950
!  * Initial checkin.
 
8951
!  *
 
8952
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8953
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8954
!  *                  kerberos compilation support
 
8955
!  *
 
8956
   *
 
8957
   */
 
8958
  
 
8959
  #ifndef _XmtSetValue_h
 
8960
  #define _XmtSetValue_h
 
8961
--- 1,19 ----
 
8962
  /* 
 
8963
   * Motif Tools Library, Version 3.1
 
8964
!  * $Id$
 
8965
   * 
 
8966
   * Written by David Flanagan.
 
8967
   * Copyright (c) 1992-2001 by David Flanagan.
 
8968
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
8969
   * This is open source software.  See the file LICENSE for details.
 
8970
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8971
   *
 
8972
!  * $Log$
 
8973
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8974
!  * Initial checkin.
 
8975
!  *
 
8976
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8977
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8978
!  *                  kerberos compilation support
 
8979
!  *
 
8980
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8981
!  * *** empty log message ***
 
8982
!  *
 
8983
   *
 
8984
   */
 
8985
  
 
8986
  #ifndef _XmtSetValue_h
 
8987
  #define _XmtSetValue_h
 
8988
diff -bpcBNC 5 Xmt310/Xmt/ShellUtil.c Xmt310.ge/Xmt/ShellUtil.c
 
8989
*** Xmt310/Xmt/ShellUtil.c      Sun Feb  4 22:47:16 2001
 
8990
--- Xmt310.ge/Xmt/ShellUtil.c   Tue Jun 12 18:25:28 2001
 
8991
***************
 
8992
*** 1,16 ****
 
8993
  /* 
 
8994
   * Motif Tools Library, Version 3.1
 
8995
!  * $Id$
 
8996
   * 
 
8997
   * Written by David Flanagan.
 
8998
   * Copyright (c) 1992-2001 by David Flanagan.
 
8999
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9000
   * This is open source software.  See the file LICENSE for details.
 
9001
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9002
   *
 
9003
!  * $Log$
 
9004
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9005
!  * Initial checkin.
 
9006
!  *
 
9007
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9008
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9009
!  *                  kerberos compilation support
 
9010
!  *
 
9011
   *
 
9012
   */
 
9013
  
 
9014
  #include <Xmt/Xmt.h>
 
9015
  #include <Xmt/ConvertersP.h>
 
9016
--- 1,19 ----
 
9017
  /* 
 
9018
   * Motif Tools Library, Version 3.1
 
9019
!  * $Id$
 
9020
   * 
 
9021
   * Written by David Flanagan.
 
9022
   * Copyright (c) 1992-2001 by David Flanagan.
 
9023
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9024
   * This is open source software.  See the file LICENSE for details.
 
9025
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9026
   *
 
9027
!  * $Log$
 
9028
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9029
!  * Initial checkin.
 
9030
!  *
 
9031
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9032
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9033
!  *                  kerberos compilation support
 
9034
!  *
 
9035
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9036
!  * *** empty log message ***
 
9037
!  *
 
9038
   *
 
9039
   */
 
9040
  
 
9041
  #include <Xmt/Xmt.h>
 
9042
  #include <Xmt/ConvertersP.h>
 
9043
*************** Widget shell;
 
9044
*** 68,78 ****
 
9045
  int response;
 
9046
  XtCallbackProc proc;
 
9047
  XtPointer data;
 
9048
  #endif
 
9049
  {
 
9050
!     static Atom wm_delete_window;
 
9051
  
 
9052
      if (!wm_delete_window) {
 
9053
        wm_delete_window = XmInternAtom(XtDisplay(shell),
 
9054
                                        "WM_DELETE_WINDOW", False);
 
9055
      }
 
9056
--- 71,81 ----
 
9057
  int response;
 
9058
  XtCallbackProc proc;
 
9059
  XtPointer data;
 
9060
  #endif
 
9061
  {
 
9062
!     static Atom wm_delete_window = 0;
 
9063
  
 
9064
      if (!wm_delete_window) {
 
9065
        wm_delete_window = XmInternAtom(XtDisplay(shell),
 
9066
                                        "WM_DELETE_WINDOW", False);
 
9067
      }
 
9068
*************** typedef enum {
 
9069
*** 259,269 ****
 
9070
  #define XmtNfocusStyle "focusStyle"
 
9071
  #define XmtCFocusStyle "FocusStyle"
 
9072
  #define XmtRFocusStyle "FocusStyle"
 
9073
  
 
9074
  static String focus_names[] = { "focus", "move", "none", "warp"};
 
9075
! static int focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
 
9076
  
 
9077
  static XtResource focus_resources[] = {
 
9078
    {XmtNfocusStyle, XmtCFocusStyle, XmtRFocusStyle,
 
9079
         sizeof(FocusStyle), 0, XmtRFocusStyle, (XtPointer) FocusStyleUnset}
 
9080
  };
 
9081
--- 262,272 ----
 
9082
  #define XmtNfocusStyle "focusStyle"
 
9083
  #define XmtCFocusStyle "FocusStyle"
 
9084
  #define XmtRFocusStyle "FocusStyle"
 
9085
  
 
9086
  static String focus_names[] = { "focus", "move", "none", "warp"};
 
9087
! static Cardinal focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
 
9088
  
 
9089
  static XtResource focus_resources[] = {
 
9090
    {XmtNfocusStyle, XmtCFocusStyle, XmtRFocusStyle,
 
9091
         sizeof(FocusStyle), 0, XmtRFocusStyle, (XtPointer) FocusStyleUnset}
 
9092
  };
 
9093
diff -bpcBNC 5 Xmt310/Xmt/ShellUtil.h Xmt310.ge/Xmt/ShellUtil.h
 
9094
*** Xmt310/Xmt/ShellUtil.h      Sun Feb  4 22:47:18 2001
 
9095
--- Xmt310.ge/Xmt/ShellUtil.h   Tue Jun 12 18:25:28 2001
 
9096
***************
 
9097
*** 1,16 ****
 
9098
  /* 
 
9099
   * Motif Tools Library, Version 3.1
 
9100
!  * $Id$
 
9101
   * 
 
9102
   * Written by David Flanagan.
 
9103
   * Copyright (c) 1992-2001 by David Flanagan.
 
9104
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9105
   * This is open source software.  See the file LICENSE for details.
 
9106
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9107
   *
 
9108
!  * $Log$
 
9109
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9110
!  * Initial checkin.
 
9111
!  *
 
9112
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9113
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9114
!  *                  kerberos compilation support
 
9115
!  *
 
9116
   *
 
9117
   */
 
9118
  
 
9119
  #ifndef _XmtShellUtil_h
 
9120
  #define _XmtShellUtil_h
 
9121
--- 1,19 ----
 
9122
  /* 
 
9123
   * Motif Tools Library, Version 3.1
 
9124
!  * $Id$
 
9125
   * 
 
9126
   * Written by David Flanagan.
 
9127
   * Copyright (c) 1992-2001 by David Flanagan.
 
9128
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9129
   * This is open source software.  See the file LICENSE for details.
 
9130
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9131
   *
 
9132
!  * $Log$
 
9133
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9134
!  * Initial checkin.
 
9135
!  *
 
9136
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9137
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9138
!  *                  kerberos compilation support
 
9139
!  *
 
9140
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9141
!  * *** empty log message ***
 
9142
!  *
 
9143
   *
 
9144
   */
 
9145
  
 
9146
  #ifndef _XmtShellUtil_h
 
9147
  #define _XmtShellUtil_h
 
9148
diff -bpcBNC 5 Xmt310/Xmt/StringLstCvt.c Xmt310.ge/Xmt/StringLstCvt.c
 
9149
*** Xmt310/Xmt/StringLstCvt.c   Sun Feb  4 22:47:22 2001
 
9150
--- Xmt310.ge/Xmt/StringLstCvt.c        Tue Jun 12 18:25:28 2001
 
9151
***************
 
9152
*** 1,16 ****
 
9153
  /* 
 
9154
   * Motif Tools Library, Version 3.1
 
9155
!  * $Id$
 
9156
   * 
 
9157
   * Written by David Flanagan.
 
9158
   * Copyright (c) 1992-2001 by David Flanagan.
 
9159
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9160
   * This is open source software.  See the file LICENSE for details.
 
9161
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9162
   *
 
9163
!  * $Log$
 
9164
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9165
!  * Initial checkin.
 
9166
!  *
 
9167
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9168
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9169
!  *                  kerberos compilation support
 
9170
!  *
 
9171
   *
 
9172
   */
 
9173
  
 
9174
  #include <ctype.h>
 
9175
  #include <Xmt/Xmt.h>
 
9176
--- 1,19 ----
 
9177
  /* 
 
9178
   * Motif Tools Library, Version 3.1
 
9179
!  * $Id$
 
9180
   * 
 
9181
   * Written by David Flanagan.
 
9182
   * Copyright (c) 1992-2001 by David Flanagan.
 
9183
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9184
   * This is open source software.  See the file LICENSE for details.
 
9185
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9186
   *
 
9187
!  * $Log$
 
9188
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9189
!  * Initial checkin.
 
9190
!  *
 
9191
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9192
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9193
!  *                  kerberos compilation support
 
9194
!  *
 
9195
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9196
!  * *** empty log message ***
 
9197
!  *
 
9198
   *
 
9199
   */
 
9200
  
 
9201
  #include <ctype.h>
 
9202
  #include <Xmt/Xmt.h>
 
9203
diff -bpcBNC 5 Xmt310/Xmt/Symbols.c Xmt310.ge/Xmt/Symbols.c
 
9204
*** Xmt310/Xmt/Symbols.c        Sun Feb  4 22:47:28 2001
 
9205
--- Xmt310.ge/Xmt/Symbols.c     Tue Jun 12 18:25:28 2001
 
9206
***************
 
9207
*** 1,25 ****
 
9208
  /* 
 
9209
   * Motif Tools Library, Version 3.1
 
9210
!  * $Id$
 
9211
   * 
 
9212
   * Written by David Flanagan.
 
9213
   * Copyright (c) 1992-2001 by David Flanagan.
 
9214
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9215
   * This is open source software.  See the file LICENSE for details.
 
9216
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9217
   *
 
9218
!  * $Log$
 
9219
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9220
!  * Initial checkin.
 
9221
!  *
 
9222
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9223
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9224
!  *                  kerberos compilation support
 
9225
!  *
 
9226
   *
 
9227
   */
 
9228
  
 
9229
  #include <Xmt/Xmt.h>
 
9230
  #include <Xmt/Symbols.h>
 
9231
  #include <Xmt/Hash.h>
 
9232
  #include <Xmt/QuarksP.h>
 
9233
  #include <X11/IntrinsicP.h>
 
9234
  
 
9235
  /*
 
9236
   * values for the XmtSymbolRec mode field.
 
9237
   */
 
9238
  #define XmtSymbolABSOLUTE   1
 
9239
  #define XmtSymbolIMMEDIATE  2
 
9240
--- 1,36 ----
 
9241
  /* 
 
9242
   * Motif Tools Library, Version 3.1
 
9243
!  * $Id$
 
9244
   * 
 
9245
   * Written by David Flanagan.
 
9246
   * Copyright (c) 1992-2001 by David Flanagan.
 
9247
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9248
   * This is open source software.  See the file LICENSE for details.
 
9249
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9250
   *
 
9251
!  * $Log$
 
9252
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9253
!  * Initial checkin.
 
9254
!  *
 
9255
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9256
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9257
!  *                  kerberos compilation support
 
9258
!  *
 
9259
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9260
!  * *** empty log message ***
 
9261
!  *
 
9262
   *
 
9263
   */
 
9264
  
 
9265
  #include <Xmt/Xmt.h>
 
9266
  #include <Xmt/Symbols.h>
 
9267
  #include <Xmt/Hash.h>
 
9268
  #include <Xmt/QuarksP.h>
 
9269
  #include <X11/IntrinsicP.h>
 
9270
  
 
9271
+ #if NeedFunctionPrototypes
 
9272
+         void _XtCopyToArg(XtPointer, XtArgVal *, Cardinal);
 
9273
+         void _XtCopyFromArg(XtArgVal, XtPointer, Cardinal);
 
9274
+ #else
 
9275
+         void _XtCopyToArg();
 
9276
+         void _XtCopyFromArg();
 
9277
+ #endif
 
9278
 
9279
  /*
 
9280
   * values for the XmtSymbolRec mode field.
 
9281
   */
 
9282
  #define XmtSymbolABSOLUTE   1
 
9283
  #define XmtSymbolIMMEDIATE  2
 
9284
*************** void XmtSymbolSetValue(s, value)
 
9285
*** 247,257 ****
 
9286
  XmtSymbol s;
 
9287
  XtArgVal value;
 
9288
  #endif
 
9289
  {
 
9290
      XmtSymbolCallbackRec *p;
 
9291
-     extern void _XtCopyFromArg();
 
9292
      int index;
 
9293
  
 
9294
      /*
 
9295
       * Special case for XmtRBuffer type symbols.
 
9296
       * we copy the NULL-terminated string, and warn if it is too
 
9297
--- 259,268 ----
 
9298
*************** Cardinal size;
 
9299
*** 326,336 ****
 
9300
  {
 
9301
      XrmQuark typeq = XrmStringToQuark(type);
 
9302
      XrmValue from, to;
 
9303
      XtArgVal converted_value;
 
9304
      Boolean status;
 
9305
-     extern void _XtCopyToArg();
 
9306
  
 
9307
      /*
 
9308
       * if the types match, just call XmtSymbolSetValue().
 
9309
       * if the symbol is a buffer, and the value a string, that is a match.
 
9310
       */
 
9311
--- 337,346 ----
 
9312
*************** void XmtSymbolGetValue(XmtSymbol s, XtAr
 
9313
*** 374,384 ****
 
9314
  void XmtSymbolGetValue(s, valuep)
 
9315
  XmtSymbol s;
 
9316
  XtArgVal *valuep;
 
9317
  #endif
 
9318
  {
 
9319
-     extern void _XtCopyToArg();
 
9320
  
 
9321
      /*
 
9322
       * Special case for XmtRBuffer type symbols.
 
9323
       * Just return the address.
 
9324
       */
 
9325
--- 384,393 ----
 
9326
diff -bpcBNC 5 Xmt310/Xmt/Symbols.h Xmt310.ge/Xmt/Symbols.h
 
9327
*** Xmt310/Xmt/Symbols.h        Sun Feb  4 22:47:30 2001
 
9328
--- Xmt310.ge/Xmt/Symbols.h     Tue Jun 12 18:25:28 2001
 
9329
***************
 
9330
*** 1,16 ****
 
9331
  /* 
 
9332
   * Motif Tools Library, Version 3.1
 
9333
!  * $Id$
 
9334
   * 
 
9335
   * Written by David Flanagan.
 
9336
   * Copyright (c) 1992-2001 by David Flanagan.
 
9337
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9338
   * This is open source software.  See the file LICENSE for details.
 
9339
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9340
   *
 
9341
!  * $Log$
 
9342
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9343
!  * Initial checkin.
 
9344
!  *
 
9345
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9346
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9347
!  *                  kerberos compilation support
 
9348
!  *
 
9349
   *
 
9350
   */
 
9351
  
 
9352
  #ifndef _XmtSymbols_h
 
9353
  #define _XmtSymbols_h    
 
9354
--- 1,19 ----
 
9355
  /* 
 
9356
   * Motif Tools Library, Version 3.1
 
9357
!  * $Id$
 
9358
   * 
 
9359
   * Written by David Flanagan.
 
9360
   * Copyright (c) 1992-2001 by David Flanagan.
 
9361
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9362
   * This is open source software.  See the file LICENSE for details.
 
9363
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9364
   *
 
9365
!  * $Log$
 
9366
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9367
!  * Initial checkin.
 
9368
!  *
 
9369
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9370
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9371
!  *                  kerberos compilation support
 
9372
!  *
 
9373
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9374
!  * *** empty log message ***
 
9375
!  *
 
9376
   *
 
9377
   */
 
9378
  
 
9379
  #ifndef _XmtSymbols_h
 
9380
  #define _XmtSymbols_h    
 
9381
diff -bpcBNC 5 Xmt310/Xmt/Template.c Xmt310.ge/Xmt/Template.c
 
9382
*** Xmt310/Xmt/Template.c       Sun Feb  4 22:47:34 2001
 
9383
--- Xmt310.ge/Xmt/Template.c    Tue Jun 12 18:25:28 2001
 
9384
***************
 
9385
*** 1,16 ****
 
9386
  /* 
 
9387
   * Motif Tools Library, Version 3.1
 
9388
!  * $Id$
 
9389
   * 
 
9390
   * Written by David Flanagan.
 
9391
   * Copyright (c) 1992-2001 by David Flanagan.
 
9392
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9393
   * This is open source software.  See the file LICENSE for details.
 
9394
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9395
   *
 
9396
!  * $Log$
 
9397
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9398
!  * Initial checkin.
 
9399
!  *
 
9400
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9401
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9402
!  *                  kerberos compilation support
 
9403
!  *
 
9404
   *
 
9405
   */
 
9406
  
 
9407
  #include <ctype.h>
 
9408
  #include <Xmt/Xmt.h>
 
9409
--- 1,19 ----
 
9410
  /* 
 
9411
   * Motif Tools Library, Version 3.1
 
9412
!  * $Id$
 
9413
   * 
 
9414
   * Written by David Flanagan.
 
9415
   * Copyright (c) 1992-2001 by David Flanagan.
 
9416
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9417
   * This is open source software.  See the file LICENSE for details.
 
9418
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9419
   *
 
9420
!  * $Log$
 
9421
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9422
!  * Initial checkin.
 
9423
!  *
 
9424
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9425
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9426
!  *                  kerberos compilation support
 
9427
!  *
 
9428
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9429
!  * *** empty log message ***
 
9430
!  *
 
9431
   *
 
9432
   */
 
9433
  
 
9434
  #include <ctype.h>
 
9435
  #include <Xmt/Xmt.h>
 
9436
diff -bpcBNC 5 Xmt310/Xmt/Template.h Xmt310.ge/Xmt/Template.h
 
9437
*** Xmt310/Xmt/Template.h       Sun Feb  4 22:47:38 2001
 
9438
--- Xmt310.ge/Xmt/Template.h    Tue Jun 12 18:25:28 2001
 
9439
***************
 
9440
*** 1,16 ****
 
9441
  /* 
 
9442
   * Motif Tools Library, Version 3.1
 
9443
!  * $Id$
 
9444
   * 
 
9445
   * Written by David Flanagan.
 
9446
   * Copyright (c) 1992-2001 by David Flanagan.
 
9447
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9448
   * This is open source software.  See the file LICENSE for details.
 
9449
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9450
   *
 
9451
!  * $Log$
 
9452
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9453
!  * Initial checkin.
 
9454
!  *
 
9455
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9456
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9457
!  *                  kerberos compilation support
 
9458
!  *
 
9459
   *
 
9460
   */
 
9461
  
 
9462
  #ifndef _XmtTemplate_h
 
9463
  #define _XmtTemplate_h
 
9464
--- 1,19 ----
 
9465
  /* 
 
9466
   * Motif Tools Library, Version 3.1
 
9467
!  * $Id$
 
9468
   * 
 
9469
   * Written by David Flanagan.
 
9470
   * Copyright (c) 1992-2001 by David Flanagan.
 
9471
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9472
   * This is open source software.  See the file LICENSE for details.
 
9473
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9474
   *
 
9475
!  * $Log$
 
9476
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9477
!  * Initial checkin.
 
9478
!  *
 
9479
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9480
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9481
!  *                  kerberos compilation support
 
9482
!  *
 
9483
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9484
!  * *** empty log message ***
 
9485
!  *
 
9486
   *
 
9487
   */
 
9488
  
 
9489
  #ifndef _XmtTemplate_h
 
9490
  #define _XmtTemplate_h
 
9491
diff -bpcBNC 5 Xmt310/Xmt/UnixProcs.c Xmt310.ge/Xmt/UnixProcs.c
 
9492
*** Xmt310/Xmt/UnixProcs.c      Sun Feb  4 22:47:42 2001
 
9493
--- Xmt310.ge/Xmt/UnixProcs.c   Tue Jun 12 18:25:28 2001
 
9494
***************
 
9495
*** 1,35 ****
 
9496
  /* 
 
9497
   * Motif Tools Library, Version 3.1
 
9498
!  * $Id$
 
9499
   * 
 
9500
   * Written by David Flanagan.
 
9501
   * Copyright (c) 1992-2001 by David Flanagan.
 
9502
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9503
   * This is open source software.  See the file LICENSE for details.
 
9504
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9505
   *
 
9506
!  * $Log$
 
9507
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9508
!  * Initial checkin.
 
9509
!  *
 
9510
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9511
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9512
!  *                  kerberos compilation support
 
9513
!  *
 
9514
   *
 
9515
   */
 
9516
  
 
9517
  #include <stdio.h>
 
9518
  #include <Xmt/Xmt.h>
 
9519
  #include <Xmt/Procedures.h>
 
9520
  
 
9521
  #ifndef X_NOT_STDC_ENV
 
9522
  #include <stdlib.h>
 
9523
  #endif
 
9524
  
 
9525
  #ifndef X_NOT_POSIX
 
9526
  #include <unistd.h>
 
9527
  #endif
 
9528
 
9529
- /* these aren't declared in SunOS 4.1.1 */
 
9530
- extern int puts();
 
9531
- extern int system();
 
9532
 
9533
  
 
9534
  static XmtProcedureInfo unix_procedures[] = {
 
9535
  {"puts", (XmtProcedure)puts, {XtRString}},
 
9536
  {"system", (XmtProcedure)system, {XtRString}},
 
9537
  {"exit", (XmtProcedure)exit, {XtRInt}},
 
9538
--- 1,34 ----
 
9539
  /* 
 
9540
   * Motif Tools Library, Version 3.1
 
9541
!  * $Id$
 
9542
   * 
 
9543
   * Written by David Flanagan.
 
9544
   * Copyright (c) 1992-2001 by David Flanagan.
 
9545
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9546
   * This is open source software.  See the file LICENSE for details.
 
9547
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9548
   *
 
9549
!  * $Log$
 
9550
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9551
!  * Initial checkin.
 
9552
!  *
 
9553
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9554
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9555
!  *                  kerberos compilation support
 
9556
!  *
 
9557
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9558
!  * *** empty log message ***
 
9559
!  *
 
9560
   *
 
9561
   */
 
9562
  
 
9563
  #include <stdio.h>
 
9564
+ #include <X11/Xos.h>
 
9565
  #include <Xmt/Xmt.h>
 
9566
  #include <Xmt/Procedures.h>
 
9567
  
 
9568
  #ifndef X_NOT_STDC_ENV
 
9569
  #include <stdlib.h>
 
9570
  #endif
 
9571
  
 
9572
  #ifndef X_NOT_POSIX
 
9573
  #include <unistd.h>
 
9574
  #endif
 
9575
  
 
9576
  static XmtProcedureInfo unix_procedures[] = {
 
9577
  {"puts", (XmtProcedure)puts, {XtRString}},
 
9578
  {"system", (XmtProcedure)system, {XtRString}},
 
9579
  {"exit", (XmtProcedure)exit, {XtRInt}},
 
9580
diff -bpcBNC 5 Xmt310/Xmt/Util.h Xmt310.ge/Xmt/Util.h
 
9581
*** Xmt310/Xmt/Util.h   Sun Feb  4 22:47:48 2001
 
9582
--- Xmt310.ge/Xmt/Util.h        Tue Jun 12 18:25:28 2001
 
9583
***************
 
9584
*** 1,16 ****
 
9585
  /* 
 
9586
   * Motif Tools Library, Version 3.1
 
9587
!  * $Id$
 
9588
   * 
 
9589
   * Written by David Flanagan.
 
9590
   * Copyright (c) 1992-2001 by David Flanagan.
 
9591
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9592
   * This is open source software.  See the file LICENSE for details.
 
9593
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9594
   *
 
9595
!  * $Log$
 
9596
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9597
!  * Initial checkin.
 
9598
!  *
 
9599
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9600
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9601
!  *                  kerberos compilation support
 
9602
!  *
 
9603
   *
 
9604
   */
 
9605
  
 
9606
  #ifndef _XmtUtil_h
 
9607
  #define _XmtUtil_h
 
9608
--- 1,19 ----
 
9609
  /* 
 
9610
   * Motif Tools Library, Version 3.1
 
9611
!  * $Id$
 
9612
   * 
 
9613
   * Written by David Flanagan.
 
9614
   * Copyright (c) 1992-2001 by David Flanagan.
 
9615
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9616
   * This is open source software.  See the file LICENSE for details.
 
9617
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9618
   *
 
9619
!  * $Log$
 
9620
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9621
!  * Initial checkin.
 
9622
!  *
 
9623
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9624
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9625
!  *                  kerberos compilation support
 
9626
!  *
 
9627
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9628
!  * *** empty log message ***
 
9629
!  *
 
9630
   *
 
9631
   */
 
9632
  
 
9633
  #ifndef _XmtUtil_h
 
9634
  #define _XmtUtil_h
 
9635
*************** extern Widget XmtGetApplicationShell(Wid
 
9636
*** 36,45 ****
 
9637
--- 39,49 ----
 
9638
  extern Widget XmtGetTopLevelShell(Widget) gcc_const_attribute;
 
9639
  extern Widget XmtGetShell(Widget) gcc_const_attribute;
 
9640
  extern String XmtFindFile(Widget, StringConst, StringConst,
 
9641
                          StringConst, StringConst, StringConst, int);
 
9642
  extern XmString XmtCreateXmString(StringConst);
 
9643
+ extern XmString XmtCreateLocalizedXmString(Widget, StringConst);
 
9644
  extern Widget XmtNameToWidget(Widget, StringConst);
 
9645
  extern void XmtWaitUntilMapped(Widget);
 
9646
  extern void XmtDisplayBusyCursor(Widget);
 
9647
  extern void XmtDisplayDefaultCursor(Widget);
 
9648
  extern void XmtDisplayCursor(Widget, Cursor);
 
9649
*************** extern void XmtRaiseShell(Widget);
 
9650
*** 57,66 ****
 
9651
--- 61,71 ----
 
9652
  extern void XmtLowerShell(Widget);
 
9653
  extern void XmtFocusShell(Widget);
 
9654
  extern void XmtSetFocusToShell(Widget);
 
9655
  extern void XmtWarpToShell(Widget);
 
9656
  extern void XmtMoveShellToPointer(Widget);
 
9657
+ extern String _XmtLocalize(Screen* , StringConst, StringConst, StringConst);
 
9658
  extern String XmtLocalize(Widget, StringConst, StringConst);
 
9659
  extern String XmtLocalizeWidget(Widget, StringConst, StringConst);
 
9660
  extern String XmtLocalize2(Widget, StringConst, StringConst, StringConst);
 
9661
  extern Visual *XmtGetVisual(Widget);
 
9662
  extern void XmtPatchVisualInheritance(void);
 
9663
*************** extern void XmtBlock();
 
9664
*** 71,80 ****
 
9665
--- 76,86 ----
 
9666
  extern Widget XmtGetApplicationShell();
 
9667
  extern Widget XmtGetTopLevelShell();
 
9668
  extern Widget XmtGetShell();
 
9669
  extern String XmtFindFile();
 
9670
  extern XmString XmtCreateXmString();
 
9671
+ extern XmString XmtCreateLocalizedXmString();
 
9672
  extern Widget XmtNameToWidget();
 
9673
  extern void XmtWaitUntilMapped();
 
9674
  extern void XmtDisplayBusyCursor();
 
9675
  extern void XmtDisplayDefaultCursor();
 
9676
  extern void XmtDisplayCursor();
 
9677
*************** extern void XmtRaiseShell();
 
9678
*** 92,101 ****
 
9679
--- 98,108 ----
 
9680
  extern void XmtLowerShell();
 
9681
  extern void XmtFocusShell();
 
9682
  extern void XmtSetFocusToShell();
 
9683
  extern void XmtWarpToShell();
 
9684
  extern void XmtMoveShellToPointer();
 
9685
+ extern String _XmtLocalize();
 
9686
  extern String XmtLocalize();
 
9687
  extern String XmtLocalizeWidget();
 
9688
  extern String XmtLocalize2();
 
9689
  extern Visual *XmtGetVisual();
 
9690
  extern void XmtPatchVisualInheritance();
 
9691
diff -bpcBNC 5 Xmt310/Xmt/Visual.c Xmt310.ge/Xmt/Visual.c
 
9692
*** Xmt310/Xmt/Visual.c Sun Feb  4 22:47:52 2001
 
9693
--- Xmt310.ge/Xmt/Visual.c      Tue Jun 12 18:25:28 2001
 
9694
***************
 
9695
*** 1,16 ****
 
9696
  /* 
 
9697
   * Motif Tools Library, Version 3.1
 
9698
!  * $Id$
 
9699
   * 
 
9700
   * Written by David Flanagan.
 
9701
   * Copyright (c) 1992-2001 by David Flanagan.
 
9702
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9703
   * This is open source software.  See the file LICENSE for details.
 
9704
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9705
   *
 
9706
!  * $Log$
 
9707
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9708
!  * Initial checkin.
 
9709
!  *
 
9710
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9711
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9712
!  *                  kerberos compilation support
 
9713
!  *
 
9714
   *
 
9715
   */
 
9716
  
 
9717
  #include <Xmt/Xmt.h>
 
9718
  #include <X11/IntrinsicP.h>
 
9719
--- 1,19 ----
 
9720
  /* 
 
9721
   * Motif Tools Library, Version 3.1
 
9722
!  * $Id$
 
9723
   * 
 
9724
   * Written by David Flanagan.
 
9725
   * Copyright (c) 1992-2001 by David Flanagan.
 
9726
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9727
   * This is open source software.  See the file LICENSE for details.
 
9728
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9729
   *
 
9730
!  * $Log$
 
9731
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9732
!  * Initial checkin.
 
9733
!  *
 
9734
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9735
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9736
!  *                  kerberos compilation support
 
9737
!  *
 
9738
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9739
!  * *** empty log message ***
 
9740
!  *
 
9741
   *
 
9742
   */
 
9743
  
 
9744
  #include <Xmt/Xmt.h>
 
9745
  #include <X11/IntrinsicP.h>
 
9746
diff -bpcBNC 5 Xmt310/Xmt/Wait.c Xmt310.ge/Xmt/Wait.c
 
9747
*** Xmt310/Xmt/Wait.c   Sun Feb  4 22:47:56 2001
 
9748
--- Xmt310.ge/Xmt/Wait.c        Tue Jun 12 18:25:28 2001
 
9749
***************
 
9750
*** 1,16 ****
 
9751
  /* 
 
9752
   * Motif Tools Library, Version 3.1
 
9753
!  * $Id$
 
9754
   * 
 
9755
   * Written by David Flanagan.
 
9756
   * Copyright (c) 1992-2001 by David Flanagan.
 
9757
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9758
   * This is open source software.  See the file LICENSE for details.
 
9759
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9760
   *
 
9761
!  * $Log$
 
9762
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9763
!  * Initial checkin.
 
9764
!  *
 
9765
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9766
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9767
!  *                  kerberos compilation support
 
9768
!  *
 
9769
   *
 
9770
   */
 
9771
  
 
9772
  #include <Xmt/Xmt.h>
 
9773
  #include <Xmt/Util.h>
 
9774
--- 1,19 ----
 
9775
  /* 
 
9776
   * Motif Tools Library, Version 3.1
 
9777
!  * $Id$
 
9778
   * 
 
9779
   * Written by David Flanagan.
 
9780
   * Copyright (c) 1992-2001 by David Flanagan.
 
9781
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9782
   * This is open source software.  See the file LICENSE for details.
 
9783
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9784
   *
 
9785
!  * $Log$
 
9786
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9787
!  * Initial checkin.
 
9788
!  *
 
9789
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9790
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9791
!  *                  kerberos compilation support
 
9792
!  *
 
9793
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9794
!  * *** empty log message ***
 
9795
!  *
 
9796
   *
 
9797
   */
 
9798
  
 
9799
  #include <Xmt/Xmt.h>
 
9800
  #include <Xmt/Util.h>
 
9801
diff -bpcBNC 5 Xmt310/Xmt/Warning.c Xmt310.ge/Xmt/Warning.c
 
9802
*** Xmt310/Xmt/Warning.c        Sun Feb  4 22:47:58 2001
 
9803
--- Xmt310.ge/Xmt/Warning.c     Tue Jun 12 18:25:28 2001
 
9804
***************
 
9805
*** 1,16 ****
 
9806
  /* 
 
9807
   * Motif Tools Library, Version 3.1
 
9808
!  * $Id$
 
9809
   * 
 
9810
   * Written by David Flanagan.
 
9811
   * Copyright (c) 1992-2001 by David Flanagan.
 
9812
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9813
   * This is open source software.  See the file LICENSE for details.
 
9814
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9815
   *
 
9816
!  * $Log$
 
9817
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9818
!  * Initial checkin.
 
9819
!  *
 
9820
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9821
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9822
!  *                  kerberos compilation support
 
9823
!  *
 
9824
   *
 
9825
   */
 
9826
  
 
9827
  #include <Xmt/Xmt.h>
 
9828
  
 
9829
--- 1,19 ----
 
9830
  /* 
 
9831
   * Motif Tools Library, Version 3.1
 
9832
!  * $Id$
 
9833
   * 
 
9834
   * Written by David Flanagan.
 
9835
   * Copyright (c) 1992-2001 by David Flanagan.
 
9836
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9837
   * This is open source software.  See the file LICENSE for details.
 
9838
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9839
   *
 
9840
!  * $Log$
 
9841
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9842
!  * Initial checkin.
 
9843
!  *
 
9844
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9845
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9846
!  *                  kerberos compilation support
 
9847
!  *
 
9848
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9849
!  * *** empty log message ***
 
9850
!  *
 
9851
   *
 
9852
   */
 
9853
  
 
9854
  #include <Xmt/Xmt.h>
 
9855
  
 
9856
diff -bpcBNC 5 Xmt310/Xmt/WidgetCvt.c Xmt310.ge/Xmt/WidgetCvt.c
 
9857
*** Xmt310/Xmt/WidgetCvt.c      Sun Feb  4 22:48:08 2001
 
9858
--- Xmt310.ge/Xmt/WidgetCvt.c   Tue Jun 12 18:25:28 2001
 
9859
***************
 
9860
*** 1,16 ****
 
9861
  /* 
 
9862
   * Motif Tools Library, Version 3.1
 
9863
!  * $Id$
 
9864
   * 
 
9865
   * Written by David Flanagan.
 
9866
   * Copyright (c) 1992-2001 by David Flanagan.
 
9867
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9868
   * This is open source software.  See the file LICENSE for details.
 
9869
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9870
   *
 
9871
!  * $Log$
 
9872
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9873
!  * Initial checkin.
 
9874
!  *
 
9875
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9876
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9877
!  *                  kerberos compilation support
 
9878
!  *
 
9879
   *
 
9880
   */
 
9881
  
 
9882
  #include <Xmt/Xmt.h>
 
9883
  #include <Xmt/ConvertersP.h>
 
9884
--- 1,19 ----
 
9885
  /* 
 
9886
   * Motif Tools Library, Version 3.1
 
9887
!  * $Id$
 
9888
   * 
 
9889
   * Written by David Flanagan.
 
9890
   * Copyright (c) 1992-2001 by David Flanagan.
 
9891
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9892
   * This is open source software.  See the file LICENSE for details.
 
9893
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9894
   *
 
9895
!  * $Log$
 
9896
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9897
!  * Initial checkin.
 
9898
!  *
 
9899
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9900
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9901
!  *                  kerberos compilation support
 
9902
!  *
 
9903
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9904
!  * *** empty log message ***
 
9905
!  *
 
9906
   *
 
9907
   */
 
9908
  
 
9909
  #include <Xmt/Xmt.h>
 
9910
  #include <Xmt/ConvertersP.h>
 
9911
diff -bpcBNC 5 Xmt310/Xmt/WidgetType.c Xmt310.ge/Xmt/WidgetType.c
 
9912
*** Xmt310/Xmt/WidgetType.c     Sun Feb  4 22:48:18 2001
 
9913
--- Xmt310.ge/Xmt/WidgetType.c  Tue Jun 12 18:25:28 2001
 
9914
***************
 
9915
*** 1,16 ****
 
9916
  /* 
 
9917
   * Motif Tools Library, Version 3.1
 
9918
!  * $Id$
 
9919
   * 
 
9920
   * Written by David Flanagan.
 
9921
   * Copyright (c) 1992-2001 by David Flanagan.
 
9922
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9923
   * This is open source software.  See the file LICENSE for details.
 
9924
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9925
   *
 
9926
!  * $Log$
 
9927
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9928
!  * Initial checkin.
 
9929
!  *
 
9930
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9931
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9932
!  *                  kerberos compilation support
 
9933
!  *
 
9934
   *
 
9935
   */
 
9936
  
 
9937
  #include <Xmt/XmtP.h>
 
9938
  #include <Xmt/WidgetType.h>
 
9939
--- 1,19 ----
 
9940
  /* 
 
9941
   * Motif Tools Library, Version 3.1
 
9942
!  * $Id$
 
9943
   * 
 
9944
   * Written by David Flanagan.
 
9945
   * Copyright (c) 1992-2001 by David Flanagan.
 
9946
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9947
   * This is open source software.  See the file LICENSE for details.
 
9948
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9949
   *
 
9950
!  * $Log$
 
9951
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9952
!  * Initial checkin.
 
9953
!  *
 
9954
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9955
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9956
!  *                  kerberos compilation support
 
9957
!  *
 
9958
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9959
!  * *** empty log message ***
 
9960
!  *
 
9961
   *
 
9962
   */
 
9963
  
 
9964
  #include <Xmt/XmtP.h>
 
9965
  #include <Xmt/WidgetType.h>
 
9966
diff -bpcBNC 5 Xmt310/Xmt/WidgetType.h Xmt310.ge/Xmt/WidgetType.h
 
9967
*** Xmt310/Xmt/WidgetType.h     Sun Feb  4 22:48:24 2001
 
9968
--- Xmt310.ge/Xmt/WidgetType.h  Tue Jun 12 18:25:28 2001
 
9969
***************
 
9970
*** 1,16 ****
 
9971
  /* 
 
9972
   * Motif Tools Library, Version 3.1
 
9973
!  * $Id$
 
9974
   * 
 
9975
   * Written by David Flanagan.
 
9976
   * Copyright (c) 1992-2001 by David Flanagan.
 
9977
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
9978
   * This is open source software.  See the file LICENSE for details.
 
9979
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9980
   *
 
9981
!  * $Log$
 
9982
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9983
!  * Initial checkin.
 
9984
!  *
 
9985
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9986
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9987
!  *                  kerberos compilation support
 
9988
!  *
 
9989
   *
 
9990
   */
 
9991
  
 
9992
  #ifndef _XmtWidgetType_h
 
9993
  #define _XmtWidgetType_h
 
9994
--- 1,19 ----
 
9995
  /* 
 
9996
   * Motif Tools Library, Version 3.1
 
9997
!  * $Id$
 
9998
   * 
 
9999
   * Written by David Flanagan.
 
10000
   * Copyright (c) 1992-2001 by David Flanagan.
 
10001
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10002
   * This is open source software.  See the file LICENSE for details.
 
10003
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10004
   *
 
10005
!  * $Log$
 
10006
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10007
!  * Initial checkin.
 
10008
!  *
 
10009
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10010
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10011
!  *                  kerberos compilation support
 
10012
!  *
 
10013
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10014
!  * *** empty log message ***
 
10015
!  *
 
10016
   *
 
10017
   */
 
10018
  
 
10019
  #ifndef _XmtWidgetType_h
 
10020
  #define _XmtWidgetType_h
 
10021
*************** extern void XmtRegisterXmtWidgets(void);
 
10022
*** 55,64 ****
 
10023
--- 58,70 ----
 
10024
  extern void XmtRegisterXmText(void);
 
10025
  extern void XmtRegisterXmScrolledText(void);
 
10026
  extern void XmtRegisterXmTextField(void);
 
10027
  extern void XmtRegisterXmToggleButton(void);
 
10028
  extern void XmtRegisterXmScale(void);
 
10029
+ #if XmVersion >= 2000
 
10030
+ extern void XmtRegisterXmComboBox(void);
 
10031
+ #endif
 
10032
  #else
 
10033
  extern void XmtRegisterWidgetClass();
 
10034
  extern void XmtRegisterWidgetConstructor();
 
10035
  extern void XmtRegisterPopupClass();
 
10036
  extern void XmtRegisterPopupConstructor();
 
10037
*************** extern void XmtRegisterXmtWidgets();
 
10038
*** 70,79 ****
 
10039
--- 76,90 ----
 
10040
  extern void XmtRegisterXmText();
 
10041
  extern void XmtRegisterXmScrolledText();
 
10042
  extern void XmtRegisterXmTextField();
 
10043
  extern void XmtRegisterXmToggleButton();
 
10044
  extern void XmtRegisterXmScale();
 
10045
 
10046
+ #if XmVersion >= 2000
 
10047
+ extern void XmtRegisterXmComboBox();
 
10048
+ #endif
 
10049
 
10050
  #endif
 
10051
  
 
10052
  #if NeedVarargsPrototypes
 
10053
  extern void XmtVaRegisterWidgetClasses(StringConst, WidgetClass, ...);
 
10054
  extern void XmtVaRegisterWidgetConstructors(StringConst,
 
10055
diff -bpcBNC 5 Xmt310/Xmt/Working.c Xmt310.ge/Xmt/Working.c
 
10056
*** Xmt310/Xmt/Working.c        Sun Feb  4 22:48:30 2001
 
10057
--- Xmt310.ge/Xmt/Working.c     Tue Jun 12 18:25:28 2001
 
10058
***************
 
10059
*** 1,16 ****
 
10060
  /* 
 
10061
   * Motif Tools Library, Version 3.1
 
10062
!  * $Id$
 
10063
   * 
 
10064
   * Written by David Flanagan.
 
10065
   * Copyright (c) 1992-2001 by David Flanagan.
 
10066
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10067
   * This is open source software.  See the file LICENSE for details.
 
10068
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10069
   *
 
10070
!  * $Log$
 
10071
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10072
!  * Initial checkin.
 
10073
!  *
 
10074
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10075
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10076
!  *                  kerberos compilation support
 
10077
!  *
 
10078
   *
 
10079
   */
 
10080
  
 
10081
  #include <Xmt/Xmt.h>
 
10082
  #include <Xmt/WorkingBox.h>
 
10083
--- 1,19 ----
 
10084
  /* 
 
10085
   * Motif Tools Library, Version 3.1
 
10086
!  * $Id$
 
10087
   * 
 
10088
   * Written by David Flanagan.
 
10089
   * Copyright (c) 1992-2001 by David Flanagan.
 
10090
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10091
   * This is open source software.  See the file LICENSE for details.
 
10092
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10093
   *
 
10094
!  * $Log$
 
10095
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10096
!  * Initial checkin.
 
10097
!  *
 
10098
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10099
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10100
!  *                  kerberos compilation support
 
10101
!  *
 
10102
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10103
!  * *** empty log message ***
 
10104
!  *
 
10105
   *
 
10106
   */
 
10107
  
 
10108
  #include <Xmt/Xmt.h>
 
10109
  #include <Xmt/WorkingBox.h>
 
10110
*************** int show_button;
 
10111
*** 130,140 ****
 
10112
        data.scale_label = (String) scale_label_default;
 
10113
        data.button_label = (String) button_label_default;
 
10114
        data.title = default_title;
 
10115
      }
 
10116
  
 
10117
!     title = XmtCreateXmString(data.title);
 
10118
      XtVaSetValues(info->working_dialog,
 
10119
                  XmtNmessage, data.message,
 
10120
                  XmtNscaleLabel, data.scale_label,
 
10121
                  XmtNbuttonLabel, data.button_label,
 
10122
                  XmNdialogTitle, title,
 
10123
--- 133,143 ----
 
10124
        data.scale_label = (String) scale_label_default;
 
10125
        data.button_label = (String) button_label_default;
 
10126
        data.title = default_title;
 
10127
      }
 
10128
  
 
10129
!     title = XmtCreateLocalizedXmString(w, data.title);
 
10130
      XtVaSetValues(info->working_dialog,
 
10131
                  XmtNmessage, data.message,
 
10132
                  XmtNscaleLabel, data.scale_label,
 
10133
                  XmtNbuttonLabel, data.button_label,
 
10134
                  XmNdialogTitle, title,
 
10135
diff -bpcBNC 5 Xmt310/Xmt/WorkingBox.c Xmt310.ge/Xmt/WorkingBox.c
 
10136
*** Xmt310/Xmt/WorkingBox.c     Sun Feb  4 22:48:34 2001
 
10137
--- Xmt310.ge/Xmt/WorkingBox.c  Tue Jun 12 18:25:28 2001
 
10138
***************
 
10139
*** 1,16 ****
 
10140
  /* 
 
10141
   * Motif Tools Library, Version 3.1
 
10142
!  * $Id$
 
10143
   * 
 
10144
   * Written by David Flanagan.
 
10145
   * Copyright (c) 1992-2001 by David Flanagan.
 
10146
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10147
   * This is open source software.  See the file LICENSE for details.
 
10148
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10149
   *
 
10150
!  * $Log$
 
10151
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10152
!  * Initial checkin.
 
10153
!  *
 
10154
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10155
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10156
!  *                  kerberos compilation support
 
10157
!  *
 
10158
   *
 
10159
   */
 
10160
  
 
10161
  #include <stdio.h>
 
10162
  #include <Xmt/XmtP.h>
 
10163
--- 1,19 ----
 
10164
  /* 
 
10165
   * Motif Tools Library, Version 3.1
 
10166
!  * $Id$
 
10167
   * 
 
10168
   * Written by David Flanagan.
 
10169
   * Copyright (c) 1992-2001 by David Flanagan.
 
10170
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10171
   * This is open source software.  See the file LICENSE for details.
 
10172
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10173
   *
 
10174
!  * $Log$
 
10175
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10176
!  * Initial checkin.
 
10177
!  *
 
10178
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10179
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10180
!  *                  kerberos compilation support
 
10181
!  *
 
10182
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10183
!  * *** empty log message ***
 
10184
!  *
 
10185
   *
 
10186
   */
 
10187
  
 
10188
  #include <stdio.h>
 
10189
  #include <Xmt/XmtP.h>
 
10190
*************** Cardinal *num_args;
 
10191
*** 280,290 ****
 
10192
            XmtLocalizeWidget(init, "Stop", "stop");
 
10193
  
 
10194
      /*
 
10195
       * create the widgets
 
10196
       */
 
10197
!     label = XmtCreateXmString(wd->working_box.message);
 
10198
      pixmap = XtVaCreateManagedWidget("icon", xmtLayoutPixmapGadgetClass, init,
 
10199
                        XmtNpixmap, wd->working_box.icon,
 
10200
                        XmtNlayoutCaption, label,
 
10201
                        XmtNlayoutCaptionPosition, XmtLayoutRight,
 
10202
                        XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
 
10203
--- 283,293 ----
 
10204
            XmtLocalizeWidget(init, "Stop", "stop");
 
10205
  
 
10206
      /*
 
10207
       * create the widgets
 
10208
       */
 
10209
!     label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.message);
 
10210
      pixmap = XtVaCreateManagedWidget("icon", xmtLayoutPixmapGadgetClass, init,
 
10211
                        XmtNpixmap, wd->working_box.icon,
 
10212
                        XmtNlayoutCaption, label,
 
10213
                        XmtNlayoutCaptionPosition, XmtLayoutRight,
 
10214
                        XmtNlayoutCaptionJustification, XmtLayoutFlushLeft,
 
10215
*************** Cardinal *num_args;
 
10216
*** 292,302 ****
 
10217
                        XmtNlayoutJustification, XmtLayoutFlushLeft,
 
10218
                        XmtNlayoutStretchability, 0,
 
10219
                        NULL);
 
10220
      XmStringFree(label);
 
10221
  
 
10222
!     label = XmtCreateXmString(wd->working_box.scale_label);
 
10223
      scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
 
10224
                         XmNorientation, XmHORIZONTAL,
 
10225
                         XmNshowValue, True,
 
10226
                         XmNvalue, wd->working_box.scale_value,
 
10227
                         XmNminimum, wd->working_box.scale_min,
 
10228
--- 295,305 ----
 
10229
                        XmtNlayoutJustification, XmtLayoutFlushLeft,
 
10230
                        XmtNlayoutStretchability, 0,
 
10231
                        NULL);
 
10232
      XmStringFree(label);
 
10233
  
 
10234
!     label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.scale_label);
 
10235
      scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
 
10236
                         XmNorientation, XmHORIZONTAL,
 
10237
                         XmNshowValue, True,
 
10238
                         XmNvalue, wd->working_box.scale_value,
 
10239
                         XmNminimum, wd->working_box.scale_min,
 
10240
*************** Cardinal *num_args;
 
10241
*** 312,322 ****
 
10242
  
 
10243
      separator = XtVaCreateWidget("separator",
 
10244
                                 xmtLayoutSeparatorGadgetClass, init,
 
10245
                                 NULL);
 
10246
  
 
10247
!     label = XmtCreateXmString(wd->working_box.button_label);
 
10248
      button = XtVaCreateWidget("button", xmPushButtonWidgetClass, init,
 
10249
                              XmNlabelString, label,
 
10250
                              XmtNlayoutJustification, XmtLayoutFlushRight,
 
10251
                              XmtNlayoutStretchability, 0,
 
10252
                              NULL);
 
10253
--- 315,325 ----
 
10254
  
 
10255
      separator = XtVaCreateWidget("separator",
 
10256
                                 xmtLayoutSeparatorGadgetClass, init,
 
10257
                                 NULL);
 
10258
  
 
10259
!     label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.button_label);
 
10260
      button = XtVaCreateWidget("button", xmPushButtonWidgetClass, init,
 
10261
                              XmNlabelString, label,
 
10262
                              XmtNlayoutJustification, XmtLayoutFlushRight,
 
10263
                              XmtNlayoutStretchability, 0,
 
10264
                              NULL);
 
10265
*************** Cardinal *num_args;
 
10266
*** 387,417 ****
 
10267
       * strings are not copied, but set to a special empty string.
 
10268
       * We check if they are now different from empty_string.
 
10269
       */
 
10270
      if (sw->working_box.message != empty_string) {
 
10271
        if (sw->working_box.message)
 
10272
!           label = XmtCreateXmString(sw->working_box.message);
 
10273
        else
 
10274
            label = NULL;
 
10275
        XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
 
10276
        if (label) XmStringFree(label);
 
10277
        sw->working_box.message = empty_string;
 
10278
      }
 
10279
  
 
10280
      if (sw->working_box.scale_label != empty_string) {
 
10281
        if (sw->working_box.scale_label)
 
10282
!           label = XmtCreateXmString(sw->working_box.scale_label);
 
10283
        else
 
10284
            label = NULL;
 
10285
        XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
 
10286
        if (label) XmStringFree(label);
 
10287
        sw->working_box.scale_label = empty_string;
 
10288
      }
 
10289
  
 
10290
      if (sw->working_box.button_label != empty_string) {
 
10291
        if (sw->working_box.button_label) {
 
10292
!           label = XmtCreateXmString(sw->working_box.button_label);
 
10293
            XtVaSetValues(sw->working_box.button, XmNlabelString, label, NULL);
 
10294
            XmStringFree(label);
 
10295
        }
 
10296
        sw->working_box.button_label = empty_string;
 
10297
      }
 
10298
--- 390,420 ----
 
10299
       * strings are not copied, but set to a special empty string.
 
10300
       * We check if they are now different from empty_string.
 
10301
       */
 
10302
      if (sw->working_box.message != empty_string) {
 
10303
        if (sw->working_box.message)
 
10304
!           label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.message);
 
10305
        else
 
10306
            label = NULL;
 
10307
        XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
 
10308
        if (label) XmStringFree(label);
 
10309
        sw->working_box.message = empty_string;
 
10310
      }
 
10311
  
 
10312
      if (sw->working_box.scale_label != empty_string) {
 
10313
        if (sw->working_box.scale_label)
 
10314
!           label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.scale_label);
 
10315
        else
 
10316
            label = NULL;
 
10317
        XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
 
10318
        if (label) XmStringFree(label);
 
10319
        sw->working_box.scale_label = empty_string;
 
10320
      }
 
10321
  
 
10322
      if (sw->working_box.button_label != empty_string) {
 
10323
        if (sw->working_box.button_label) {
 
10324
!           label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.button_label);
 
10325
            XtVaSetValues(sw->working_box.button, XmNlabelString, label, NULL);
 
10326
            XmStringFree(label);
 
10327
        }
 
10328
        sw->working_box.button_label = empty_string;
 
10329
      }
 
10330
diff -bpcBNC 5 Xmt310/Xmt/WorkingBox.h Xmt310.ge/Xmt/WorkingBox.h
 
10331
*** Xmt310/Xmt/WorkingBox.h     Sun Feb  4 22:48:38 2001
 
10332
--- Xmt310.ge/Xmt/WorkingBox.h  Tue Jun 12 18:25:28 2001
 
10333
***************
 
10334
*** 1,16 ****
 
10335
  /* 
 
10336
   * Motif Tools Library, Version 3.1
 
10337
!  * $Id$
 
10338
   * 
 
10339
   * Written by David Flanagan.
 
10340
   * Copyright (c) 1992-2001 by David Flanagan.
 
10341
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10342
   * This is open source software.  See the file LICENSE for details.
 
10343
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10344
   *
 
10345
!  * $Log$
 
10346
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10347
!  * Initial checkin.
 
10348
!  *
 
10349
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10350
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10351
!  *                  kerberos compilation support
 
10352
!  *
 
10353
   *
 
10354
   */
 
10355
  
 
10356
  #ifndef _XmtWorkingBox_h
 
10357
  #define _XmtWorkingBox_h    
 
10358
--- 1,19 ----
 
10359
  /* 
 
10360
   * Motif Tools Library, Version 3.1
 
10361
!  * $Id$
 
10362
   * 
 
10363
   * Written by David Flanagan.
 
10364
   * Copyright (c) 1992-2001 by David Flanagan.
 
10365
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10366
   * This is open source software.  See the file LICENSE for details.
 
10367
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10368
   *
 
10369
!  * $Log$
 
10370
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10371
!  * Initial checkin.
 
10372
!  *
 
10373
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10374
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10375
!  *                  kerberos compilation support
 
10376
!  *
 
10377
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10378
!  * *** empty log message ***
 
10379
!  *
 
10380
   *
 
10381
   */
 
10382
  
 
10383
  #ifndef _XmtWorkingBox_h
 
10384
  #define _XmtWorkingBox_h    
 
10385
diff -bpcBNC 5 Xmt310/Xmt/WorkingBoxP.h Xmt310.ge/Xmt/WorkingBoxP.h
 
10386
*** Xmt310/Xmt/WorkingBoxP.h    Sun Feb  4 22:48:40 2001
 
10387
--- Xmt310.ge/Xmt/WorkingBoxP.h Tue Jun 12 18:25:28 2001
 
10388
***************
 
10389
*** 1,16 ****
 
10390
  /* 
 
10391
   * Motif Tools Library, Version 3.1
 
10392
!  * $Id$
 
10393
   * 
 
10394
   * Written by David Flanagan.
 
10395
   * Copyright (c) 1992-2001 by David Flanagan.
 
10396
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10397
   * This is open source software.  See the file LICENSE for details.
 
10398
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10399
   *
 
10400
!  * $Log$
 
10401
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10402
!  * Initial checkin.
 
10403
!  *
 
10404
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10405
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10406
!  *                  kerberos compilation support
 
10407
!  *
 
10408
   *
 
10409
   */
 
10410
  
 
10411
  #ifndef _XmtWorkingBoxP_h
 
10412
  #define _XmtWorkingBoxP_h    
 
10413
--- 1,19 ----
 
10414
  /* 
 
10415
   * Motif Tools Library, Version 3.1
 
10416
!  * $Id$
 
10417
   * 
 
10418
   * Written by David Flanagan.
 
10419
   * Copyright (c) 1992-2001 by David Flanagan.
 
10420
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10421
   * This is open source software.  See the file LICENSE for details.
 
10422
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10423
   *
 
10424
!  * $Log$
 
10425
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10426
!  * Initial checkin.
 
10427
!  *
 
10428
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10429
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10430
!  *                  kerberos compilation support
 
10431
!  *
 
10432
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10433
!  * *** empty log message ***
 
10434
!  *
 
10435
   *
 
10436
   */
 
10437
  
 
10438
  #ifndef _XmtWorkingBoxP_h
 
10439
  #define _XmtWorkingBoxP_h    
 
10440
diff -bpcBNC 5 Xmt310/Xmt/WorkingBoxS.c Xmt310.ge/Xmt/WorkingBoxS.c
 
10441
*** Xmt310/Xmt/WorkingBoxS.c    Sun Feb  4 22:48:44 2001
 
10442
--- Xmt310.ge/Xmt/WorkingBoxS.c Tue Jun 12 18:25:28 2001
 
10443
***************
 
10444
*** 1,16 ****
 
10445
  /* 
 
10446
   * Motif Tools Library, Version 3.1
 
10447
!  * $Id$
 
10448
   * 
 
10449
   * Written by David Flanagan.
 
10450
   * Copyright (c) 1992-2001 by David Flanagan.
 
10451
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10452
   * This is open source software.  See the file LICENSE for details.
 
10453
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10454
   *
 
10455
!  * $Log$
 
10456
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10457
!  * Initial checkin.
 
10458
!  *
 
10459
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10460
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10461
!  *                  kerberos compilation support
 
10462
!  *
 
10463
   *
 
10464
   */
 
10465
  #include <X11/Intrinsic.h>
 
10466
  #ifndef _Xconst
 
10467
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
10468
--- 1,19 ----
 
10469
  /* 
 
10470
   * Motif Tools Library, Version 3.1
 
10471
!  * $Id$
 
10472
   * 
 
10473
   * Written by David Flanagan.
 
10474
   * Copyright (c) 1992-2001 by David Flanagan.
 
10475
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10476
   * This is open source software.  See the file LICENSE for details.
 
10477
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10478
   *
 
10479
!  * $Log$
 
10480
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10481
!  * Initial checkin.
 
10482
!  *
 
10483
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10484
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10485
!  *                  kerberos compilation support
 
10486
!  *
 
10487
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10488
!  * *** empty log message ***
 
10489
!  *
 
10490
   *
 
10491
   */
 
10492
  #include <X11/Intrinsic.h>
 
10493
  #ifndef _Xconst
 
10494
  #if __STDC__ || defined(__cplusplus) || defined(c_plusplus)
 
10495
diff -bpcBNC 5 Xmt310/Xmt/Xbm.c Xmt310.ge/Xmt/Xbm.c
 
10496
*** Xmt310/Xmt/Xbm.c    Sun Feb  4 22:48:48 2001
 
10497
--- Xmt310.ge/Xmt/Xbm.c Tue Jun 12 18:25:28 2001
 
10498
***************
 
10499
*** 1,16 ****
 
10500
  /* 
 
10501
   * Motif Tools Library, Version 3.1
 
10502
!  * $Id$
 
10503
   * 
 
10504
   * Written by David Flanagan.
 
10505
   * Copyright (c) 1992-2001 by David Flanagan.
 
10506
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10507
   * This is open source software.  See the file LICENSE for details.
 
10508
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10509
   *
 
10510
!  * $Log$
 
10511
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10512
!  * Initial checkin.
 
10513
!  *
 
10514
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10515
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10516
!  *                  kerberos compilation support
 
10517
!  *
 
10518
   *
 
10519
   */
 
10520
  
 
10521
  #include <stdio.h>
 
10522
  #include <ctype.h>
 
10523
--- 1,19 ----
 
10524
  /* 
 
10525
   * Motif Tools Library, Version 3.1
 
10526
!  * $Id$
 
10527
   * 
 
10528
   * Written by David Flanagan.
 
10529
   * Copyright (c) 1992-2001 by David Flanagan.
 
10530
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10531
   * This is open source software.  See the file LICENSE for details.
 
10532
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10533
   *
 
10534
!  * $Log$
 
10535
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10536
!  * Initial checkin.
 
10537
!  *
 
10538
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10539
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10540
!  *                  kerberos compilation support
 
10541
!  *
 
10542
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10543
!  * *** empty log message ***
 
10544
!  *
 
10545
   *
 
10546
   */
 
10547
  
 
10548
  #include <stdio.h>
 
10549
  #include <ctype.h>
 
10550
diff -bpcBNC 5 Xmt310/Xmt/Xbm.h Xmt310.ge/Xmt/Xbm.h
 
10551
*** Xmt310/Xmt/Xbm.h    Sun Feb  4 22:48:52 2001
 
10552
--- Xmt310.ge/Xmt/Xbm.h Tue Jun 12 18:25:28 2001
 
10553
***************
 
10554
*** 1,16 ****
 
10555
  /* 
 
10556
   * Motif Tools Library, Version 3.1
 
10557
!  * $Id$
 
10558
   * 
 
10559
   * Written by David Flanagan.
 
10560
   * Copyright (c) 1992-2001 by David Flanagan.
 
10561
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10562
   * This is open source software.  See the file LICENSE for details.
 
10563
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10564
   *
 
10565
!  * $Log$
 
10566
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10567
!  * Initial checkin.
 
10568
!  *
 
10569
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10570
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10571
!  *                  kerberos compilation support
 
10572
!  *
 
10573
   *
 
10574
   */
 
10575
  
 
10576
  #ifndef _XmtXbm_h
 
10577
  #define _XmtXbm_h
 
10578
--- 1,19 ----
 
10579
  /* 
 
10580
   * Motif Tools Library, Version 3.1
 
10581
!  * $Id$
 
10582
   * 
 
10583
   * Written by David Flanagan.
 
10584
   * Copyright (c) 1992-2001 by David Flanagan.
 
10585
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10586
   * This is open source software.  See the file LICENSE for details.
 
10587
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10588
   *
 
10589
!  * $Log$
 
10590
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10591
!  * Initial checkin.
 
10592
!  *
 
10593
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10594
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10595
!  *                  kerberos compilation support
 
10596
!  *
 
10597
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10598
!  * *** empty log message ***
 
10599
!  *
 
10600
   *
 
10601
   */
 
10602
  
 
10603
  #ifndef _XmtXbm_h
 
10604
  #define _XmtXbm_h
 
10605
diff -bpcBNC 5 Xmt310/Xmt/XmCSText.c Xmt310.ge/Xmt/XmCSText.c
 
10606
*** Xmt310/Xmt/XmCSText.c       Sun Feb  4 22:48:54 2001
 
10607
--- Xmt310.ge/Xmt/XmCSText.c    Tue Jun 12 18:25:28 2001
 
10608
***************
 
10609
*** 1,16 ****
 
10610
  /* 
 
10611
   * Motif Tools Library, Version 3.1
 
10612
!  * $Id$
 
10613
   * 
 
10614
   * Written by David Flanagan.
 
10615
   * Copyright (c) 1992-2001 by David Flanagan.
 
10616
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10617
   * This is open source software.  See the file LICENSE for details.
 
10618
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10619
   *
 
10620
!  * $Log$
 
10621
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10622
!  * Initial checkin.
 
10623
!  *
 
10624
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10625
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10626
!  *                  kerberos compilation support
 
10627
!  *
 
10628
   *
 
10629
   */
 
10630
  
 
10631
  /*
 
10632
   * This file courtesy of Tony Hefner.
 
10633
--- 1,19 ----
 
10634
  /* 
 
10635
   * Motif Tools Library, Version 3.1
 
10636
!  * $Id$
 
10637
   * 
 
10638
   * Written by David Flanagan.
 
10639
   * Copyright (c) 1992-2001 by David Flanagan.
 
10640
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10641
   * This is open source software.  See the file LICENSE for details.
 
10642
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10643
   *
 
10644
!  * $Log$
 
10645
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10646
!  * Initial checkin.
 
10647
!  *
 
10648
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10649
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10650
!  *                  kerberos compilation support
 
10651
!  *
 
10652
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10653
!  * *** empty log message ***
 
10654
!  *
 
10655
   *
 
10656
   */
 
10657
  
 
10658
  /*
 
10659
   * This file courtesy of Tony Hefner.
 
10660
*************** Cardinal size;
 
10661
*** 38,53 ****
 
10662
  {
 
10663
      XmString xmString = NULL;
 
10664
  
 
10665
      if (type == XmtQString) {
 
10666
          /* Convert the value to an XmString. */
 
10667
!         xmString = XmtCreateXmString(*(String *)address);
 
10668
        XmCSTextSetString(w, xmString);
 
10669
      }
 
10670
      else if (type == XmtQBuffer) {
 
10671
          /* Convert the value to an XmString. */
 
10672
!         xmString = XmtCreateXmString((char *)address);
 
10673
        XmCSTextSetString(w, xmString);
 
10674
      }
 
10675
      else
 
10676
        XmtWarningMsg("XmtDialogSetDialogValues", "xmcstext",
 
10677
                      "Type mismatch:\n\tCan't set value from resource of type '%s'.  String or Buffer expected.",
 
10678
--- 41,56 ----
 
10679
  {
 
10680
      XmString xmString = NULL;
 
10681
  
 
10682
      if (type == XmtQString) {
 
10683
          /* Convert the value to an XmString. */
 
10684
!         xmString = XmtCreateLocalizedXmString(w, *(String *)address);
 
10685
        XmCSTextSetString(w, xmString);
 
10686
      }
 
10687
      else if (type == XmtQBuffer) {
 
10688
          /* Convert the value to an XmString. */
 
10689
!         xmString = XmtCreateLocalizedXmString(w, (char *)address);
 
10690
        XmCSTextSetString(w, xmString);
 
10691
      }
 
10692
      else
 
10693
        XmtWarningMsg("XmtDialogSetDialogValues", "xmcstext",
 
10694
                      "Type mismatch:\n\tCan't set value from resource of type '%s'.  String or Buffer expected.",
 
10695
*************** Cardinal size;
 
10696
*** 109,127 ****
 
10697
  }
 
10698
  
 
10699
  static XmtWidgetType cstext = {
 
10700
      "XmCSText",
 
10701
      NULL,
 
10702
!     XmCreateCSText,
 
10703
      setvalue,
 
10704
      getvalue,
 
10705
  };
 
10706
  
 
10707
  static XmtWidgetType scstext = {
 
10708
      "XmScrolledCSText",
 
10709
      NULL,
 
10710
!     XmCreateScrolledCSText,
 
10711
      setvalue,
 
10712
      getvalue,
 
10713
  };
 
10714
  
 
10715
  #if NeedFunctionPrototypes
 
10716
--- 112,130 ----
 
10717
  }
 
10718
  
 
10719
  static XmtWidgetType cstext = {
 
10720
      "XmCSText",
 
10721
      NULL,
 
10722
!     (XmtWidgetConstructor) XmCreateCSText,
 
10723
      setvalue,
 
10724
      getvalue,
 
10725
  };
 
10726
  
 
10727
  static XmtWidgetType scstext = {
 
10728
      "XmScrolledCSText",
 
10729
      NULL,
 
10730
!     (XmtWidgetConstructor) XmCreateScrolledCSText,
 
10731
      setvalue,
 
10732
      getvalue,
 
10733
  };
 
10734
  
 
10735
  #if NeedFunctionPrototypes
 
10736
diff -bpcBNC 5 Xmt310/Xmt/XmComboBox.c Xmt310.ge/Xmt/XmComboBox.c
 
10737
*** Xmt310/Xmt/XmComboBox.c     Sun Feb  4 22:48:58 2001
 
10738
--- Xmt310.ge/Xmt/XmComboBox.c  Tue Jun 12 18:25:28 2001
 
10739
***************
 
10740
*** 1,16 ****
 
10741
  /* 
 
10742
   * Motif Tools Library, Version 3.1
 
10743
!  * $Id$
 
10744
   * 
 
10745
   * Written by David Flanagan.
 
10746
   * Copyright (c) 1992-2001 by David Flanagan.
 
10747
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10748
   * This is open source software.  See the file LICENSE for details.
 
10749
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10750
   *
 
10751
!  * $Log$
 
10752
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10753
!  * Initial checkin.
 
10754
!  *
 
10755
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10756
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10757
!  *                  kerberos compilation support
 
10758
!  *
 
10759
   *
 
10760
   */
 
10761
  
 
10762
  /*
 
10763
   * This file courtesy of Tony Hefner.
 
10764
--- 1,19 ----
 
10765
  /* 
 
10766
   * Motif Tools Library, Version 3.1
 
10767
!  * $Id$
 
10768
   * 
 
10769
   * Written by David Flanagan.
 
10770
   * Copyright (c) 1992-2001 by David Flanagan.
 
10771
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10772
   * This is open source software.  See the file LICENSE for details.
 
10773
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10774
   *
 
10775
!  * $Log$
 
10776
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10777
!  * Initial checkin.
 
10778
!  *
 
10779
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10780
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10781
!  *                  kerberos compilation support
 
10782
!  *
 
10783
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10784
!  * *** empty log message ***
 
10785
!  *
 
10786
   *
 
10787
   */
 
10788
  
 
10789
  /*
 
10790
   * This file courtesy of Tony Hefner.
 
10791
diff -bpcBNC 5 Xmt310/Xmt/XmScale.c Xmt310.ge/Xmt/XmScale.c
 
10792
*** Xmt310/Xmt/XmScale.c        Sun Feb  4 22:49:02 2001
 
10793
--- Xmt310.ge/Xmt/XmScale.c     Tue Jun 12 18:25:28 2001
 
10794
***************
 
10795
*** 1,16 ****
 
10796
  /* 
 
10797
   * Motif Tools Library, Version 3.1
 
10798
!  * $Id$
 
10799
   * 
 
10800
   * Written by David Flanagan.
 
10801
   * Copyright (c) 1992-2001 by David Flanagan.
 
10802
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10803
   * This is open source software.  See the file LICENSE for details.
 
10804
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10805
   *
 
10806
!  * $Log$
 
10807
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10808
!  * Initial checkin.
 
10809
!  *
 
10810
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10811
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10812
!  *                  kerberos compilation support
 
10813
!  *
 
10814
   *
 
10815
   */
 
10816
  
 
10817
  #include <Xmt/Xmt.h>
 
10818
  #include <Xmt/WidgetType.h>
 
10819
--- 1,19 ----
 
10820
  /* 
 
10821
   * Motif Tools Library, Version 3.1
 
10822
!  * $Id$
 
10823
   * 
 
10824
   * Written by David Flanagan.
 
10825
   * Copyright (c) 1992-2001 by David Flanagan.
 
10826
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10827
   * This is open source software.  See the file LICENSE for details.
 
10828
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10829
   *
 
10830
!  * $Log$
 
10831
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10832
!  * Initial checkin.
 
10833
!  *
 
10834
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10835
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10836
!  *                  kerberos compilation support
 
10837
!  *
 
10838
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10839
!  * *** empty log message ***
 
10840
!  *
 
10841
   *
 
10842
   */
 
10843
  
 
10844
  #include <Xmt/Xmt.h>
 
10845
  #include <Xmt/WidgetType.h>
 
10846
diff -bpcBNC 5 Xmt310/Xmt/XmStringCvt.c Xmt310.ge/Xmt/XmStringCvt.c
 
10847
*** Xmt310/Xmt/XmStringCvt.c    Sun Feb  4 22:49:04 2001
 
10848
--- Xmt310.ge/Xmt/XmStringCvt.c Tue Jun 12 18:25:28 2001
 
10849
***************
 
10850
*** 1,23 ****
 
10851
  /* 
 
10852
   * Motif Tools Library, Version 3.1
 
10853
!  * $Id$
 
10854
   * 
 
10855
   * Written by David Flanagan.
 
10856
   * Copyright (c) 1992-2001 by David Flanagan.
 
10857
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10858
   * This is open source software.  See the file LICENSE for details.
 
10859
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10860
   *
 
10861
!  * $Log$
 
10862
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10863
!  * Initial checkin.
 
10864
!  *
 
10865
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10866
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10867
!  *                  kerberos compilation support
 
10868
!  *
 
10869
   *
 
10870
   */
 
10871
  
 
10872
  #include <Xmt/Xmt.h>
 
10873
  #include <Xmt/ConvertersP.h>
 
10874
  
 
10875
! #if XmVersion >= 2000
 
10876
  /**
 
10877
   * Gary Merrill figured out how XmString parsing works in Motif 2.0, and
 
10878
   * how rendition tables and tabs are handled, and wrote this code for
 
10879
   * Motif 2.0.  David Flanagan tweaked the resulting code a bit.
 
10880
   *
 
10881
--- 1,29 ----
 
10882
  /* 
 
10883
   * Motif Tools Library, Version 3.1
 
10884
!  * $Id$
 
10885
   * 
 
10886
   * Written by David Flanagan.
 
10887
   * Copyright (c) 1992-2001 by David Flanagan.
 
10888
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
10889
   * This is open source software.  See the file LICENSE for details.
 
10890
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10891
   *
 
10892
!  * $Log$
 
10893
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10894
!  * Initial checkin.
 
10895
!  *
 
10896
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10897
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10898
!  *                  kerberos compilation support
 
10899
!  *
 
10900
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10901
!  * *** empty log message ***
 
10902
!  *
 
10903
   *
 
10904
   */
 
10905
  
 
10906
 
10907
+ #include <stdlib.h>
 
10908
  #include <Xmt/Xmt.h>
 
10909
  #include <Xmt/ConvertersP.h>
 
10910
  
 
10911
! #if 0 
 
10912
! /* #if XmVersion >= 2000 */
 
10913
  /**
 
10914
   * Gary Merrill figured out how XmString parsing works in Motif 2.0, and
 
10915
   * how rendition tables and tabs are handled, and wrote this code for
 
10916
   * Motif 2.0.  David Flanagan tweaked the resulting code a bit.
 
10917
   *
 
10918
*************** XtPointer call_data;
 
10919
*** 57,66 ****
 
10920
--- 63,74 ----
 
10921
  #endif
 
10922
  {
 
10923
      char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
 
10924
      XmStringComponentType component_type;
 
10925
  
 
10926
+ /* printf("...> '%s'\n", (char *) *text); */
 
10927
 
10928
      text_ptr = (char *) *text;
 
10929
      start = s = XtNewString(*text);
 
10930
      
 
10931
      /* s[0] should be '@'.  Bump pointer to following char */
 
10932
      s++;
 
10933
*************** XtPointer call_data;
 
10934
*** 98,110 ****
 
10935
     indicator = *s;
 
10936
  
 
10937
     switch (component_type) {
 
10938
  
 
10939
     case XmSTRING_COMPONENT_UNKNOWN:
 
10940
!        if ( indicator == '[' )
 
10941
           XmtWarningMsg("XmtCreateXmString", "badlocale",
 
10942
!                        "'@[' locale indicator may occur only at beginning of string.");
 
10943
         
 
10944
         XmtWarningMsg("XmtCreateXmString", "unrecognized",
 
10945
                     "Unrecognized string escape sequence '@%c' will be treated as text.",
 
10946
                     indicator);
 
10947
         s++;
 
10948
--- 106,118 ----
 
10949
     indicator = *s;
 
10950
  
 
10951
     switch (component_type) {
 
10952
  
 
10953
     case XmSTRING_COMPONENT_UNKNOWN:
 
10954
!        if ( indicator == '{' )
 
10955
             XmtWarningMsg("XmtCreateXmString", "badlocale",
 
10956
!                          "'@{' locale indicator may occur only at beginning of string.");
 
10957
         
 
10958
         XmtWarningMsg("XmtCreateXmString", "unrecognized",
 
10959
                       "Unrecognized string escape sequence '@%c' will be treated as text.",
 
10960
                       indicator);
 
10961
         s++;
 
10962
*************** StringConst str;
 
10963
*** 199,234 ****
 
10964
  {
 
10965
      static Boolean parse_table_registered = False;
 
10966
      static XmParseMapping parse_table[3];
 
10967
      
 
10968
      if (!parse_table_registered) {
 
10969
!       Arg args[3];
 
10970
        int n;
 
10971
        
 
10972
        n = 0;
 
10973
        XtSetArg(args[n], XmNpattern, "\n"); n++;
 
10974
        XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
10975
        XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
 
10976
        parse_table[0] = XmParseMappingCreate(args, n);
 
10977
        
 
10978
        n = 0;
 
10979
        XtSetArg(args[n], XmNpattern, "\t"); n++;
 
10980
        XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
10981
        XtSetArg(args[n], XmNsubstitute,
 
10982
                 XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
 
10983
        parse_table[1] = XmParseMappingCreate(args, n);
 
10984
        
 
10985
        n = 0;
 
10986
        XtSetArg(args[n], XmNpattern, "@"); n++;
 
10987
        XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
 
10988
        XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
 
10989
        parse_table[2] = XmParseMappingCreate(args, n);
 
10990
        
 
10991
        parse_table_registered = True;
 
10992
      }
 
10993
      
 
10994
!     return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
 
10995
                             parse_table, XtNumber(parse_table),
 
10996
                             NULL);
 
10997
  }
 
10998
  
 
10999
  #else  /* XmVersion < 2000 */
 
11000
--- 207,245 ----
 
11001
  {
 
11002
      static Boolean parse_table_registered = False;
 
11003
      static XmParseMapping parse_table[3];
 
11004
      
 
11005
      if (!parse_table_registered) {
 
11006
!         Arg args[4];
 
11007
          int n;
 
11008
          
 
11009
          n = 0;
 
11010
          XtSetArg(args[n], XmNpattern, "\n"); n++;
 
11011
+         XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
 
11012
          XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
11013
          XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
 
11014
          parse_table[0] = XmParseMappingCreate(args, n);
 
11015
          
 
11016
          n = 0;
 
11017
          XtSetArg(args[n], XmNpattern, "\t"); n++;
 
11018
+         XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
 
11019
          XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
11020
          XtSetArg(args[n], XmNsubstitute,
 
11021
                   XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
 
11022
          parse_table[1] = XmParseMappingCreate(args, n);
 
11023
          
 
11024
          n = 0;
 
11025
          XtSetArg(args[n], XmNpattern, "@"); n++;
 
11026
+         XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
 
11027
          XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
 
11028
          XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
 
11029
          parse_table[2] = XmParseMappingCreate(args, n);
 
11030
          
 
11031
          parse_table_registered = True;
 
11032
      }
 
11033
      
 
11034
!     return XmStringParseText((XtPointer) str, NULL, NULL, XmMULTIBYTE_TEXT,
 
11035
                               parse_table, XtNumber(parse_table),
 
11036
                               NULL);
 
11037
  }
 
11038
  
 
11039
  #else  /* XmVersion < 2000 */
 
11040
*************** XmString to;
 
11041
*** 243,252 ****
 
11042
--- 254,306 ----
 
11043
  int sep;
 
11044
  char *charset;
 
11045
  int fixup;
 
11046
  #endif
 
11047
  {
 
11048
+ #if 0
 
11049
+    XmString s1, s2;
 
11050
+    char *mtxt = NULL;
 
11051
+       
 
11052
+    if (fixup) {
 
11053
+       wchar_t *s, *t;
 
11054
+       wchar_t *ws = NULL;
 
11055
+       int n;
 
11056
 
11057
+       n = mbstowcs(NULL, txt, 0);
 
11058
+       if (n>0) {
 
11059
+          ws = (wchar_t*)malloc(sizeof(wchar_t)*(n+1));
 
11060
+       }
 
11061
+       if (ws) {
 
11062
+          mbstowcs(ws, txt, (n+1));
 
11063
+       }  
 
11064
+       for(s=t=ws; *s; s++, t++) {
 
11065
+             *t = *s;
 
11066
+             if ((*s == L'@') && (*(s+1) == L'@')) s++;
 
11067
+        }
 
11068
+        *t = *s;  /* copy the terminating '\0' */
 
11069
+        n = wcstombs(NULL, ws, 0);
 
11070
+        if (n > 0) {
 
11071
+          mtxt = (char*)malloc(sizeof(char)*(n+1));
 
11072
+       }
 
11073
+       if (mtxt) {
 
11074
+          wcstombs(mtxt, ws, (n+1));
 
11075
+       }  
 
11076
+       else {
 
11077
+          mtxt = strdup(txt);
 
11078
+       }   
 
11079
+       XtFree((char*)ws);
 
11080
+    }
 
11081
 
11082
+    s1 = XmStringSegmentCreate(mtxt, charset, XmSTRING_DIRECTION_L_TO_R, sep);
 
11083
+    if (!to) return s1;
 
11084
+    s2 = XmStringConcat(to, s1);
 
11085
+    XmStringFree(to);
 
11086
+    XmStringFree(s1);
 
11087
+    XtFree(mtxt);
 
11088
+    return s2;
 
11089
 
11090
+ #else
 
11091
      XmString s1, s2;
 
11092
      char *s, *t;
 
11093
  
 
11094
      if (fixup) {
 
11095
          for(s=t=txt; *s; s++, t++) {
 
11096
*************** int fixup;
 
11097
*** 260,278 ****
 
11098
--- 314,334 ----
 
11099
      if (!to) return s1;
 
11100
      s2 = XmStringConcat(to, s1);
 
11101
      XmStringFree(to);
 
11102
      XmStringFree(s1);
 
11103
      return s2;
 
11104
+ #endif    
 
11105
  }
 
11106
  
 
11107
  #if NeedFunctionPrototypes
 
11108
  XmString XmtCreateXmString(StringConst str)
 
11109
  #else
 
11110
  XmString XmtCreateXmString(str)
 
11111
  StringConst str;
 
11112
  #endif
 
11113
  {
 
11114
+ #if 0
 
11115
      String r, s, t;
 
11116
  #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
 
11117
      String charset = XmSTRING_DEFAULT_CHARSET;
 
11118
  #else    
 
11119
  #  if XmVersion < 1002
 
11120
*************** StringConst str;
 
11121
*** 343,423 ****
 
11122
  
 
11123
            t = s+1;
 
11124
            break;
 
11125
        }
 
11126
      }
 
11127
  
 
11128
      if (s != t) result = appendstring(t, result, False, charset, fixup);
 
11129
      
 
11130
      XtFree(r);
 
11131
      return result;
 
11132
  }
 
11133
  
 
11134
  #endif /* XmVersion >= 2000 */
 
11135
  
 
11136
  /* ARGSUSED */
 
11137
  #if NeedFunctionPrototypes
 
11138
! Boolean XmtConvertStringToXmString(Display *dpy,
 
11139
!                                  XrmValue *args, Cardinal *num_args,
 
11140
!                                  XrmValue *from, XrmValue *to,
 
11141
!                                  XtPointer *converter_data)
 
11142
  #else
 
11143
! Boolean XmtConvertStringToXmString(dpy, args, num_args,
 
11144
!                                  from, to, converter_data)
 
11145
! Display *dpy;
 
11146
! XrmValue *args;
 
11147
! Cardinal *num_args;
 
11148
! XrmValue *from;
 
11149
! XrmValue *to;
 
11150
! XtPointer *converter_data;
 
11151
  #endif
 
11152
  {
 
11153
!     String s = (String) from->addr;
 
11154
!     Screen *screen = *(Screen **)args[0].addr;
 
11155
!     String category, tag;
 
11156
      String free_me = NULL;
 
11157
!     XmString value;
 
11158
  #if NeedFunctionPrototypes
 
11159
      extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
 
11160
  #else
 
11161
      extern String _XmtLocalize();
 
11162
  #endif
 
11163
      
 
11164
      /* if this string has a tag, localize it first */
 
11165
!     if ((s[0] == '@') && (s[1] == '[')) {
 
11166
!       s = XtNewString(s);
 
11167
        free_me = s;
 
11168
        s += 2;
 
11169
        category = NULL;
 
11170
!       tag = s;
 
11171
        while(*s) {
 
11172
            if (*s == '.' && !category) {
 
11173
                *s = '\0';
 
11174
!               category = tag;
 
11175
!               tag = s+1;
 
11176
            }
 
11177
!           if (*s == ']') {
 
11178
                *s = '\0';
 
11179
                s++;
 
11180
                break;
 
11181
            }
 
11182
            s++;
 
11183
        }
 
11184
        if (!tag[0]) goto error;
 
11185
        if (category && !category[0]) goto error;
 
11186
!       s = _XmtLocalize(screen, s, category, tag);
 
11187
      }
 
11188
  
 
11189
      value = XmtCreateXmString(s);
 
11190
      if (!value) goto error;
 
11191
      if (free_me) XtFree(free_me);
 
11192
!     done(XmString, value);
 
11193
  
 
11194
   error:
 
11195
      if (free_me) XtFree(free_me);
 
11196
!     XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
 
11197
!     return False;
 
11198
  }
 
11199
  
 
11200
  /* ARGSUSED */
 
11201
  #if NeedFunctionPrototypes
 
11202
  static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
 
11203
--- 399,573 ----
 
11204
  
 
11205
              t = s+1;
 
11206
              break;
 
11207
          }
 
11208
      }
 
11209
+     if (s != t) result = appendstring(t, result, False, charset, fixup);
 
11210
+     
 
11211
+     XtFree(r);
 
11212
 
11213
+     return result;
 
11214
 
11215
+ #else
 
11216
+     String r, s, t;
 
11217
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
 
11218
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
11219
+ #else    
 
11220
+ #  if XmVersion < 1002
 
11221
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
11222
+ #  else
 
11223
+     String charset = XmFONTLIST_DEFAULT_TAG;
 
11224
+ #  endif
 
11225
+ #endif    
 
11226
+     char charset_buf[3];
 
11227
+     XmString result = NULL;
 
11228
+     Boolean fixup = False;
 
11229
+     
 
11230
+     if (!str) return NULL;
 
11231
+     else if (!*str)
 
11232
+         return XmStringSegmentCreate((String)str, charset,
 
11233
+                                      XmSTRING_DIRECTION_L_TO_R, False);
 
11234
+     /*
 
11235
+      * make a copy of the string so we can frob with it
 
11236
+      * We keep pointer r so we can free it when done
 
11237
+      */
 
11238
+     r = s = XtNewString(str);
 
11239
 
11240
 
11241
+     for(t = s; *s; s++) {
 
11242
+         switch(*s) {
 
11243
+         case '\n':
 
11244
+             *s = '\0';  /* null terminate the string */
 
11245
+             result = appendstring(t, result, True, charset, fixup);
 
11246
+             fixup = False;
 
11247
+             t = s+1;
 
11248
+             break;
 
11249
+         case '@':
 
11250
+             if ((*s == '@') && (*(s+1) == '@')) {
 
11251
+                 /* set a flag to strip doubled escapes later */
 
11252
+                 fixup = True;
 
11253
+                 s++;
 
11254
+                 break;
 
11255
+             }
 
11256
+             else if (*(s+1) != 'f') break;
 
11257
+             /* its a font change, so add the string up to here, if any */
 
11258
+             *s = '\0'; /* null terminate the string */
 
11259
+             if (s != t)
 
11260
+                 result = appendstring(t, result, False, charset, fixup);
 
11261
+             fixup = False;
 
11262
  
 
11263
+             /* and now get the new charset */
 
11264
+             if (*(s+2) == '\0') break;
 
11265
+             s+=2;
 
11266
+             if (*s == '[') {  /* read till close ']' */
 
11267
+                 s = charset = s+1;
 
11268
+                 while (*s && (*s != ']')) s++;
 
11269
+                 if (*s == '\0') break;
 
11270
+                 *s = '\0';  /* null-terminate the charset string */
 
11271
+             }
 
11272
+             else if (*s == '(') { /* charset is next 2 chars */
 
11273
+                 if (*(s+1)) s++; else break;
 
11274
+                 charset_buf[0] = *s;
 
11275
+                 if (*(s+1)) s++; else break;
 
11276
+                 charset_buf[1] = *s;
 
11277
+                 charset_buf[2] = '\0';
 
11278
+                 charset = charset_buf;
 
11279
+             }
 
11280
+             else if (*s) { /* charset is single current character */
 
11281
+                 charset_buf[0] = *s;
 
11282
+                 charset_buf[1] = '\0';
 
11283
+                 charset = charset_buf;
 
11284
+             }
 
11285
 
11286
+             t = s+1;
 
11287
+             break;
 
11288
+         }
 
11289
+     }
 
11290
      if (s != t) result = appendstring(t, result, False, charset, fixup);
 
11291
      
 
11292
      XtFree(r);
 
11293
 
11294
      return result;
 
11295
+ #endif    
 
11296
+ /*     return XmStringCreateLocalized(str); */
 
11297
  }
 
11298
  
 
11299
  #endif /* XmVersion >= 2000 */
 
11300
  
 
11301
  /* ARGSUSED */
 
11302
  #if NeedFunctionPrototypes
 
11303
! static XmString XmtCreateLocalizedXmString_(Screen *screen, StringConst str)
 
11304
  #else
 
11305
! static XmString XmtCreateLocalizedXmString_(screen, str)
 
11306
! Screen* screen;
 
11307
! StringConst str;
 
11308
  #endif
 
11309
  {
 
11310
!     XmString value = NULL;
 
11311
!     String category, tag, defaultstr;
 
11312
      String free_me = NULL;
 
11313
!     String s = NULL;
 
11314
  #if NeedFunctionPrototypes
 
11315
      extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
 
11316
  #else
 
11317
      extern String _XmtLocalize();
 
11318
  #endif
 
11319
  
 
11320
+     if (!str)
 
11321
+         return NULL;
 
11322
 
11323
+ /* printf("==> '%s'\n", str); */
 
11324
      /* if this string has a tag, localize it first */
 
11325
!     if ((str[0] == '@') && (str[1] == '{')) {
 
11326
!         s = XtNewString(str);
 
11327
          free_me = s;
 
11328
          s += 2;
 
11329
+ /* printf("=-> '%s'\n", s); */
 
11330
          category = NULL;
 
11331
!         tag = NULL;
 
11332
!         defaultstr = s;
 
11333
          while(*s) {
 
11334
              if (*s == '.' && !category) {
 
11335
                  *s = '\0';
 
11336
!                 category = defaultstr;
 
11337
!                 defaultstr = s+1;
 
11338
              }
 
11339
!             if (*s == '.' && !tag) {
 
11340
!                 *s = '\0';
 
11341
!                 tag = defaultstr;
 
11342
!                 defaultstr = s+1;
 
11343
!             }
 
11344
!             if (*s == '}') {
 
11345
                  *s = '\0';
 
11346
                  s++;
 
11347
                  break;
 
11348
              }
 
11349
              s++;
 
11350
+ /* printf("-=> '%s'\n", free_me+2); */
 
11351
          }
 
11352
+         if (!tag)
 
11353
+            tag = defaultstr;
 
11354
          if (!tag[0]) goto error;
 
11355
          if (category && !category[0]) goto error;
 
11356
!         s = _XmtLocalize(screen, defaultstr, category, tag);
 
11357
!     }
 
11358
!     else {
 
11359
!         s = (String)str;
 
11360
      }
 
11361
  
 
11362
+ /* printf("--> '%s'\n", s); */
 
11363
 
11364
      value = XmtCreateXmString(s);
 
11365
 
11366
      if (!value) goto error;
 
11367
      if (free_me) XtFree(free_me);
 
11368
 
11369
!     return value;
 
11370
  
 
11371
   error:
 
11372
      if (free_me) XtFree(free_me);
 
11373
!     return NULL;
 
11374
  }
 
11375
  
 
11376
  /* ARGSUSED */
 
11377
  #if NeedFunctionPrototypes
 
11378
  static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
 
11379
*************** Cardinal *num_args;
 
11380
*** 433,442 ****
 
11381
--- 583,637 ----
 
11382
  #endif
 
11383
  {
 
11384
      XmStringFree(*((XmString *) to->addr));
 
11385
  }
 
11386
  
 
11387
 
11388
 
11389
 
11390
+ /* ARGSUSED */
 
11391
+ #if NeedFunctionPrototypes
 
11392
+ Boolean XmtConvertStringToXmString(Display *dpy,
 
11393
+                                    XrmValue *args, Cardinal *num_args,
 
11394
+                                    XrmValue *from, XrmValue *to,
 
11395
+                                    XtPointer *converter_data)
 
11396
+ #else
 
11397
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
 
11398
+                                    from, to, converter_data)
 
11399
+ Display *dpy;
 
11400
+ XrmValue *args;
 
11401
+ Cardinal *num_args;
 
11402
+ XrmValue *from;
 
11403
+ XrmValue *to;
 
11404
+ XtPointer *converter_data;
 
11405
+ #endif
 
11406
+ {
 
11407
+     String s = (String) from->addr;
 
11408
+     Screen *screen = *(Screen **)args[0].addr;
 
11409
+     XmString value;
 
11410
+     
 
11411
+     value = XmtCreateLocalizedXmString_(screen, s);
 
11412
+     if (!value) goto error;
 
11413
+     done(XmString, value);
 
11414
 
11415
+  error:
 
11416
+     XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
 
11417
+     return False;
 
11418
+ }
 
11419
 
11420
+ /* ARGSUSED */
 
11421
+ #if NeedFunctionPrototypes
 
11422
+ XmString XmtCreateLocalizedXmString(Widget w, StringConst s)
 
11423
+ #else
 
11424
+ XmString XmtCreateLocalizedXmString(w, s)
 
11425
+ Widget w;
 
11426
+ StringConst s;
 
11427
+ #endif
 
11428
+ {
 
11429
+    return XmtCreateLocalizedXmString_(XtScreen(w), s);
 
11430
+ }
 
11431
 
11432
  #if NeedFunctionPrototypes
 
11433
  void XmtRegisterXmStringConverter(void)
 
11434
  #else
 
11435
  void XmtRegisterXmStringConverter()
 
11436
  #endif
 
11437
diff -bpcBNC 5 Xmt310/Xmt/XmStringCvt.c.xmt310orig Xmt310.ge/Xmt/XmStringCvt.c.xmt310orig
 
11438
*** Xmt310/Xmt/XmStringCvt.c.xmt310orig Thu Jan  1 01:00:00 1970
 
11439
--- Xmt310.ge/Xmt/XmStringCvt.c.xmt310orig      Tue Jun 12 18:11:36 2001
 
11440
***************
 
11441
*** 0 ****
 
11442
--- 1,455 ----
 
11443
+ /* 
 
11444
+  * Motif Tools Library, Version 3.1
 
11445
+  * $Id$
 
11446
+  * 
 
11447
+  * Written by David Flanagan.
 
11448
+  * Copyright (c) 1992-2001 by David Flanagan.
 
11449
+  * All Rights Reserved.  See the file COPYRIGHT for details.
 
11450
+  * This is open source software.  See the file LICENSE for details.
 
11451
+  * There is no warranty for this software.  See NO_WARRANTY for details.
 
11452
+  *
 
11453
+  * $Log$
 
11454
+  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11455
+  * Initial checkin.
 
11456
+  *
 
11457
+  * Revision 1.1  2001/06/21 17:47:46  andre
 
11458
+  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11459
+  *                  kerberos compilation support
 
11460
+  *
 
11461
+  *
 
11462
+  */
 
11463
 
11464
+ #include <Xmt/Xmt.h>
 
11465
+ #include <Xmt/ConvertersP.h>
 
11466
 
11467
+ #if XmVersion >= 2000
 
11468
+ /**
 
11469
+  * Gary Merrill figured out how XmString parsing works in Motif 2.0, and
 
11470
+  * how rendition tables and tabs are handled, and wrote this code for
 
11471
+  * Motif 2.0.  David Flanagan tweaked the resulting code a bit.
 
11472
+  *
 
11473
+  * The following escape sequences are supported for strings in the
 
11474
+  * resource files:
 
11475
+  *
 
11476
+  *        @t             tab (relative to a tab list)
 
11477
+  *        @f[tag]        font
 
11478
+  *        @b[tag]        begin rendition
 
11479
+  *        @e[tag]        end rendition
 
11480
+  *        
 
11481
+  * Keep in mind that renditions override font specifications.
 
11482
+  *
 
11483
+  **/
 
11484
 
11485
+ #if NeedFunctionPrototypes
 
11486
+ static XmIncludeStatus XmtConvertStringEscape(XtPointer *text,
 
11487
+                                             XtPointer text_end,
 
11488
+                                             XmTextType type,
 
11489
+                                             XmStringTag string_tag,
 
11490
+                                             XmParseMapping entry,
 
11491
+                                             int pattern_length,
 
11492
+                                             XmString *str_include,
 
11493
+                                             XtPointer call_data)
 
11494
+ #else
 
11495
+ static XmIncludeStatus XmtConvertStringEscape(text, text_end, type, string_tag,
 
11496
+                                             entry, pattern_length,
 
11497
+                                             str_include, call_data)
 
11498
+ XtPointer *text;
 
11499
+ XtPointer text_end;
 
11500
+ XmTextType type;
 
11501
+ XmStringTag string_tag;
 
11502
+ XmParseMapping entry;
 
11503
+ int pattern_length;
 
11504
+ XmString *str_include;
 
11505
+ XtPointer call_data;
 
11506
+ #endif
 
11507
+ {
 
11508
+     char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
 
11509
+     XmStringComponentType component_type;
 
11510
 
11511
+     text_ptr = (char *) *text;
 
11512
+     start = s = XtNewString(*text);
 
11513
+     
 
11514
+     /* s[0] should be '@'.  Bump pointer to following char */
 
11515
+     s++;
 
11516
+     
 
11517
+     if (*s == '@') { /* Sequence is '@@' */
 
11518
+       *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT, 1, s);
 
11519
+       text_ptr +=2;
 
11520
+       *text = text_ptr;
 
11521
+       XtFree(start);
 
11522
+       return XmINSERT;
 
11523
+     }
 
11524
 
11525
+    switch (*s) {
 
11526
+    case 't':
 
11527
+        component_type = XmSTRING_COMPONENT_TAB;
 
11528
+        break;
 
11529
+    case 'f':  
 
11530
+        /*
 
11531
+       * treat @f the same as an unterminated @b.
 
11532
+       * Using XmSTRING_COMPONENT_TAG doesn't work quite right
 
11533
+       * with Motif 2.0.0, so we do it this way, which seems
 
11534
+       * to make as much sense, anyway.
 
11535
+       */
 
11536
+    case 'b':
 
11537
+        component_type = XmSTRING_COMPONENT_RENDITION_BEGIN;
 
11538
+        break;
 
11539
+    case 'e':
 
11540
+        component_type = XmSTRING_COMPONENT_RENDITION_END;
 
11541
+        break;
 
11542
+    default:
 
11543
+        component_type = XmSTRING_COMPONENT_UNKNOWN;
 
11544
+        break;
 
11545
+    }
 
11546
 
11547
+    indicator = *s;
 
11548
 
11549
+    switch (component_type) {
 
11550
 
11551
+    case XmSTRING_COMPONENT_UNKNOWN:
 
11552
+        if ( indicator == '[' )
 
11553
+          XmtWarningMsg("XmtCreateXmString", "badlocale",
 
11554
+                        "'@[' locale indicator may occur only at beginning of string.");
 
11555
+        
 
11556
+        XmtWarningMsg("XmtCreateXmString", "unrecognized",
 
11557
+                    "Unrecognized string escape sequence '@%c' will be treated as text.",
 
11558
+                    indicator);
 
11559
+        s++;
 
11560
+        
 
11561
+        *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT,
 
11562
+                                             2, start);
 
11563
+        text_ptr += 2;
 
11564
+        *text = text_ptr;
 
11565
+        XtFree(start);
 
11566
+        return XmINSERT;
 
11567
+        break;
 
11568
+        
 
11569
+    case XmSTRING_COMPONENT_TAB:
 
11570
+        *str_include = XmStringComponentCreate(component_type, 0, NULL);
 
11571
+        s++;
 
11572
+        text_ptr += s - start;
 
11573
+        *text = text_ptr;
 
11574
+        XtFree(start);
 
11575
+        return XmINSERT;
 
11576
+        break;
 
11577
+        
 
11578
+    default:   /* just drop through */
 
11579
+        break;
 
11580
+    }
 
11581
+     
 
11582
+     s++;       /* go past the component_type character */
 
11583
+     
 
11584
+     if (*s == '\0') {
 
11585
+       XmtWarningMsg("XmtCreateXmString", "syntax1",
 
11586
+                     "Improper '@%c' syntax in string being converted.",
 
11587
+                     indicator);
 
11588
+       XtFree(start);
 
11589
+       return XmTERMINATE;
 
11590
+     }
 
11591
+     
 
11592
+     /*
 
11593
+      * Now get the tag in '[ ]', after '(', or immediately
 
11594
+      * after the component_type indicator.
 
11595
+      */
 
11596
+     switch (*s) {
 
11597
+     case '[':
 
11598
+       s = tag = s+1;
 
11599
+       while (*s && (*s != ']')) s++;
 
11600
+       if (*s == '\0') {
 
11601
+           XmtWarningMsg("XmtCreateXmString", "syntax3",
 
11602
+                         "'@%c[%s' is missing ']' in string being converted",
 
11603
+                         indicator, tag);
 
11604
+           break;
 
11605
+       }
 
11606
+       *s = '\0'; /* null terminate the tag string */
 
11607
+       s++;
 
11608
+       break;
 
11609
+       
 
11610
+     case '(':
 
11611
+       if (!*(s+1) || !*(s+2)) {
 
11612
+           XmtWarningMsg("XmtCreateXmString", "syntax2",
 
11613
+                       "Improper '@%c(' syntax in string being converted.",
 
11614
+                       indicator);
 
11615
+           XtFree(start);
 
11616
+           return XmTERMINATE;
 
11617
+       }
 
11618
+       tag_buf[0] = *(s+1);
 
11619
+       tag_buf[1] = *(s+2);
 
11620
+       tag_buf[2] = '\0';
 
11621
+       tag = tag_buf;
 
11622
+       s += 3;
 
11623
+       break;
 
11624
+       
 
11625
+     default:
 
11626
+       tag_buf[0] = *s;
 
11627
+       tag_buf[1] = '\0';
 
11628
+       s++;
 
11629
+       tag = tag_buf;
 
11630
+       break;
 
11631
+     }
 
11632
+     
 
11633
+     *str_include = XmStringComponentCreate(component_type, strlen(tag), tag);
 
11634
+     text_ptr += s - start;
 
11635
+     *text = text_ptr;
 
11636
+     
 
11637
+     XtFree(start);
 
11638
+     return XmINSERT;
 
11639
+ }
 
11640
 
11641
 
11642
+ #if NeedFunctionPrototypes
 
11643
+ XmString XmtCreateXmString(StringConst str)
 
11644
+ #else
 
11645
+ XmString XmtCreateXmString(str)
 
11646
+ StringConst str;
 
11647
+ #endif
 
11648
+ {
 
11649
+     static Boolean parse_table_registered = False;
 
11650
+     static XmParseMapping parse_table[3];
 
11651
+     
 
11652
+     if (!parse_table_registered) {
 
11653
+       Arg args[3];
 
11654
+       int n;
 
11655
+       
 
11656
+       n = 0;
 
11657
+       XtSetArg(args[n], XmNpattern, "\n"); n++;
 
11658
+       XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
11659
+       XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
 
11660
+       parse_table[0] = XmParseMappingCreate(args, n);
 
11661
+       
 
11662
+       n = 0;
 
11663
+       XtSetArg(args[n], XmNpattern, "\t"); n++;
 
11664
+       XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
11665
+       XtSetArg(args[n], XmNsubstitute,
 
11666
+                XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
 
11667
+       parse_table[1] = XmParseMappingCreate(args, n);
 
11668
+       
 
11669
+       n = 0;
 
11670
+       XtSetArg(args[n], XmNpattern, "@"); n++;
 
11671
+       XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
 
11672
+       XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
 
11673
+       parse_table[2] = XmParseMappingCreate(args, n);
 
11674
+       
 
11675
+       parse_table_registered = True;
 
11676
+     }
 
11677
+     
 
11678
+     return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
 
11679
+                            parse_table, XtNumber(parse_table),
 
11680
+                            NULL);
 
11681
+ }
 
11682
 
11683
+ #else  /* XmVersion < 2000 */
 
11684
 
11685
+ #if NeedFunctionPrototypes
 
11686
+ static XmString appendstring(String txt, XmString to, int sep, char *charset,
 
11687
+                            int fixup)
 
11688
+ #else
 
11689
+ static XmString appendstring(txt, to, sep, charset, fixup)
 
11690
+ String txt;
 
11691
+ XmString to;
 
11692
+ int sep;
 
11693
+ char *charset;
 
11694
+ int fixup;
 
11695
+ #endif
 
11696
+ {
 
11697
+     XmString s1, s2;
 
11698
+     char *s, *t;
 
11699
 
11700
+     if (fixup) {
 
11701
+       for(s=t=txt; *s; s++, t++) {
 
11702
+           *t = *s;
 
11703
+           if ((*s == '@') && (*(s+1) == '@')) s++;
 
11704
+       }
 
11705
+       *t = *s;  /* copy the terminating '\0' */
 
11706
+     }
 
11707
 
11708
+     s1 = XmStringSegmentCreate(txt, charset, XmSTRING_DIRECTION_L_TO_R, sep);
 
11709
+     if (!to) return s1;
 
11710
+     s2 = XmStringConcat(to, s1);
 
11711
+     XmStringFree(to);
 
11712
+     XmStringFree(s1);
 
11713
+     return s2;
 
11714
+ }
 
11715
 
11716
+ #if NeedFunctionPrototypes
 
11717
+ XmString XmtCreateXmString(StringConst str)
 
11718
+ #else
 
11719
+ XmString XmtCreateXmString(str)
 
11720
+ StringConst str;
 
11721
+ #endif
 
11722
+ {
 
11723
+     String r, s, t;
 
11724
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
 
11725
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
11726
+ #else  
 
11727
+ #  if XmVersion < 1002
 
11728
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
11729
+ #  else
 
11730
+     String charset = XmFONTLIST_DEFAULT_TAG;
 
11731
+ #  endif
 
11732
+ #endif          
 
11733
+     char charset_buf[3];
 
11734
+     XmString result = NULL;
 
11735
+     Boolean fixup = False;
 
11736
+     
 
11737
+     if (!str) return NULL;
 
11738
+     else if (!*str)
 
11739
+       return XmStringSegmentCreate((String)str, charset,
 
11740
+                                    XmSTRING_DIRECTION_L_TO_R, False);
 
11741
 
11742
+     /*
 
11743
+      * make a copy of the string so we can frob with it
 
11744
+      * We keep pointer r so we can free it when done
 
11745
+      */
 
11746
+     r = s = XtNewString(str);
 
11747
 
11748
+     for(t = s; *s; s++) {
 
11749
+       switch(*s) {
 
11750
+       case '\n':
 
11751
+           *s = '\0';  /* null terminate the string */
 
11752
+           result = appendstring(t, result, True, charset, fixup);
 
11753
+           fixup = False;
 
11754
+           t = s+1;
 
11755
+           break;
 
11756
+       case '@':
 
11757
+           if ((*s == '@') && (*(s+1) == '@')) {
 
11758
+               /* set a flag to strip doubled escapes later */
 
11759
+               fixup = True;
 
11760
+               s++;
 
11761
+               break;
 
11762
+           }
 
11763
+           else if (*(s+1) != 'f') break;
 
11764
+           /* its a font change, so add the string up to here, if any */
 
11765
+           *s = '\0'; /* null terminate the string */
 
11766
+           if (s != t)
 
11767
+               result = appendstring(t, result, False, charset, fixup);
 
11768
+           fixup = False;
 
11769
 
11770
+           /* and now get the new charset */
 
11771
+           if (*(s+2) == '\0') break;
 
11772
+           s+=2;
 
11773
+           if (*s == '[') {  /* read till close ']' */
 
11774
+               s = charset = s+1;
 
11775
+               while (*s && (*s != ']')) s++;
 
11776
+               if (*s == '\0') break;
 
11777
+               *s = '\0';  /* null-terminate the charset string */
 
11778
+           }
 
11779
+           else if (*s == '(') { /* charset is next 2 chars */
 
11780
+               if (*(s+1)) s++; else break;
 
11781
+               charset_buf[0] = *s;
 
11782
+               if (*(s+1)) s++; else break;
 
11783
+               charset_buf[1] = *s;
 
11784
+               charset_buf[2] = '\0';
 
11785
+               charset = charset_buf;
 
11786
+           }
 
11787
+           else if (*s) { /* charset is single current character */
 
11788
+               charset_buf[0] = *s;
 
11789
+               charset_buf[1] = '\0';
 
11790
+               charset = charset_buf;
 
11791
+           }
 
11792
 
11793
+           t = s+1;
 
11794
+           break;
 
11795
+       }
 
11796
+     }
 
11797
 
11798
+     if (s != t) result = appendstring(t, result, False, charset, fixup);
 
11799
+     
 
11800
+     XtFree(r);
 
11801
+     return result;
 
11802
+ }
 
11803
 
11804
+ #endif /* XmVersion >= 2000 */
 
11805
 
11806
+ /* ARGSUSED */
 
11807
+ #if NeedFunctionPrototypes
 
11808
+ Boolean XmtConvertStringToXmString(Display *dpy,
 
11809
+                                  XrmValue *args, Cardinal *num_args,
 
11810
+                                  XrmValue *from, XrmValue *to,
 
11811
+                                  XtPointer *converter_data)
 
11812
+ #else
 
11813
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
 
11814
+                                  from, to, converter_data)
 
11815
+ Display *dpy;
 
11816
+ XrmValue *args;
 
11817
+ Cardinal *num_args;
 
11818
+ XrmValue *from;
 
11819
+ XrmValue *to;
 
11820
+ XtPointer *converter_data;
 
11821
+ #endif
 
11822
+ {
 
11823
+     String s = (String) from->addr;
 
11824
+     Screen *screen = *(Screen **)args[0].addr;
 
11825
+     String category, tag;
 
11826
+     String free_me = NULL;
 
11827
+     XmString value;
 
11828
+ #if NeedFunctionPrototypes
 
11829
+     extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
 
11830
+ #else
 
11831
+     extern String _XmtLocalize();
 
11832
+ #endif
 
11833
+     
 
11834
+     /* if this string has a tag, localize it first */
 
11835
+     if ((s[0] == '@') && (s[1] == '[')) {
 
11836
+       s = XtNewString(s);
 
11837
+       free_me = s;
 
11838
+       s += 2;
 
11839
+       category = NULL;
 
11840
+       tag = s;
 
11841
+       while(*s) {
 
11842
+           if (*s == '.' && !category) {
 
11843
+               *s = '\0';
 
11844
+               category = tag;
 
11845
+               tag = s+1;
 
11846
+           }
 
11847
+           if (*s == ']') {
 
11848
+               *s = '\0';
 
11849
+               s++;
 
11850
+               break;
 
11851
+           }
 
11852
+           s++;
 
11853
+       }
 
11854
+       if (!tag[0]) goto error;
 
11855
+       if (category && !category[0]) goto error;
 
11856
+       s = _XmtLocalize(screen, s, category, tag);
 
11857
+     }
 
11858
 
11859
+     value = XmtCreateXmString(s);
 
11860
+     if (!value) goto error;
 
11861
+     if (free_me) XtFree(free_me);
 
11862
+     done(XmString, value);
 
11863
 
11864
+  error:
 
11865
+     if (free_me) XtFree(free_me);
 
11866
+     XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
 
11867
+     return False;
 
11868
+ }
 
11869
 
11870
+ /* ARGSUSED */
 
11871
+ #if NeedFunctionPrototypes
 
11872
+ static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
 
11873
+                                 XtPointer closure,
 
11874
+                                 XrmValue *args, Cardinal *num_args)
 
11875
+ #else
 
11876
+ static void FreeConvertedXmString(app, to, closure, args, num_args)
 
11877
+ XtAppContext app;
 
11878
+ XrmValue *to;
 
11879
+ XtPointer closure;
 
11880
+ XrmValue *args;
 
11881
+ Cardinal *num_args;
 
11882
+ #endif
 
11883
+ {
 
11884
+     XmStringFree(*((XmString *) to->addr));
 
11885
+ }
 
11886
 
11887
+ #if NeedFunctionPrototypes
 
11888
+ void XmtRegisterXmStringConverter(void)
 
11889
+ #else
 
11890
+ void XmtRegisterXmStringConverter()
 
11891
+ #endif
 
11892
+ {
 
11893
+     static Boolean registered = False;
 
11894
 
11895
+     if (!registered) {
 
11896
+       XtSetTypeConverter(XtRString, XmRXmString,
 
11897
+                          XmtConvertStringToXmString,
 
11898
+                          (XtConvertArgRec *)screenConvertArg, (Cardinal) 1,
 
11899
+                          XtCacheAll | XtCacheRefCount,
 
11900
+                          FreeConvertedXmString);
 
11901
+       registered = True;
 
11902
+     }
 
11903
+ }
 
11904
 
11905
diff -bpcBNC 5 Xmt310/Xmt/XmText.c Xmt310.ge/Xmt/XmText.c
 
11906
*** Xmt310/Xmt/XmText.c Sun Feb  4 22:49:10 2001
 
11907
--- Xmt310.ge/Xmt/XmText.c      Tue Jun 12 18:25:28 2001
 
11908
***************
 
11909
*** 1,16 ****
 
11910
  /* 
 
11911
   * Motif Tools Library, Version 3.1
 
11912
!  * $Id$
 
11913
   * 
 
11914
   * Written by David Flanagan.
 
11915
   * Copyright (c) 1992-2001 by David Flanagan.
 
11916
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
11917
   * This is open source software.  See the file LICENSE for details.
 
11918
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11919
   *
 
11920
!  * $Log$
 
11921
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11922
!  * Initial checkin.
 
11923
!  *
 
11924
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11925
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11926
!  *                  kerberos compilation support
 
11927
!  *
 
11928
   *
 
11929
   */
 
11930
  
 
11931
  #include <Xmt/Xmt.h>
 
11932
  #include <Xmt/WidgetType.h>
 
11933
--- 1,19 ----
 
11934
  /* 
 
11935
   * Motif Tools Library, Version 3.1
 
11936
!  * $Id$
 
11937
   * 
 
11938
   * Written by David Flanagan.
 
11939
   * Copyright (c) 1992-2001 by David Flanagan.
 
11940
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
11941
   * This is open source software.  See the file LICENSE for details.
 
11942
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11943
   *
 
11944
!  * $Log$
 
11945
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11946
!  * Initial checkin.
 
11947
!  *
 
11948
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11949
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11950
!  *                  kerberos compilation support
 
11951
!  *
 
11952
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11953
!  * *** empty log message ***
 
11954
!  *
 
11955
   *
 
11956
   */
 
11957
  
 
11958
  #include <Xmt/Xmt.h>
 
11959
  #include <Xmt/WidgetType.h>
 
11960
diff -bpcBNC 5 Xmt310/Xmt/XmTextField.c Xmt310.ge/Xmt/XmTextField.c
 
11961
*** Xmt310/Xmt/XmTextField.c    Sun Feb  4 22:49:12 2001
 
11962
--- Xmt310.ge/Xmt/XmTextField.c Tue Jun 12 18:25:28 2001
 
11963
***************
 
11964
*** 1,16 ****
 
11965
  /* 
 
11966
   * Motif Tools Library, Version 3.1
 
11967
!  * $Id$
 
11968
   * 
 
11969
   * Written by David Flanagan.
 
11970
   * Copyright (c) 1992-2001 by David Flanagan.
 
11971
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
11972
   * This is open source software.  See the file LICENSE for details.
 
11973
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11974
   *
 
11975
!  * $Log$
 
11976
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11977
!  * Initial checkin.
 
11978
!  *
 
11979
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11980
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11981
!  *                  kerberos compilation support
 
11982
!  *
 
11983
   *
 
11984
   */
 
11985
  
 
11986
  #include <Xmt/Xmt.h>
 
11987
  #include <Xmt/WidgetType.h>
 
11988
--- 1,19 ----
 
11989
  /* 
 
11990
   * Motif Tools Library, Version 3.1
 
11991
!  * $Id$
 
11992
   * 
 
11993
   * Written by David Flanagan.
 
11994
   * Copyright (c) 1992-2001 by David Flanagan.
 
11995
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
11996
   * This is open source software.  See the file LICENSE for details.
 
11997
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11998
   *
 
11999
!  * $Log$
 
12000
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12001
!  * Initial checkin.
 
12002
!  *
 
12003
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12004
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12005
!  *                  kerberos compilation support
 
12006
!  *
 
12007
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12008
!  * *** empty log message ***
 
12009
!  *
 
12010
   *
 
12011
   */
 
12012
  
 
12013
  #include <Xmt/Xmt.h>
 
12014
  #include <Xmt/WidgetType.h>
 
12015
diff -bpcBNC 5 Xmt310/Xmt/XmToggleB.c Xmt310.ge/Xmt/XmToggleB.c
 
12016
*** Xmt310/Xmt/XmToggleB.c      Sun Feb  4 22:49:16 2001
 
12017
--- Xmt310.ge/Xmt/XmToggleB.c   Tue Jun 12 18:25:28 2001
 
12018
***************
 
12019
*** 1,16 ****
 
12020
  /* 
 
12021
   * Motif Tools Library, Version 3.1
 
12022
!  * $Id$
 
12023
   * 
 
12024
   * Written by David Flanagan.
 
12025
   * Copyright (c) 1992-2001 by David Flanagan.
 
12026
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12027
   * This is open source software.  See the file LICENSE for details.
 
12028
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12029
   *
 
12030
!  * $Log$
 
12031
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12032
!  * Initial checkin.
 
12033
!  *
 
12034
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12035
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12036
!  *                  kerberos compilation support
 
12037
!  *
 
12038
   *
 
12039
   */
 
12040
  
 
12041
  #include <Xmt/Xmt.h>
 
12042
  #include <Xmt/WidgetType.h>
 
12043
--- 1,19 ----
 
12044
  /* 
 
12045
   * Motif Tools Library, Version 3.1
 
12046
!  * $Id$
 
12047
   * 
 
12048
   * Written by David Flanagan.
 
12049
   * Copyright (c) 1992-2001 by David Flanagan.
 
12050
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12051
   * This is open source software.  See the file LICENSE for details.
 
12052
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12053
   *
 
12054
!  * $Log$
 
12055
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12056
!  * Initial checkin.
 
12057
!  *
 
12058
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12059
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12060
!  *                  kerberos compilation support
 
12061
!  *
 
12062
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12063
!  * *** empty log message ***
 
12064
!  *
 
12065
   *
 
12066
   */
 
12067
  
 
12068
  #include <Xmt/Xmt.h>
 
12069
  #include <Xmt/WidgetType.h>
 
12070
diff -bpcBNC 5 Xmt310/Xmt/Xmt.h Xmt310.ge/Xmt/Xmt.h
 
12071
*** Xmt310/Xmt/Xmt.h    Sun Feb  4 22:49:20 2001
 
12072
--- Xmt310.ge/Xmt/Xmt.h Tue Jun 12 18:25:28 2001
 
12073
***************
 
12074
*** 1,16 ****
 
12075
  /* 
 
12076
   * Motif Tools Library, Version 3.1
 
12077
!  * $Id$
 
12078
   * 
 
12079
   * Written by David Flanagan.
 
12080
   * Copyright (c) 1992-2001 by David Flanagan.
 
12081
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12082
   * This is open source software.  See the file LICENSE for details.
 
12083
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12084
   *
 
12085
!  * $Log$
 
12086
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12087
!  * Initial checkin.
 
12088
!  *
 
12089
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12090
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12091
!  *                  kerberos compilation support
 
12092
!  *
 
12093
   *
 
12094
   */
 
12095
  
 
12096
  #ifndef _Xmt_h
 
12097
  #define _Xmt_h
 
12098
--- 1,19 ----
 
12099
  /* 
 
12100
   * Motif Tools Library, Version 3.1
 
12101
!  * $Id$
 
12102
   * 
 
12103
   * Written by David Flanagan.
 
12104
   * Copyright (c) 1992-2001 by David Flanagan.
 
12105
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12106
   * This is open source software.  See the file LICENSE for details.
 
12107
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12108
   *
 
12109
!  * $Log$
 
12110
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12111
!  * Initial checkin.
 
12112
!  *
 
12113
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12114
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12115
!  *                  kerberos compilation support
 
12116
!  *
 
12117
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12118
!  * *** empty log message ***
 
12119
!  *
 
12120
   *
 
12121
   */
 
12122
  
 
12123
  #ifndef _Xmt_h
 
12124
  #define _Xmt_h
 
12125
diff -bpcBNC 5 Xmt310/Xmt/XmtP.h Xmt310.ge/Xmt/XmtP.h
 
12126
*** Xmt310/Xmt/XmtP.h   Sun Feb  4 22:49:28 2001
 
12127
--- Xmt310.ge/Xmt/XmtP.h        Tue Jun 12 18:25:28 2001
 
12128
***************
 
12129
*** 1,16 ****
 
12130
  /* 
 
12131
   * Motif Tools Library, Version 3.1
 
12132
!  * $Id$
 
12133
   * 
 
12134
   * Written by David Flanagan.
 
12135
   * Copyright (c) 1992-2001 by David Flanagan.
 
12136
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12137
   * This is open source software.  See the file LICENSE for details.
 
12138
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12139
   *
 
12140
!  * $Log$
 
12141
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12142
!  * Initial checkin.
 
12143
!  *
 
12144
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12145
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12146
!  *                  kerberos compilation support
 
12147
!  *
 
12148
   *
 
12149
   */
 
12150
  
 
12151
  #ifndef _XmtP_h
 
12152
  #define _XmtP_h
 
12153
--- 1,19 ----
 
12154
  /* 
 
12155
   * Motif Tools Library, Version 3.1
 
12156
!  * $Id$
 
12157
   * 
 
12158
   * Written by David Flanagan.
 
12159
   * Copyright (c) 1992-2001 by David Flanagan.
 
12160
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12161
   * This is open source software.  See the file LICENSE for details.
 
12162
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12163
   *
 
12164
!  * $Log$
 
12165
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12166
!  * Initial checkin.
 
12167
!  *
 
12168
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12169
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12170
!  *                  kerberos compilation support
 
12171
!  *
 
12172
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12173
!  * *** empty log message ***
 
12174
!  *
 
12175
   *
 
12176
   */
 
12177
  
 
12178
  #ifndef _XmtP_h
 
12179
  #define _XmtP_h
 
12180
diff -bpcBNC 5 Xmt310/Xmt/XmtProcs.c Xmt310.ge/Xmt/XmtProcs.c
 
12181
*** Xmt310/Xmt/XmtProcs.c       Sun Feb  4 22:49:36 2001
 
12182
--- Xmt310.ge/Xmt/XmtProcs.c    Tue Jun 12 18:25:28 2001
 
12183
***************
 
12184
*** 1,16 ****
 
12185
  /* 
 
12186
   * Motif Tools Library, Version 3.1
 
12187
!  * $Id$
 
12188
   * 
 
12189
   * Written by David Flanagan.
 
12190
   * Copyright (c) 1992-2001 by David Flanagan.
 
12191
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12192
   * This is open source software.  See the file LICENSE for details.
 
12193
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12194
   *
 
12195
!  * $Log$
 
12196
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12197
!  * Initial checkin.
 
12198
!  *
 
12199
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12200
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12201
!  *                  kerberos compilation support
 
12202
!  *
 
12203
   *
 
12204
   */
 
12205
  
 
12206
  #include <stdio.h>
 
12207
  #include <Xmt/Xmt.h>
 
12208
--- 1,19 ----
 
12209
  /* 
 
12210
   * Motif Tools Library, Version 3.1
 
12211
!  * $Id$
 
12212
   * 
 
12213
   * Written by David Flanagan.
 
12214
   * Copyright (c) 1992-2001 by David Flanagan.
 
12215
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12216
   * This is open source software.  See the file LICENSE for details.
 
12217
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12218
   *
 
12219
!  * $Log$
 
12220
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12221
!  * Initial checkin.
 
12222
!  *
 
12223
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12224
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12225
!  *                  kerberos compilation support
 
12226
!  *
 
12227
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12228
!  * *** empty log message ***
 
12229
!  *
 
12230
   *
 
12231
   */
 
12232
  
 
12233
  #include <stdio.h>
 
12234
  #include <Xmt/Xmt.h>
 
12235
diff -bpcBNC 5 Xmt310/Xmt/XmtWidgets.c Xmt310.ge/Xmt/XmtWidgets.c
 
12236
*** Xmt310/Xmt/XmtWidgets.c     Sun Feb  4 22:49:38 2001
 
12237
--- Xmt310.ge/Xmt/XmtWidgets.c  Tue Jun 12 18:25:28 2001
 
12238
***************
 
12239
*** 1,16 ****
 
12240
  /* 
 
12241
   * Motif Tools Library, Version 3.1
 
12242
!  * $Id$
 
12243
   * 
 
12244
   * Written by David Flanagan.
 
12245
   * Copyright (c) 1992-2001 by David Flanagan.
 
12246
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12247
   * This is open source software.  See the file LICENSE for details.
 
12248
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12249
   *
 
12250
!  * $Log$
 
12251
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12252
!  * Initial checkin.
 
12253
!  *
 
12254
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12255
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12256
!  *                  kerberos compilation support
 
12257
!  *
 
12258
   *
 
12259
   */
 
12260
  
 
12261
  #include <Xmt/Xmt.h>
 
12262
  #include <Xmt/WidgetType.h>
 
12263
--- 1,19 ----
 
12264
  /* 
 
12265
   * Motif Tools Library, Version 3.1
 
12266
!  * $Id$
 
12267
   * 
 
12268
   * Written by David Flanagan.
 
12269
   * Copyright (c) 1992-2001 by David Flanagan.
 
12270
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12271
   * This is open source software.  See the file LICENSE for details.
 
12272
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12273
   *
 
12274
!  * $Log$
 
12275
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12276
!  * Initial checkin.
 
12277
!  *
 
12278
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12279
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12280
!  *                  kerberos compilation support
 
12281
!  *
 
12282
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12283
!  * *** empty log message ***
 
12284
!  *
 
12285
   *
 
12286
   */
 
12287
  
 
12288
  #include <Xmt/Xmt.h>
 
12289
  #include <Xmt/WidgetType.h>
 
12290
diff -bpcBNC 5 Xmt310/Xmt/Xpm.c Xmt310.ge/Xmt/Xpm.c
 
12291
*** Xmt310/Xmt/Xpm.c    Sun Feb  4 22:49:42 2001
 
12292
--- Xmt310.ge/Xmt/Xpm.c Tue Jun 12 18:25:28 2001
 
12293
***************
 
12294
*** 1,16 ****
 
12295
  /* 
 
12296
   * Motif Tools Library, Version 3.1
 
12297
!  * $Id$
 
12298
   * 
 
12299
   * Written by David Flanagan.
 
12300
   * Copyright (c) 1992-2001 by David Flanagan.
 
12301
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12302
   * This is open source software.  See the file LICENSE for details.
 
12303
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12304
   *
 
12305
!  * $Log$
 
12306
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12307
!  * Initial checkin.
 
12308
!  *
 
12309
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12310
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12311
!  *                  kerberos compilation support
 
12312
!  *
 
12313
   *
 
12314
   */
 
12315
  
 
12316
  /*
 
12317
   * This file is derived in part from the XPM 3.0 distribution by
 
12318
--- 1,19 ----
 
12319
  /* 
 
12320
   * Motif Tools Library, Version 3.1
 
12321
!  * $Id$
 
12322
   * 
 
12323
   * Written by David Flanagan.
 
12324
   * Copyright (c) 1992-2001 by David Flanagan.
 
12325
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12326
   * This is open source software.  See the file LICENSE for details.
 
12327
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12328
   *
 
12329
!  * $Log$
 
12330
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12331
!  * Initial checkin.
 
12332
!  *
 
12333
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12334
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12335
!  *                  kerberos compilation support
 
12336
!  *
 
12337
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12338
!  * *** empty log message ***
 
12339
!  *
 
12340
   *
 
12341
   */
 
12342
  
 
12343
  /*
 
12344
   * This file is derived in part from the XPM 3.0 distribution by
 
12345
diff -bpcBNC 5 Xmt310/Xmt/Xpm.h Xmt310.ge/Xmt/Xpm.h
 
12346
*** Xmt310/Xmt/Xpm.h    Sun Feb  4 22:49:44 2001
 
12347
--- Xmt310.ge/Xmt/Xpm.h Tue Jun 12 18:25:28 2001
 
12348
***************
 
12349
*** 1,16 ****
 
12350
  /* 
 
12351
   * Motif Tools Library, Version 3.1
 
12352
!  * $Id$
 
12353
   * 
 
12354
   * Written by David Flanagan.
 
12355
   * Copyright (c) 1992-2001 by David Flanagan.
 
12356
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12357
   * This is open source software.  See the file LICENSE for details.
 
12358
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12359
   *
 
12360
!  * $Log$
 
12361
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12362
!  * Initial checkin.
 
12363
!  *
 
12364
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12365
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12366
!  *                  kerberos compilation support
 
12367
!  *
 
12368
   *
 
12369
   */
 
12370
  
 
12371
  /*
 
12372
   * This file is derived in part from the XPM 3.0 distribution by
 
12373
--- 1,19 ----
 
12374
  /* 
 
12375
   * Motif Tools Library, Version 3.1
 
12376
!  * $Id$
 
12377
   * 
 
12378
   * Written by David Flanagan.
 
12379
   * Copyright (c) 1992-2001 by David Flanagan.
 
12380
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12381
   * This is open source software.  See the file LICENSE for details.
 
12382
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12383
   *
 
12384
!  * $Log$
 
12385
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12386
!  * Initial checkin.
 
12387
!  *
 
12388
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12389
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12390
!  *                  kerberos compilation support
 
12391
!  *
 
12392
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12393
!  * *** empty log message ***
 
12394
!  *
 
12395
   *
 
12396
   */
 
12397
  
 
12398
  /*
 
12399
   * This file is derived in part from the XPM 3.0 distribution by
 
12400
diff -bpcBNC 5 Xmt310/Xmt/XpmParse.c Xmt310.ge/Xmt/XpmParse.c
 
12401
*** Xmt310/Xmt/XpmParse.c       Sun Feb  4 22:49:50 2001
 
12402
--- Xmt310.ge/Xmt/XpmParse.c    Tue Jun 12 18:25:28 2001
 
12403
***************
 
12404
*** 1,16 ****
 
12405
  /* 
 
12406
   * Motif Tools Library, Version 3.1
 
12407
!  * $Id$
 
12408
   * 
 
12409
   * Written by David Flanagan.
 
12410
   * Copyright (c) 1992-2001 by David Flanagan.
 
12411
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12412
   * This is open source software.  See the file LICENSE for details.
 
12413
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12414
   *
 
12415
!  * $Log$
 
12416
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12417
!  * Initial checkin.
 
12418
!  *
 
12419
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12420
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12421
!  *                  kerberos compilation support
 
12422
!  *
 
12423
   *
 
12424
   */
 
12425
  
 
12426
  /*
 
12427
   * This file is derived in part from the XPM 3.0 distribution by
 
12428
--- 1,19 ----
 
12429
  /* 
 
12430
   * Motif Tools Library, Version 3.1
 
12431
!  * $Id$
 
12432
   * 
 
12433
   * Written by David Flanagan.
 
12434
   * Copyright (c) 1992-2001 by David Flanagan.
 
12435
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12436
   * This is open source software.  See the file LICENSE for details.
 
12437
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12438
   *
 
12439
!  * $Log$
 
12440
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12441
!  * Initial checkin.
 
12442
!  *
 
12443
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12444
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12445
!  *                  kerberos compilation support
 
12446
!  *
 
12447
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12448
!  * *** empty log message ***
 
12449
!  *
 
12450
   *
 
12451
   */
 
12452
  
 
12453
  /*
 
12454
   * This file is derived in part from the XPM 3.0 distribution by
 
12455
*************** typedef struct {
 
12456
*** 84,97 ****
 
12457
      char *Eoa;                                /* string ending assignment */
 
12458
  } LexerTypeData;
 
12459
  
 
12460
  static LexerTypeData lexer_types[] =
 
12461
  {
 
12462
!  "", '\0', '\n', "", "", "", "",      /* Natural type */
 
12463
!  "C", '"', '"', ",\n", "static char *", "[] = {\n", "};\n",
 
12464
!  "Lisp", '"', '"', "\n", "(setq ", " '(\n", "))\n",
 
12465
!  NULL, 0, 0, NULL, NULL, NULL, NULL
 
12466
  };
 
12467
  
 
12468
  /*
 
12469
   * these strings come directly before the optional default color string
 
12470
   * for each of the visuals.  The string "s" comes before the optional
 
12471
--- 87,100 ----
 
12472
      char *Eoa;                                /* string ending assignment */
 
12473
  } LexerTypeData;
 
12474
  
 
12475
  static LexerTypeData lexer_types[] =
 
12476
  {
 
12477
!  {"", '\0', '\n', "", "", "", ""},    /* Natural type */
 
12478
!  {"C", '"', '"', ",\n", "static char *", "[] = {\n", "};\n"},
 
12479
!  {"Lisp", '"', '"', "\n", "(setq ", " '(\n", "))\n"},
 
12480
!  {NULL, 0, 0, NULL, NULL, NULL, NULL}
 
12481
  };
 
12482
  
 
12483
  /*
 
12484
   * these strings come directly before the optional default color string
 
12485
   * for each of the visuals.  The string "s" comes before the optional
 
12486
diff -bpcBNC 5 Xmt310/Xmt/XtProcs.c Xmt310.ge/Xmt/XtProcs.c
 
12487
*** Xmt310/Xmt/XtProcs.c        Sun Feb  4 22:57:02 2001
 
12488
--- Xmt310.ge/Xmt/XtProcs.c     Tue Jun 12 18:25:28 2001
 
12489
***************
 
12490
*** 1,16 ****
 
12491
  /* 
 
12492
   * Motif Tools Library, Version 3.1
 
12493
!  * $Id$
 
12494
   * 
 
12495
   * Written by David Flanagan.
 
12496
   * Copyright (c) 1992-2001 by David Flanagan.
 
12497
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12498
   * This is open source software.  See the file LICENSE for details.
 
12499
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12500
   *
 
12501
!  * $Log$
 
12502
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12503
!  * Initial checkin.
 
12504
!  *
 
12505
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12506
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12507
!  *                  kerberos compilation support
 
12508
!  *
 
12509
   *
 
12510
   */
 
12511
  
 
12512
  #include <stdio.h>
 
12513
  #include <Xmt/Xmt.h>
 
12514
--- 1,19 ----
 
12515
  /* 
 
12516
   * Motif Tools Library, Version 3.1
 
12517
!  * $Id$
 
12518
   * 
 
12519
   * Written by David Flanagan.
 
12520
   * Copyright (c) 1992-2001 by David Flanagan.
 
12521
   * All Rights Reserved.  See the file COPYRIGHT for details.
 
12522
   * This is open source software.  See the file LICENSE for details.
 
12523
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
12524
   *
 
12525
!  * $Log$
 
12526
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
12527
!  * Initial checkin.
 
12528
!  *
 
12529
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
12530
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
12531
!  *                  kerberos compilation support
 
12532
!  *
 
12533
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
12534
!  * *** empty log message ***
 
12535
!  *
 
12536
   *
 
12537
   */
 
12538
  
 
12539
  #include <stdio.h>
 
12540
  #include <Xmt/Xmt.h>