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

« back to all changes in this revision

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

  • 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 -bpBN 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,6 ****
 
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
--- 1,6 ----
 
13
  /* 
 
14
   * Motif Tools Library, Version 3.1
 
15
!  * $Id$
 
16
   * 
 
17
   * Written by David Flanagan.
 
18
   * Copyright (c) 1992-2001 by David Flanagan.
 
19
***************
 
20
*** 8,14 ****
 
21
   * This is open source software.  See the file LICENSE for details.
 
22
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
23
   *
 
24
!  * $Log$
 
25
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
26
!  * Initial checkin.
 
27
!  *
 
28
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
29
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
30
!  *                  kerberos compilation support
 
31
!  *
 
32
   *
 
33
   */
 
34
  
 
35
--- 8,19 ----
 
36
   * This is open source software.  See the file LICENSE for details.
 
37
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
38
   *
 
39
!  * $Log$
 
40
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
41
!  * Initial checkin.
 
42
!  *
 
43
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
44
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
45
!  *                  kerberos compilation support
 
46
!  *
 
47
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
48
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
49
!  *                  (http://sourceforge.net/projects/motiftools) with
 
50
!  *                  our xmt212 patches applied
 
51
!  *
 
52
   *
 
53
   */
 
54
  
 
55
diff -bpBN Xmt310/Xmt/All.h Xmt310.ge/Xmt/All.h
 
56
*** Xmt310/Xmt/All.h    Sun Feb  4 22:19:48 2001
 
57
--- Xmt310.ge/Xmt/All.h Tue Jun 12 18:11:32 2001
 
58
***************
 
59
*** 1,6 ****
 
60
  /* 
 
61
   * Motif Tools Library, Version 3.1
 
62
!  * $Id$
 
63
   * 
 
64
   * Written by David Flanagan.
 
65
   * Copyright (c) 1992-2001 by David Flanagan.
 
66
--- 1,6 ----
 
67
  /* 
 
68
   * Motif Tools Library, Version 3.1
 
69
!  * $Id$
 
70
   * 
 
71
   * Written by David Flanagan.
 
72
   * Copyright (c) 1992-2001 by David Flanagan.
 
73
***************
 
74
*** 8,14 ****
 
75
   * This is open source software.  See the file LICENSE for details.
 
76
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
77
   *
 
78
!  * $Log$
 
79
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
80
!  * Initial checkin.
 
81
!  *
 
82
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
83
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
84
!  *                  kerberos compilation support
 
85
!  *
 
86
   *
 
87
   */
 
88
  
 
89
--- 8,19 ----
 
90
   * This is open source software.  See the file LICENSE for details.
 
91
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
92
   *
 
93
!  * $Log$
 
94
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
95
!  * Initial checkin.
 
96
!  *
 
97
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
98
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
99
!  *                  kerberos compilation support
 
100
!  *
 
101
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
102
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
103
!  *                  (http://sourceforge.net/projects/motiftools) with
 
104
!  *                  our xmt212 patches applied
 
105
!  *
 
106
   *
 
107
   */
 
108
  
 
109
diff -bpBN Xmt310/Xmt/AppRes.c Xmt310.ge/Xmt/AppRes.c
 
110
*** Xmt310/Xmt/AppRes.c Sun Feb  4 22:31:28 2001
 
111
--- Xmt310.ge/Xmt/AppRes.c      Tue Jun 12 18:11:32 2001
 
112
***************
 
113
*** 1,6 ****
 
114
  /* 
 
115
   * Motif Tools Library, Version 3.1
 
116
!  * $Id$
 
117
   * 
 
118
   * Written by David Flanagan.
 
119
   * Copyright (c) 1992-2001 by David Flanagan.
 
120
--- 1,6 ----
 
121
  /* 
 
122
   * Motif Tools Library, Version 3.1
 
123
!  * $Id$
 
124
   * 
 
125
   * Written by David Flanagan.
 
126
   * Copyright (c) 1992-2001 by David Flanagan.
 
127
***************
 
128
*** 8,14 ****
 
129
   * This is open source software.  See the file LICENSE for details.
 
130
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
131
   *
 
132
!  * $Log$
 
133
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
134
!  * Initial checkin.
 
135
!  *
 
136
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
137
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
138
!  *                  kerberos compilation support
 
139
!  *
 
140
   *
 
141
   */
 
142
  
 
143
--- 8,19 ----
 
144
   * This is open source software.  See the file LICENSE for details.
 
145
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
146
   *
 
147
!  * $Log$
 
148
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
149
!  * Initial checkin.
 
150
!  *
 
151
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
152
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
153
!  *                  kerberos compilation support
 
154
!  *
 
155
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
156
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
157
!  *                  (http://sourceforge.net/projects/motiftools) with
 
158
!  *                  our xmt212 patches applied
 
159
!  *
 
160
   *
 
161
   */
 
162
  
 
163
diff -bpBN Xmt310/Xmt/AppRes.h Xmt310.ge/Xmt/AppRes.h
 
164
*** Xmt310/Xmt/AppRes.h Sun Feb  4 22:31:50 2001
 
165
--- Xmt310.ge/Xmt/AppRes.h      Tue Jun 12 18:11:32 2001
 
166
***************
 
167
*** 1,6 ****
 
168
  /* 
 
169
   * Motif Tools Library, Version 3.1
 
170
!  * $Id$
 
171
   * 
 
172
   * Written by David Flanagan.
 
173
   * Copyright (c) 1992-2001 by David Flanagan.
 
174
--- 1,6 ----
 
175
  /* 
 
176
   * Motif Tools Library, Version 3.1
 
177
!  * $Id$
 
178
   * 
 
179
   * Written by David Flanagan.
 
180
   * Copyright (c) 1992-2001 by David Flanagan.
 
181
***************
 
182
*** 8,14 ****
 
183
   * This is open source software.  See the file LICENSE for details.
 
184
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
185
   *
 
186
!  * $Log$
 
187
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
188
!  * Initial checkin.
 
189
!  *
 
190
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
191
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
192
!  *                  kerberos compilation support
 
193
!  *
 
194
   *
 
195
   */
 
196
  
 
197
--- 8,19 ----
 
198
   * This is open source software.  See the file LICENSE for details.
 
199
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
200
   *
 
201
!  * $Log$
 
202
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
203
!  * Initial checkin.
 
204
!  *
 
205
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
206
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
207
!  *                  kerberos compilation support
 
208
!  *
 
209
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
210
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
211
!  *                  (http://sourceforge.net/projects/motiftools) with
 
212
!  *                  our xmt212 patches applied
 
213
!  *
 
214
   *
 
215
   */
 
216
  
 
217
diff -bpBN Xmt310/Xmt/AppResP.h Xmt310.ge/Xmt/AppResP.h
 
218
*** Xmt310/Xmt/AppResP.h        Sun Feb  4 22:32:46 2001
 
219
--- Xmt310.ge/Xmt/AppResP.h     Tue Jun 12 18:11:32 2001
 
220
***************
 
221
*** 1,6 ****
 
222
  /* 
 
223
   * Motif Tools Library, Version 3.1
 
224
!  * $Id$
 
225
   * 
 
226
   * Written by David Flanagan.
 
227
   * Copyright (c) 1992-2001 by David Flanagan.
 
228
--- 1,6 ----
 
229
  /* 
 
230
   * Motif Tools Library, Version 3.1
 
231
!  * $Id$
 
232
   * 
 
233
   * Written by David Flanagan.
 
234
   * Copyright (c) 1992-2001 by David Flanagan.
 
235
***************
 
236
*** 8,14 ****
 
237
   * This is open source software.  See the file LICENSE for details.
 
238
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
239
   *
 
240
!  * $Log$
 
241
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
242
!  * Initial checkin.
 
243
!  *
 
244
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
245
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
246
!  *                  kerberos compilation support
 
247
!  *
 
248
   *
 
249
   */
 
250
  
 
251
--- 8,19 ----
 
252
   * This is open source software.  See the file LICENSE for details.
 
253
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
254
   *
 
255
!  * $Log$
 
256
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
257
!  * Initial checkin.
 
258
!  *
 
259
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
260
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
261
!  *                  kerberos compilation support
 
262
!  *
 
263
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
264
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
265
!  *                  (http://sourceforge.net/projects/motiftools) with
 
266
!  *                  our xmt212 patches applied
 
267
!  *
 
268
   *
 
269
   */
 
270
  
 
271
diff -bpBN Xmt310/Xmt/AskForBool.c Xmt310.ge/Xmt/AskForBool.c
 
272
*** Xmt310/Xmt/AskForBool.c     Sun Feb  4 22:33:02 2001
 
273
--- Xmt310.ge/Xmt/AskForBool.c  Tue Jun 12 18:11:32 2001
 
274
***************
 
275
*** 1,6 ****
 
276
  /* 
 
277
   * Motif Tools Library, Version 3.1
 
278
!  * $Id$
 
279
   * 
 
280
   * Written by David Flanagan.
 
281
   * Copyright (c) 1992-2001 by David Flanagan.
 
282
--- 1,6 ----
 
283
  /* 
 
284
   * Motif Tools Library, Version 3.1
 
285
!  * $Id$
 
286
   * 
 
287
   * Written by David Flanagan.
 
288
   * Copyright (c) 1992-2001 by David Flanagan.
 
289
***************
 
290
*** 8,14 ****
 
291
   * This is open source software.  See the file LICENSE for details.
 
292
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
293
   *
 
294
!  * $Log$
 
295
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
296
!  * Initial checkin.
 
297
!  *
 
298
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
299
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
300
!  *                  kerberos compilation support
 
301
!  *
 
302
   *
 
303
   */
 
304
  
 
305
--- 8,19 ----
 
306
   * This is open source software.  See the file LICENSE for details.
 
307
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
308
   *
 
309
!  * $Log$
 
310
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
311
!  * Initial checkin.
 
312
!  *
 
313
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
314
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
315
!  *                  kerberos compilation support
 
316
!  *
 
317
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
318
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
319
!  *                  (http://sourceforge.net/projects/motiftools) with
 
320
!  *                  our xmt212 patches applied
 
321
!  *
 
322
   *
 
323
   */
 
324
  
 
325
*************** static String button_names[] = {
 
326
*** 118,124 ****
 
327
      "Reset", "ResetButton", "Stop", "StopButton",
 
328
      "Yes", "YesButton",
 
329
  };
 
330
! static int button_values[] = {
 
331
      XmtApplyButton, XmtApplyButton, XmtCancelButton, XmtCancelButton,
 
332
      XmtDoneButton, XmtDoneButton, XmtHelpButton, XmtHelpButton,
 
333
      XmtNoButton, XmtNoButton, XmtOkButton, XmtOkButton,
 
334
--- 123,129 ----
 
335
      "Reset", "ResetButton", "Stop", "StopButton",
 
336
      "Yes", "YesButton",
 
337
  };
 
338
! static Cardinal button_values[] = {
 
339
      XmtApplyButton, XmtApplyButton, XmtCancelButton, XmtCancelButton,
 
340
      XmtDoneButton, XmtDoneButton, XmtHelpButton, XmtHelpButton,
 
341
      XmtNoButton, XmtNoButton, XmtOkButton, XmtOkButton,
 
342
*************** StringConst help_text_default;
 
343
*** 360,369 ****
 
344
      }
 
345
  
 
346
      /* create the XmStrings */
 
347
!     title = XmtCreateXmString(data.title);
 
348
!     yes_label = XmtCreateXmString(data.yes_label);
 
349
!     no_label = XmtCreateXmString(data.no_label);
 
350
!     cancel_label = XmtCreateXmString(data.cancel_label);
 
351
  
 
352
      /* set icon pixmap and message  */
 
353
      XtVaSetValues(info->boolean_internals.icon,
 
354
--- 365,374 ----
 
355
      }
 
356
  
 
357
      /* create the XmStrings */
 
358
!     title = XmtCreateLocalizedXmString(w, data.title);
 
359
!     yes_label = XmtCreateLocalizedXmString(w, data.yes_label);
 
360
!     no_label = XmtCreateLocalizedXmString(w, data.no_label);
 
361
!     cancel_label = XmtCreateLocalizedXmString(w, data.cancel_label);
 
362
  
 
363
      /* set icon pixmap and message  */
 
364
      XtVaSetValues(info->boolean_internals.icon,
 
365
diff -bpBN Xmt310/Xmt/AskForFile.c Xmt310.ge/Xmt/AskForFile.c
 
366
*** Xmt310/Xmt/AskForFile.c     Sun Feb  4 22:06:32 2001
 
367
--- Xmt310.ge/Xmt/AskForFile.c  Tue Jun 12 18:11:32 2001
 
368
***************
 
369
*** 1,6 ****
 
370
  /* 
 
371
   * Motif Tools Library, Version 3.1
 
372
!  * $Id$
 
373
   * 
 
374
   * Written by David Flanagan.
 
375
   * Copyright (c) 1992-2001 by David Flanagan.
 
376
--- 1,6 ----
 
377
  /* 
 
378
   * Motif Tools Library, Version 3.1
 
379
!  * $Id$
 
380
   * 
 
381
   * Written by David Flanagan.
 
382
   * Copyright (c) 1992-2001 by David Flanagan.
 
383
***************
 
384
*** 8,14 ****
 
385
   * This is open source software.  See the file LICENSE for details.
 
386
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
387
   *
 
388
!  * $Log$
 
389
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
390
!  * Initial checkin.
 
391
!  *
 
392
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
393
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
394
!  *                  kerberos compilation support
 
395
!  *
 
396
   *
 
397
   */
 
398
  
 
399
--- 8,19 ----
 
400
   * This is open source software.  See the file LICENSE for details.
 
401
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
402
   *
 
403
!  * $Log$
 
404
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
405
!  * Initial checkin.
 
406
!  *
 
407
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
408
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
409
!  *                  kerberos compilation support
 
410
!  *
 
411
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
412
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
413
!  *                  (http://sourceforge.net/projects/motiftools) with
 
414
!  *                  our xmt212 patches applied
 
415
!  *
 
416
   *
 
417
   */
 
418
  
 
419
***************
 
420
*** 23,28 ****
 
421
--- 28,34 ----
 
422
  #include <Xm/DialogS.h>
 
423
  #include <Xm/FileSB.h>
 
424
  #include <Xm/Text.h>
 
425
+ #include <Xm/List.h>
 
426
  
 
427
  /* ARGSUSED */
 
428
  #if NeedFunctionPrototypes
 
429
*************** Boolean open_file;
 
430
*** 237,246 ****
 
431
      if (!lookup_pattern) data.pattern = pattern_buffer;
 
432
        
 
433
      /* create XmStrings */
 
434
!     message = XmtCreateXmString(data.message);
 
435
!     title = XmtCreateXmString(data.title);
 
436
!     directory = XmtCreateXmString(data.directory);
 
437
!     pattern = XmtCreateXmString(data.pattern);
 
438
  
 
439
      /*
 
440
       * Set XmNdirectory to NULL, so that the next call changes it
 
441
--- 243,252 ----
 
442
      if (!lookup_pattern) data.pattern = pattern_buffer;
 
443
        
 
444
      /* create XmStrings */
 
445
!     message = XmtCreateLocalizedXmString(w, data.message);
 
446
!     title = XmtCreateLocalizedXmString(w, data.title);
 
447
!     directory = XmtCreateLocalizedXmString(w, data.directory);
 
448
!     pattern = XmtCreateLocalizedXmString(w, data.pattern);
 
449
  
 
450
      /*
 
451
       * Set XmNdirectory to NULL, so that the next call changes it
 
452
diff -bpBN Xmt310/Xmt/AskForItem.c Xmt310.ge/Xmt/AskForItem.c
 
453
*** Xmt310/Xmt/AskForItem.c     Sun Feb  4 22:33:22 2001
 
454
--- Xmt310.ge/Xmt/AskForItem.c  Tue Jun 12 18:11:32 2001
 
455
***************
 
456
*** 1,6 ****
 
457
  /* 
 
458
   * Motif Tools Library, Version 3.1
 
459
!  * $Id$
 
460
   * 
 
461
   * Written by David Flanagan.
 
462
   * Copyright (c) 1992-2001 by David Flanagan.
 
463
--- 1,6 ----
 
464
  /* 
 
465
   * Motif Tools Library, Version 3.1
 
466
!  * $Id$
 
467
   * 
 
468
   * Written by David Flanagan.
 
469
   * Copyright (c) 1992-2001 by David Flanagan.
 
470
***************
 
471
*** 8,14 ****
 
472
   * This is open source software.  See the file LICENSE for details.
 
473
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
474
   *
 
475
!  * $Log$
 
476
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
477
!  * Initial checkin.
 
478
!  *
 
479
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
480
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
481
!  *                  kerberos compilation support
 
482
!  *
 
483
   *
 
484
   */
 
485
  
 
486
--- 8,19 ----
 
487
   * This is open source software.  See the file LICENSE for details.
 
488
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
489
   *
 
490
!  * $Log$
 
491
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
492
!  * Initial checkin.
 
493
!  *
 
494
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
495
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
496
!  *                  kerberos compilation support
 
497
!  *
 
498
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
499
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
500
!  *                  (http://sourceforge.net/projects/motiftools) with
 
501
!  *                  our xmt212 patches applied
 
502
!  *
 
503
   *
 
504
   */
 
505
  
 
506
***************
 
507
*** 19,24 ****
 
508
--- 24,30 ----
 
509
  #include <Xm/DialogS.h>
 
510
  #include <Xm/SelectioB.h>
 
511
  #include <Xm/Text.h>
 
512
+ #include <Xm/List.h>
 
513
  
 
514
  /* ARGSUSED */
 
515
  #if NeedFunctionPrototypes
 
516
*************** Boolean return_number;
 
517
*** 196,204 ****
 
518
      }
 
519
  
 
520
      /* create the XmStrings */
 
521
!     message = XmtCreateXmString(data.message);
 
522
!     title = XmtCreateXmString(data.title);
 
523
!     list_title = XmtCreateXmString(data.list_title);
 
524
  
 
525
      /*
 
526
       * If we got an items string from the resource db,
 
527
--- 202,210 ----
 
528
      }
 
529
  
 
530
      /* create the XmStrings */
 
531
!     message = XmtCreateLocalizedXmString(w, data.message);
 
532
!     title = XmtCreateLocalizedXmString(w, data.title);
 
533
!     list_title = XmtCreateLocalizedXmString(w, data.list_title);
 
534
  
 
535
      /*
 
536
       * If we got an items string from the resource db,
 
537
*************** Boolean return_number;
 
538
*** 215,226 ****
 
539
      /* convert the list items to XmStrings */
 
540
      item_labels = (XmString *) XtMalloc(num_items * sizeof(XmString));
 
541
      for(i = 0; i < num_items; i++)
 
542
!       item_labels[i] = XmtCreateXmString(data.items[i]);
 
543
  
 
544
      if (return_number)
 
545
        default_item_label = item_labels[*int_return];
 
546
      else if (buffer_return && *buffer_return)
 
547
!       default_item_label = XmtCreateXmString(buffer_return);
 
548
      else
 
549
        default_item_label = item_labels[0];
 
550
  
 
551
--- 221,232 ----
 
552
      /* convert the list items to XmStrings */
 
553
      item_labels = (XmString *) XtMalloc(num_items * sizeof(XmString));
 
554
      for(i = 0; i < num_items; i++)
 
555
!       item_labels[i] = XmtCreateLocalizedXmString(w, data.items[i]);
 
556
  
 
557
      if (return_number)
 
558
        default_item_label = item_labels[*int_return];
 
559
      else if (buffer_return && *buffer_return)
 
560
!       default_item_label = XmtCreateLocalizedXmString(w, buffer_return);
 
561
      else
 
562
        default_item_label = item_labels[0];
 
563
  
 
564
diff -bpBN Xmt310/Xmt/AskForString.c Xmt310.ge/Xmt/AskForString.c
 
565
*** Xmt310/Xmt/AskForString.c   Sun Feb  4 22:33:28 2001
 
566
--- Xmt310.ge/Xmt/AskForString.c        Tue Jun 12 18:11:32 2001
 
567
***************
 
568
*** 1,6 ****
 
569
  /* 
 
570
   * Motif Tools Library, Version 3.1
 
571
!  * $Id$
 
572
   * 
 
573
   * Written by David Flanagan.
 
574
   * Copyright (c) 1992-2001 by David Flanagan.
 
575
--- 1,6 ----
 
576
  /* 
 
577
   * Motif Tools Library, Version 3.1
 
578
!  * $Id$
 
579
   * 
 
580
   * Written by David Flanagan.
 
581
   * Copyright (c) 1992-2001 by David Flanagan.
 
582
***************
 
583
*** 8,14 ****
 
584
   * This is open source software.  See the file LICENSE for details.
 
585
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
586
   *
 
587
!  * $Log$
 
588
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
589
!  * Initial checkin.
 
590
!  *
 
591
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
592
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
593
!  *                  kerberos compilation support
 
594
!  *
 
595
   *
 
596
   */
 
597
  
 
598
--- 8,19 ----
 
599
   * This is open source software.  See the file LICENSE for details.
 
600
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
601
   *
 
602
!  * $Log$
 
603
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
604
!  * Initial checkin.
 
605
!  *
 
606
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
607
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
608
!  *                  kerberos compilation support
 
609
!  *
 
610
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
611
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
612
!  *                  (http://sourceforge.net/projects/motiftools) with
 
613
!  *                  our xmt212 patches applied
 
614
!  *
 
615
   *
 
616
   */
 
617
  
 
618
*************** int type;
 
619
*** 235,241 ****
 
620
      XmString message, title;
 
621
      Arg args[10];
 
622
      int i;
 
623
-     Widget text_widget;
 
624
      static String default_string_title;
 
625
      static String default_int_title;
 
626
      static String default_double_title;
 
627
--- 240,245 ----
 
628
*************** int type;
 
629
*** 324,331 ****
 
630
      }
 
631
      
 
632
      /* set resources on the dialog box and the text widget within it. */
 
633
!     message = XmtCreateXmString(data.message);
 
634
!     title = XmtCreateXmString(data.title);
 
635
      i = 0;
 
636
      XtSetArg(args[i], XmNselectionLabelString, message); i++;
 
637
      XtSetArg(args[i], XmNdialogTitle, title); i++;
 
638
--- 328,335 ----
 
639
      }
 
640
      
 
641
      /* set resources on the dialog box and the text widget within it. */
 
642
!     message = XmtCreateLocalizedXmString(w, data.message);
 
643
!     title = XmtCreateLocalizedXmString(w, data.title);
 
644
      i = 0;
 
645
      XtSetArg(args[i], XmNselectionLabelString, message); i++;
 
646
      XtSetArg(args[i], XmNdialogTitle, title); i++;
 
647
diff -bpBN Xmt310/Xmt/AssertClass.c Xmt310.ge/Xmt/AssertClass.c
 
648
*** Xmt310/Xmt/AssertClass.c    Sun Feb  4 22:33:36 2001
 
649
--- Xmt310.ge/Xmt/AssertClass.c Tue Jun 12 18:11:32 2001
 
650
***************
 
651
*** 1,6 ****
 
652
  /* 
 
653
   * Motif Tools Library, Version 3.1
 
654
!  * $Id$
 
655
   * 
 
656
   * Written by David Flanagan.
 
657
   * Copyright (c) 1992-2001 by David Flanagan.
 
658
--- 1,6 ----
 
659
  /* 
 
660
   * Motif Tools Library, Version 3.1
 
661
!  * $Id$
 
662
   * 
 
663
   * Written by David Flanagan.
 
664
   * Copyright (c) 1992-2001 by David Flanagan.
 
665
***************
 
666
*** 8,14 ****
 
667
   * This is open source software.  See the file LICENSE for details.
 
668
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
669
   *
 
670
!  * $Log$
 
671
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
672
!  * Initial checkin.
 
673
!  *
 
674
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
675
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
676
!  *                  kerberos compilation support
 
677
!  *
 
678
   *
 
679
   */
 
680
  
 
681
--- 8,19 ----
 
682
   * This is open source software.  See the file LICENSE for details.
 
683
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
684
   *
 
685
!  * $Log$
 
686
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
687
!  * Initial checkin.
 
688
!  *
 
689
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
690
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
691
!  *                  kerberos compilation support
 
692
!  *
 
693
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
694
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
695
!  *                  (http://sourceforge.net/projects/motiftools) with
 
696
!  *                  our xmt212 patches applied
 
697
!  *
 
698
   *
 
699
   */
 
700
  
 
701
*************** WidgetClass c;
 
702
*** 35,42 ****
 
703
  String procname;
 
704
  #endif
 
705
  {
 
706
-     extern void abort();
 
707
-     
 
708
      if (!XtIsSubclass(w, c)) {
 
709
        XmtWarningMsg("XmtAssertWidgetClass", "typeMismatch",
 
710
                      "\n\tA widget of class %s was passed to procedure %s.\n\tA widget of class %s was expected.\n\tAborting.",
 
711
--- 40,45 ----
 
712
diff -bpBN Xmt310/Xmt/BSearch.c Xmt310.ge/Xmt/BSearch.c
 
713
*** Xmt310/Xmt/BSearch.c        Sun Feb  4 22:33:52 2001
 
714
--- Xmt310.ge/Xmt/BSearch.c     Tue Jun 12 18:11:32 2001
 
715
***************
 
716
*** 1,6 ****
 
717
  /* 
 
718
   * Motif Tools Library, Version 3.1
 
719
!  * $Id$
 
720
   * 
 
721
   * Written by David Flanagan.
 
722
   * Copyright (c) 1992-2001 by David Flanagan.
 
723
--- 1,6 ----
 
724
  /* 
 
725
   * Motif Tools Library, Version 3.1
 
726
!  * $Id$
 
727
   * 
 
728
   * Written by David Flanagan.
 
729
   * Copyright (c) 1992-2001 by David Flanagan.
 
730
***************
 
731
*** 8,14 ****
 
732
   * This is open source software.  See the file LICENSE for details.
 
733
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
734
   *
 
735
!  * $Log$
 
736
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
737
!  * Initial checkin.
 
738
!  *
 
739
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
740
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
741
!  *                  kerberos compilation support
 
742
!  *
 
743
   *
 
744
   */
 
745
  
 
746
--- 8,19 ----
 
747
   * This is open source software.  See the file LICENSE for details.
 
748
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
749
   *
 
750
!  * $Log$
 
751
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
752
!  * Initial checkin.
 
753
!  *
 
754
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
755
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
756
!  *                  kerberos compilation support
 
757
!  *
 
758
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
759
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
760
!  *                  (http://sourceforge.net/projects/motiftools) with
 
761
!  *                  our xmt212 patches applied
 
762
!  *
 
763
   *
 
764
   */
 
765
  
 
766
diff -bpBN Xmt310/Xmt/BitmapCvt.c Xmt310.ge/Xmt/BitmapCvt.c
 
767
*** Xmt310/Xmt/BitmapCvt.c      Sun Feb  4 22:34:04 2001
 
768
--- Xmt310.ge/Xmt/BitmapCvt.c   Tue Jun 12 18:11:32 2001
 
769
***************
 
770
*** 1,6 ****
 
771
  /* 
 
772
   * Motif Tools Library, Version 3.1
 
773
!  * $Id$
 
774
   * 
 
775
   * Written by David Flanagan.
 
776
   * Copyright (c) 1992-2001 by David Flanagan.
 
777
--- 1,6 ----
 
778
  /* 
 
779
   * Motif Tools Library, Version 3.1
 
780
!  * $Id$
 
781
   * 
 
782
   * Written by David Flanagan.
 
783
   * Copyright (c) 1992-2001 by David Flanagan.
 
784
***************
 
785
*** 8,14 ****
 
786
   * This is open source software.  See the file LICENSE for details.
 
787
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
788
   *
 
789
!  * $Log$
 
790
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
791
!  * Initial checkin.
 
792
!  *
 
793
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
794
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
795
!  *                  kerberos compilation support
 
796
!  *
 
797
   *
 
798
   */
 
799
  
 
800
--- 8,19 ----
 
801
   * This is open source software.  See the file LICENSE for details.
 
802
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
803
   *
 
804
!  * $Log$
 
805
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
806
!  * Initial checkin.
 
807
!  *
 
808
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
809
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
810
!  *                  kerberos compilation support
 
811
!  *
 
812
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
813
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
814
!  *                  (http://sourceforge.net/projects/motiftools) with
 
815
!  *                  our xmt212 patches applied
 
816
!  *
 
817
   *
 
818
   */
 
819
  
 
820
diff -bpBN Xmt310/Xmt/Block.c Xmt310.ge/Xmt/Block.c
 
821
*** Xmt310/Xmt/Block.c  Sun Feb  4 22:34:10 2001
 
822
--- Xmt310.ge/Xmt/Block.c       Tue Jun 12 18:11:32 2001
 
823
***************
 
824
*** 1,6 ****
 
825
  /* 
 
826
   * Motif Tools Library, Version 3.1
 
827
!  * $Id$
 
828
   * 
 
829
   * Written by David Flanagan.
 
830
   * Copyright (c) 1992-2001 by David Flanagan.
 
831
--- 1,6 ----
 
832
  /* 
 
833
   * Motif Tools Library, Version 3.1
 
834
!  * $Id$
 
835
   * 
 
836
   * Written by David Flanagan.
 
837
   * Copyright (c) 1992-2001 by David Flanagan.
 
838
***************
 
839
*** 8,14 ****
 
840
   * This is open source software.  See the file LICENSE for details.
 
841
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
842
   *
 
843
!  * $Log$
 
844
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
845
!  * Initial checkin.
 
846
!  *
 
847
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
848
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
849
!  *                  kerberos compilation support
 
850
!  *
 
851
   *
 
852
   */
 
853
  
 
854
--- 8,19 ----
 
855
   * This is open source software.  See the file LICENSE for details.
 
856
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
857
   *
 
858
!  * $Log$
 
859
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
860
!  * Initial checkin.
 
861
!  *
 
862
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
863
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
864
!  *                  kerberos compilation support
 
865
!  *
 
866
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
867
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
868
!  *                  (http://sourceforge.net/projects/motiftools) with
 
869
!  *                  our xmt212 patches applied
 
870
!  *
 
871
   *
 
872
   */
 
873
  
 
874
Common subdirectories: Xmt310/Xmt/CVS and Xmt310.ge/Xmt/CVS
 
875
diff -bpBN Xmt310/Xmt/CallbackCvt.c Xmt310.ge/Xmt/CallbackCvt.c
 
876
*** Xmt310/Xmt/CallbackCvt.c    Sun Feb  4 22:34:24 2001
 
877
--- Xmt310.ge/Xmt/CallbackCvt.c Tue Jun 12 18:11:32 2001
 
878
***************
 
879
*** 1,6 ****
 
880
  /* 
 
881
   * Motif Tools Library, Version 3.1
 
882
!  * $Id$
 
883
   * 
 
884
   * Written by David Flanagan.
 
885
   * Copyright (c) 1992-2001 by David Flanagan.
 
886
--- 1,6 ----
 
887
  /* 
 
888
   * Motif Tools Library, Version 3.1
 
889
!  * $Id$
 
890
   * 
 
891
   * Written by David Flanagan.
 
892
   * Copyright (c) 1992-2001 by David Flanagan.
 
893
***************
 
894
*** 8,14 ****
 
895
   * This is open source software.  See the file LICENSE for details.
 
896
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
897
   *
 
898
!  * $Log$
 
899
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
900
!  * Initial checkin.
 
901
!  *
 
902
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
903
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
904
!  *                  kerberos compilation support
 
905
!  *
 
906
   *
 
907
   */
 
908
  
 
909
--- 8,19 ----
 
910
   * This is open source software.  See the file LICENSE for details.
 
911
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
912
   *
 
913
!  * $Log$
 
914
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
915
!  * Initial checkin.
 
916
!  *
 
917
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
918
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
919
!  *                  kerberos compilation support
 
920
!  *
 
921
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
922
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
923
!  *                  (http://sourceforge.net/projects/motiftools) with
 
924
!  *                  our xmt212 patches applied
 
925
!  *
 
926
   *
 
927
   */
 
928
  
 
929
diff -bpBN Xmt310/Xmt/CheckFormat.c Xmt310.ge/Xmt/CheckFormat.c
 
930
*** Xmt310/Xmt/CheckFormat.c    Sun Feb  4 22:34:30 2001
 
931
--- Xmt310.ge/Xmt/CheckFormat.c Tue Jun 12 18:11:32 2001
 
932
***************
 
933
*** 1,6 ****
 
934
  /* 
 
935
   * Motif Tools Library, Version 3.1
 
936
!  * $Id$
 
937
   * 
 
938
   * Written by David Flanagan.
 
939
   * Copyright (c) 1992-2001 by David Flanagan.
 
940
--- 1,6 ----
 
941
  /* 
 
942
   * Motif Tools Library, Version 3.1
 
943
!  * $Id$
 
944
   * 
 
945
   * Written by David Flanagan.
 
946
   * Copyright (c) 1992-2001 by David Flanagan.
 
947
***************
 
948
*** 8,14 ****
 
949
   * This is open source software.  See the file LICENSE for details.
 
950
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
951
   *
 
952
!  * $Log$
 
953
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
954
!  * Initial checkin.
 
955
!  *
 
956
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
957
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
958
!  *                  kerberos compilation support
 
959
!  *
 
960
   *
 
961
   */
 
962
  
 
963
--- 8,19 ----
 
964
   * This is open source software.  See the file LICENSE for details.
 
965
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
966
   *
 
967
!  * $Log$
 
968
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
969
!  * Initial checkin.
 
970
!  *
 
971
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
972
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
973
!  *                  kerberos compilation support
 
974
!  *
 
975
!  * Revision 1.1  2001/06/12 15:00:21  andre
 
976
!  * AA-2001-06-12-0: replaced Xmt212 by Xmt310
 
977
!  *                  (http://sourceforge.net/projects/motiftools) with
 
978
!  *                  our xmt212 patches applied
 
979
!  *
 
980
   *
 
981
   */
 
982
  
 
983
diff -bpBN Xmt310/Xmt/Chooser.c Xmt310.ge/Xmt/Chooser.c
 
984
*** Xmt310/Xmt/Chooser.c        Sun Feb  4 22:34:50 2001
 
985
--- Xmt310.ge/Xmt/Chooser.c     Tue Jun 12 18:25:28 2001
 
986
***************
 
987
*** 1,6 ****
 
988
  /* 
 
989
   * Motif Tools Library, Version 3.1
 
990
!  * $Id$
 
991
   * 
 
992
   * Written by David Flanagan.
 
993
   * Copyright (c) 1992-2001 by David Flanagan.
 
994
--- 1,6 ----
 
995
  /* 
 
996
   * Motif Tools Library, Version 3.1
 
997
!  * $Id$
 
998
   * 
 
999
   * Written by David Flanagan.
 
1000
   * Copyright (c) 1992-2001 by David Flanagan.
 
1001
***************
 
1002
*** 8,14 ****
 
1003
   * This is open source software.  See the file LICENSE for details.
 
1004
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1005
   *
 
1006
!  * $Log$
 
1007
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1008
!  * Initial checkin.
 
1009
!  *
 
1010
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1011
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1012
!  *                  kerberos compilation support
 
1013
!  *
 
1014
   *
 
1015
   */
 
1016
  
 
1017
--- 8,17 ----
 
1018
   * This is open source software.  See the file LICENSE for details.
 
1019
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1020
   *
 
1021
!  * $Log$
 
1022
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1023
!  * Initial checkin.
 
1024
!  *
 
1025
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1026
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1027
!  *                  kerberos compilation support
 
1028
!  *
 
1029
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1030
!  * *** empty log message ***
 
1031
!  *
 
1032
   *
 
1033
   */
 
1034
  
 
1035
*************** XmtChooserWidget cw;     
 
1036
*** 507,513 ****
 
1037
  #endif
 
1038
  {
 
1039
      char *values;
 
1040
!     int size = cw->chooser.num_items * cw->chooser.value_size;
 
1041
      
 
1042
      /* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
 
1043
      cw->chooser.value_strings = NULL;
 
1044
--- 510,516 ----
 
1045
  #endif
 
1046
  {
 
1047
      char *values;
 
1048
!     size_t size = cw->chooser.num_items * cw->chooser.value_size;
 
1049
      
 
1050
      /* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
 
1051
      cw->chooser.value_strings = NULL;
 
1052
*************** static void ClassInitialize()
 
1053
*** 584,590 ****
 
1054
  #endif
 
1055
        "Option", "RadioBox", "RadioList", "RadioPalette"
 
1056
      };
 
1057
!     static int values[] = {
 
1058
        XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
 
1059
        XmtChooserCheckPalette,
 
1060
  #if XmVersion >= 2000
 
1061
--- 587,593 ----
 
1062
  #endif
 
1063
        "Option", "RadioBox", "RadioList", "RadioPalette"
 
1064
      };
 
1065
!     static Cardinal values[] = {
 
1066
        XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
 
1067
        XmtChooserCheckPalette,
 
1068
  #if XmVersion >= 2000
 
1069
*************** Cardinal *num_args;
 
1070
*** 815,821 ****
 
1071
        item_labels = (XmString *)
 
1072
            XtMalloc(nw->chooser.num_items*sizeof(XmString));
 
1073
        for(i = 0; i < nw->chooser.num_items; i++)
 
1074
!           item_labels[i] = XmtCreateXmString(nw->chooser.strings[i]);
 
1075
      }
 
1076
      
 
1077
      /*
 
1078
--- 818,824 ----
 
1079
        item_labels = (XmString *)
 
1080
            XtMalloc(nw->chooser.num_items*sizeof(XmString));
 
1081
        for(i = 0; i < nw->chooser.num_items; i++)
 
1082
!           item_labels[i] = XmtCreateLocalizedXmString((Widget) nw, nw->chooser.strings[i]);
 
1083
      }
 
1084
      
 
1085
      /*
 
1086
diff -bpBN Xmt310/Xmt/Chooser.h Xmt310.ge/Xmt/Chooser.h
 
1087
*** Xmt310/Xmt/Chooser.h        Sun Feb  4 22:34:56 2001
 
1088
--- Xmt310.ge/Xmt/Chooser.h     Tue Jun 12 18:25:28 2001
 
1089
***************
 
1090
*** 1,6 ****
 
1091
  /* 
 
1092
   * Motif Tools Library, Version 3.1
 
1093
!  * $Id$
 
1094
   * 
 
1095
   * Written by David Flanagan.
 
1096
   * Copyright (c) 1992-2001 by David Flanagan.
 
1097
--- 1,6 ----
 
1098
  /* 
 
1099
   * Motif Tools Library, Version 3.1
 
1100
!  * $Id$
 
1101
   * 
 
1102
   * Written by David Flanagan.
 
1103
   * Copyright (c) 1992-2001 by David Flanagan.
 
1104
***************
 
1105
*** 8,14 ****
 
1106
   * This is open source software.  See the file LICENSE for details.
 
1107
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1108
   *
 
1109
!  * $Log$
 
1110
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1111
!  * Initial checkin.
 
1112
!  *
 
1113
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1114
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1115
!  *                  kerberos compilation support
 
1116
!  *
 
1117
   *
 
1118
   */
 
1119
  
 
1120
--- 8,17 ----
 
1121
   * This is open source software.  See the file LICENSE for details.
 
1122
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1123
   *
 
1124
!  * $Log$
 
1125
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1126
!  * Initial checkin.
 
1127
!  *
 
1128
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1129
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1130
!  *                  kerberos compilation support
 
1131
!  *
 
1132
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1133
!  * *** empty log message ***
 
1134
!  *
 
1135
   *
 
1136
   */
 
1137
  
 
1138
*************** typedef enum {
 
1139
*** 33,39 ****
 
1140
  
 
1141
  typedef struct {
 
1142
      int state;        /* selected item or OR of items */
 
1143
!     int item;         /* whichever item just was clicked */
 
1144
      XtPointer valuep; /* address of value from XmtNvalues array */
 
1145
  } XmtChooserCallbackStruct;
 
1146
  
 
1147
--- 36,42 ----
 
1148
  
 
1149
  typedef struct {
 
1150
      int state;        /* selected item or OR of items */
 
1151
!     Cardinal item;         /* whichever item just was clicked */
 
1152
      XtPointer valuep; /* address of value from XmtNvalues array */
 
1153
  } XmtChooserCallbackStruct;
 
1154
  
 
1155
diff -bpBN Xmt310/Xmt/ChooserP.h Xmt310.ge/Xmt/ChooserP.h
 
1156
*** Xmt310/Xmt/ChooserP.h       Sun Feb  4 22:35:02 2001
 
1157
--- Xmt310.ge/Xmt/ChooserP.h    Tue Jun 12 18:25:28 2001
 
1158
***************
 
1159
*** 1,6 ****
 
1160
  /* 
 
1161
   * Motif Tools Library, Version 3.1
 
1162
!  * $Id$
 
1163
   * 
 
1164
   * Written by David Flanagan.
 
1165
   * Copyright (c) 1992-2001 by David Flanagan.
 
1166
--- 1,6 ----
 
1167
  /* 
 
1168
   * Motif Tools Library, Version 3.1
 
1169
!  * $Id$
 
1170
   * 
 
1171
   * Written by David Flanagan.
 
1172
   * Copyright (c) 1992-2001 by David Flanagan.
 
1173
***************
 
1174
*** 8,14 ****
 
1175
   * This is open source software.  See the file LICENSE for details.
 
1176
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1177
   *
 
1178
!  * $Log$
 
1179
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1180
!  * Initial checkin.
 
1181
!  *
 
1182
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1183
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1184
!  *                  kerberos compilation support
 
1185
!  *
 
1186
   *
 
1187
   */
 
1188
  
 
1189
--- 8,17 ----
 
1190
   * This is open source software.  See the file LICENSE for details.
 
1191
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1192
   *
 
1193
!  * $Log$
 
1194
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1195
!  * Initial checkin.
 
1196
!  *
 
1197
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1198
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1199
!  *                  kerberos compilation support
 
1200
!  *
 
1201
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1202
!  * *** empty log message ***
 
1203
!  *
 
1204
   *
 
1205
   */
 
1206
  
 
1207
*************** externalref XmtChooserClassRec xmtChoose
 
1208
*** 39,45 ****
 
1209
  typedef struct _XmtChooserPart {
 
1210
      /* resources */
 
1211
      XmtChooserType type;
 
1212
!     int num_items;
 
1213
      String *strings;
 
1214
      Pixmap *pixmaps;
 
1215
      Pixmap *select_pixmaps;
 
1216
--- 42,48 ----
 
1217
  typedef struct _XmtChooserPart {
 
1218
      /* resources */
 
1219
      XmtChooserType type;
 
1220
!     Cardinal num_items;
 
1221
      String *strings;
 
1222
      Pixmap *pixmaps;
 
1223
      Pixmap *select_pixmaps;
 
1224
*************** typedef struct _XmtChooserPart {
 
1225
*** 47,58 ****
 
1226
      XtPointer values;
 
1227
      String *value_strings;
 
1228
      String value_type;
 
1229
!     int value_size;
 
1230
      XmFontList font_list;
 
1231
  #if XmVersion >= 2000
 
1232
      XmRenderTable render_table;
 
1233
  #endif
 
1234
!     int visible_items;
 
1235
      int state;
 
1236
      String symbol_name;
 
1237
      unsigned char label_type;
 
1238
--- 50,61 ----
 
1239
      XtPointer values;
 
1240
      String *value_strings;
 
1241
      String value_type;
 
1242
!     Cardinal value_size;
 
1243
      XmFontList font_list;
 
1244
  #if XmVersion >= 2000
 
1245
      XmRenderTable render_table;
 
1246
  #endif
 
1247
!     Cardinal visible_items;
 
1248
      int state;
 
1249
      String symbol_name;
 
1250
      unsigned char label_type;
 
1251
diff -bpBN Xmt310/Xmt/ChooserS.c Xmt310.ge/Xmt/ChooserS.c
 
1252
*** Xmt310/Xmt/ChooserS.c       Sun Feb  4 22:35:10 2001
 
1253
--- Xmt310.ge/Xmt/ChooserS.c    Tue Jun 12 18:25:28 2001
 
1254
***************
 
1255
*** 1,6 ****
 
1256
  /* 
 
1257
   * Motif Tools Library, Version 3.1
 
1258
!  * $Id$
 
1259
   * 
 
1260
   * Written by David Flanagan.
 
1261
   * Copyright (c) 1992-2001 by David Flanagan.
 
1262
--- 1,6 ----
 
1263
  /* 
 
1264
   * Motif Tools Library, Version 3.1
 
1265
!  * $Id$
 
1266
   * 
 
1267
   * Written by David Flanagan.
 
1268
   * Copyright (c) 1992-2001 by David Flanagan.
 
1269
***************
 
1270
*** 8,14 ****
 
1271
   * This is open source software.  See the file LICENSE for details.
 
1272
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1273
   *
 
1274
!  * $Log$
 
1275
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1276
!  * Initial checkin.
 
1277
!  *
 
1278
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1279
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1280
!  *                  kerberos compilation support
 
1281
!  *
 
1282
   *
 
1283
   */
 
1284
  #include <X11/Intrinsic.h>
 
1285
--- 8,17 ----
 
1286
   * This is open source software.  See the file LICENSE for details.
 
1287
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1288
   *
 
1289
!  * $Log$
 
1290
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1291
!  * Initial checkin.
 
1292
!  *
 
1293
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1294
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1295
!  *                  kerberos compilation support
 
1296
!  *
 
1297
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1298
!  * *** empty log message ***
 
1299
!  *
 
1300
   *
 
1301
   */
 
1302
  #include <X11/Intrinsic.h>
 
1303
diff -bpBN Xmt310/Xmt/Cli.c Xmt310.ge/Xmt/Cli.c
 
1304
*** Xmt310/Xmt/Cli.c    Sun Feb  4 22:35:22 2001
 
1305
--- Xmt310.ge/Xmt/Cli.c Tue Jun 12 18:25:28 2001
 
1306
***************
 
1307
*** 1,6 ****
 
1308
  /* 
 
1309
   * Motif Tools Library, Version 3.1
 
1310
!  * $Id$
 
1311
   * 
 
1312
   * Written by David Flanagan.
 
1313
   * Copyright (c) 1992-2001 by David Flanagan.
 
1314
--- 1,6 ----
 
1315
  /* 
 
1316
   * Motif Tools Library, Version 3.1
 
1317
!  * $Id$
 
1318
   * 
 
1319
   * Written by David Flanagan.
 
1320
   * Copyright (c) 1992-2001 by David Flanagan.
 
1321
***************
 
1322
*** 8,14 ****
 
1323
   * This is open source software.  See the file LICENSE for details.
 
1324
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1325
   *
 
1326
!  * $Log$
 
1327
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1328
!  * Initial checkin.
 
1329
!  *
 
1330
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1331
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1332
!  *                  kerberos compilation support
 
1333
!  *
 
1334
   *
 
1335
   */
 
1336
   
 
1337
--- 8,17 ----
 
1338
   * This is open source software.  See the file LICENSE for details.
 
1339
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1340
   *
 
1341
!  * $Log$
 
1342
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1343
!  * Initial checkin.
 
1344
!  *
 
1345
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1346
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1347
!  *                  kerberos compilation support
 
1348
!  *
 
1349
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1350
!  * *** empty log message ***
 
1351
!  *
 
1352
   *
 
1353
   */
 
1354
   
 
1355
diff -bpBN Xmt310/Xmt/Cli.h Xmt310.ge/Xmt/Cli.h
 
1356
*** Xmt310/Xmt/Cli.h    Sun Feb  4 22:35:32 2001
 
1357
--- Xmt310.ge/Xmt/Cli.h Tue Jun 12 18:25:28 2001
 
1358
***************
 
1359
*** 1,6 ****
 
1360
  /* 
 
1361
   * Motif Tools Library, Version 3.1
 
1362
!  * $Id$
 
1363
   * 
 
1364
   * Written by David Flanagan.
 
1365
   * Copyright (c) 1992-2001 by David Flanagan.
 
1366
--- 1,6 ----
 
1367
  /* 
 
1368
   * Motif Tools Library, Version 3.1
 
1369
!  * $Id$
 
1370
   * 
 
1371
   * Written by David Flanagan.
 
1372
   * Copyright (c) 1992-2001 by David Flanagan.
 
1373
***************
 
1374
*** 8,14 ****
 
1375
   * This is open source software.  See the file LICENSE for details.
 
1376
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1377
   *
 
1378
!  * $Log$
 
1379
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1380
!  * Initial checkin.
 
1381
!  *
 
1382
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1383
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1384
!  *                  kerberos compilation support
 
1385
!  *
 
1386
   *
 
1387
   */
 
1388
  
 
1389
--- 8,17 ----
 
1390
   * This is open source software.  See the file LICENSE for details.
 
1391
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1392
   *
 
1393
!  * $Log$
 
1394
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1395
!  * Initial checkin.
 
1396
!  *
 
1397
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1398
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1399
!  *                  kerberos compilation support
 
1400
!  *
 
1401
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1402
!  * *** empty log message ***
 
1403
!  *
 
1404
   *
 
1405
   */
 
1406
  
 
1407
diff -bpBN Xmt310/Xmt/CliP.h Xmt310.ge/Xmt/CliP.h
 
1408
*** Xmt310/Xmt/CliP.h   Sun Feb  4 22:35:38 2001
 
1409
--- Xmt310.ge/Xmt/CliP.h        Tue Jun 12 18:25:28 2001
 
1410
***************
 
1411
*** 1,6 ****
 
1412
  /* 
 
1413
   * Motif Tools Library, Version 3.1
 
1414
!  * $Id$
 
1415
   * 
 
1416
   * Written by David Flanagan.
 
1417
   * Copyright (c) 1992-2001 by David Flanagan.
 
1418
--- 1,6 ----
 
1419
  /* 
 
1420
   * Motif Tools Library, Version 3.1
 
1421
!  * $Id$
 
1422
   * 
 
1423
   * Written by David Flanagan.
 
1424
   * Copyright (c) 1992-2001 by David Flanagan.
 
1425
***************
 
1426
*** 8,14 ****
 
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
  
 
1441
--- 8,17 ----
 
1442
   * This is open source software.  See the file LICENSE for details.
 
1443
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1444
   *
 
1445
!  * $Log$
 
1446
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1447
!  * Initial checkin.
 
1448
!  *
 
1449
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1450
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1451
!  *                  kerberos compilation support
 
1452
!  *
 
1453
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1454
!  * *** empty log message ***
 
1455
!  *
 
1456
   *
 
1457
   */
 
1458
  
 
1459
diff -bpBN Xmt310/Xmt/CliS.c Xmt310.ge/Xmt/CliS.c
 
1460
*** Xmt310/Xmt/CliS.c   Sun Feb  4 22:35:42 2001
 
1461
--- Xmt310.ge/Xmt/CliS.c        Tue Jun 12 18:25:28 2001
 
1462
***************
 
1463
*** 1,6 ****
 
1464
  /* 
 
1465
   * Motif Tools Library, Version 3.1
 
1466
!  * $Id$
 
1467
   * 
 
1468
   * Written by David Flanagan.
 
1469
   * Copyright (c) 1992-2001 by David Flanagan.
 
1470
--- 1,6 ----
 
1471
  /* 
 
1472
   * Motif Tools Library, Version 3.1
 
1473
!  * $Id$
 
1474
   * 
 
1475
   * Written by David Flanagan.
 
1476
   * Copyright (c) 1992-2001 by David Flanagan.
 
1477
***************
 
1478
*** 8,14 ****
 
1479
   * This is open source software.  See the file LICENSE for details.
 
1480
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1481
   *
 
1482
!  * $Log$
 
1483
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1484
!  * Initial checkin.
 
1485
!  *
 
1486
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1487
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1488
!  *                  kerberos compilation support
 
1489
!  *
 
1490
   *
 
1491
   */
 
1492
  #include <X11/Intrinsic.h>
 
1493
--- 8,17 ----
 
1494
   * This is open source software.  See the file LICENSE for details.
 
1495
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1496
   *
 
1497
!  * $Log$
 
1498
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1499
!  * Initial checkin.
 
1500
!  *
 
1501
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1502
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1503
!  *                  kerberos compilation support
 
1504
!  *
 
1505
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1506
!  * *** empty log message ***
 
1507
!  *
 
1508
   *
 
1509
   */
 
1510
  #include <X11/Intrinsic.h>
 
1511
diff -bpBN Xmt310/Xmt/Color.c Xmt310.ge/Xmt/Color.c
 
1512
*** Xmt310/Xmt/Color.c  Sun Feb  4 22:35:58 2001
 
1513
--- Xmt310.ge/Xmt/Color.c       Tue Jun 12 18:25:28 2001
 
1514
***************
 
1515
*** 1,6 ****
 
1516
  /* 
 
1517
   * Motif Tools Library, Version 3.1
 
1518
!  * $Id$
 
1519
   * 
 
1520
   * Written by David Flanagan.
 
1521
   * Copyright (c) 1992-2001 by David Flanagan.
 
1522
--- 1,6 ----
 
1523
  /* 
 
1524
   * Motif Tools Library, Version 3.1
 
1525
!  * $Id$
 
1526
   * 
 
1527
   * Written by David Flanagan.
 
1528
   * Copyright (c) 1992-2001 by David Flanagan.
 
1529
***************
 
1530
*** 8,14 ****
 
1531
   * This is open source software.  See the file LICENSE for details.
 
1532
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1533
   *
 
1534
!  * $Log$
 
1535
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1536
!  * Initial checkin.
 
1537
!  *
 
1538
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1539
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1540
!  *                  kerberos compilation support
 
1541
!  *
 
1542
   *
 
1543
   */
 
1544
  
 
1545
--- 8,17 ----
 
1546
   * This is open source software.  See the file LICENSE for details.
 
1547
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1548
   *
 
1549
!  * $Log$
 
1550
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1551
!  * Initial checkin.
 
1552
!  *
 
1553
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1554
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1555
!  *                  kerberos compilation support
 
1556
!  *
 
1557
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1558
!  * *** empty log message ***
 
1559
!  *
 
1560
   *
 
1561
   */
 
1562
  
 
1563
*************** extern long int strtol();
 
1564
*** 25,30 ****
 
1565
--- 28,40 ----
 
1566
  #endif
 
1567
  
 
1568
  /*
 
1569
+ ** undefine if you don't want the full colormap fix
 
1570
+ ** contributed by Glenn Carr 
 
1571
+ */
 
1572
+ #define CLOSEST_COLOR
 
1573
 
1574
 
1575
+ /*
 
1576
   * HSL color syntax: H / S / L, where H, S, and L are integers
 
1577
   * with an optional leading '+' or '-'.  Whitespace is okay.
 
1578
   */
 
1579
*************** Boolean is_foreground;
 
1580
*** 93,98 ****
 
1581
--- 103,236 ----
 
1582
      return True;
 
1583
  }
 
1584
  
 
1585
+ #ifdef CLOSEST_COLOR
 
1586
 
1587
+ /* Legal Garbage:  I borrowed the basis of this code from the...
 
1588
+  *
 
1589
+  * The Tk Toolkit
 
1590
+  * by John Ousterhout (and many others at Sun Microsystems and elsewhere)
 
1591
+  * john.ousterhout@eng.sun.com
 
1592
+  *
 
1593
+  * This software is copyrighted by the Regents of the University of
 
1594
+  * California, Sun Microsystems, Inc., and other parties.  The following
 
1595
+  * terms apply to all files associated with the software unless explicitly
 
1596
+  * disclaimed in individual files.
 
1597
+  * 
 
1598
+  * The authors hereby grant permission to use, copy, modify, distribute,
 
1599
+  * and license this software and its documentation for any purpose, provided
 
1600
+  * that existing copyright notices are retained in all copies and that this
 
1601
+  * notice is included verbatim in any distributions. No written agreement,
 
1602
+  * license, or royalty fee is required for any of the authorized uses.
 
1603
+  * Modifications to this software may be copyrighted by their authors
 
1604
+  * and need not follow the licensing terms described here, provided that
 
1605
+  * the new terms are clearly indicated on the first page of each file where
 
1606
+  * they apply.
 
1607
+  * 
 
1608
+  * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
 
1609
+  * FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
 
1610
+  * ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
 
1611
+  * DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
 
1612
+  * POSSIBILITY OF SUCH DAMAGE.
 
1613
+  * 
 
1614
+  * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
 
1615
+  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
 
1616
+  * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
 
1617
+  * IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
 
1618
+  * NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
 
1619
+  * MODIFICATIONS.
 
1620
+  * 
 
1621
+  * RESTRICTED RIGHTS: Use, duplication or disclosure by the government
 
1622
+  * is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
 
1623
+  * of the Rights in Technical Data and Computer Software Clause as DFARS
 
1624
+  * 252.227-7013 and FAR 52.227-19.
 
1625
+  */
 
1626
 
1627
+ #if NeedFunctionPrototypes
 
1628
+ static void
 
1629
+ FindClosestColor(Screen * screen,
 
1630
+                  Colormap colormap,
 
1631
+                  XColor * pxcolorDesired,
 
1632
+                  XColor * pxcolorActual)
 
1633
+ #else
 
1634
+ static void
 
1635
+ FindClosestColor(screen, colormap, pxcolorDesired, pxcolorActual)
 
1636
+ Screen * screen;
 
1637
+ Colormap colormap;
 
1638
+ XColor * pxcolorDesired;
 
1639
+ XColor * pxcolorActual;
 
1640
+ #endif
 
1641
+ {
 
1642
+     float           closestDistance, distance, tmp;
 
1643
+     Display        *dpy = DisplayOfScreen(screen);
 
1644
+     XtAppContext    appContext = XtDisplayToApplicationContext(dpy);
 
1645
+     Visual         *pvisual = XDefaultVisualOfScreen(screen);
 
1646
+     static XColor  *pxcolors;
 
1647
+     int             i, closest;
 
1648
+     int             nColors = pvisual->map_entries;
 
1649
 
1650
+     /*
 
1651
+      * Get all the colors from the colormap.  These should all be
 
1652
+      * allocated, otherwise we wouldn't be here.
 
1653
+      */
 
1654
+     if (NULL == pxcolors) {
 
1655
+         pxcolors = calloc(nColors, sizeof(*pxcolors));
 
1656
+         for (i = 0; i < nColors; i++)
 
1657
+             pxcolors[i].pixel = i;
 
1658
+     }
 
1659
+     XQueryColors(dpy, colormap, pxcolors, pvisual->map_entries);
 
1660
 
1661
+     while (nColors > 0) {
 
1662
+         closestDistance = 1e30;
 
1663
+         closest = 0;
 
1664
+         for (i = 0; i < nColors; i++) {
 
1665
+             /*
 
1666
+              * Use Euclidean distance in RGB space, weighted by Y (of YIQ)
 
1667
+              * as the objective function;  this accounts for differences
 
1668
+              * in the color sensitivity of the eye.
 
1669
+              */
 
1670
+             tmp = .30 * (((int) pxcolorDesired->red) - (int) pxcolors[i].red);
 
1671
+             distance = tmp * tmp;
 
1672
+             tmp = .61 * (((int) pxcolorDesired->green) - (int) pxcolors[i].green);
 
1673
+             distance += tmp * tmp;
 
1674
+             tmp = .11 * (((int) pxcolorDesired->blue) - (int) pxcolors[i].blue);
 
1675
+             distance += tmp * tmp;
 
1676
+             if (distance < closestDistance) {
 
1677
+                 closest = i;
 
1678
+                 closestDistance = distance;
 
1679
+             }
 
1680
+         }
 
1681
+         if (XAllocColor(dpy, colormap, &pxcolors[closest])) {
 
1682
+             *pxcolorActual = pxcolors[closest];
 
1683
+             return;
 
1684
+         }
 
1685
+         pxcolors[closest] = pxcolors[nColors - 1];
 
1686
+         nColors -= 1;
 
1687
+     }
 
1688
 
1689
+     /*
 
1690
+      * Should never get here, but just in case...
 
1691
+      */
 
1692
+     {
 
1693
+         char            szColor[64];
 
1694
+         Cardinal        num_params = 1;
 
1695
+         String          params[1]; 
 
1696
 
1697
+         params[0] = szColor;
 
1698
 
1699
+         sprintf(szColor, "#%04x%04x%04x",
 
1700
+                 pxcolorDesired->red,
 
1701
+                 pxcolorDesired->green,
 
1702
+                 pxcolorDesired->blue);
 
1703
 
1704
+         XtAppWarningMsg(appContext, "badValue", "cvtStringToPixel",
 
1705
+                         "FindClosestColor",
 
1706
+                         "Can't find approximation for color \"%s\"",
 
1707
+                         params, &num_params);
 
1708
+     }
 
1709
 
1710
+ }                               /* FindClosestColor */
 
1711
 
1712
+ #endif
 
1713
  /*
 
1714
   * This function allocates the named color, using the specified
 
1715
   * colormap, visual, and color table.  The widget argument is
 
1716
*************** Pixel *pixel_return;
 
1717
*** 127,132 ****
 
1718
--- 265,275 ----
 
1719
      Boolean is_foreground = (name[0] == '+');
 
1720
      XColor c1, c2;
 
1721
  
 
1722
+ #ifdef CLOSEST_COLOR
 
1723
+     Screen* screen = XtScreen(w);
 
1724
+ #endif
 
1725
 
1726
 
1727
      /* get default values for unspecified values */
 
1728
      while(!XtIsWidget(w)) w = XtParent(w);
 
1729
      if (cmap == None) cmap = w->core.colormap;
 
1730
*************** Pixel *pixel_return;
 
1731
*** 165,178 ****
 
1732
--- 308,331 ----
 
1733
       */
 
1734
      if (name[0] == '#') {
 
1735
        if (XParseColor(dpy, cmap, name, &c1) == 0) return 1;
 
1736
+ #ifdef CLOSEST_COLOR
 
1737
+         if (XAllocColor(dpy, cmap, &c1) == 0)
 
1738
+             FindClosestColor(screen, cmap, &c1, &c1);
 
1739
+ #else
 
1740
          if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
 
1741
+ #endif
 
1742
        *pixel_return = c1.pixel;
 
1743
        return 0;
 
1744
      }
 
1745
      else if (name[0] == '%') {
 
1746
        if (ParseHSLColor(&name[1], &c1, appres, is_foreground) == False)
 
1747
            return 1;
 
1748
+ #ifdef CLOSEST_COLOR
 
1749
+         if (XAllocColor(dpy, cmap, &c1) == 0)
 
1750
+             FindClosestColor(screen, cmap, &c1, &c1);
 
1751
+ #else
 
1752
          if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
 
1753
+ #endif
 
1754
        *pixel_return = c1.pixel;
 
1755
        return 0;
 
1756
      }
 
1757
*************** Pixel *pixel_return;
 
1758
*** 205,211 ****
 
1759
--- 358,372 ----
 
1760
            return 0;
 
1761
        }
 
1762
        else {
 
1763
+ #ifdef CLOSEST_COLOR
 
1764
+             if (XLookupColor(dpy, cmap, name, &c1, &c2)) {
 
1765
+                 FindClosestColor(screen, cmap, &c2, &c2);
 
1766
+                 *pixel_return = c2.pixel;
 
1767
+                 return 0;
 
1768
+             }
 
1769
+ #else
 
1770
              if (XLookupColor(dpy, cmap, name, &c1, &c2)) return 2;
 
1771
+ #endif
 
1772
            else return 1;
 
1773
        }
 
1774
      }
 
1775
diff -bpBN Xmt310/Xmt/Color.h Xmt310.ge/Xmt/Color.h
 
1776
*** Xmt310/Xmt/Color.h  Sun Feb  4 22:36:12 2001
 
1777
--- Xmt310.ge/Xmt/Color.h       Tue Jun 12 18:25:28 2001
 
1778
***************
 
1779
*** 1,6 ****
 
1780
  /* 
 
1781
   * Motif Tools Library, Version 3.1
 
1782
!  * $Id$
 
1783
   * 
 
1784
   * Written by David Flanagan.
 
1785
   * Copyright (c) 1992-2001 by David Flanagan.
 
1786
--- 1,6 ----
 
1787
  /* 
 
1788
   * Motif Tools Library, Version 3.1
 
1789
!  * $Id$
 
1790
   * 
 
1791
   * Written by David Flanagan.
 
1792
   * Copyright (c) 1992-2001 by David Flanagan.
 
1793
***************
 
1794
*** 8,14 ****
 
1795
   * This is open source software.  See the file LICENSE for details.
 
1796
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1797
   *
 
1798
!  * $Log$
 
1799
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1800
!  * Initial checkin.
 
1801
!  *
 
1802
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1803
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1804
!  *                  kerberos compilation support
 
1805
!  *
 
1806
   *
 
1807
   */
 
1808
  
 
1809
--- 8,17 ----
 
1810
   * This is open source software.  See the file LICENSE for details.
 
1811
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1812
   *
 
1813
!  * $Log$
 
1814
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1815
!  * Initial checkin.
 
1816
!  *
 
1817
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1818
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1819
!  *                  kerberos compilation support
 
1820
!  *
 
1821
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1822
!  * *** empty log message ***
 
1823
!  *
 
1824
   *
 
1825
   */
 
1826
  
 
1827
diff -bpBN Xmt310/Xmt/ColorTable.c Xmt310.ge/Xmt/ColorTable.c
 
1828
*** Xmt310/Xmt/ColorTable.c     Sun Feb  4 22:36:20 2001
 
1829
--- Xmt310.ge/Xmt/ColorTable.c  Tue Jun 12 18:25:28 2001
 
1830
***************
 
1831
*** 1,6 ****
 
1832
  /* 
 
1833
   * Motif Tools Library, Version 3.1
 
1834
!  * $Id$
 
1835
   * 
 
1836
   * Written by David Flanagan.
 
1837
   * Copyright (c) 1992-2001 by David Flanagan.
 
1838
--- 1,6 ----
 
1839
  /* 
 
1840
   * Motif Tools Library, Version 3.1
 
1841
!  * $Id$
 
1842
   * 
 
1843
   * Written by David Flanagan.
 
1844
   * Copyright (c) 1992-2001 by David Flanagan.
 
1845
***************
 
1846
*** 8,14 ****
 
1847
   * This is open source software.  See the file LICENSE for details.
 
1848
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1849
   *
 
1850
!  * $Log$
 
1851
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1852
!  * Initial checkin.
 
1853
!  *
 
1854
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1855
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1856
!  *                  kerberos compilation support
 
1857
!  *
 
1858
   *
 
1859
   */
 
1860
  
 
1861
--- 8,17 ----
 
1862
   * This is open source software.  See the file LICENSE for details.
 
1863
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1864
   *
 
1865
!  * $Log$
 
1866
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1867
!  * Initial checkin.
 
1868
!  *
 
1869
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1870
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1871
!  *                  kerberos compilation support
 
1872
!  *
 
1873
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1874
!  * *** empty log message ***
 
1875
!  *
 
1876
   *
 
1877
   */
 
1878
  
 
1879
diff -bpBN Xmt310/Xmt/ColorTblCvt.c Xmt310.ge/Xmt/ColorTblCvt.c
 
1880
*** Xmt310/Xmt/ColorTblCvt.c    Sun Feb  4 22:36:24 2001
 
1881
--- Xmt310.ge/Xmt/ColorTblCvt.c Tue Jun 12 18:25:28 2001
 
1882
***************
 
1883
*** 1,6 ****
 
1884
  /* 
 
1885
   * Motif Tools Library, Version 3.1
 
1886
!  * $Id$
 
1887
   * 
 
1888
   * Written by David Flanagan.
 
1889
   * Copyright (c) 1992-2001 by David Flanagan.
 
1890
--- 1,6 ----
 
1891
  /* 
 
1892
   * Motif Tools Library, Version 3.1
 
1893
!  * $Id$
 
1894
   * 
 
1895
   * Written by David Flanagan.
 
1896
   * Copyright (c) 1992-2001 by David Flanagan.
 
1897
***************
 
1898
*** 8,14 ****
 
1899
   * This is open source software.  See the file LICENSE for details.
 
1900
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1901
   *
 
1902
!  * $Log$
 
1903
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1904
!  * Initial checkin.
 
1905
!  *
 
1906
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1907
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1908
!  *                  kerberos compilation support
 
1909
!  *
 
1910
   *
 
1911
   */
 
1912
  
 
1913
--- 8,17 ----
 
1914
   * This is open source software.  See the file LICENSE for details.
 
1915
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1916
   *
 
1917
!  * $Log$
 
1918
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1919
!  * Initial checkin.
 
1920
!  *
 
1921
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1922
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1923
!  *                  kerberos compilation support
 
1924
!  *
 
1925
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1926
!  * *** empty log message ***
 
1927
!  *
 
1928
   *
 
1929
   */
 
1930
  
 
1931
diff -bpBN Xmt310/Xmt/ContextHelp.c Xmt310.ge/Xmt/ContextHelp.c
 
1932
*** Xmt310/Xmt/ContextHelp.c    Sun Feb  4 22:36:30 2001
 
1933
--- Xmt310.ge/Xmt/ContextHelp.c Tue Jun 12 18:25:28 2001
 
1934
***************
 
1935
*** 1,6 ****
 
1936
  /* 
 
1937
   * Motif Tools Library, Version 3.1
 
1938
!  * $Id$
 
1939
   * 
 
1940
   * Written by David Flanagan.
 
1941
   * Copyright (c) 1992-2001 by David Flanagan.
 
1942
--- 1,6 ----
 
1943
  /* 
 
1944
   * Motif Tools Library, Version 3.1
 
1945
!  * $Id$
 
1946
   * 
 
1947
   * Written by David Flanagan.
 
1948
   * Copyright (c) 1992-2001 by David Flanagan.
 
1949
***************
 
1950
*** 8,14 ****
 
1951
   * This is open source software.  See the file LICENSE for details.
 
1952
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1953
   *
 
1954
!  * $Log$
 
1955
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1956
!  * Initial checkin.
 
1957
!  *
 
1958
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1959
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1960
!  *                  kerberos compilation support
 
1961
!  *
 
1962
   *
 
1963
   */
 
1964
  
 
1965
--- 8,17 ----
 
1966
   * This is open source software.  See the file LICENSE for details.
 
1967
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
1968
   *
 
1969
!  * $Log$
 
1970
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
1971
!  * Initial checkin.
 
1972
!  *
 
1973
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
1974
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
1975
!  *                  kerberos compilation support
 
1976
!  *
 
1977
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
1978
!  * *** empty log message ***
 
1979
!  *
 
1980
   *
 
1981
   */
 
1982
  
 
1983
diff -bpBN Xmt310/Xmt/ConvertData.c Xmt310.ge/Xmt/ConvertData.c
 
1984
*** Xmt310/Xmt/ConvertData.c    Sun Feb  4 22:36:34 2001
 
1985
--- Xmt310.ge/Xmt/ConvertData.c Tue Jun 12 18:25:28 2001
 
1986
***************
 
1987
*** 1,6 ****
 
1988
  /* 
 
1989
   * Motif Tools Library, Version 3.1
 
1990
!  * $Id$
 
1991
   * 
 
1992
   * Written by David Flanagan.
 
1993
   * Copyright (c) 1992-2001 by David Flanagan.
 
1994
--- 1,6 ----
 
1995
  /* 
 
1996
   * Motif Tools Library, Version 3.1
 
1997
!  * $Id$
 
1998
   * 
 
1999
   * Written by David Flanagan.
 
2000
   * Copyright (c) 1992-2001 by David Flanagan.
 
2001
***************
 
2002
*** 8,14 ****
 
2003
   * This is open source software.  See the file LICENSE for details.
 
2004
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2005
   *
 
2006
!  * $Log$
 
2007
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2008
!  * Initial checkin.
 
2009
!  *
 
2010
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2011
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2012
!  *                  kerberos compilation support
 
2013
!  *
 
2014
   *
 
2015
   */
 
2016
  
 
2017
--- 8,17 ----
 
2018
   * This is open source software.  See the file LICENSE for details.
 
2019
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2020
   *
 
2021
!  * $Log$
 
2022
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2023
!  * Initial checkin.
 
2024
!  *
 
2025
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2026
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2027
!  *                  kerberos compilation support
 
2028
!  *
 
2029
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2030
!  * *** empty log message ***
 
2031
!  *
 
2032
   *
 
2033
   */
 
2034
  
 
2035
diff -bpBN Xmt310/Xmt/Converters.h Xmt310.ge/Xmt/Converters.h
 
2036
*** Xmt310/Xmt/Converters.h     Sun Feb  4 22:36:42 2001
 
2037
--- Xmt310.ge/Xmt/Converters.h  Tue Jun 12 18:25:28 2001
 
2038
***************
 
2039
*** 1,6 ****
 
2040
  /* 
 
2041
   * Motif Tools Library, Version 3.1
 
2042
!  * $Id$
 
2043
   * 
 
2044
   * Written by David Flanagan.
 
2045
   * Copyright (c) 1992-2001 by David Flanagan.
 
2046
--- 1,6 ----
 
2047
  /* 
 
2048
   * Motif Tools Library, Version 3.1
 
2049
!  * $Id$
 
2050
   * 
 
2051
   * Written by David Flanagan.
 
2052
   * Copyright (c) 1992-2001 by David Flanagan.
 
2053
***************
 
2054
*** 8,14 ****
 
2055
   * This is open source software.  See the file LICENSE for details.
 
2056
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2057
   *
 
2058
!  * $Log$
 
2059
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2060
!  * Initial checkin.
 
2061
!  *
 
2062
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2063
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2064
!  *                  kerberos compilation support
 
2065
!  *
 
2066
   *
 
2067
   */
 
2068
  #ifndef _XmtConverters_h
 
2069
--- 8,17 ----
 
2070
   * This is open source software.  See the file LICENSE for details.
 
2071
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2072
   *
 
2073
!  * $Log$
 
2074
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2075
!  * Initial checkin.
 
2076
!  *
 
2077
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2078
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2079
!  *                  kerberos compilation support
 
2080
!  *
 
2081
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2082
!  * *** empty log message ***
 
2083
!  *
 
2084
   *
 
2085
   */
 
2086
  #ifndef _XmtConverters_h
 
2087
*************** externalref _Xconst char XmtConverterStr
 
2088
*** 37,44 ****
 
2089
  
 
2090
  _XFUNCPROTOBEGIN
 
2091
  #if NeedFunctionPrototypes
 
2092
! extern void XmtRegisterEnumConverter(StringConst, String *, int *,
 
2093
!                                    int, String *);
 
2094
  extern void XmtRegisterWidgetConverter(void);
 
2095
  extern void XmtRegisterCallbackConverter(void);
 
2096
  extern void XmtRegisterXmStringConverter(void);
 
2097
--- 40,47 ----
 
2098
  
 
2099
  _XFUNCPROTOBEGIN
 
2100
  #if NeedFunctionPrototypes
 
2101
! extern void XmtRegisterEnumConverter(StringConst, String *, Cardinal *,
 
2102
!                                    Cardinal, String *);
 
2103
  extern void XmtRegisterWidgetConverter(void);
 
2104
  extern void XmtRegisterCallbackConverter(void);
 
2105
  extern void XmtRegisterXmStringConverter(void);
 
2106
diff -bpBN Xmt310/Xmt/ConvertersP.h Xmt310.ge/Xmt/ConvertersP.h
 
2107
*** Xmt310/Xmt/ConvertersP.h    Sun Feb  4 22:36:46 2001
 
2108
--- Xmt310.ge/Xmt/ConvertersP.h Tue Jun 12 18:25:28 2001
 
2109
***************
 
2110
*** 1,6 ****
 
2111
  /* 
 
2112
   * Motif Tools Library, Version 3.1
 
2113
!  * $Id$
 
2114
   * 
 
2115
   * Written by David Flanagan.
 
2116
   * Copyright (c) 1992-2001 by David Flanagan.
 
2117
--- 1,6 ----
 
2118
  /* 
 
2119
   * Motif Tools Library, Version 3.1
 
2120
!  * $Id$
 
2121
   * 
 
2122
   * Written by David Flanagan.
 
2123
   * Copyright (c) 1992-2001 by David Flanagan.
 
2124
***************
 
2125
*** 8,14 ****
 
2126
   * This is open source software.  See the file LICENSE for details.
 
2127
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2128
   *
 
2129
!  * $Log$
 
2130
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2131
!  * Initial checkin.
 
2132
!  *
 
2133
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2134
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2135
!  *                  kerberos compilation support
 
2136
!  *
 
2137
   *
 
2138
   */
 
2139
  
 
2140
--- 8,17 ----
 
2141
   * This is open source software.  See the file LICENSE for details.
 
2142
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2143
   *
 
2144
!  * $Log$
 
2145
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2146
!  * Initial checkin.
 
2147
!  *
 
2148
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2149
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2150
!  *                  kerberos compilation support
 
2151
!  *
 
2152
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2153
!  * *** empty log message ***
 
2154
!  *
 
2155
   *
 
2156
   */
 
2157
  
 
2158
diff -bpBN Xmt310/Xmt/Create.c Xmt310.ge/Xmt/Create.c
 
2159
*** Xmt310/Xmt/Create.c Sun Feb  4 22:36:52 2001
 
2160
--- Xmt310.ge/Xmt/Create.c      Tue Jun 12 18:25:28 2001
 
2161
***************
 
2162
*** 1,6 ****
 
2163
  /* 
 
2164
   * Motif Tools Library, Version 3.1
 
2165
!  * $Id$
 
2166
   * 
 
2167
   * Written by David Flanagan.
 
2168
   * Copyright (c) 1992-2001 by David Flanagan.
 
2169
--- 1,6 ----
 
2170
  /* 
 
2171
   * Motif Tools Library, Version 3.1
 
2172
!  * $Id$
 
2173
   * 
 
2174
   * Written by David Flanagan.
 
2175
   * Copyright (c) 1992-2001 by David Flanagan.
 
2176
***************
 
2177
*** 8,14 ****
 
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
   *
 
2190
   */
 
2191
  
 
2192
--- 8,17 ----
 
2193
   * This is open source software.  See the file LICENSE for details.
 
2194
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2195
   *
 
2196
!  * $Log$
 
2197
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2198
!  * Initial checkin.
 
2199
!  *
 
2200
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2201
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2202
!  *                  kerberos compilation support
 
2203
!  *
 
2204
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2205
!  * *** empty log message ***
 
2206
!  *
 
2207
   *
 
2208
   */
 
2209
  
 
2210
*************** Cardinal *num_styles;
 
2211
*** 320,326 ****
 
2212
            XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
 
2213
            style = XmtTemplateSubstituteArgs(style, args, num_args,
 
2214
                                              &expected_args);
 
2215
!           *styles[*num_styles] = style;
 
2216
            *num_styles += 1;
 
2217
            if (num_args > expected_args)
 
2218
                XmtWarningMsg("XmtParseWidgetType", "styleArgs",
 
2219
--- 323,329 ----
 
2220
            XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
 
2221
            style = XmtTemplateSubstituteArgs(style, args, num_args,
 
2222
                                              &expected_args);
 
2223
!           (*styles)[*num_styles] = style;
 
2224
            *num_styles += 1;
 
2225
            if (num_args > expected_args)
 
2226
                XmtWarningMsg("XmtParseWidgetType", "styleArgs",
 
2227
diff -bpBN Xmt310/Xmt/Create.h Xmt310.ge/Xmt/Create.h
 
2228
*** Xmt310/Xmt/Create.h Sun Feb  4 22:37:14 2001
 
2229
--- Xmt310.ge/Xmt/Create.h      Tue Jun 12 18:25:28 2001
 
2230
***************
 
2231
*** 1,6 ****
 
2232
  /* 
 
2233
   * Motif Tools Library, Version 3.1
 
2234
!  * $Id$
 
2235
   * 
 
2236
   * Written by David Flanagan.
 
2237
   * Copyright (c) 1992-2001 by David Flanagan.
 
2238
--- 1,6 ----
 
2239
  /* 
 
2240
   * Motif Tools Library, Version 3.1
 
2241
!  * $Id$
 
2242
   * 
 
2243
   * Written by David Flanagan.
 
2244
   * Copyright (c) 1992-2001 by David Flanagan.
 
2245
***************
 
2246
*** 8,14 ****
 
2247
   * This is open source software.  See the file LICENSE for details.
 
2248
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2249
   *
 
2250
!  * $Log$
 
2251
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2252
!  * Initial checkin.
 
2253
!  *
 
2254
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2255
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2256
!  *                  kerberos compilation support
 
2257
!  *
 
2258
   *
 
2259
   */
 
2260
  
 
2261
--- 8,17 ----
 
2262
   * This is open source software.  See the file LICENSE for details.
 
2263
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2264
   *
 
2265
!  * $Log$
 
2266
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2267
!  * Initial checkin.
 
2268
!  *
 
2269
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2270
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2271
!  *                  kerberos compilation support
 
2272
!  *
 
2273
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2274
!  * *** empty log message ***
 
2275
!  *
 
2276
   *
 
2277
   */
 
2278
  
 
2279
diff -bpBN Xmt310/Xmt/Cursor.c Xmt310.ge/Xmt/Cursor.c
 
2280
*** Xmt310/Xmt/Cursor.c Sun Feb  4 22:37:22 2001
 
2281
--- Xmt310.ge/Xmt/Cursor.c      Tue Jun 12 18:25:28 2001
 
2282
***************
 
2283
*** 1,6 ****
 
2284
  /* 
 
2285
   * Motif Tools Library, Version 3.1
 
2286
!  * $Id$
 
2287
   * 
 
2288
   * Written by David Flanagan.
 
2289
   * Copyright (c) 1992-2001 by David Flanagan.
 
2290
--- 1,6 ----
 
2291
  /* 
 
2292
   * Motif Tools Library, Version 3.1
 
2293
!  * $Id$
 
2294
   * 
 
2295
   * Written by David Flanagan.
 
2296
   * Copyright (c) 1992-2001 by David Flanagan.
 
2297
***************
 
2298
*** 8,14 ****
 
2299
   * This is open source software.  See the file LICENSE for details.
 
2300
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2301
   *
 
2302
!  * $Log$
 
2303
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2304
!  * Initial checkin.
 
2305
!  *
 
2306
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2307
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2308
!  *                  kerberos compilation support
 
2309
!  *
 
2310
   *
 
2311
   */
 
2312
  
 
2313
--- 8,17 ----
 
2314
   * This is open source software.  See the file LICENSE for details.
 
2315
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2316
   *
 
2317
!  * $Log$
 
2318
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2319
!  * Initial checkin.
 
2320
!  *
 
2321
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2322
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2323
!  *                  kerberos compilation support
 
2324
!  *
 
2325
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2326
!  * *** empty log message ***
 
2327
!  *
 
2328
   *
 
2329
   */
 
2330
  
 
2331
diff -bpBN Xmt310/Xmt/DECHack.c Xmt310.ge/Xmt/DECHack.c
 
2332
*** Xmt310/Xmt/DECHack.c        Sun Feb  4 22:37:34 2001
 
2333
--- Xmt310.ge/Xmt/DECHack.c     Tue Jun 12 18:25:28 2001
 
2334
***************
 
2335
*** 1,6 ****
 
2336
  /* 
 
2337
   * Motif Tools Library, Version 3.1
 
2338
!  * $Id$
 
2339
   * 
 
2340
   * Written by David Flanagan.
 
2341
   * Copyright (c) 1992-2001 by David Flanagan.
 
2342
--- 1,6 ----
 
2343
  /* 
 
2344
   * Motif Tools Library, Version 3.1
 
2345
!  * $Id$
 
2346
   * 
 
2347
   * Written by David Flanagan.
 
2348
   * Copyright (c) 1992-2001 by David Flanagan.
 
2349
***************
 
2350
*** 8,14 ****
 
2351
   * This is open source software.  See the file LICENSE for details.
 
2352
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2353
   *
 
2354
!  * $Log$
 
2355
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2356
!  * Initial checkin.
 
2357
!  *
 
2358
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2359
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2360
!  *                  kerberos compilation support
 
2361
!  *
 
2362
   *
 
2363
   */
 
2364
  
 
2365
--- 8,17 ----
 
2366
   * This is open source software.  See the file LICENSE for details.
 
2367
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2368
   *
 
2369
!  * $Log$
 
2370
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2371
!  * Initial checkin.
 
2372
!  *
 
2373
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2374
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2375
!  *                  kerberos compilation support
 
2376
!  *
 
2377
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2378
!  * *** empty log message ***
 
2379
!  *
 
2380
   *
 
2381
   */
 
2382
  
 
2383
diff -bpBN Xmt310/Xmt/Dialog.c Xmt310.ge/Xmt/Dialog.c
 
2384
*** Xmt310/Xmt/Dialog.c Sun Feb  4 22:37:38 2001
 
2385
--- Xmt310.ge/Xmt/Dialog.c      Tue Jun 12 18:25:28 2001
 
2386
***************
 
2387
*** 1,6 ****
 
2388
  /* 
 
2389
   * Motif Tools Library, Version 3.1
 
2390
!  * $Id$
 
2391
   * 
 
2392
   * Written by David Flanagan.
 
2393
   * Copyright (c) 1992-2001 by David Flanagan.
 
2394
--- 1,6 ----
 
2395
  /* 
 
2396
   * Motif Tools Library, Version 3.1
 
2397
!  * $Id$
 
2398
   * 
 
2399
   * Written by David Flanagan.
 
2400
   * Copyright (c) 1992-2001 by David Flanagan.
 
2401
***************
 
2402
*** 8,14 ****
 
2403
   * This is open source software.  See the file LICENSE for details.
 
2404
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2405
   *
 
2406
!  * $Log$
 
2407
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2408
!  * Initial checkin.
 
2409
!  *
 
2410
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2411
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2412
!  *                  kerberos compilation support
 
2413
!  *
 
2414
   *
 
2415
   */
 
2416
  
 
2417
--- 8,17 ----
 
2418
   * This is open source software.  See the file LICENSE for details.
 
2419
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2420
   *
 
2421
!  * $Log$
 
2422
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2423
!  * Initial checkin.
 
2424
!  *
 
2425
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2426
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2427
!  *                  kerberos compilation support
 
2428
!  *
 
2429
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2430
!  * *** empty log message ***
 
2431
!  *
 
2432
   *
 
2433
   */
 
2434
  
 
2435
diff -bpBN Xmt310/Xmt/Dialog.h Xmt310.ge/Xmt/Dialog.h
 
2436
*** Xmt310/Xmt/Dialog.h Sun Feb  4 22:37:54 2001
 
2437
--- Xmt310.ge/Xmt/Dialog.h      Tue Jun 12 18:25:28 2001
 
2438
***************
 
2439
*** 1,6 ****
 
2440
  /* 
 
2441
   * Motif Tools Library, Version 3.1
 
2442
!  * $Id$
 
2443
   * 
 
2444
   * Written by David Flanagan.
 
2445
   * Copyright (c) 1992-2001 by David Flanagan.
 
2446
--- 1,6 ----
 
2447
  /* 
 
2448
   * Motif Tools Library, Version 3.1
 
2449
!  * $Id$
 
2450
   * 
 
2451
   * Written by David Flanagan.
 
2452
   * Copyright (c) 1992-2001 by David Flanagan.
 
2453
***************
 
2454
*** 8,14 ****
 
2455
   * This is open source software.  See the file LICENSE for details.
 
2456
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2457
   *
 
2458
!  * $Log$
 
2459
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2460
!  * Initial checkin.
 
2461
!  *
 
2462
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2463
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2464
!  *                  kerberos compilation support
 
2465
!  *
 
2466
   *
 
2467
   */
 
2468
  
 
2469
--- 8,17 ----
 
2470
   * This is open source software.  See the file LICENSE for details.
 
2471
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2472
   *
 
2473
!  * $Log$
 
2474
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2475
!  * Initial checkin.
 
2476
!  *
 
2477
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2478
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2479
!  *                  kerberos compilation support
 
2480
!  *
 
2481
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2482
!  * *** empty log message ***
 
2483
!  *
 
2484
   *
 
2485
   */
 
2486
  
 
2487
diff -bpBN Xmt310/Xmt/DialogP.h Xmt310.ge/Xmt/DialogP.h
 
2488
*** Xmt310/Xmt/DialogP.h        Sun Feb  4 22:38:04 2001
 
2489
--- Xmt310.ge/Xmt/DialogP.h     Tue Jun 12 18:25:28 2001
 
2490
***************
 
2491
*** 1,6 ****
 
2492
  /* 
 
2493
   * Motif Tools Library, Version 3.1
 
2494
!  * $Id$
 
2495
   * 
 
2496
   * Written by David Flanagan.
 
2497
   * Copyright (c) 1992-2001 by David Flanagan.
 
2498
--- 1,6 ----
 
2499
  /* 
 
2500
   * Motif Tools Library, Version 3.1
 
2501
!  * $Id$
 
2502
   * 
 
2503
   * Written by David Flanagan.
 
2504
   * Copyright (c) 1992-2001 by David Flanagan.
 
2505
***************
 
2506
*** 8,14 ****
 
2507
   * This is open source software.  See the file LICENSE for details.
 
2508
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2509
   *
 
2510
!  * $Log$
 
2511
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2512
!  * Initial checkin.
 
2513
!  *
 
2514
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2515
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2516
!  *                  kerberos compilation support
 
2517
!  *
 
2518
   *
 
2519
   */
 
2520
  
 
2521
--- 8,17 ----
 
2522
   * This is open source software.  See the file LICENSE for details.
 
2523
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2524
   *
 
2525
!  * $Log$
 
2526
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2527
!  * Initial checkin.
 
2528
!  *
 
2529
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2530
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2531
!  *                  kerberos compilation support
 
2532
!  *
 
2533
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2534
!  * *** empty log message ***
 
2535
!  *
 
2536
   *
 
2537
   */
 
2538
  
 
2539
diff -bpBN Xmt310/Xmt/DialogPos.c Xmt310.ge/Xmt/DialogPos.c
 
2540
*** Xmt310/Xmt/DialogPos.c      Sun Feb  4 22:38:18 2001
 
2541
--- Xmt310.ge/Xmt/DialogPos.c   Tue Jun 12 18:25:28 2001
 
2542
***************
 
2543
*** 1,6 ****
 
2544
  /* 
 
2545
   * Motif Tools Library, Version 3.1
 
2546
!  * $Id$
 
2547
   * 
 
2548
   * Written by David Flanagan.
 
2549
   * Copyright (c) 1992-2001 by David Flanagan.
 
2550
--- 1,6 ----
 
2551
  /* 
 
2552
   * Motif Tools Library, Version 3.1
 
2553
!  * $Id$
 
2554
   * 
 
2555
   * Written by David Flanagan.
 
2556
   * Copyright (c) 1992-2001 by David Flanagan.
 
2557
***************
 
2558
*** 8,14 ****
 
2559
   * This is open source software.  See the file LICENSE for details.
 
2560
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2561
   *
 
2562
!  * $Log$
 
2563
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2564
!  * Initial checkin.
 
2565
!  *
 
2566
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2567
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2568
!  *                  kerberos compilation support
 
2569
!  *
 
2570
   *
 
2571
   */
 
2572
  
 
2573
--- 8,17 ----
 
2574
   * This is open source software.  See the file LICENSE for details.
 
2575
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2576
   *
 
2577
!  * $Log$
 
2578
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2579
!  * Initial checkin.
 
2580
!  *
 
2581
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2582
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2583
!  *                  kerberos compilation support
 
2584
!  *
 
2585
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2586
!  * *** empty log message ***
 
2587
!  *
 
2588
   *
 
2589
   */
 
2590
  
 
2591
diff -bpBN Xmt310/Xmt/Dialogs.c Xmt310.ge/Xmt/Dialogs.c
 
2592
*** Xmt310/Xmt/Dialogs.c        Sun Feb  4 22:38:24 2001
 
2593
--- Xmt310.ge/Xmt/Dialogs.c     Tue Jun 12 18:25:28 2001
 
2594
***************
 
2595
*** 1,6 ****
 
2596
  /* 
 
2597
   * Motif Tools Library, Version 3.1
 
2598
!  * $Id$
 
2599
   * 
 
2600
   * Written by David Flanagan.
 
2601
   * Copyright (c) 1992-2001 by David Flanagan.
 
2602
--- 1,6 ----
 
2603
  /* 
 
2604
   * Motif Tools Library, Version 3.1
 
2605
!  * $Id$
 
2606
   * 
 
2607
   * Written by David Flanagan.
 
2608
   * Copyright (c) 1992-2001 by David Flanagan.
 
2609
***************
 
2610
*** 8,14 ****
 
2611
   * This is open source software.  See the file LICENSE for details.
 
2612
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2613
   *
 
2614
!  * $Log$
 
2615
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2616
!  * Initial checkin.
 
2617
!  *
 
2618
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2619
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2620
!  *                  kerberos compilation support
 
2621
!  *
 
2622
   *
 
2623
   */
 
2624
  
 
2625
--- 8,17 ----
 
2626
   * This is open source software.  See the file LICENSE for details.
 
2627
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2628
   *
 
2629
!  * $Log$
 
2630
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2631
!  * Initial checkin.
 
2632
!  *
 
2633
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2634
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2635
!  *                  kerberos compilation support
 
2636
!  *
 
2637
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2638
!  * *** empty log message ***
 
2639
!  *
 
2640
   *
 
2641
   */
 
2642
  
 
2643
diff -bpBN Xmt310/Xmt/Dialogs.h Xmt310.ge/Xmt/Dialogs.h
 
2644
*** Xmt310/Xmt/Dialogs.h        Sun Feb  4 22:38:30 2001
 
2645
--- Xmt310.ge/Xmt/Dialogs.h     Tue Jun 12 18:25:28 2001
 
2646
***************
 
2647
*** 1,6 ****
 
2648
  /* 
 
2649
   * Motif Tools Library, Version 3.1
 
2650
!  * $Id$
 
2651
   * 
 
2652
   * Written by David Flanagan.
 
2653
   * Copyright (c) 1992-2001 by David Flanagan.
 
2654
--- 1,6 ----
 
2655
  /* 
 
2656
   * Motif Tools Library, Version 3.1
 
2657
!  * $Id$
 
2658
   * 
 
2659
   * Written by David Flanagan.
 
2660
   * Copyright (c) 1992-2001 by David Flanagan.
 
2661
***************
 
2662
*** 8,14 ****
 
2663
   * This is open source software.  See the file LICENSE for details.
 
2664
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2665
   *
 
2666
!  * $Log$
 
2667
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2668
!  * Initial checkin.
 
2669
!  *
 
2670
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2671
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2672
!  *                  kerberos compilation support
 
2673
!  *
 
2674
   *
 
2675
   */
 
2676
  
 
2677
--- 8,17 ----
 
2678
   * This is open source software.  See the file LICENSE for details.
 
2679
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2680
   *
 
2681
!  * $Log$
 
2682
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2683
!  * Initial checkin.
 
2684
!  *
 
2685
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2686
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2687
!  *                  kerberos compilation support
 
2688
!  *
 
2689
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2690
!  * *** empty log message ***
 
2691
!  *
 
2692
   *
 
2693
   */
 
2694
  
 
2695
diff -bpBN Xmt310/Xmt/DialogsP.h Xmt310.ge/Xmt/DialogsP.h
 
2696
*** Xmt310/Xmt/DialogsP.h       Sun Feb  4 22:38:40 2001
 
2697
--- Xmt310.ge/Xmt/DialogsP.h    Tue Jun 12 18:25:28 2001
 
2698
***************
 
2699
*** 1,6 ****
 
2700
  /* 
 
2701
   * Motif Tools Library, Version 3.1
 
2702
!  * $Id$
 
2703
   * 
 
2704
   * Written by David Flanagan.
 
2705
   * Copyright (c) 1992-2001 by David Flanagan.
 
2706
--- 1,6 ----
 
2707
  /* 
 
2708
   * Motif Tools Library, Version 3.1
 
2709
!  * $Id$
 
2710
   * 
 
2711
   * Written by David Flanagan.
 
2712
   * Copyright (c) 1992-2001 by David Flanagan.
 
2713
***************
 
2714
*** 8,14 ****
 
2715
   * This is open source software.  See the file LICENSE for details.
 
2716
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2717
   *
 
2718
!  * $Log$
 
2719
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2720
!  * Initial checkin.
 
2721
!  *
 
2722
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2723
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2724
!  *                  kerberos compilation support
 
2725
!  *
 
2726
   *
 
2727
   */
 
2728
  
 
2729
--- 8,17 ----
 
2730
   * This is open source software.  See the file LICENSE for details.
 
2731
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2732
   *
 
2733
!  * $Log$
 
2734
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2735
!  * Initial checkin.
 
2736
!  *
 
2737
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2738
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2739
!  *                  kerberos compilation support
 
2740
!  *
 
2741
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2742
!  * *** empty log message ***
 
2743
!  *
 
2744
   *
 
2745
   */
 
2746
  
 
2747
diff -bpBN Xmt310/Xmt/Discard.c Xmt310.ge/Xmt/Discard.c
 
2748
*** Xmt310/Xmt/Discard.c        Sun Feb  4 22:38:48 2001
 
2749
--- Xmt310.ge/Xmt/Discard.c     Tue Jun 12 18:25:28 2001
 
2750
***************
 
2751
*** 1,6 ****
 
2752
  /* 
 
2753
   * Motif Tools Library, Version 3.1
 
2754
!  * $Id$
 
2755
   * 
 
2756
   * Written by David Flanagan.
 
2757
   * Copyright (c) 1992-2001 by David Flanagan.
 
2758
--- 1,6 ----
 
2759
  /* 
 
2760
   * Motif Tools Library, Version 3.1
 
2761
!  * $Id$
 
2762
   * 
 
2763
   * Written by David Flanagan.
 
2764
   * Copyright (c) 1992-2001 by David Flanagan.
 
2765
***************
 
2766
*** 8,14 ****
 
2767
   * This is open source software.  See the file LICENSE for details.
 
2768
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2769
   *
 
2770
!  * $Log$
 
2771
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2772
!  * Initial checkin.
 
2773
!  *
 
2774
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2775
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2776
!  *                  kerberos compilation support
 
2777
!  *
 
2778
   *
 
2779
   */
 
2780
  
 
2781
--- 8,17 ----
 
2782
   * This is open source software.  See the file LICENSE for details.
 
2783
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2784
   *
 
2785
!  * $Log$
 
2786
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2787
!  * Initial checkin.
 
2788
!  *
 
2789
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2790
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2791
!  *                  kerberos compilation support
 
2792
!  *
 
2793
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2794
!  * *** empty log message ***
 
2795
!  *
 
2796
   *
 
2797
   */
 
2798
  
 
2799
diff -bpBN Xmt310/Xmt/EnumCvt.c Xmt310.ge/Xmt/EnumCvt.c
 
2800
*** Xmt310/Xmt/EnumCvt.c        Sun Feb  4 22:38:54 2001
 
2801
--- Xmt310.ge/Xmt/EnumCvt.c     Tue Jun 12 18:25:28 2001
 
2802
***************
 
2803
*** 1,6 ****
 
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
--- 1,6 ----
 
2811
  /* 
 
2812
   * Motif Tools Library, Version 3.1
 
2813
!  * $Id$
 
2814
   * 
 
2815
   * Written by David Flanagan.
 
2816
   * Copyright (c) 1992-2001 by David Flanagan.
 
2817
***************
 
2818
*** 8,14 ****
 
2819
   * This is open source software.  See the file LICENSE for details.
 
2820
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2821
   *
 
2822
!  * $Log$
 
2823
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2824
!  * Initial checkin.
 
2825
!  *
 
2826
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2827
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2828
!  *                  kerberos compilation support
 
2829
!  *
 
2830
   *
 
2831
   */
 
2832
  
 
2833
--- 8,17 ----
 
2834
   * This is open source software.  See the file LICENSE for details.
 
2835
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
2836
   *
 
2837
!  * $Log$
 
2838
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
2839
!  * Initial checkin.
 
2840
!  *
 
2841
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
2842
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
2843
!  *                  kerberos compilation support
 
2844
!  *
 
2845
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
2846
!  * *** empty log message ***
 
2847
!  *
 
2848
   *
 
2849
   */
 
2850
  
 
2851
***************
 
2852
*** 18,44 ****
 
2853
  /* ARGSUSED */
 
2854
  #if NeedFunctionPrototypes
 
2855
  Boolean XmtConvertStringToEnum(Display *dpy,
 
2856
!                              XrmValue *args, Cardinal *num_args,
 
2857
!                              XrmValue *from, XrmValue *to, XtPointer *data)
 
2858
  #else
 
2859
  Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
 
2860
  Display *dpy;
 
2861
! XrmValue *args;
 
2862
  Cardinal *num_args;
 
2863
! XrmValue *from;
 
2864
! XrmValue *to;
 
2865
  XtPointer *data;
 
2866
  #endif
 
2867
  {
 
2868
      String type = *(String *)args[0].addr;
 
2869
      String *names = *(String **)args[1].addr;
 
2870
!     int *values = *(int **)args[2].addr;
 
2871
!     int num = *(int *)args[3].addr;
 
2872
      String *prefixes = *(String **)args[4].addr;
 
2873
      String target = (String) from->addr;
 
2874
      String prefix;
 
2875
      int i;
 
2876
!     static int value;  /* static for converter return */
 
2877
  
 
2878
      /*
 
2879
       * First, strip any of the listed prefixes off of target.
 
2880
--- 21,49 ----
 
2881
  /* ARGSUSED */
 
2882
  #if NeedFunctionPrototypes
 
2883
  Boolean XmtConvertStringToEnum(Display *dpy,
 
2884
!                                XrmValuePtr args, Cardinal *num_args,
 
2885
!                                XrmValuePtr from, XrmValuePtr to, XtPointer *data)
 
2886
  #else
 
2887
  Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
 
2888
  Display *dpy;
 
2889
! XrmValuePtr args;
 
2890
  Cardinal *num_args;
 
2891
! XrmValuePtr from;
 
2892
! XrmValuePtr to;
 
2893
  XtPointer *data;
 
2894
  #endif
 
2895
  {
 
2896
      String type = *(String *)args[0].addr;
 
2897
      String *names = *(String **)args[1].addr;
 
2898
! /*     Cardinal *values = *(Cardinal**)args[2].addr; */
 
2899
! /*     Cardinal num = (Cardinal)*(XtPointer*)args[3].addr; */
 
2900
!     Cardinal *values = (Cardinal*)*(XtPointer*)args[2].addr;
 
2901
!     Cardinal num = (Cardinal)*(XtPointer*)args[3].addr;
 
2902
      String *prefixes = *(String **)args[4].addr;
 
2903
      String target = (String) from->addr;
 
2904
      String prefix;
 
2905
      int i;
 
2906
!     static Cardinal value;  /* static for converter return */
 
2907
  
 
2908
      /*
 
2909
       * First, strip any of the listed prefixes off of target.
 
2910
*************** XtPointer *data;
 
2911
*** 59,64 ****
 
2912
--- 64,72 ----
 
2913
       * If not, print a warning and fail.
 
2914
       */
 
2915
      i = XmtBSearch(target, names, num);
 
2916
 
2917
+ /* printf("XmtBSearch(target, names, num) => %d\n", i); */
 
2918
 
2919
      if (i == -1) {
 
2920
          XtDisplayStringConversionWarning(dpy, (String)from->addr, type);
 
2921
          return False;
 
2922
*************** XtPointer *data;
 
2923
*** 75,93 ****
 
2924
        case sizeof(char):
 
2925
            *(char *)to->addr = value;
 
2926
            break;
 
2927
        case sizeof(short):
 
2928
            *(short *)to->addr = value;
 
2929
            break;
 
2930
!       case sizeof(int):
 
2931
!           *(int *)to->addr = value;
 
2932
            break;
 
2933
        default:
 
2934
!           if (to->size > sizeof(int)) {
 
2935
!               to->size = sizeof(int);
 
2936
!               *(int *)to->addr = value;
 
2937
            }
 
2938
            else {
 
2939
!               to->size = sizeof(int);
 
2940
                return False;
 
2941
            }
 
2942
            break;
 
2943
--- 83,107 ----
 
2944
          case sizeof(char):
 
2945
              *(char *)to->addr = value;
 
2946
              break;
 
2947
+ #ifdef CRAY /* short and int are the same size (8 bytes) on the Cray */
 
2948
+         case sizeof(int):
 
2949
+             *(int *)to->addr = value;
 
2950
+             break;
 
2951
+ #else
 
2952
          case sizeof(short):
 
2953
              *(short *)to->addr = value;
 
2954
              break;
 
2955
!         case sizeof(Cardinal):
 
2956
!             *(Cardinal *)to->addr = value;
 
2957
              break;
 
2958
+ #endif
 
2959
          default:
 
2960
!             if (to->size > sizeof(Cardinal)) {
 
2961
!                 to->size = sizeof(Cardinal);
 
2962
!                 *(Cardinal *)to->addr = value;
 
2963
              }
 
2964
              else {
 
2965
!                 to->size = sizeof(Cardinal);
 
2966
                  return False;
 
2967
              }
 
2968
              break;
 
2969
*************** XtPointer *data;
 
2970
*** 102,115 ****
 
2971
  
 
2972
  
 
2973
  #if NeedFunctionPrototypes
 
2974
! void XmtRegisterEnumConverter(StringConst type, String *names, int *values,
 
2975
!                             int num, String *prefixes)
 
2976
  #else
 
2977
  void XmtRegisterEnumConverter(type, names, values, num, prefixes)
 
2978
  StringConst type;
 
2979
  String *names;
 
2980
! int *values;
 
2981
! int num;
 
2982
  String *prefixes;
 
2983
  #endif
 
2984
  {
 
2985
--- 116,129 ----
 
2986
  
 
2987
  
 
2988
  #if NeedFunctionPrototypes
 
2989
! void XmtRegisterEnumConverter(StringConst type, String *names, Cardinal *values,
 
2990
!                               Cardinal num, String *prefixes)
 
2991
  #else
 
2992
  void XmtRegisterEnumConverter(type, names, values, num, prefixes)
 
2993
  StringConst type;
 
2994
  String *names;
 
2995
! Cardinal *values;
 
2996
! Cardinal num;
 
2997
  String *prefixes;
 
2998
  #endif
 
2999
  {
 
3000
diff -bpBN Xmt310/Xmt/FindFile.c Xmt310.ge/Xmt/FindFile.c
 
3001
*** Xmt310/Xmt/FindFile.c       Sun Feb  4 22:39:06 2001
 
3002
--- Xmt310.ge/Xmt/FindFile.c    Tue Jun 12 18:25:28 2001
 
3003
***************
 
3004
*** 1,6 ****
 
3005
  /* 
 
3006
   * Motif Tools Library, Version 3.1
 
3007
!  * $Id$
 
3008
   * 
 
3009
   * Written by David Flanagan.
 
3010
   * Copyright (c) 1992-2001 by David Flanagan.
 
3011
--- 1,6 ----
 
3012
  /* 
 
3013
   * Motif Tools Library, Version 3.1
 
3014
!  * $Id$
 
3015
   * 
 
3016
   * Written by David Flanagan.
 
3017
   * Copyright (c) 1992-2001 by David Flanagan.
 
3018
***************
 
3019
*** 8,14 ****
 
3020
   * This is open source software.  See the file LICENSE for details.
 
3021
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3022
   *
 
3023
!  * $Log$
 
3024
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3025
!  * Initial checkin.
 
3026
!  *
 
3027
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3028
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3029
!  *                  kerberos compilation support
 
3030
!  *
 
3031
   *
 
3032
   */
 
3033
  
 
3034
--- 8,17 ----
 
3035
   * This is open source software.  See the file LICENSE for details.
 
3036
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3037
   *
 
3038
!  * $Log$
 
3039
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3040
!  * Initial checkin.
 
3041
!  *
 
3042
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3043
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3044
!  *                  kerberos compilation support
 
3045
!  *
 
3046
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3047
!  * *** empty log message ***
 
3048
!  *
 
3049
   *
 
3050
   */
 
3051
  
 
3052
*************** extern struct passwd *getpwuid(), *getpw
 
3053
*** 36,41 ****
 
3054
--- 39,45 ----
 
3055
  
 
3056
  #ifndef X_NOT_STDC_ENV
 
3057
  #include <stdlib.h>
 
3058
+ #include <unistd.h>
 
3059
  #else
 
3060
  extern char *getenv();
 
3061
  #endif
 
3062
diff -bpBN Xmt310/Xmt/FontListCvt.c Xmt310.ge/Xmt/FontListCvt.c
 
3063
*** Xmt310/Xmt/FontListCvt.c    Sun Feb  4 22:39:10 2001
 
3064
--- Xmt310.ge/Xmt/FontListCvt.c Tue Jun 12 18:25:28 2001
 
3065
***************
 
3066
*** 1,6 ****
 
3067
  /* 
 
3068
   * Motif Tools Library, Version 3.1
 
3069
!  * $Id$
 
3070
   * 
 
3071
   * Written by David Flanagan.
 
3072
   * Copyright (c) 1992-2001 by David Flanagan.
 
3073
--- 1,6 ----
 
3074
  /* 
 
3075
   * Motif Tools Library, Version 3.1
 
3076
!  * $Id$
 
3077
   * 
 
3078
   * Written by David Flanagan.
 
3079
   * Copyright (c) 1992-2001 by David Flanagan.
 
3080
***************
 
3081
*** 8,14 ****
 
3082
   * This is open source software.  See the file LICENSE for details.
 
3083
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3084
   *
 
3085
!  * $Log$
 
3086
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3087
!  * Initial checkin.
 
3088
!  *
 
3089
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3090
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3091
!  *                  kerberos compilation support
 
3092
!  *
 
3093
   *
 
3094
   */
 
3095
  
 
3096
--- 8,17 ----
 
3097
   * This is open source software.  See the file LICENSE for details.
 
3098
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3099
   *
 
3100
!  * $Log$
 
3101
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3102
!  * Initial checkin.
 
3103
!  *
 
3104
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3105
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3106
!  *                  kerberos compilation support
 
3107
!  *
 
3108
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3109
!  * *** empty log message ***
 
3110
!  *
 
3111
   *
 
3112
   */
 
3113
  
 
3114
*************** XtPointer *converter_data;
 
3115
*** 40,46 ****
 
3116
--- 43,57 ----
 
3117
      String next_entry;
 
3118
      String tag;
 
3119
      String tmp;
 
3120
+ #if 0    
 
3121
      XFontStruct *font;
 
3122
+     XFontSet fontset;
 
3123
+     char **missing_list;
 
3124
+     int missing_count;
 
3125
+     int i;
 
3126
+     char *def_string = NULL; 
 
3127
+ #endif    
 
3128
+     XmFontListEntry entry;
 
3129
      XmFontList fontlist = NULL;
 
3130
  
 
3131
      /*
 
3132
*************** XtPointer *converter_data;
 
3133
*** 109,114 ****
 
3134
--- 120,127 ----
 
3135
  
 
3136
        /* isolate the first entry, and remember start of next entry */
 
3137
        next_entry = strchr(s, ',');
 
3138
+         if (next_entry == NULL)
 
3139
+             next_entry = strchr(s, ':');
 
3140
        if (next_entry) {
 
3141
            *next_entry = '\0';
 
3142
            next_entry++;
 
3143
*************** XtPointer *converter_data;
 
3144
*** 140,145 ****
 
3145
--- 153,190 ----
 
3146
        while (isspace(*tmp)) tmp--;
 
3147
        *(++tmp) = '\0';
 
3148
  
 
3149
+ #if 0
 
3150
+         /*
 
3151
+         ** fontset support it is a bit tricky, but needed for multibyte chars
 
3152
+         ** FIXME: figure out how to do it
 
3153
+         */
 
3154
 
3155
+         fontset = XCreateFontSet(dpy, s, &missing_list, &missing_count,
 
3156
+                                         &def_string);
 
3157
+         for (i=0; i<missing_count; i++) {
 
3158
+             printf("missing_list[%d]: '%s'\n", i, missing_list[i]);
 
3159
+             XtFree(missing_list[i]);
 
3160
+         }
 
3161
+         XtFree((char *)missing_list);
 
3162
 
3163
+ #if !defined(SOLARIS) && !defined(SOLARIS64)
 
3164
+         entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
 
3165
+ #else
 
3166
+         entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONTSET, tag);
 
3167
+ #endif
 
3168
+ #endif
 
3169
+         
 
3170
+         /*
 
3171
+         ** FIXME: replace the following line with the correct version
 
3172
+         **        for multibyte chars and fontsets
 
3173
+         */
 
3174
+         entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
 
3175
 
3176
+         fontlist = XmFontListAppendEntry(fontlist, entry);
 
3177
+         XmFontListEntryFree(&entry);
 
3178
+         
 
3179
 
3180
+ #if 0
 
3181
        font = XLoadQueryFont(dpy, s);
 
3182
        if (!font) {
 
3183
            XmtWarningMsg("XmtConvertStringToFontList", "badfont",
 
3184
*************** XtPointer *converter_data;
 
3185
*** 161,166 ****
 
3186
--- 206,213 ----
 
3187
            fontlist = XmFontListCreate(font, tag);
 
3188
        else 
 
3189
            fontlist = XmFontListAdd(fontlist, font, tag);
 
3190
 
3191
+ #endif
 
3192
  
 
3193
        /* finally, move on to the next entry, and start the loop over */
 
3194
        s = next_entry;
 
3195
diff -bpBN Xmt310/Xmt/GetPixmap.c Xmt310.ge/Xmt/GetPixmap.c
 
3196
*** Xmt310/Xmt/GetPixmap.c      Sun Feb  4 22:39:16 2001
 
3197
--- Xmt310.ge/Xmt/GetPixmap.c   Tue Jun 12 18:25:28 2001
 
3198
***************
 
3199
*** 1,6 ****
 
3200
  /* 
 
3201
   * Motif Tools Library, Version 3.1
 
3202
!  * $Id$
 
3203
   * 
 
3204
   * Written by David Flanagan.
 
3205
   * Copyright (c) 1992-2001 by David Flanagan.
 
3206
--- 1,6 ----
 
3207
  /* 
 
3208
   * Motif Tools Library, Version 3.1
 
3209
!  * $Id$
 
3210
   * 
 
3211
   * Written by David Flanagan.
 
3212
   * Copyright (c) 1992-2001 by David Flanagan.
 
3213
***************
 
3214
*** 8,19 ****
 
3215
   * This is open source software.  See the file LICENSE for details.
 
3216
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3217
   *
 
3218
!  * $Log$
 
3219
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3220
!  * Initial checkin.
 
3221
!  *
 
3222
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3223
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3224
!  *                  kerberos compilation support
 
3225
!  *
 
3226
   *
 
3227
   */
 
3228
  
 
3229
  #include <stdio.h>
 
3230
  #include <ctype.h>
 
3231
  #include <Xmt/Xmt.h>
 
3232
  #include <Xmt/Pixmap.h>
 
3233
  #include <Xmt/Xpm.h>
 
3234
--- 8,25 ----
 
3235
   * This is open source software.  See the file LICENSE for details.
 
3236
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3237
   *
 
3238
!  * $Log$
 
3239
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3240
!  * Initial checkin.
 
3241
!  *
 
3242
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3243
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3244
!  *                  kerberos compilation support
 
3245
!  *
 
3246
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3247
!  * *** empty log message ***
 
3248
!  *
 
3249
   *
 
3250
   */
 
3251
  
 
3252
  #include <stdio.h>
 
3253
  #include <ctype.h>
 
3254
+ #include <unistd.h>
 
3255
+ #include <stdlib.h>
 
3256
 
3257
  #include <Xmt/Xmt.h>
 
3258
  #include <Xmt/Pixmap.h>
 
3259
  #include <Xmt/Xpm.h>
 
3260
*************** Boolean get_bitmap;
 
3261
*** 58,64 ****
 
3262
      XtCacheRef refs[2];
 
3263
      Boolean free_color_table = False;
 
3264
      static int unique_image_number;
 
3265
-     extern char *getenv();
 
3266
  
 
3267
      for(w=object; !XtIsWidget(w); w = XtParent(w));
 
3268
      shell = XmtGetShell(w);
 
3269
--- 64,69 ----
 
3270
diff -bpBN Xmt310/Xmt/HSLtoRGB.c Xmt310.ge/Xmt/HSLtoRGB.c
 
3271
*** Xmt310/Xmt/HSLtoRGB.c       Sun Feb  4 22:39:20 2001
 
3272
--- Xmt310.ge/Xmt/HSLtoRGB.c    Tue Jun 12 18:25:28 2001
 
3273
***************
 
3274
*** 1,6 ****
 
3275
  /* 
 
3276
   * Motif Tools Library, Version 3.1
 
3277
!  * $Id$
 
3278
   * 
 
3279
   * Written by David Flanagan.
 
3280
   * Copyright (c) 1992-2001 by David Flanagan.
 
3281
--- 1,6 ----
 
3282
  /* 
 
3283
   * Motif Tools Library, Version 3.1
 
3284
!  * $Id$
 
3285
   * 
 
3286
   * Written by David Flanagan.
 
3287
   * Copyright (c) 1992-2001 by David Flanagan.
 
3288
***************
 
3289
*** 8,16 ****
 
3290
   * This is open source software.  See the file LICENSE for details.
 
3291
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3292
   *
 
3293
!  * $Log$
 
3294
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3295
!  * Initial checkin.
 
3296
!  *
 
3297
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3298
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3299
!  *                  kerberos compilation support
 
3300
!  *
 
3301
   *
 
3302
   */
 
3303
  
 
3304
  /*
 
3305
   * RGB <--> HSL conversions were modified from code with the
 
3306
--- 8,21 ----
 
3307
   * This is open source software.  See the file LICENSE for details.
 
3308
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3309
   *
 
3310
!  * $Log$
 
3311
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3312
!  * Initial checkin.
 
3313
!  *
 
3314
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3315
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3316
!  *                  kerberos compilation support
 
3317
!  *
 
3318
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3319
!  * *** empty log message ***
 
3320
!  *
 
3321
   *
 
3322
   */
 
3323
 
3324
+ #include <Xmt/Xmt.h>
 
3325
  
 
3326
  /*
 
3327
   * RGB <--> HSL conversions were modified from code with the
 
3328
diff -bpBN Xmt310/Xmt/Hash.c Xmt310.ge/Xmt/Hash.c
 
3329
*** Xmt310/Xmt/Hash.c   Sun Feb  4 22:39:26 2001
 
3330
--- Xmt310.ge/Xmt/Hash.c        Tue Jun 12 18:25:28 2001
 
3331
***************
 
3332
*** 1,6 ****
 
3333
  /* 
 
3334
   * Motif Tools Library, Version 3.1
 
3335
!  * $Id$
 
3336
   * 
 
3337
   * Written by David Flanagan.
 
3338
   * Copyright (c) 1992-2001 by David Flanagan.
 
3339
--- 1,6 ----
 
3340
  /* 
 
3341
   * Motif Tools Library, Version 3.1
 
3342
!  * $Id$
 
3343
   * 
 
3344
   * Written by David Flanagan.
 
3345
   * Copyright (c) 1992-2001 by David Flanagan.
 
3346
***************
 
3347
*** 8,14 ****
 
3348
   * This is open source software.  See the file LICENSE for details.
 
3349
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3350
   *
 
3351
!  * $Log$
 
3352
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3353
!  * Initial checkin.
 
3354
!  *
 
3355
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3356
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3357
!  *                  kerberos compilation support
 
3358
!  *
 
3359
   *
 
3360
   */
 
3361
  
 
3362
--- 8,17 ----
 
3363
   * This is open source software.  See the file LICENSE for details.
 
3364
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3365
   *
 
3366
!  * $Log$
 
3367
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3368
!  * Initial checkin.
 
3369
!  *
 
3370
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3371
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3372
!  *                  kerberos compilation support
 
3373
!  *
 
3374
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3375
!  * *** empty log message ***
 
3376
!  *
 
3377
   *
 
3378
   */
 
3379
  
 
3380
*************** typedef struct _Bucket {        /* Stores one e
 
3381
*** 28,41 ****
 
3382
  
 
3383
  typedef struct _XmtHashTableRec {
 
3384
      Bucket **table;           /* Pointer to array of hash entries. */
 
3385
!     int size;                   /* log2 of the size */
 
3386
!     int mask;                 /* Current size of hash table minus 1. */
 
3387
!     int numentries;           /* Number of entries currently in table. */
 
3388
  } XmtHashTableRec;
 
3389
  
 
3390
  
 
3391
  #define Hash(ht,key) \
 
3392
!     (ht)->table[(((int)(key)) >> 2) & (ht)->mask]
 
3393
  
 
3394
  #if NeedFunctionPrototypes
 
3395
  static void ResizeTable(register XmtHashTable ht, Boolean grow)    
 
3396
--- 31,44 ----
 
3397
  
 
3398
  typedef struct _XmtHashTableRec {
 
3399
      Bucket **table;           /* Pointer to array of hash entries. */
 
3400
!     long size;                   /* log2 of the size */
 
3401
!     long mask;                        /* Current size of hash table minus 1. */
 
3402
!     long numentries;          /* Number of entries currently in table. */
 
3403
  } XmtHashTableRec;
 
3404
  
 
3405
  
 
3406
  #define Hash(ht,key) \
 
3407
!     (ht)->table[(((long)(key)) >> 2) & (ht)->mask]
 
3408
  
 
3409
  #if NeedFunctionPrototypes
 
3410
  static void ResizeTable(register XmtHashTable ht, Boolean grow)    
 
3411
*************** Boolean grow;    
 
3412
*** 46,54 ****
 
3413
  #endif
 
3414
  {
 
3415
      Bucket **otable;
 
3416
!     int otablesize;
 
3417
      register Bucket *bucket, *next, **head;
 
3418
!     register int i;
 
3419
  
 
3420
      otable = ht->table;
 
3421
      otablesize =  1 << ht->size;
 
3422
--- 49,57 ----
 
3423
  #endif
 
3424
  {
 
3425
      Bucket **otable;
 
3426
!     long otablesize;
 
3427
      register Bucket *bucket, *next, **head;
 
3428
!     register long i;
 
3429
  
 
3430
      otable = ht->table;
 
3431
      otablesize =  1 << ht->size;
 
3432
*************** void XmtHashTableDestroy(ht)
 
3433
*** 94,100 ****
 
3434
  XmtHashTable ht;
 
3435
  #endif
 
3436
  {
 
3437
!     register int i;
 
3438
      register Bucket *bucket, *next;
 
3439
  
 
3440
      for(i=0; i < ht->mask+1; i++) {
 
3441
--- 97,103 ----
 
3442
  XmtHashTable ht;
 
3443
  #endif
 
3444
  {
 
3445
!     register long i;
 
3446
      register Bucket *bucket, *next;
 
3447
  
 
3448
      for(i=0; i < ht->mask+1; i++) {
 
3449
*************** XmtHashTable table;
 
3450
*** 115,121 ****
 
3451
  XmtHashTableForEachProc proc;
 
3452
  #endif
 
3453
  {
 
3454
!     register int i;
 
3455
      register Bucket *bucket;
 
3456
  
 
3457
      for(i=0; i < table->mask+1; i++) {
 
3458
--- 118,124 ----
 
3459
  XmtHashTableForEachProc proc;
 
3460
  #endif
 
3461
  {
 
3462
!     register long i;
 
3463
      register Bucket *bucket;
 
3464
  
 
3465
      for(i=0; i < table->mask+1; i++) {
 
3466
diff -bpBN Xmt310/Xmt/Hash.h Xmt310.ge/Xmt/Hash.h
 
3467
*** Xmt310/Xmt/Hash.h   Sun Feb  4 22:39:30 2001
 
3468
--- Xmt310.ge/Xmt/Hash.h        Tue Jun 12 18:25:28 2001
 
3469
***************
 
3470
*** 1,6 ****
 
3471
  /* 
 
3472
   * Motif Tools Library, Version 3.1
 
3473
!  * $Id$
 
3474
   * 
 
3475
   * Written by David Flanagan.
 
3476
   * Copyright (c) 1992-2001 by David Flanagan.
 
3477
--- 1,6 ----
 
3478
  /* 
 
3479
   * Motif Tools Library, Version 3.1
 
3480
!  * $Id$
 
3481
   * 
 
3482
   * Written by David Flanagan.
 
3483
   * Copyright (c) 1992-2001 by David Flanagan.
 
3484
***************
 
3485
*** 8,14 ****
 
3486
   * This is open source software.  See the file LICENSE for details.
 
3487
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3488
   *
 
3489
!  * $Log$
 
3490
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3491
!  * Initial checkin.
 
3492
!  *
 
3493
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3494
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3495
!  *                  kerberos compilation support
 
3496
!  *
 
3497
   *
 
3498
   */
 
3499
  
 
3500
--- 8,17 ----
 
3501
   * This is open source software.  See the file LICENSE for details.
 
3502
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3503
   *
 
3504
!  * $Log$
 
3505
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3506
!  * Initial checkin.
 
3507
!  *
 
3508
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3509
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3510
!  *                  kerberos compilation support
 
3511
!  *
 
3512
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3513
!  * *** empty log message ***
 
3514
!  *
 
3515
   *
 
3516
   */
 
3517
  
 
3518
diff -bpBN Xmt310/Xmt/Help.h Xmt310.ge/Xmt/Help.h
 
3519
*** Xmt310/Xmt/Help.h   Sun Feb  4 22:39:38 2001
 
3520
--- Xmt310.ge/Xmt/Help.h        Tue Jun 12 18:25:28 2001
 
3521
***************
 
3522
*** 1,6 ****
 
3523
  /* 
 
3524
   * Motif Tools Library, Version 3.1
 
3525
!  * $Id$
 
3526
   * 
 
3527
   * Written by David Flanagan.
 
3528
   * Copyright (c) 1992-2001 by David Flanagan.
 
3529
--- 1,6 ----
 
3530
  /* 
 
3531
   * Motif Tools Library, Version 3.1
 
3532
!  * $Id$
 
3533
   * 
 
3534
   * Written by David Flanagan.
 
3535
   * Copyright (c) 1992-2001 by David Flanagan.
 
3536
***************
 
3537
*** 8,14 ****
 
3538
   * This is open source software.  See the file LICENSE for details.
 
3539
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3540
   *
 
3541
!  * $Log$
 
3542
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3543
!  * Initial checkin.
 
3544
!  *
 
3545
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3546
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3547
!  *                  kerberos compilation support
 
3548
!  *
 
3549
   *
 
3550
   */
 
3551
  
 
3552
--- 8,17 ----
 
3553
   * This is open source software.  See the file LICENSE for details.
 
3554
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3555
   *
 
3556
!  * $Log$
 
3557
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3558
!  * Initial checkin.
 
3559
!  *
 
3560
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3561
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3562
!  *                  kerberos compilation support
 
3563
!  *
 
3564
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3565
!  * *** empty log message ***
 
3566
!  *
 
3567
   *
 
3568
   */
 
3569
  
 
3570
diff -bpBN Xmt310/Xmt/HelpBox.c Xmt310.ge/Xmt/HelpBox.c
 
3571
*** Xmt310/Xmt/HelpBox.c        Sun Feb  4 22:39:42 2001
 
3572
--- Xmt310.ge/Xmt/HelpBox.c     Tue Jun 12 18:25:28 2001
 
3573
***************
 
3574
*** 1,6 ****
 
3575
  /* 
 
3576
   * Motif Tools Library, Version 3.1
 
3577
!  * $Id$
 
3578
   * 
 
3579
   * Written by David Flanagan.
 
3580
   * Copyright (c) 1992-2001 by David Flanagan.
 
3581
--- 1,6 ----
 
3582
  /* 
 
3583
   * Motif Tools Library, Version 3.1
 
3584
!  * $Id$
 
3585
   * 
 
3586
   * Written by David Flanagan.
 
3587
   * Copyright (c) 1992-2001 by David Flanagan.
 
3588
***************
 
3589
*** 8,14 ****
 
3590
   * This is open source software.  See the file LICENSE for details.
 
3591
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3592
   *
 
3593
!  * $Log$
 
3594
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3595
!  * Initial checkin.
 
3596
!  *
 
3597
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3598
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3599
!  *                  kerberos compilation support
 
3600
!  *
 
3601
   *
 
3602
   */
 
3603
  
 
3604
--- 8,17 ----
 
3605
   * This is open source software.  See the file LICENSE for details.
 
3606
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3607
   *
 
3608
!  * $Log$
 
3609
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3610
!  * Initial checkin.
 
3611
!  *
 
3612
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3613
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3614
!  *                  kerberos compilation support
 
3615
!  *
 
3616
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3617
!  * *** empty log message ***
 
3618
!  *
 
3619
   *
 
3620
   */
 
3621
  
 
3622
diff -bpBN Xmt310/Xmt/HelpBox.h Xmt310.ge/Xmt/HelpBox.h
 
3623
*** Xmt310/Xmt/HelpBox.h        Sun Feb  4 22:39:46 2001
 
3624
--- Xmt310.ge/Xmt/HelpBox.h     Tue Jun 12 18:25:28 2001
 
3625
***************
 
3626
*** 1,6 ****
 
3627
  /* 
 
3628
   * Motif Tools Library, Version 3.1
 
3629
!  * $Id$
 
3630
   * 
 
3631
   * Written by David Flanagan.
 
3632
   * Copyright (c) 1992-2001 by David Flanagan.
 
3633
--- 1,6 ----
 
3634
  /* 
 
3635
   * Motif Tools Library, Version 3.1
 
3636
!  * $Id$
 
3637
   * 
 
3638
   * Written by David Flanagan.
 
3639
   * Copyright (c) 1992-2001 by David Flanagan.
 
3640
***************
 
3641
*** 8,14 ****
 
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
   *
 
3654
   */
 
3655
  
 
3656
--- 8,17 ----
 
3657
   * This is open source software.  See the file LICENSE for details.
 
3658
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3659
   *
 
3660
!  * $Log$
 
3661
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3662
!  * Initial checkin.
 
3663
!  *
 
3664
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3665
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3666
!  *                  kerberos compilation support
 
3667
!  *
 
3668
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3669
!  * *** empty log message ***
 
3670
!  *
 
3671
   *
 
3672
   */
 
3673
  
 
3674
diff -bpBN Xmt310/Xmt/HelpBoxP.h Xmt310.ge/Xmt/HelpBoxP.h
 
3675
*** Xmt310/Xmt/HelpBoxP.h       Sun Feb  4 22:39:50 2001
 
3676
--- Xmt310.ge/Xmt/HelpBoxP.h    Tue Jun 12 18:25:28 2001
 
3677
***************
 
3678
*** 1,6 ****
 
3679
  /* 
 
3680
   * Motif Tools Library, Version 3.1
 
3681
!  * $Id$
 
3682
   * 
 
3683
   * Written by David Flanagan.
 
3684
   * Copyright (c) 1992-2001 by David Flanagan.
 
3685
--- 1,6 ----
 
3686
  /* 
 
3687
   * Motif Tools Library, Version 3.1
 
3688
!  * $Id$
 
3689
   * 
 
3690
   * Written by David Flanagan.
 
3691
   * Copyright (c) 1992-2001 by David Flanagan.
 
3692
***************
 
3693
*** 8,14 ****
 
3694
   * This is open source software.  See the file LICENSE for details.
 
3695
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3696
   *
 
3697
!  * $Log$
 
3698
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3699
!  * Initial checkin.
 
3700
!  *
 
3701
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3702
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3703
!  *                  kerberos compilation support
 
3704
!  *
 
3705
   *
 
3706
   */
 
3707
  
 
3708
--- 8,17 ----
 
3709
   * This is open source software.  See the file LICENSE for details.
 
3710
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3711
   *
 
3712
!  * $Log$
 
3713
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3714
!  * Initial checkin.
 
3715
!  *
 
3716
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3717
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3718
!  *                  kerberos compilation support
 
3719
!  *
 
3720
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3721
!  * *** empty log message ***
 
3722
!  *
 
3723
   *
 
3724
   */
 
3725
  
 
3726
diff -bpBN Xmt310/Xmt/HelpBoxS.c Xmt310.ge/Xmt/HelpBoxS.c
 
3727
*** Xmt310/Xmt/HelpBoxS.c       Sun Feb  4 22:39:56 2001
 
3728
--- Xmt310.ge/Xmt/HelpBoxS.c    Tue Jun 12 18:25:28 2001
 
3729
***************
 
3730
*** 1,6 ****
 
3731
  /* 
 
3732
   * Motif Tools Library, Version 3.1
 
3733
!  * $Id$
 
3734
   * 
 
3735
   * Written by David Flanagan.
 
3736
   * Copyright (c) 1992-2001 by David Flanagan.
 
3737
--- 1,6 ----
 
3738
  /* 
 
3739
   * Motif Tools Library, Version 3.1
 
3740
!  * $Id$
 
3741
   * 
 
3742
   * Written by David Flanagan.
 
3743
   * Copyright (c) 1992-2001 by David Flanagan.
 
3744
***************
 
3745
*** 8,14 ****
 
3746
   * This is open source software.  See the file LICENSE for details.
 
3747
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3748
   *
 
3749
!  * $Log$
 
3750
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3751
!  * Initial checkin.
 
3752
!  *
 
3753
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3754
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3755
!  *                  kerberos compilation support
 
3756
!  *
 
3757
   *
 
3758
   */
 
3759
  #include <X11/Intrinsic.h>
 
3760
--- 8,17 ----
 
3761
   * This is open source software.  See the file LICENSE for details.
 
3762
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3763
   *
 
3764
!  * $Log$
 
3765
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3766
!  * Initial checkin.
 
3767
!  *
 
3768
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3769
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3770
!  *                  kerberos compilation support
 
3771
!  *
 
3772
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3773
!  * *** empty log message ***
 
3774
!  *
 
3775
   *
 
3776
   */
 
3777
  #include <X11/Intrinsic.h>
 
3778
diff -bpBN Xmt310/Xmt/HelpBrowser.c Xmt310.ge/Xmt/HelpBrowser.c
 
3779
*** Xmt310/Xmt/HelpBrowser.c    Sun Feb  4 22:40:00 2001
 
3780
--- Xmt310.ge/Xmt/HelpBrowser.c Tue Jun 12 18:25:28 2001
 
3781
***************
 
3782
*** 1,6 ****
 
3783
  /* 
 
3784
   * Motif Tools Library, Version 3.1
 
3785
!  * $Id$
 
3786
   * 
 
3787
   * Written by David Flanagan.
 
3788
   * Copyright (c) 1992-2001 by David Flanagan.
 
3789
--- 1,6 ----
 
3790
  /* 
 
3791
   * Motif Tools Library, Version 3.1
 
3792
!  * $Id$
 
3793
   * 
 
3794
   * Written by David Flanagan.
 
3795
   * Copyright (c) 1992-2001 by David Flanagan.
 
3796
***************
 
3797
*** 8,14 ****
 
3798
   * This is open source software.  See the file LICENSE for details.
 
3799
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3800
   *
 
3801
!  * $Log$
 
3802
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3803
!  * Initial checkin.
 
3804
!  *
 
3805
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3806
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3807
!  *                  kerberos compilation support
 
3808
!  *
 
3809
   *
 
3810
   */
 
3811
  
 
3812
--- 8,17 ----
 
3813
   * This is open source software.  See the file LICENSE for details.
 
3814
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3815
   *
 
3816
!  * $Log$
 
3817
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3818
!  * Initial checkin.
 
3819
!  *
 
3820
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3821
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3822
!  *                  kerberos compilation support
 
3823
!  *
 
3824
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
3825
!  * *** empty log message ***
 
3826
!  *
 
3827
   *
 
3828
   */
 
3829
  
 
3830
*************** Widget w;
 
3831
*** 422,428 ****
 
3832
      XtSetArg(args[ac], XmNvisibleItemCount, hb->help_browser.toc_rows); ac++;
 
3833
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
3834
      hb->help_browser.toc_w = XmCreateScrolledList(w, "toc", args, ac);
 
3835
!     label = XmtCreateXmString(hb->help_browser.toc_label);
 
3836
      XtVaSetValues(XtParent(hb->help_browser.toc_w),
 
3837
                  XmtNlayoutCaption, label,
 
3838
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
3839
--- 425,431 ----
 
3840
      XtSetArg(args[ac], XmNvisibleItemCount, hb->help_browser.toc_rows); ac++;
 
3841
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
3842
      hb->help_browser.toc_w = XmCreateScrolledList(w, "toc", args, ac);
 
3843
!     label = XmtCreateLocalizedXmString(w, hb->help_browser.toc_label);
 
3844
      XtVaSetValues(XtParent(hb->help_browser.toc_w),
 
3845
                  XmtNlayoutCaption, label,
 
3846
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
3847
*************** Widget w;
 
3848
*** 435,441 ****
 
3849
      XtSetArg(args[ac], XmNfontList, hb->help_browser.index_font_list); ac++;
 
3850
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
3851
      hb->help_browser.index_w = XmCreateScrolledList(w, "index", args, ac);
 
3852
!     label = XmtCreateXmString(hb->help_browser.index_label);
 
3853
      XtVaSetValues(XtParent(hb->help_browser.index_w),
 
3854
                  XmtNlayoutCaption, label,
 
3855
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
3856
--- 438,444 ----
 
3857
      XtSetArg(args[ac], XmNfontList, hb->help_browser.index_font_list); ac++;
 
3858
      XtSetArg(args[ac], XmtNlayoutIn, mainrow); ac++;
 
3859
      hb->help_browser.index_w = XmCreateScrolledList(w, "index", args, ac);
 
3860
!     label = XmtCreateLocalizedXmString(w, hb->help_browser.index_label);
 
3861
      XtVaSetValues(XtParent(hb->help_browser.index_w),
 
3862
                  XmtNlayoutCaption, label,
 
3863
                  XmtNlayoutCaptionPosition, XmtLayoutTop,
 
3864
*************** Widget w;
 
3865
*** 465,471 ****
 
3866
      }
 
3867
      XtCreateManagedWidget("", xmSeparatorWidgetClass,
 
3868
                          hb->help_browser.text_title_pane, NULL, 0);
 
3869
!     label = XmtCreateXmString(hb->help_browser.crossref_label);
 
3870
      hb->help_browser.see_also_label = 
 
3871
        XtVaCreateManagedWidget("", xmLabelWidgetClass,
 
3872
                                hb->help_browser.text_title_pane,
 
3873
--- 468,474 ----
 
3874
      }
 
3875
      XtCreateManagedWidget("", xmSeparatorWidgetClass,
 
3876
                          hb->help_browser.text_title_pane, NULL, 0);
 
3877
!     label = XmtCreateLocalizedXmString(w, hb->help_browser.crossref_label);
 
3878
      hb->help_browser.see_also_label = 
 
3879
        XtVaCreateManagedWidget("", xmLabelWidgetClass,
 
3880
                                hb->help_browser.text_title_pane,
 
3881
*************** Widget w;
 
3882
*** 568,586 ****
 
3883
      XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;        
 
3884
      
 
3885
      args[0].value =
 
3886
!       (XtArgVal)XmtCreateXmString(hb->help_browser.next_label);
 
3887
      hb->help_browser.next_w =
 
3888
        XtCreateManagedWidget("next", xmPushButtonWidgetClass, w, args, ac);
 
3889
      XmStringFree((XmString)args[0].value);
 
3890
  
 
3891
      args[0].value =
 
3892
!       (XtArgVal)XmtCreateXmString(hb->help_browser.prev_label);
 
3893
      hb->help_browser.prev_w =
 
3894
        XtCreateManagedWidget("prev", xmPushButtonWidgetClass, w, args, ac);
 
3895
      XmStringFree((XmString)args[0].value);
 
3896
  
 
3897
      args[0].value =
 
3898
!       (XtArgVal)XmtCreateXmString(hb->help_browser.done_label);
 
3899
      hb->help_browser.done_w =
 
3900
        XtCreateWidget("done", xmPushButtonWidgetClass, w, args, ac);
 
3901
      /* give this button a large margin to set it off from the others */
 
3902
--- 571,589 ----
 
3903
      XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;        
 
3904
      
 
3905
      args[0].value =
 
3906
!       (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.next_label);
 
3907
      hb->help_browser.next_w =
 
3908
        XtCreateManagedWidget("next", xmPushButtonWidgetClass, w, args, ac);
 
3909
      XmStringFree((XmString)args[0].value);
 
3910
  
 
3911
      args[0].value =
 
3912
!       (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.prev_label);
 
3913
      hb->help_browser.prev_w =
 
3914
        XtCreateManagedWidget("prev", xmPushButtonWidgetClass, w, args, ac);
 
3915
      XmStringFree((XmString)args[0].value);
 
3916
  
 
3917
      args[0].value =
 
3918
!       (XtArgVal)XmtCreateLocalizedXmString(w, hb->help_browser.done_label);
 
3919
      hb->help_browser.done_w =
 
3920
        XtCreateWidget("done", xmPushButtonWidgetClass, w, args, ac);
 
3921
      /* give this button a large margin to set it off from the others */
 
3922
*************** Cardinal *num_args;
 
3923
*** 1318,1336 ****
 
3924
        sw->help_browser.index_label = empty_string;
 
3925
      }
 
3926
      if (Changed(next_label)) {
 
3927
!       label = XmtCreateXmString(sw->help_browser.next_label);
 
3928
        XtVaSetValues(sw->help_browser.next_w, XmNlabelString, label, NULL);
 
3929
        XmStringFree(label);
 
3930
        sw->help_browser.next_label = empty_string;
 
3931
      }
 
3932
      if (Changed(prev_label)) {
 
3933
!       label = XmtCreateXmString(sw->help_browser.prev_label);
 
3934
        XtVaSetValues(sw->help_browser.prev_w, XmNlabelString, label, NULL);
 
3935
        XmStringFree(label);
 
3936
        sw->help_browser.prev_label = empty_string;
 
3937
      }
 
3938
      if (Changed(done_label)) {
 
3939
!       label = XmtCreateXmString(sw->help_browser.done_label);
 
3940
        XtVaSetValues(sw->help_browser.done_w, XmNlabelString, label, NULL);
 
3941
        XmStringFree(label);
 
3942
        sw->help_browser.done_label = empty_string;
 
3943
--- 1321,1339 ----
 
3944
        sw->help_browser.index_label = empty_string;
 
3945
      }
 
3946
      if (Changed(next_label)) {
 
3947
!       label = XmtCreateLocalizedXmString((Widget)sw, sw->help_browser.next_label);
 
3948
        XtVaSetValues(sw->help_browser.next_w, XmNlabelString, label, NULL);
 
3949
        XmStringFree(label);
 
3950
        sw->help_browser.next_label = empty_string;
 
3951
      }
 
3952
      if (Changed(prev_label)) {
 
3953
!       label = XmtCreateLocalizedXmString((Widget) sw, sw->help_browser.prev_label);
 
3954
        XtVaSetValues(sw->help_browser.prev_w, XmNlabelString, label, NULL);
 
3955
        XmStringFree(label);
 
3956
        sw->help_browser.prev_label = empty_string;
 
3957
      }
 
3958
      if (Changed(done_label)) {
 
3959
!       label = XmtCreateLocalizedXmString((Widget) sw, sw->help_browser.done_label);
 
3960
        XtVaSetValues(sw->help_browser.done_w, XmNlabelString, label, NULL);
 
3961
        XmStringFree(label);
 
3962
        sw->help_browser.done_label = empty_string;
 
3963
diff -bpBN Xmt310/Xmt/HelpBrowser.h Xmt310.ge/Xmt/HelpBrowser.h
 
3964
*** Xmt310/Xmt/HelpBrowser.h    Sun Feb  4 22:40:04 2001
 
3965
--- Xmt310.ge/Xmt/HelpBrowser.h Tue Jun 12 18:25:28 2001
 
3966
***************
 
3967
*** 1,6 ****
 
3968
  /* 
 
3969
   * Motif Tools Library, Version 3.1
 
3970
!  * $Id$
 
3971
   * 
 
3972
   * Written by David Flanagan.
 
3973
   * Copyright (c) 1992-2001 by David Flanagan.
 
3974
--- 1,6 ----
 
3975
  /* 
 
3976
   * Motif Tools Library, Version 3.1
 
3977
!  * $Id$
 
3978
   * 
 
3979
   * Written by David Flanagan.
 
3980
   * Copyright (c) 1992-2001 by David Flanagan.
 
3981
***************
 
3982
*** 8,14 ****
 
3983
   * This is open source software.  See the file LICENSE for details.
 
3984
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
3985
   *
 
3986
!  * $Log$
 
3987
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
3988
!  * Initial checkin.
 
3989
!  *
 
3990
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
3991
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
3992
!  *                  kerberos compilation support
 
3993
!  *
 
3994
   *
 
3995
   */
 
3996
  
 
3997
--- 8,17 ----
 
3998
   * This is open source software.  See the file LICENSE for details.
 
3999
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4000
   *
 
4001
!  * $Log$
 
4002
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4003
!  * Initial checkin.
 
4004
!  *
 
4005
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4006
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4007
!  *                  kerberos compilation support
 
4008
!  *
 
4009
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4010
!  * *** empty log message ***
 
4011
!  *
 
4012
   *
 
4013
   */
 
4014
  
 
4015
diff -bpBN Xmt310/Xmt/HelpBrowserP.h Xmt310.ge/Xmt/HelpBrowserP.h
 
4016
*** Xmt310/Xmt/HelpBrowserP.h   Sun Feb  4 22:40:08 2001
 
4017
--- Xmt310.ge/Xmt/HelpBrowserP.h        Tue Jun 12 18:25:28 2001
 
4018
***************
 
4019
*** 1,6 ****
 
4020
  /* 
 
4021
   * Motif Tools Library, Version 3.1
 
4022
!  * $Id$
 
4023
   * 
 
4024
   * Written by David Flanagan.
 
4025
   * Copyright (c) 1992-2001 by David Flanagan.
 
4026
--- 1,6 ----
 
4027
  /* 
 
4028
   * Motif Tools Library, Version 3.1
 
4029
!  * $Id$
 
4030
   * 
 
4031
   * Written by David Flanagan.
 
4032
   * Copyright (c) 1992-2001 by David Flanagan.
 
4033
***************
 
4034
*** 8,14 ****
 
4035
   * This is open source software.  See the file LICENSE for details.
 
4036
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4037
   *
 
4038
!  * $Log$
 
4039
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4040
!  * Initial checkin.
 
4041
!  *
 
4042
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4043
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4044
!  *                  kerberos compilation support
 
4045
!  *
 
4046
   *
 
4047
   */
 
4048
  
 
4049
--- 8,17 ----
 
4050
   * This is open source software.  See the file LICENSE for details.
 
4051
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4052
   *
 
4053
!  * $Log$
 
4054
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4055
!  * Initial checkin.
 
4056
!  *
 
4057
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4058
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4059
!  *                  kerberos compilation support
 
4060
!  *
 
4061
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4062
!  * *** empty log message ***
 
4063
!  *
 
4064
   *
 
4065
   */
 
4066
  
 
4067
diff -bpBN Xmt310/Xmt/HelpBrowserS.c Xmt310.ge/Xmt/HelpBrowserS.c
 
4068
*** Xmt310/Xmt/HelpBrowserS.c   Sun Feb  4 22:40:12 2001
 
4069
--- Xmt310.ge/Xmt/HelpBrowserS.c        Tue Jun 12 18:25:28 2001
 
4070
***************
 
4071
*** 1,6 ****
 
4072
  /* 
 
4073
   * Motif Tools Library, Version 3.1
 
4074
!  * $Id$
 
4075
   * 
 
4076
   * Written by David Flanagan.
 
4077
   * Copyright (c) 1992-2001 by David Flanagan.
 
4078
--- 1,6 ----
 
4079
  /* 
 
4080
   * Motif Tools Library, Version 3.1
 
4081
!  * $Id$
 
4082
   * 
 
4083
   * Written by David Flanagan.
 
4084
   * Copyright (c) 1992-2001 by David Flanagan.
 
4085
***************
 
4086
*** 8,14 ****
 
4087
   * This is open source software.  See the file LICENSE for details.
 
4088
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4089
   *
 
4090
!  * $Log$
 
4091
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4092
!  * Initial checkin.
 
4093
!  *
 
4094
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4095
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4096
!  *                  kerberos compilation support
 
4097
!  *
 
4098
   *
 
4099
   */
 
4100
  #include <X11/Intrinsic.h>
 
4101
--- 8,17 ----
 
4102
   * This is open source software.  See the file LICENSE for details.
 
4103
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4104
   *
 
4105
!  * $Log$
 
4106
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4107
!  * Initial checkin.
 
4108
!  *
 
4109
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4110
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4111
!  *                  kerberos compilation support
 
4112
!  *
 
4113
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4114
!  * *** empty log message ***
 
4115
!  *
 
4116
   *
 
4117
   */
 
4118
  #include <X11/Intrinsic.h>
 
4119
diff -bpBN Xmt310/Xmt/HelpNode.c Xmt310.ge/Xmt/HelpNode.c
 
4120
*** Xmt310/Xmt/HelpNode.c       Sun Feb  4 22:40:16 2001
 
4121
--- Xmt310.ge/Xmt/HelpNode.c    Tue Jun 12 18:25:28 2001
 
4122
***************
 
4123
*** 1,6 ****
 
4124
  /* 
 
4125
   * Motif Tools Library, Version 3.1
 
4126
!  * $Id$
 
4127
   * 
 
4128
   * Written by David Flanagan.
 
4129
   * Copyright (c) 1992-2001 by David Flanagan.
 
4130
--- 1,6 ----
 
4131
  /* 
 
4132
   * Motif Tools Library, Version 3.1
 
4133
!  * $Id$
 
4134
   * 
 
4135
   * Written by David Flanagan.
 
4136
   * Copyright (c) 1992-2001 by David Flanagan.
 
4137
***************
 
4138
*** 8,14 ****
 
4139
   * This is open source software.  See the file LICENSE for details.
 
4140
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4141
   *
 
4142
!  * $Log$
 
4143
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4144
!  * Initial checkin.
 
4145
!  *
 
4146
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4147
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4148
!  *                  kerberos compilation support
 
4149
!  *
 
4150
   *
 
4151
   */
 
4152
  
 
4153
--- 8,17 ----
 
4154
   * This is open source software.  See the file LICENSE for details.
 
4155
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4156
   *
 
4157
!  * $Log$
 
4158
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4159
!  * Initial checkin.
 
4160
!  *
 
4161
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4162
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4163
!  *                  kerberos compilation support
 
4164
!  *
 
4165
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4166
!  * *** empty log message ***
 
4167
!  *
 
4168
   *
 
4169
   */
 
4170
  
 
4171
diff -bpBN Xmt310/Xmt/IBMManage.c Xmt310.ge/Xmt/IBMManage.c
 
4172
*** Xmt310/Xmt/IBMManage.c      Sun Feb  4 22:40:46 2001
 
4173
--- Xmt310.ge/Xmt/IBMManage.c   Tue Jun 12 18:25:28 2001
 
4174
***************
 
4175
*** 1,6 ****
 
4176
  /* 
 
4177
   * Motif Tools Library, Version 3.1
 
4178
!  * $Id$
 
4179
   * 
 
4180
   * Written by David Flanagan.
 
4181
   * Copyright (c) 1992-2001 by David Flanagan.
 
4182
--- 1,6 ----
 
4183
  /* 
 
4184
   * Motif Tools Library, Version 3.1
 
4185
!  * $Id$
 
4186
   * 
 
4187
   * Written by David Flanagan.
 
4188
   * Copyright (c) 1992-2001 by David Flanagan.
 
4189
***************
 
4190
*** 8,14 ****
 
4191
   * This is open source software.  See the file LICENSE for details.
 
4192
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4193
   *
 
4194
!  * $Log$
 
4195
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4196
!  * Initial checkin.
 
4197
!  *
 
4198
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4199
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4200
!  *                  kerberos compilation support
 
4201
!  *
 
4202
   *
 
4203
   */
 
4204
  
 
4205
--- 8,17 ----
 
4206
   * This is open source software.  See the file LICENSE for details.
 
4207
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4208
   *
 
4209
!  * $Log$
 
4210
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4211
!  * Initial checkin.
 
4212
!  *
 
4213
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4214
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4215
!  *                  kerberos compilation support
 
4216
!  *
 
4217
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4218
!  * *** empty log message ***
 
4219
!  *
 
4220
   *
 
4221
   */
 
4222
  
 
4223
diff -bpBN Xmt310/Xmt/Icon.c Xmt310.ge/Xmt/Icon.c
 
4224
*** Xmt310/Xmt/Icon.c   Sun Feb  4 22:40:52 2001
 
4225
--- Xmt310.ge/Xmt/Icon.c        Tue Jun 12 18:25:28 2001
 
4226
***************
 
4227
*** 1,6 ****
 
4228
  /* 
 
4229
   * Motif Tools Library, Version 3.1
 
4230
!  * $Id$
 
4231
   * 
 
4232
   * Written by David Flanagan.
 
4233
   * Copyright (c) 1992-2001 by David Flanagan.
 
4234
--- 1,6 ----
 
4235
  /* 
 
4236
   * Motif Tools Library, Version 3.1
 
4237
!  * $Id$
 
4238
   * 
 
4239
   * Written by David Flanagan.
 
4240
   * Copyright (c) 1992-2001 by David Flanagan.
 
4241
***************
 
4242
*** 8,14 ****
 
4243
   * This is open source software.  See the file LICENSE for details.
 
4244
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4245
   *
 
4246
!  * $Log$
 
4247
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4248
!  * Initial checkin.
 
4249
!  *
 
4250
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4251
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4252
!  *                  kerberos compilation support
 
4253
!  *
 
4254
   *
 
4255
   */
 
4256
  
 
4257
--- 8,17 ----
 
4258
   * This is open source software.  See the file LICENSE for details.
 
4259
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4260
   *
 
4261
!  * $Log$
 
4262
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4263
!  * Initial checkin.
 
4264
!  *
 
4265
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4266
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4267
!  *                  kerberos compilation support
 
4268
!  *
 
4269
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4270
!  * *** empty log message ***
 
4271
!  *
 
4272
   *
 
4273
   */
 
4274
  
 
4275
diff -bpBN Xmt310/Xmt/Icon.h Xmt310.ge/Xmt/Icon.h
 
4276
*** Xmt310/Xmt/Icon.h   Sun Feb  4 22:40:56 2001
 
4277
--- Xmt310.ge/Xmt/Icon.h        Tue Jun 12 18:25:28 2001
 
4278
***************
 
4279
*** 1,6 ****
 
4280
  /* 
 
4281
   * Motif Tools Library, Version 3.1
 
4282
!  * $Id$
 
4283
   * 
 
4284
   * Written by David Flanagan.
 
4285
   * Copyright (c) 1992-2001 by David Flanagan.
 
4286
--- 1,6 ----
 
4287
  /* 
 
4288
   * Motif Tools Library, Version 3.1
 
4289
!  * $Id$
 
4290
   * 
 
4291
   * Written by David Flanagan.
 
4292
   * Copyright (c) 1992-2001 by David Flanagan.
 
4293
***************
 
4294
*** 8,14 ****
 
4295
   * This is open source software.  See the file LICENSE for details.
 
4296
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4297
   *
 
4298
!  * $Log$
 
4299
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4300
!  * Initial checkin.
 
4301
!  *
 
4302
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4303
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4304
!  *                  kerberos compilation support
 
4305
!  *
 
4306
   *
 
4307
   */
 
4308
  
 
4309
--- 8,17 ----
 
4310
   * This is open source software.  See the file LICENSE for details.
 
4311
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4312
   *
 
4313
!  * $Log$
 
4314
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4315
!  * Initial checkin.
 
4316
!  *
 
4317
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4318
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4319
!  *                  kerberos compilation support
 
4320
!  *
 
4321
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4322
!  * *** empty log message ***
 
4323
!  *
 
4324
   *
 
4325
   */
 
4326
  
 
4327
diff -bpBN Xmt310/Xmt/Icons.c Xmt310.ge/Xmt/Icons.c
 
4328
*** Xmt310/Xmt/Icons.c  Sun Feb  4 22:41:00 2001
 
4329
--- Xmt310.ge/Xmt/Icons.c       Tue Jun 12 18:25:28 2001
 
4330
***************
 
4331
*** 1,6 ****
 
4332
  /* 
 
4333
   * Motif Tools Library, Version 3.1
 
4334
!  * $Id$
 
4335
   * 
 
4336
   * Written by David Flanagan.
 
4337
   * Copyright (c) 1992-2001 by David Flanagan.
 
4338
--- 1,6 ----
 
4339
  /* 
 
4340
   * Motif Tools Library, Version 3.1
 
4341
!  * $Id$
 
4342
   * 
 
4343
   * Written by David Flanagan.
 
4344
   * Copyright (c) 1992-2001 by David Flanagan.
 
4345
***************
 
4346
*** 8,14 ****
 
4347
   * This is open source software.  See the file LICENSE for details.
 
4348
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4349
   *
 
4350
!  * $Log$
 
4351
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4352
!  * Initial checkin.
 
4353
!  *
 
4354
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4355
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4356
!  *                  kerberos compilation support
 
4357
!  *
 
4358
   *
 
4359
   */
 
4360
  
 
4361
--- 8,17 ----
 
4362
   * This is open source software.  See the file LICENSE for details.
 
4363
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4364
   *
 
4365
!  * $Log$
 
4366
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4367
!  * Initial checkin.
 
4368
!  *
 
4369
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4370
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4371
!  *                  kerberos compilation support
 
4372
!  *
 
4373
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4374
!  * *** empty log message ***
 
4375
!  *
 
4376
   *
 
4377
   */
 
4378
  
 
4379
diff -bpBN Xmt310/Xmt/Include.c Xmt310.ge/Xmt/Include.c
 
4380
*** Xmt310/Xmt/Include.c        Sun Feb  4 22:41:56 2001
 
4381
--- Xmt310.ge/Xmt/Include.c     Tue Jun 12 18:25:28 2001
 
4382
***************
 
4383
*** 1,6 ****
 
4384
  /* 
 
4385
   * Motif Tools Library, Version 3.1
 
4386
!  * $Id$
 
4387
   * 
 
4388
   * Written by David Flanagan.
 
4389
   * Copyright (c) 1992-2001 by David Flanagan.
 
4390
--- 1,6 ----
 
4391
  /* 
 
4392
   * Motif Tools Library, Version 3.1
 
4393
!  * $Id$
 
4394
   * 
 
4395
   * Written by David Flanagan.
 
4396
   * Copyright (c) 1992-2001 by David Flanagan.
 
4397
***************
 
4398
*** 8,14 ****
 
4399
   * This is open source software.  See the file LICENSE for details.
 
4400
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4401
   *
 
4402
!  * $Log$
 
4403
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4404
!  * Initial checkin.
 
4405
!  *
 
4406
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4407
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4408
!  *                  kerberos compilation support
 
4409
!  *
 
4410
   *
 
4411
   */
 
4412
  
 
4413
--- 8,17 ----
 
4414
   * This is open source software.  See the file LICENSE for details.
 
4415
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4416
   *
 
4417
!  * $Log$
 
4418
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4419
!  * Initial checkin.
 
4420
!  *
 
4421
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4422
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4423
!  *                  kerberos compilation support
 
4424
!  *
 
4425
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4426
!  * *** empty log message ***
 
4427
!  *
 
4428
   *
 
4429
   */
 
4430
  
 
4431
*************** Boolean override;
 
4432
*** 59,65 ****
 
4433
  {
 
4434
      static XrmName required_names[2];
 
4435
      static XrmClass required_classes[2];
 
4436
!     static required_quarks_inited = False;
 
4437
      XmtAppResources *app = XmtGetApplicationResources(w);
 
4438
      XrmRepresentation type;
 
4439
      XrmValue value;
 
4440
--- 62,68 ----
 
4441
  {
 
4442
      static XrmName required_names[2];
 
4443
      static XrmClass required_classes[2];
 
4444
!     static Boolean required_quarks_inited = False;
 
4445
      XmtAppResources *app = XmtGetApplicationResources(w);
 
4446
      XrmRepresentation type;
 
4447
      XrmValue value;
 
4448
*************** Boolean override;
 
4449
*** 69,75 ****
 
4450
      String user_filename;
 
4451
      Boolean found = False;
 
4452
      XrmQuark fileq;
 
4453
!     XtPointer dummy;
 
4454
  
 
4455
      if (!filename || filename[0] == '\0') return False;
 
4456
      
 
4457
--- 72,78 ----
 
4458
      String user_filename;
 
4459
      Boolean found = False;
 
4460
      XrmQuark fileq;
 
4461
!     XtPointer dummy = NULL;
 
4462
  
 
4463
      if (!filename || filename[0] == '\0') return False;
 
4464
      
 
4465
diff -bpBN Xmt310/Xmt/Include.h Xmt310.ge/Xmt/Include.h
 
4466
*** Xmt310/Xmt/Include.h        Sun Feb  4 22:42:16 2001
 
4467
--- Xmt310.ge/Xmt/Include.h     Tue Jun 12 18:25:28 2001
 
4468
***************
 
4469
*** 1,6 ****
 
4470
  /* 
 
4471
   * Motif Tools Library, Version 3.1
 
4472
!  * $Id$
 
4473
   * 
 
4474
   * Written by David Flanagan.
 
4475
   * Copyright (c) 1992-2001 by David Flanagan.
 
4476
--- 1,6 ----
 
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
***************
 
4484
*** 8,14 ****
 
4485
   * This is open source software.  See the file LICENSE for details.
 
4486
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4487
   *
 
4488
!  * $Log$
 
4489
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4490
!  * Initial checkin.
 
4491
!  *
 
4492
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4493
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4494
!  *                  kerberos compilation support
 
4495
!  *
 
4496
   *
 
4497
   */
 
4498
  
 
4499
--- 8,17 ----
 
4500
   * This is open source software.  See the file LICENSE for details.
 
4501
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4502
   *
 
4503
!  * $Log$
 
4504
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4505
!  * Initial checkin.
 
4506
!  *
 
4507
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4508
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4509
!  *                  kerberos compilation support
 
4510
!  *
 
4511
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4512
!  * *** empty log message ***
 
4513
!  *
 
4514
   *
 
4515
   */
 
4516
  
 
4517
diff -bpBN Xmt310/Xmt/InitFocus.c Xmt310.ge/Xmt/InitFocus.c
 
4518
*** Xmt310/Xmt/InitFocus.c      Sun Feb  4 22:42:22 2001
 
4519
--- Xmt310.ge/Xmt/InitFocus.c   Tue Jun 12 18:25:28 2001
 
4520
***************
 
4521
*** 1,6 ****
 
4522
  /* 
 
4523
   * Motif Tools Library, Version 3.1
 
4524
!  * $Id$
 
4525
   * 
 
4526
   * Written by David Flanagan.
 
4527
   * Copyright (c) 1992-2001 by David Flanagan.
 
4528
--- 1,6 ----
 
4529
  /* 
 
4530
   * Motif Tools Library, Version 3.1
 
4531
!  * $Id$
 
4532
   * 
 
4533
   * Written by David Flanagan.
 
4534
   * Copyright (c) 1992-2001 by David Flanagan.
 
4535
***************
 
4536
*** 8,14 ****
 
4537
   * This is open source software.  See the file LICENSE for details.
 
4538
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4539
   *
 
4540
!  * $Log$
 
4541
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4542
!  * Initial checkin.
 
4543
!  *
 
4544
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4545
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4546
!  *                  kerberos compilation support
 
4547
!  *
 
4548
   *
 
4549
   */
 
4550
  
 
4551
--- 8,17 ----
 
4552
   * This is open source software.  See the file LICENSE for details.
 
4553
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4554
   *
 
4555
!  * $Log$
 
4556
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4557
!  * Initial checkin.
 
4558
!  *
 
4559
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4560
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4561
!  *                  kerberos compilation support
 
4562
!  *
 
4563
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4564
!  * *** empty log message ***
 
4565
!  *
 
4566
   *
 
4567
   */
 
4568
  
 
4569
diff -bpBN Xmt310/Xmt/Initialize.c Xmt310.ge/Xmt/Initialize.c
 
4570
*** Xmt310/Xmt/Initialize.c     Sun Feb  4 22:42:28 2001
 
4571
--- Xmt310.ge/Xmt/Initialize.c  Tue Jun 12 18:25:28 2001
 
4572
***************
 
4573
*** 1,6 ****
 
4574
  /* 
 
4575
   * Motif Tools Library, Version 3.1
 
4576
!  * $Id$
 
4577
   * 
 
4578
   * Written by David Flanagan.
 
4579
   * Copyright (c) 1992-2001 by David Flanagan.
 
4580
--- 1,6 ----
 
4581
  /* 
 
4582
   * Motif Tools Library, Version 3.1
 
4583
!  * $Id$
 
4584
   * 
 
4585
   * Written by David Flanagan.
 
4586
   * Copyright (c) 1992-2001 by David Flanagan.
 
4587
***************
 
4588
*** 8,14 ****
 
4589
   * This is open source software.  See the file LICENSE for details.
 
4590
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4591
   *
 
4592
!  * $Log$
 
4593
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4594
!  * Initial checkin.
 
4595
!  *
 
4596
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4597
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4598
!  *                  kerberos compilation support
 
4599
!  *
 
4600
   *
 
4601
   */
 
4602
  
 
4603
--- 8,17 ----
 
4604
   * This is open source software.  See the file LICENSE for details.
 
4605
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4606
   *
 
4607
!  * $Log$
 
4608
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4609
!  * Initial checkin.
 
4610
!  *
 
4611
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4612
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4613
!  *                  kerberos compilation support
 
4614
!  *
 
4615
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4616
!  * *** empty log message ***
 
4617
!  *
 
4618
   *
 
4619
   */
 
4620
  
 
4621
diff -bpBN Xmt310/Xmt/InputField.c Xmt310.ge/Xmt/InputField.c
 
4622
*** Xmt310/Xmt/InputField.c     Sun Feb  4 22:42:38 2001
 
4623
--- Xmt310.ge/Xmt/InputField.c  Tue Jun 12 18:25:28 2001
 
4624
***************
 
4625
*** 1,6 ****
 
4626
  /* 
 
4627
   * Motif Tools Library, Version 3.1
 
4628
!  * $Id$
 
4629
   * 
 
4630
   * Written by David Flanagan.
 
4631
   * Copyright (c) 1992-2001 by David Flanagan.
 
4632
--- 1,6 ----
 
4633
  /* 
 
4634
   * Motif Tools Library, Version 3.1
 
4635
!  * $Id$
 
4636
   * 
 
4637
   * Written by David Flanagan.
 
4638
   * Copyright (c) 1992-2001 by David Flanagan.
 
4639
***************
 
4640
*** 8,14 ****
 
4641
   * This is open source software.  See the file LICENSE for details.
 
4642
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4643
   *
 
4644
!  * $Log$
 
4645
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4646
!  * Initial checkin.
 
4647
!  *
 
4648
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4649
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4650
!  *                  kerberos compilation support
 
4651
!  *
 
4652
   *
 
4653
   */
 
4654
  
 
4655
--- 8,17 ----
 
4656
   * This is open source software.  See the file LICENSE for details.
 
4657
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4658
   *
 
4659
!  * $Log$
 
4660
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4661
!  * Initial checkin.
 
4662
!  *
 
4663
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4664
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4665
!  *                  kerberos compilation support
 
4666
!  *
 
4667
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4668
!  * *** empty log message ***
 
4669
!  *
 
4670
   *
 
4671
   */
 
4672
  
 
4673
diff -bpBN Xmt310/Xmt/InputField.h Xmt310.ge/Xmt/InputField.h
 
4674
*** Xmt310/Xmt/InputField.h     Sun Feb  4 22:42:42 2001
 
4675
--- Xmt310.ge/Xmt/InputField.h  Tue Jun 12 18:25:28 2001
 
4676
***************
 
4677
*** 1,6 ****
 
4678
  /* 
 
4679
   * Motif Tools Library, Version 3.1
 
4680
!  * $Id$
 
4681
   * 
 
4682
   * Written by David Flanagan.
 
4683
   * Copyright (c) 1992-2001 by David Flanagan.
 
4684
--- 1,6 ----
 
4685
  /* 
 
4686
   * Motif Tools Library, Version 3.1
 
4687
!  * $Id$
 
4688
   * 
 
4689
   * Written by David Flanagan.
 
4690
   * Copyright (c) 1992-2001 by David Flanagan.
 
4691
***************
 
4692
*** 8,14 ****
 
4693
   * This is open source software.  See the file LICENSE for details.
 
4694
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4695
   *
 
4696
!  * $Log$
 
4697
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4698
!  * Initial checkin.
 
4699
!  *
 
4700
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4701
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4702
!  *                  kerberos compilation support
 
4703
!  *
 
4704
   *
 
4705
   */
 
4706
  
 
4707
--- 8,17 ----
 
4708
   * This is open source software.  See the file LICENSE for details.
 
4709
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4710
   *
 
4711
!  * $Log$
 
4712
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4713
!  * Initial checkin.
 
4714
!  *
 
4715
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4716
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4717
!  *                  kerberos compilation support
 
4718
!  *
 
4719
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4720
!  * *** empty log message ***
 
4721
!  *
 
4722
   *
 
4723
   */
 
4724
  
 
4725
diff -bpBN Xmt310/Xmt/InputFieldP.h Xmt310.ge/Xmt/InputFieldP.h
 
4726
*** Xmt310/Xmt/InputFieldP.h    Sun Feb  4 22:42:48 2001
 
4727
--- Xmt310.ge/Xmt/InputFieldP.h Tue Jun 12 18:25:28 2001
 
4728
***************
 
4729
*** 1,6 ****
 
4730
  /* 
 
4731
   * Motif Tools Library, Version 3.1
 
4732
!  * $Id$
 
4733
   * 
 
4734
   * Written by David Flanagan.
 
4735
   * Copyright (c) 1992-2001 by David Flanagan.
 
4736
--- 1,6 ----
 
4737
  /* 
 
4738
   * Motif Tools Library, Version 3.1
 
4739
!  * $Id$
 
4740
   * 
 
4741
   * Written by David Flanagan.
 
4742
   * Copyright (c) 1992-2001 by David Flanagan.
 
4743
***************
 
4744
*** 8,14 ****
 
4745
   * This is open source software.  See the file LICENSE for details.
 
4746
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4747
   *
 
4748
!  * $Log$
 
4749
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4750
!  * Initial checkin.
 
4751
!  *
 
4752
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4753
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4754
!  *                  kerberos compilation support
 
4755
!  *
 
4756
   *
 
4757
   */
 
4758
  
 
4759
--- 8,17 ----
 
4760
   * This is open source software.  See the file LICENSE for details.
 
4761
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4762
   *
 
4763
!  * $Log$
 
4764
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4765
!  * Initial checkin.
 
4766
!  *
 
4767
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4768
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4769
!  *                  kerberos compilation support
 
4770
!  *
 
4771
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4772
!  * *** empty log message ***
 
4773
!  *
 
4774
   *
 
4775
   */
 
4776
  
 
4777
diff -bpBN Xmt310/Xmt/InputFieldS.c Xmt310.ge/Xmt/InputFieldS.c
 
4778
*** Xmt310/Xmt/InputFieldS.c    Sun Feb  4 22:42:52 2001
 
4779
--- Xmt310.ge/Xmt/InputFieldS.c Tue Jun 12 18:25:28 2001
 
4780
***************
 
4781
*** 1,6 ****
 
4782
  /* 
 
4783
   * Motif Tools Library, Version 3.1
 
4784
!  * $Id$
 
4785
   * 
 
4786
   * Written by David Flanagan.
 
4787
   * Copyright (c) 1992-2001 by David Flanagan.
 
4788
--- 1,6 ----
 
4789
  /* 
 
4790
   * Motif Tools Library, Version 3.1
 
4791
!  * $Id$
 
4792
   * 
 
4793
   * Written by David Flanagan.
 
4794
   * Copyright (c) 1992-2001 by David Flanagan.
 
4795
***************
 
4796
*** 8,14 ****
 
4797
   * This is open source software.  See the file LICENSE for details.
 
4798
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4799
   *
 
4800
!  * $Log$
 
4801
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4802
!  * Initial checkin.
 
4803
!  *
 
4804
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4805
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4806
!  *                  kerberos compilation support
 
4807
!  *
 
4808
   *
 
4809
   */
 
4810
  #include <X11/Intrinsic.h>
 
4811
--- 8,17 ----
 
4812
   * This is open source software.  See the file LICENSE for details.
 
4813
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4814
   *
 
4815
!  * $Log$
 
4816
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4817
!  * Initial checkin.
 
4818
!  *
 
4819
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4820
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4821
!  *                  kerberos compilation support
 
4822
!  *
 
4823
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4824
!  * *** empty log message ***
 
4825
!  *
 
4826
   *
 
4827
   */
 
4828
  #include <X11/Intrinsic.h>
 
4829
diff -bpBN Xmt310/Xmt/Layout.c Xmt310.ge/Xmt/Layout.c
 
4830
*** Xmt310/Xmt/Layout.c Sun Feb  4 22:42:54 2001
 
4831
--- Xmt310.ge/Xmt/Layout.c      Tue Jun 12 18:25:28 2001
 
4832
***************
 
4833
*** 1,6 ****
 
4834
  /* 
 
4835
   * Motif Tools Library, Version 3.1
 
4836
!  * $Id$
 
4837
   * 
 
4838
   * Written by David Flanagan.
 
4839
   * Copyright (c) 1992-2001 by David Flanagan.
 
4840
--- 1,6 ----
 
4841
  /* 
 
4842
   * Motif Tools Library, Version 3.1
 
4843
!  * $Id$
 
4844
   * 
 
4845
   * Written by David Flanagan.
 
4846
   * Copyright (c) 1992-2001 by David Flanagan.
 
4847
***************
 
4848
*** 8,14 ****
 
4849
   * This is open source software.  See the file LICENSE for details.
 
4850
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4851
   *
 
4852
!  * $Log$
 
4853
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4854
!  * Initial checkin.
 
4855
!  *
 
4856
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4857
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4858
!  *                  kerberos compilation support
 
4859
!  *
 
4860
   *
 
4861
   */
 
4862
  
 
4863
--- 8,17 ----
 
4864
   * This is open source software.  See the file LICENSE for details.
 
4865
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
4866
   *
 
4867
!  * $Log$
 
4868
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
4869
!  * Initial checkin.
 
4870
!  *
 
4871
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
4872
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
4873
!  *                  kerberos compilation support
 
4874
!  *
 
4875
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
4876
!  * *** empty log message ***
 
4877
!  *
 
4878
   *
 
4879
   */
 
4880
  
 
4881
*************** static void ClassInitialize()
 
4882
*** 259,265 ****
 
4883
  {
 
4884
      static String justification_names[] = {
 
4885
        "Bottom", "Center", "Centered", "Filled", "Left", "Right", "Top"};
 
4886
!     static int justification_values[] = {
 
4887
        XmtLayoutFlushBottom, XmtLayoutCentered, XmtLayoutCentered,
 
4888
        XmtLayoutFilled,XmtLayoutFlushLeft,
 
4889
        XmtLayoutFlushRight, XmtLayoutFlushTop};
 
4890
--- 262,268 ----
 
4891
  {
 
4892
      static String justification_names[] = {
 
4893
        "Bottom", "Center", "Centered", "Filled", "Left", "Right", "Top"};
 
4894
!     static Cardinal justification_values[] = {
 
4895
        XmtLayoutFlushBottom, XmtLayoutCentered, XmtLayoutCentered,
 
4896
        XmtLayoutFilled,XmtLayoutFlushLeft,
 
4897
        XmtLayoutFlushRight, XmtLayoutFlushTop};
 
4898
*************** static void ClassInitialize()
 
4899
*** 267,273 ****
 
4900
      
 
4901
      static String edge_names[] = {
 
4902
        "Bottom", "Left", "Right", "Top"};
 
4903
!     static int edge_values[] = {
 
4904
          XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
 
4905
      };
 
4906
      static String edge_prefixes[] = {"Xmt", "Layout", NULL};
 
4907
--- 270,276 ----
 
4908
      
 
4909
      static String edge_names[] = {
 
4910
        "Bottom", "Left", "Right", "Top"};
 
4911
!     static Cardinal edge_values[] = {
 
4912
          XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
 
4913
      };
 
4914
      static String edge_prefixes[] = {"Xmt", "Layout", NULL};
 
4915
*************** static void ClassInitialize()
 
4916
*** 276,282 ****
 
4917
          "Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
 
4918
          "Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
 
4919
      };
 
4920
!     static int line_type_values[] = {
 
4921
          XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
 
4922
          XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
 
4923
          XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
 
4924
--- 279,285 ----
 
4925
          "Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
 
4926
          "Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
 
4927
      };
 
4928
!     static Cardinal line_type_values[] = {
 
4929
          XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
 
4930
          XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
 
4931
          XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
 
4932
*************** static void ClassInitialize()
 
4933
*** 286,306 ****
 
4934
  
 
4935
      static String frame_type_names[] = {
 
4936
          "Bottom", "Box", "Left", "None", "Right", "Top" };
 
4937
!     static int frame_type_values[] = {
 
4938
          XmtLayoutFrameBottom, XmtLayoutFrameBox, XmtLayoutFrameLeft,
 
4939
          XmtLayoutFrameNone, XmtLayoutFrameRight, XmtLayoutFrameTop
 
4940
      };
 
4941
      static String frame_type_prefixes[]  = {"Xmt", "Layout", "Frame", NULL};
 
4942
  
 
4943
      static String position_names[] = { "Inside", "Outside", "Through" };
 
4944
!     static int position_values[] = {
 
4945
          XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
 
4946
  
 
4947
      static String space_type_names[] = {
 
4948
          "CTabbed", "Even", "Interval", "LCR",
 
4949
        "LREven", "LTabbed", "None", "RTabbed"
 
4950
      };
 
4951
!     static int space_type_values[] = {
 
4952
          XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
 
4953
        XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
 
4954
          XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
 
4955
--- 289,309 ----
 
4956
  
 
4957
      static String frame_type_names[] = {
 
4958
          "Bottom", "Box", "Left", "None", "Right", "Top" };
 
4959
!     static Cardinal frame_type_values[] = {
 
4960
          XmtLayoutFrameBottom, XmtLayoutFrameBox, XmtLayoutFrameLeft,
 
4961
          XmtLayoutFrameNone, XmtLayoutFrameRight, XmtLayoutFrameTop
 
4962
      };
 
4963
      static String frame_type_prefixes[]  = {"Xmt", "Layout", "Frame", NULL};
 
4964
  
 
4965
      static String position_names[] = { "Inside", "Outside", "Through" };
 
4966
!     static Cardinal position_values[] = {
 
4967
          XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
 
4968
  
 
4969
      static String space_type_names[] = {
 
4970
          "CTabbed", "Even", "Interval", "LCR",
 
4971
        "LREven", "LTabbed", "None", "RTabbed"
 
4972
      };
 
4973
!     static Cardinal space_type_values[] = {
 
4974
          XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
 
4975
        XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
 
4976
          XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
 
4977
*************** Region region;
 
4978
*** 1045,1059 ****
 
4979
  {
 
4980
      XmtLayoutConstraintsPart *cc;
 
4981
      int x, y, w, h;      /* coordinates of widget */
 
4982
!     int fx, fy, fw, fh;  /* coordinates of outside of frame */
 
4983
!     int cx, cy, cw, ch;  /* coordinates of caption bounding box*/
 
4984
      XmtLayoutFrameType frame_type;
 
4985
      XmtLayoutFrameLineType frame_line_type;
 
4986
      int frame_thickness;
 
4987
      int frame_margin;
 
4988
      XmtLayoutFramePosition frame_position;
 
4989
      int frame_total;
 
4990
!     int caption_total_width, caption_total_height;
 
4991
      Boolean frame_redrawn;
 
4992
  
 
4993
      /*
 
4994
--- 1048,1062 ----
 
4995
  {
 
4996
      XmtLayoutConstraintsPart *cc;
 
4997
      int x, y, w, h;      /* coordinates of widget */
 
4998
!     int fx = 0, fy = 0, fw = 0, fh = 0;  /* coordinates of outside of frame */
 
4999
!     int cx = 0, cy = 0, cw = 0, ch = 0;  /* coordinates of caption bounding box*/
 
5000
      XmtLayoutFrameType frame_type;
 
5001
      XmtLayoutFrameLineType frame_line_type;
 
5002
      int frame_thickness;
 
5003
      int frame_margin;
 
5004
      XmtLayoutFramePosition frame_position;
 
5005
      int frame_total;
 
5006
!     int caption_total_width = 0, caption_total_height = 0;
 
5007
      Boolean frame_redrawn;
 
5008
  
 
5009
      /*
 
5010
*************** XtWidgetGeometry *reply;
 
5011
*** 1383,1390 ****
 
5012
  #endif
 
5013
  {
 
5014
      XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
 
5015
!     Position x,y;
 
5016
!     Dimension width, height, border_width;
 
5017
  
 
5018
      /* this is case 2 described above */
 
5019
      if (lw->layout.geometry_okay) {
 
5020
--- 1386,1392 ----
 
5021
  #endif
 
5022
  {
 
5023
      XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
 
5024
!     Dimension width, height;
 
5025
  
 
5026
      /* this is case 2 described above */
 
5027
      if (lw->layout.geometry_okay) {
 
5028
*************** XtWidgetGeometry *reply;
 
5029
*** 1457,1467 ****
 
5030
      reply->height = LayoutConstraints(w->layout.toplevel).pref_h +
 
5031
                      2 * w->bulletin_board.margin_height;
 
5032
      reply->request_mode = CWWidth | CWHeight;
 
5033
!     if (request->request_mode & (CWWidth | CWHeight) == (CWWidth | CWHeight)
 
5034
!       && request->width == reply->width
 
5035
!       && request->height == reply->height)
 
5036
        return XtGeometryYes;
 
5037
!     else if (reply->width == w->core.width && reply->height == w->core.height)
 
5038
        return XtGeometryNo;
 
5039
      else
 
5040
        return XtGeometryAlmost;
 
5041
--- 1459,1469 ----
 
5042
      reply->height = LayoutConstraints(w->layout.toplevel).pref_h +
 
5043
                      2 * w->bulletin_board.margin_height;
 
5044
      reply->request_mode = CWWidth | CWHeight;
 
5045
!     if (((request->request_mode & (CWWidth | CWHeight)) == (CWWidth | CWHeight))
 
5046
!       && (request->width == reply->width)
 
5047
!       && (request->height == reply->height))
 
5048
        return XtGeometryYes;
 
5049
!     else if ((reply->width == w->core.width) && (reply->height == w->core.height))
 
5050
        return XtGeometryNo;
 
5051
      else
 
5052
        return XtGeometryAlmost;
 
5053
*************** Cardinal *num_args;
 
5054
*** 2029,2035 ****
 
5055
        set->core.x = current->core.x;
 
5056
        set->core.y = current->core.y;
 
5057
        XmtWarningMsg("XmtLayout", "cantsetpos",
 
5058
!                     "Widget %s: can't set XtNx or XtNy resources of a child of\n\tan XmtLayout widget.  Changes ignored.");
 
5059
      }
 
5060
  
 
5061
  #undef Changed
 
5062
--- 2031,2037 ----
 
5063
        set->core.x = current->core.x;
 
5064
        set->core.y = current->core.y;
 
5065
        XmtWarningMsg("XmtLayout", "cantsetpos",
 
5066
!                     "Widget %s: can't set XtNx or XtNy resources of a child of\n\tan XmtLayout widget.  Changes ignored.", XtName((Widget)set));
 
5067
      }
 
5068
  
 
5069
  #undef Changed
 
5070
diff -bpBN Xmt310/Xmt/Layout.h Xmt310.ge/Xmt/Layout.h
 
5071
*** Xmt310/Xmt/Layout.h Sun Feb  4 22:42:58 2001
 
5072
--- Xmt310.ge/Xmt/Layout.h      Tue Jun 12 18:25:28 2001
 
5073
***************
 
5074
*** 1,6 ****
 
5075
  /* 
 
5076
   * Motif Tools Library, Version 3.1
 
5077
!  * $Id$
 
5078
   * 
 
5079
   * Written by David Flanagan.
 
5080
   * Copyright (c) 1992-2001 by David Flanagan.
 
5081
--- 1,6 ----
 
5082
  /* 
 
5083
   * Motif Tools Library, Version 3.1
 
5084
!  * $Id$
 
5085
   * 
 
5086
   * Written by David Flanagan.
 
5087
   * Copyright (c) 1992-2001 by David Flanagan.
 
5088
***************
 
5089
*** 8,14 ****
 
5090
   * This is open source software.  See the file LICENSE for details.
 
5091
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5092
   *
 
5093
!  * $Log$
 
5094
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5095
!  * Initial checkin.
 
5096
!  *
 
5097
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5098
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5099
!  *                  kerberos compilation support
 
5100
!  *
 
5101
   *
 
5102
   */
 
5103
  
 
5104
--- 8,17 ----
 
5105
   * This is open source software.  See the file LICENSE for details.
 
5106
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5107
   *
 
5108
!  * $Log$
 
5109
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5110
!  * Initial checkin.
 
5111
!  *
 
5112
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5113
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5114
!  *                  kerberos compilation support
 
5115
!  *
 
5116
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5117
!  * *** empty log message ***
 
5118
!  *
 
5119
   *
 
5120
   */
 
5121
  
 
5122
diff -bpBN Xmt310/Xmt/LayoutBox.c Xmt310.ge/Xmt/LayoutBox.c
 
5123
*** Xmt310/Xmt/LayoutBox.c      Sun Feb  4 22:43:02 2001
 
5124
--- Xmt310.ge/Xmt/LayoutBox.c   Tue Jun 12 18:25:28 2001
 
5125
***************
 
5126
*** 1,6 ****
 
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
--- 1,6 ----
 
5134
  /* 
 
5135
   * Motif Tools Library, Version 3.1
 
5136
!  * $Id$
 
5137
   * 
 
5138
   * Written by David Flanagan.
 
5139
   * Copyright (c) 1992-2001 by David Flanagan.
 
5140
***************
 
5141
*** 8,14 ****
 
5142
   * This is open source software.  See the file LICENSE for details.
 
5143
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5144
   *
 
5145
!  * $Log$
 
5146
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5147
!  * Initial checkin.
 
5148
!  *
 
5149
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5150
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5151
!  *                  kerberos compilation support
 
5152
!  *
 
5153
   *
 
5154
   */
 
5155
  
 
5156
--- 8,17 ----
 
5157
   * This is open source software.  See the file LICENSE for details.
 
5158
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5159
   *
 
5160
!  * $Log$
 
5161
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5162
!  * Initial checkin.
 
5163
!  *
 
5164
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5165
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5166
!  *                  kerberos compilation support
 
5167
!  *
 
5168
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5169
!  * *** empty log message ***
 
5170
!  *
 
5171
   *
 
5172
   */
 
5173
  
 
5174
*************** Widget w;
 
5175
*** 468,474 ****
 
5176
      int margin_width, margin_height, top_margin, left_margin;
 
5177
      int *major_margin, *minor_margin;
 
5178
      int space_stretch;
 
5179
!     int total_space, space, interval;
 
5180
      
 
5181
      if (!XtIsManaged(w)) return;
 
5182
  
 
5183
--- 471,477 ----
 
5184
      int margin_width, margin_height, top_margin, left_margin;
 
5185
      int *major_margin, *minor_margin;
 
5186
      int space_stretch;
 
5187
!     int total_space, space, interval = 0;
 
5188
      
 
5189
      if (!XtIsManaged(w)) return;
 
5190
  
 
5191
diff -bpBN Xmt310/Xmt/LayoutCreate.c Xmt310.ge/Xmt/LayoutCreate.c
 
5192
*** Xmt310/Xmt/LayoutCreate.c   Sun Feb  4 22:43:06 2001
 
5193
--- Xmt310.ge/Xmt/LayoutCreate.c        Tue Jun 12 18:25:28 2001
 
5194
***************
 
5195
*** 1,6 ****
 
5196
  /* 
 
5197
   * Motif Tools Library, Version 3.1
 
5198
!  * $Id$
 
5199
   * 
 
5200
   * Written by David Flanagan.
 
5201
   * Copyright (c) 1992-2001 by David Flanagan.
 
5202
--- 1,6 ----
 
5203
  /* 
 
5204
   * Motif Tools Library, Version 3.1
 
5205
!  * $Id$
 
5206
   * 
 
5207
   * Written by David Flanagan.
 
5208
   * Copyright (c) 1992-2001 by David Flanagan.
 
5209
***************
 
5210
*** 8,14 ****
 
5211
   * This is open source software.  See the file LICENSE for details.
 
5212
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5213
   *
 
5214
!  * $Log$
 
5215
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5216
!  * Initial checkin.
 
5217
!  *
 
5218
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5219
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5220
!  *                  kerberos compilation support
 
5221
!  *
 
5222
   *
 
5223
   */
 
5224
  
 
5225
--- 8,17 ----
 
5226
   * This is open source software.  See the file LICENSE for details.
 
5227
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5228
   *
 
5229
!  * $Log$
 
5230
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5231
!  * Initial checkin.
 
5232
!  *
 
5233
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5234
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5235
!  *                  kerberos compilation support
 
5236
!  *
 
5237
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5238
!  * *** empty log message ***
 
5239
!  *
 
5240
   *
 
5241
   */
 
5242
  
 
5243
diff -bpBN Xmt310/Xmt/LayoutG.h Xmt310.ge/Xmt/LayoutG.h
 
5244
*** Xmt310/Xmt/LayoutG.h        Sun Feb  4 22:43:10 2001
 
5245
--- Xmt310.ge/Xmt/LayoutG.h     Tue Jun 12 18:25:28 2001
 
5246
***************
 
5247
*** 1,6 ****
 
5248
  /* 
 
5249
   * Motif Tools Library, Version 3.1
 
5250
!  * $Id$
 
5251
   * 
 
5252
   * Written by David Flanagan.
 
5253
   * Copyright (c) 1992-2001 by David Flanagan.
 
5254
--- 1,6 ----
 
5255
  /* 
 
5256
   * Motif Tools Library, Version 3.1
 
5257
!  * $Id$
 
5258
   * 
 
5259
   * Written by David Flanagan.
 
5260
   * Copyright (c) 1992-2001 by David Flanagan.
 
5261
***************
 
5262
*** 8,14 ****
 
5263
   * This is open source software.  See the file LICENSE for details.
 
5264
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5265
   *
 
5266
!  * $Log$
 
5267
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5268
!  * Initial checkin.
 
5269
!  *
 
5270
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5271
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5272
!  *                  kerberos compilation support
 
5273
!  *
 
5274
   *
 
5275
   */
 
5276
  
 
5277
--- 8,17 ----
 
5278
   * This is open source software.  See the file LICENSE for details.
 
5279
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5280
   *
 
5281
!  * $Log$
 
5282
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5283
!  * Initial checkin.
 
5284
!  *
 
5285
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5286
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5287
!  *                  kerberos compilation support
 
5288
!  *
 
5289
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5290
!  * *** empty log message ***
 
5291
!  *
 
5292
   *
 
5293
   */
 
5294
  
 
5295
diff -bpBN Xmt310/Xmt/LayoutGP.h Xmt310.ge/Xmt/LayoutGP.h
 
5296
*** Xmt310/Xmt/LayoutGP.h       Sun Feb  4 22:43:14 2001
 
5297
--- Xmt310.ge/Xmt/LayoutGP.h    Tue Jun 12 18:25:28 2001
 
5298
***************
 
5299
*** 1,6 ****
 
5300
  /* 
 
5301
   * Motif Tools Library, Version 3.1
 
5302
!  * $Id$
 
5303
   * 
 
5304
   * Written by David Flanagan.
 
5305
   * Copyright (c) 1992-2001 by David Flanagan.
 
5306
--- 1,6 ----
 
5307
  /* 
 
5308
   * Motif Tools Library, Version 3.1
 
5309
!  * $Id$
 
5310
   * 
 
5311
   * Written by David Flanagan.
 
5312
   * Copyright (c) 1992-2001 by David Flanagan.
 
5313
***************
 
5314
*** 8,14 ****
 
5315
   * This is open source software.  See the file LICENSE for details.
 
5316
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5317
   *
 
5318
!  * $Log$
 
5319
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5320
!  * Initial checkin.
 
5321
!  *
 
5322
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5323
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5324
!  *                  kerberos compilation support
 
5325
!  *
 
5326
   *
 
5327
   */
 
5328
  
 
5329
--- 8,17 ----
 
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
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5342
!  * *** empty log message ***
 
5343
!  *
 
5344
   *
 
5345
   */
 
5346
  
 
5347
diff -bpBN Xmt310/Xmt/LayoutGadget.c Xmt310.ge/Xmt/LayoutGadget.c
 
5348
*** Xmt310/Xmt/LayoutGadget.c   Sun Feb  4 22:43:18 2001
 
5349
--- Xmt310.ge/Xmt/LayoutGadget.c        Tue Jun 12 18:25:28 2001
 
5350
***************
 
5351
*** 1,6 ****
 
5352
  /* 
 
5353
   * Motif Tools Library, Version 3.1
 
5354
!  * $Id$
 
5355
   * 
 
5356
   * Written by David Flanagan.
 
5357
   * Copyright (c) 1992-2001 by David Flanagan.
 
5358
--- 1,6 ----
 
5359
  /* 
 
5360
   * Motif Tools Library, Version 3.1
 
5361
!  * $Id$
 
5362
   * 
 
5363
   * Written by David Flanagan.
 
5364
   * Copyright (c) 1992-2001 by David Flanagan.
 
5365
***************
 
5366
*** 8,14 ****
 
5367
   * This is open source software.  See the file LICENSE for details.
 
5368
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5369
   *
 
5370
!  * $Log$
 
5371
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5372
!  * Initial checkin.
 
5373
!  *
 
5374
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5375
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5376
!  *                  kerberos compilation support
 
5377
!  *
 
5378
   *
 
5379
   */
 
5380
  
 
5381
--- 8,17 ----
 
5382
   * This is open source software.  See the file LICENSE for details.
 
5383
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5384
   *
 
5385
!  * $Log$
 
5386
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5387
!  * Initial checkin.
 
5388
!  *
 
5389
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5390
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5391
!  *                  kerberos compilation support
 
5392
!  *
 
5393
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5394
!  * *** empty log message ***
 
5395
!  *
 
5396
   *
 
5397
   */
 
5398
  
 
5399
diff -bpBN Xmt310/Xmt/LayoutP.h Xmt310.ge/Xmt/LayoutP.h
 
5400
*** Xmt310/Xmt/LayoutP.h        Sun Feb  4 22:43:22 2001
 
5401
--- Xmt310.ge/Xmt/LayoutP.h     Tue Jun 12 18:25:28 2001
 
5402
***************
 
5403
*** 1,6 ****
 
5404
  /* 
 
5405
   * Motif Tools Library, Version 3.1
 
5406
!  * $Id$
 
5407
   * 
 
5408
   * Written by David Flanagan.
 
5409
   * Copyright (c) 1992-2001 by David Flanagan.
 
5410
--- 1,6 ----
 
5411
  /* 
 
5412
   * Motif Tools Library, Version 3.1
 
5413
!  * $Id$
 
5414
   * 
 
5415
   * Written by David Flanagan.
 
5416
   * Copyright (c) 1992-2001 by David Flanagan.
 
5417
***************
 
5418
*** 8,14 ****
 
5419
   * This is open source software.  See the file LICENSE for details.
 
5420
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5421
   *
 
5422
!  * $Log$
 
5423
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5424
!  * Initial checkin.
 
5425
!  *
 
5426
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5427
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5428
!  *                  kerberos compilation support
 
5429
!  *
 
5430
   *
 
5431
   */
 
5432
  
 
5433
--- 8,17 ----
 
5434
   * This is open source software.  See the file LICENSE for details.
 
5435
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5436
   *
 
5437
!  * $Log$
 
5438
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5439
!  * Initial checkin.
 
5440
!  *
 
5441
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5442
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5443
!  *                  kerberos compilation support
 
5444
!  *
 
5445
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5446
!  * *** empty log message ***
 
5447
!  *
 
5448
   *
 
5449
   */
 
5450
  
 
5451
diff -bpBN Xmt310/Xmt/LayoutParse.c Xmt310.ge/Xmt/LayoutParse.c
 
5452
*** Xmt310/Xmt/LayoutParse.c    Sun Feb  4 22:43:26 2001
 
5453
--- Xmt310.ge/Xmt/LayoutParse.c Tue Jun 12 18:25:28 2001
 
5454
***************
 
5455
*** 1,6 ****
 
5456
  /* 
 
5457
   * Motif Tools Library, Version 3.1
 
5458
!  * $Id$
 
5459
   * 
 
5460
   * Written by David Flanagan.
 
5461
   * Copyright (c) 1992-2001 by David Flanagan.
 
5462
--- 1,6 ----
 
5463
  /* 
 
5464
   * Motif Tools Library, Version 3.1
 
5465
!  * $Id$
 
5466
   * 
 
5467
   * Written by David Flanagan.
 
5468
   * Copyright (c) 1992-2001 by David Flanagan.
 
5469
***************
 
5470
*** 8,14 ****
 
5471
   * This is open source software.  See the file LICENSE for details.
 
5472
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5473
   *
 
5474
!  * $Log$
 
5475
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5476
!  * Initial checkin.
 
5477
!  *
 
5478
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5479
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5480
!  *                  kerberos compilation support
 
5481
!  *
 
5482
   *
 
5483
   */
 
5484
  
 
5485
--- 8,17 ----
 
5486
   * This is open source software.  See the file LICENSE for details.
 
5487
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5488
   *
 
5489
!  * $Log$
 
5490
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5491
!  * Initial checkin.
 
5492
!  *
 
5493
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5494
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5495
!  *                  kerberos compilation support
 
5496
!  *
 
5497
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5498
!  * *** empty log message ***
 
5499
!  *
 
5500
   *
 
5501
   */
 
5502
  
 
5503
*************** XmtLayoutInfo *i;
 
5504
*** 359,365 ****
 
5505
  
 
5506
      if (GetToken() == XmtLexerString) {
 
5507
        i->dummy_constraints.caption = (XmString)1;
 
5508
!       i->constraints.caption = XmtCreateXmString(GetStrValue());
 
5509
        i->constraints.dont_copy_caption = 1;
 
5510
        XtFree(GetStrValue());
 
5511
        ConsumeToken();
 
5512
--- 362,368 ----
 
5513
  
 
5514
      if (GetToken() == XmtLexerString) {
 
5515
        i->dummy_constraints.caption = (XmString)1;
 
5516
!       i->constraints.caption = XmtCreateLocalizedXmString((Widget) lw, GetStrValue());
 
5517
        i->constraints.dont_copy_caption = 1;
 
5518
        XtFree(GetStrValue());
 
5519
        ConsumeToken();
 
5520
diff -bpBN Xmt310/Xmt/LayoutPixmap.c Xmt310.ge/Xmt/LayoutPixmap.c
 
5521
*** Xmt310/Xmt/LayoutPixmap.c   Sun Feb  4 22:43:32 2001
 
5522
--- Xmt310.ge/Xmt/LayoutPixmap.c        Tue Jun 12 18:25:28 2001
 
5523
***************
 
5524
*** 1,6 ****
 
5525
  /* 
 
5526
   * Motif Tools Library, Version 3.1
 
5527
!  * $Id$
 
5528
   * 
 
5529
   * Written by David Flanagan.
 
5530
   * Copyright (c) 1992-2001 by David Flanagan.
 
5531
--- 1,6 ----
 
5532
  /* 
 
5533
   * Motif Tools Library, Version 3.1
 
5534
!  * $Id$
 
5535
   * 
 
5536
   * Written by David Flanagan.
 
5537
   * Copyright (c) 1992-2001 by David Flanagan.
 
5538
***************
 
5539
*** 8,14 ****
 
5540
   * This is open source software.  See the file LICENSE for details.
 
5541
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5542
   *
 
5543
!  * $Log$
 
5544
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5545
!  * Initial checkin.
 
5546
!  *
 
5547
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5548
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5549
!  *                  kerberos compilation support
 
5550
!  *
 
5551
   *
 
5552
   */
 
5553
  
 
5554
--- 8,17 ----
 
5555
   * This is open source software.  See the file LICENSE for details.
 
5556
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5557
   *
 
5558
!  * $Log$
 
5559
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5560
!  * Initial checkin.
 
5561
!  *
 
5562
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5563
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5564
!  *                  kerberos compilation support
 
5565
!  *
 
5566
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5567
!  * *** empty log message ***
 
5568
!  *
 
5569
   *
 
5570
   */
 
5571
  
 
5572
diff -bpBN Xmt310/Xmt/LayoutS.c Xmt310.ge/Xmt/LayoutS.c
 
5573
*** Xmt310/Xmt/LayoutS.c        Sun Feb  4 22:43:50 2001
 
5574
--- Xmt310.ge/Xmt/LayoutS.c     Tue Jun 12 18:25:28 2001
 
5575
***************
 
5576
*** 1,6 ****
 
5577
  /* 
 
5578
   * Motif Tools Library, Version 3.1
 
5579
!  * $Id$
 
5580
   * 
 
5581
   * Written by David Flanagan.
 
5582
   * Copyright (c) 1992-2001 by David Flanagan.
 
5583
--- 1,6 ----
 
5584
  /* 
 
5585
   * Motif Tools Library, Version 3.1
 
5586
!  * $Id$
 
5587
   * 
 
5588
   * Written by David Flanagan.
 
5589
   * Copyright (c) 1992-2001 by David Flanagan.
 
5590
***************
 
5591
*** 8,14 ****
 
5592
   * This is open source software.  See the file LICENSE for details.
 
5593
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5594
   *
 
5595
!  * $Log$
 
5596
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5597
!  * Initial checkin.
 
5598
!  *
 
5599
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5600
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5601
!  *                  kerberos compilation support
 
5602
!  *
 
5603
   *
 
5604
   */
 
5605
  
 
5606
--- 8,17 ----
 
5607
   * This is open source software.  See the file LICENSE for details.
 
5608
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5609
   *
 
5610
!  * $Log$
 
5611
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5612
!  * Initial checkin.
 
5613
!  *
 
5614
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5615
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5616
!  *                  kerberos compilation support
 
5617
!  *
 
5618
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5619
!  * *** empty log message ***
 
5620
!  *
 
5621
   *
 
5622
   */
 
5623
  
 
5624
diff -bpBN Xmt310/Xmt/LayoutSep.c Xmt310.ge/Xmt/LayoutSep.c
 
5625
*** Xmt310/Xmt/LayoutSep.c      Sun Feb  4 22:44:02 2001
 
5626
--- Xmt310.ge/Xmt/LayoutSep.c   Tue Jun 12 18:25:28 2001
 
5627
***************
 
5628
*** 1,6 ****
 
5629
  /* 
 
5630
   * Motif Tools Library, Version 3.1
 
5631
!  * $Id$
 
5632
   * 
 
5633
   * Written by David Flanagan.
 
5634
   * Copyright (c) 1992-2001 by David Flanagan.
 
5635
--- 1,6 ----
 
5636
  /* 
 
5637
   * Motif Tools Library, Version 3.1
 
5638
!  * $Id$
 
5639
   * 
 
5640
   * Written by David Flanagan.
 
5641
   * Copyright (c) 1992-2001 by David Flanagan.
 
5642
***************
 
5643
*** 8,14 ****
 
5644
   * This is open source software.  See the file LICENSE for details.
 
5645
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5646
   *
 
5647
!  * $Log$
 
5648
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5649
!  * Initial checkin.
 
5650
!  *
 
5651
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5652
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5653
!  *                  kerberos compilation support
 
5654
!  *
 
5655
   *
 
5656
   */
 
5657
  
 
5658
--- 8,17 ----
 
5659
   * This is open source software.  See the file LICENSE for details.
 
5660
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5661
   *
 
5662
!  * $Log$
 
5663
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5664
!  * Initial checkin.
 
5665
!  *
 
5666
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5667
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5668
!  *                  kerberos compilation support
 
5669
!  *
 
5670
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5671
!  * *** empty log message ***
 
5672
!  *
 
5673
   *
 
5674
   */
 
5675
  
 
5676
diff -bpBN Xmt310/Xmt/LayoutSpace.c Xmt310.ge/Xmt/LayoutSpace.c
 
5677
*** Xmt310/Xmt/LayoutSpace.c    Sun Feb  4 22:44:06 2001
 
5678
--- Xmt310.ge/Xmt/LayoutSpace.c Tue Jun 12 18:25:28 2001
 
5679
***************
 
5680
*** 1,6 ****
 
5681
  /* 
 
5682
   * Motif Tools Library, Version 3.1
 
5683
!  * $Id$
 
5684
   * 
 
5685
   * Written by David Flanagan.
 
5686
   * Copyright (c) 1992-2001 by David Flanagan.
 
5687
--- 1,6 ----
 
5688
  /* 
 
5689
   * Motif Tools Library, Version 3.1
 
5690
!  * $Id$
 
5691
   * 
 
5692
   * Written by David Flanagan.
 
5693
   * Copyright (c) 1992-2001 by David Flanagan.
 
5694
***************
 
5695
*** 8,14 ****
 
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
   *
 
5708
   */
 
5709
  
 
5710
--- 8,17 ----
 
5711
   * This is open source software.  See the file LICENSE for details.
 
5712
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5713
   *
 
5714
!  * $Log$
 
5715
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5716
!  * Initial checkin.
 
5717
!  *
 
5718
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5719
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5720
!  *                  kerberos compilation support
 
5721
!  *
 
5722
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5723
!  * *** empty log message ***
 
5724
!  *
 
5725
   *
 
5726
   */
 
5727
  
 
5728
diff -bpBN Xmt310/Xmt/LayoutString.c Xmt310.ge/Xmt/LayoutString.c
 
5729
*** Xmt310/Xmt/LayoutString.c   Sun Feb  4 22:44:12 2001
 
5730
--- Xmt310.ge/Xmt/LayoutString.c        Tue Jun 12 18:25:28 2001
 
5731
***************
 
5732
*** 1,6 ****
 
5733
  /* 
 
5734
   * Motif Tools Library, Version 3.1
 
5735
!  * $Id$
 
5736
   * 
 
5737
   * Written by David Flanagan.
 
5738
   * Copyright (c) 1992-2001 by David Flanagan.
 
5739
--- 1,6 ----
 
5740
  /* 
 
5741
   * Motif Tools Library, Version 3.1
 
5742
!  * $Id$
 
5743
   * 
 
5744
   * Written by David Flanagan.
 
5745
   * Copyright (c) 1992-2001 by David Flanagan.
 
5746
***************
 
5747
*** 8,14 ****
 
5748
   * This is open source software.  See the file LICENSE for details.
 
5749
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5750
   *
 
5751
!  * $Log$
 
5752
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5753
!  * Initial checkin.
 
5754
!  *
 
5755
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5756
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5757
!  *                  kerberos compilation support
 
5758
!  *
 
5759
   *
 
5760
   */
 
5761
  
 
5762
--- 8,17 ----
 
5763
   * This is open source software.  See the file LICENSE for details.
 
5764
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5765
   *
 
5766
!  * $Log$
 
5767
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5768
!  * Initial checkin.
 
5769
!  *
 
5770
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5771
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5772
!  *                  kerberos compilation support
 
5773
!  *
 
5774
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5775
!  * *** empty log message ***
 
5776
!  *
 
5777
   *
 
5778
   */
 
5779
  
 
5780
*************** Cardinal *num_args;
 
5781
*** 216,222 ****
 
5782
        /* we don't copy the string; just convert it to an XmString */
 
5783
        /* and then set it to "" because we don't own it. */
 
5784
        ls->layout_string.label_string =
 
5785
!           XmtCreateXmString(ls->layout_string.label);
 
5786
        ls->layout_string.label = empty_string;
 
5787
      }
 
5788
  
 
5789
--- 219,225 ----
 
5790
        /* we don't copy the string; just convert it to an XmString */
 
5791
        /* and then set it to "" because we don't own it. */
 
5792
        ls->layout_string.label_string =
 
5793
!           XmtCreateLocalizedXmString((Widget) lw, ls->layout_string.label);
 
5794
        ls->layout_string.label = empty_string;
 
5795
      }
 
5796
  
 
5797
*************** Cardinal *num_args;
 
5798
*** 261,266 ****
 
5799
--- 264,270 ----
 
5800
      XmtLayoutWidget lw = (XmtLayoutWidget) XtParent(set);
 
5801
      Boolean redisplay = False;
 
5802
      Boolean relayout = False;
 
5803
+     Dimension cs_width, cs_height;
 
5804
  
 
5805
      if (ss->layout_string.label_string  != cs->layout_string.label_string) {
 
5806
        if (cs->layout_string.label_string)
 
5807
*************** Cardinal *num_args;
 
5808
*** 268,275 ****
 
5809
--- 272,285 ----
 
5810
        if (ss->layout_string.label_string)
 
5811
            ss->layout_string.label_string =
 
5812
                XmStringCopy(ss->layout_string.label_string);
 
5813
+         cs_width  = cs->layout_string.width;
 
5814
+         cs_height = cs->layout_string.height;
 
5815
        MeasureString(lw, ss);
 
5816
+         if (cs_width  != ss->layout_string.width ||
 
5817
+                 cs_height != ss->layout_string.height)
 
5818
              relayout = True;
 
5819
+         else  
 
5820
+             redisplay = True;
 
5821
      }
 
5822
      else if (ss->layout_string.label != empty_string) {
 
5823
        if (cs->layout_string.label_string)
 
5824
*************** Cardinal *num_args;
 
5825
*** 277,284 ****
 
5826
--- 287,300 ----
 
5827
        ss->layout_string.label_string =
 
5828
            XmtCreateXmString(ss->layout_string.label);
 
5829
        ss->layout_string.label = empty_string;
 
5830
+         cs_width  = cs->layout_string.width;
 
5831
+         cs_height = cs->layout_string.height;
 
5832
        MeasureString(lw, ss);
 
5833
+         if (cs_width  != ss->layout_string.width ||
 
5834
+                 cs_height != ss->layout_string.height)
 
5835
              relayout = True;
 
5836
+         else
 
5837
+             redisplay = True;
 
5838
      }
 
5839
  
 
5840
      if (ss->layout_string.foreground != cs->layout_string.foreground) {
 
5841
*************** Cardinal *num_args;
 
5842
*** 314,324 ****
 
5843
       * (This is one of the gross Motif hacks, described in Layout.c)
 
5844
       * So we generate an Expose event ourselves.
 
5845
       */
 
5846
!     if ((redisplay | relayout) && XtIsRealized((Widget)lw))
 
5847
        XClearArea(XtDisplay((Widget)lw), XtWindow((Widget)lw),
 
5848
                   cs->rectangle.x, cs->rectangle.y,
 
5849
                   cs->rectangle.width, cs->rectangle.height,
 
5850
                   True);
 
5851
      return False;
 
5852
  }
 
5853
  
 
5854
--- 330,344 ----
 
5855
       * (This is one of the gross Motif hacks, described in Layout.c)
 
5856
       * So we generate an Expose event ourselves.
 
5857
       */
 
5858
!     if (redisplay && XtIsRealized((Widget)lw)) {
 
5859
!          Redisplay((Widget)ss, (XEvent *)NULL, (Region)NULL);
 
5860
!     }
 
5861
!     else if ( relayout && XtIsRealized((Widget)lw)) {
 
5862
          XClearArea(XtDisplay((Widget)lw), XtWindow((Widget)lw),
 
5863
                     cs->rectangle.x, cs->rectangle.y,
 
5864
                     cs->rectangle.width, cs->rectangle.height,
 
5865
                     True);
 
5866
+     }
 
5867
      return False;
 
5868
  }
 
5869
  
 
5870
diff -bpBN Xmt310/Xmt/Lexer.c Xmt310.ge/Xmt/Lexer.c
 
5871
*** Xmt310/Xmt/Lexer.c  Sun Feb  4 22:44:18 2001
 
5872
--- Xmt310.ge/Xmt/Lexer.c       Tue Jun 12 18:25:28 2001
 
5873
***************
 
5874
*** 1,6 ****
 
5875
  /* 
 
5876
   * Motif Tools Library, Version 3.1
 
5877
!  * $Id$
 
5878
   * 
 
5879
   * Written by David Flanagan.
 
5880
   * Copyright (c) 1992-2001 by David Flanagan.
 
5881
--- 1,6 ----
 
5882
  /* 
 
5883
   * Motif Tools Library, Version 3.1
 
5884
!  * $Id$
 
5885
   * 
 
5886
   * Written by David Flanagan.
 
5887
   * Copyright (c) 1992-2001 by David Flanagan.
 
5888
***************
 
5889
*** 8,14 ****
 
5890
   * This is open source software.  See the file LICENSE for details.
 
5891
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5892
   *
 
5893
!  * $Log$
 
5894
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5895
!  * Initial checkin.
 
5896
!  *
 
5897
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5898
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5899
!  *                  kerberos compilation support
 
5900
!  *
 
5901
   *
 
5902
   */
 
5903
  
 
5904
--- 8,17 ----
 
5905
   * This is open source software.  See the file LICENSE for details.
 
5906
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5907
   *
 
5908
!  * $Log$
 
5909
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5910
!  * Initial checkin.
 
5911
!  *
 
5912
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5913
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5914
!  *                  kerberos compilation support
 
5915
!  *
 
5916
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5917
!  * *** empty log message ***
 
5918
!  *
 
5919
   *
 
5920
   */
 
5921
  
 
5922
diff -bpBN Xmt310/Xmt/Lexer.h Xmt310.ge/Xmt/Lexer.h
 
5923
*** Xmt310/Xmt/Lexer.h  Sun Feb  4 22:44:22 2001
 
5924
--- Xmt310.ge/Xmt/Lexer.h       Tue Jun 12 18:25:28 2001
 
5925
***************
 
5926
*** 1,6 ****
 
5927
  /* 
 
5928
   * Motif Tools Library, Version 3.1
 
5929
!  * $Id$
 
5930
   * 
 
5931
   * Written by David Flanagan.
 
5932
   * Copyright (c) 1992-2001 by David Flanagan.
 
5933
--- 1,6 ----
 
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
***************
 
5941
*** 8,14 ****
 
5942
   * This is open source software.  See the file LICENSE for details.
 
5943
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5944
   *
 
5945
!  * $Log$
 
5946
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5947
!  * Initial checkin.
 
5948
!  *
 
5949
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5950
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5951
!  *                  kerberos compilation support
 
5952
!  *
 
5953
   *
 
5954
   */
 
5955
  
 
5956
--- 8,17 ----
 
5957
   * This is open source software.  See the file LICENSE for details.
 
5958
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5959
   *
 
5960
!  * $Log$
 
5961
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5962
!  * Initial checkin.
 
5963
!  *
 
5964
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
5965
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
5966
!  *                  kerberos compilation support
 
5967
!  *
 
5968
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
5969
!  * *** empty log message ***
 
5970
!  *
 
5971
   *
 
5972
   */
 
5973
  
 
5974
diff -bpBN Xmt310/Xmt/Localize.c Xmt310.ge/Xmt/Localize.c
 
5975
*** Xmt310/Xmt/Localize.c       Sun Feb  4 22:44:36 2001
 
5976
--- Xmt310.ge/Xmt/Localize.c    Tue Jun 12 18:25:28 2001
 
5977
***************
 
5978
*** 1,6 ****
 
5979
  /* 
 
5980
   * Motif Tools Library, Version 3.1
 
5981
!  * $Id$
 
5982
   * 
 
5983
   * Written by David Flanagan.
 
5984
   * Copyright (c) 1992-2001 by David Flanagan.
 
5985
--- 1,6 ----
 
5986
  /* 
 
5987
   * Motif Tools Library, Version 3.1
 
5988
!  * $Id$
 
5989
   * 
 
5990
   * Written by David Flanagan.
 
5991
   * Copyright (c) 1992-2001 by David Flanagan.
 
5992
***************
 
5993
*** 8,14 ****
 
5994
   * This is open source software.  See the file LICENSE for details.
 
5995
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
5996
   *
 
5997
!  * $Log$
 
5998
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
5999
!  * Initial checkin.
 
6000
!  *
 
6001
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6002
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6003
!  *                  kerberos compilation support
 
6004
!  *
 
6005
   *
 
6006
   */
 
6007
  
 
6008
--- 8,17 ----
 
6009
   * This is open source software.  See the file LICENSE for details.
 
6010
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6011
   *
 
6012
!  * $Log$
 
6013
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6014
!  * Initial checkin.
 
6015
!  *
 
6016
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6017
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6018
!  *                  kerberos compilation support
 
6019
!  *
 
6020
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6021
!  * *** empty log message ***
 
6022
!  *
 
6023
   *
 
6024
   */
 
6025
  
 
6026
diff -bpBN Xmt310/Xmt/Lookup.c Xmt310.ge/Xmt/Lookup.c
 
6027
*** Xmt310/Xmt/Lookup.c Sun Feb  4 22:44:38 2001
 
6028
--- Xmt310.ge/Xmt/Lookup.c      Tue Jun 12 18:25:28 2001
 
6029
***************
 
6030
*** 1,6 ****
 
6031
  /* 
 
6032
   * Motif Tools Library, Version 3.1
 
6033
!  * $Id$
 
6034
   * 
 
6035
   * Written by David Flanagan.
 
6036
   * Copyright (c) 1992-2001 by David Flanagan.
 
6037
--- 1,6 ----
 
6038
  /* 
 
6039
   * Motif Tools Library, Version 3.1
 
6040
!  * $Id$
 
6041
   * 
 
6042
   * Written by David Flanagan.
 
6043
   * Copyright (c) 1992-2001 by David Flanagan.
 
6044
***************
 
6045
*** 8,14 ****
 
6046
   * This is open source software.  See the file LICENSE for details.
 
6047
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6048
   *
 
6049
!  * $Log$
 
6050
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6051
!  * Initial checkin.
 
6052
!  *
 
6053
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6054
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6055
!  *                  kerberos compilation support
 
6056
!  *
 
6057
   *
 
6058
   */
 
6059
  
 
6060
--- 8,17 ----
 
6061
   * This is open source software.  See the file LICENSE for details.
 
6062
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6063
   *
 
6064
!  * $Log$
 
6065
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6066
!  * Initial checkin.
 
6067
!  *
 
6068
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6069
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6070
!  *                  kerberos compilation support
 
6071
!  *
 
6072
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6073
!  * *** empty log message ***
 
6074
!  *
 
6075
   *
 
6076
   */
 
6077
  
 
6078
diff -bpBN Xmt310/Xmt/LookupP.h Xmt310.ge/Xmt/LookupP.h
 
6079
*** Xmt310/Xmt/LookupP.h        Sun Feb  4 22:44:42 2001
 
6080
--- Xmt310.ge/Xmt/LookupP.h     Tue Jun 12 18:25:28 2001
 
6081
***************
 
6082
*** 1,6 ****
 
6083
  /* 
 
6084
   * Motif Tools Library, Version 3.1
 
6085
!  * $Id$
 
6086
   * 
 
6087
   * Written by David Flanagan.
 
6088
   * Copyright (c) 1992-2001 by David Flanagan.
 
6089
--- 1,6 ----
 
6090
  /* 
 
6091
   * Motif Tools Library, Version 3.1
 
6092
!  * $Id$
 
6093
   * 
 
6094
   * Written by David Flanagan.
 
6095
   * Copyright (c) 1992-2001 by David Flanagan.
 
6096
***************
 
6097
*** 8,14 ****
 
6098
   * This is open source software.  See the file LICENSE for details.
 
6099
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6100
   *
 
6101
!  * $Log$
 
6102
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6103
!  * Initial checkin.
 
6104
!  *
 
6105
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6106
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6107
!  *                  kerberos compilation support
 
6108
!  *
 
6109
   *
 
6110
   */
 
6111
  
 
6112
--- 8,17 ----
 
6113
   * This is open source software.  See the file LICENSE for details.
 
6114
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6115
   *
 
6116
!  * $Log$
 
6117
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6118
!  * Initial checkin.
 
6119
!  *
 
6120
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6121
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6122
!  *                  kerberos compilation support
 
6123
!  *
 
6124
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6125
!  * *** empty log message ***
 
6126
!  *
 
6127
   *
 
6128
   */
 
6129
  
 
6130
diff -bpBN Xmt310/Xmt/Makefile.aimk Xmt310.ge/Xmt/Makefile.aimk
 
6131
*** Xmt310/Xmt/Makefile.aimk    Thu Jan  1 01:00:00 1970
 
6132
--- Xmt310.ge/Xmt/Makefile.aimk Tue Jun 12 18:11:34 2001
 
6133
***************
 
6134
*** 0 ****
 
6135
--- 1,502 ----
 
6136
+ # Changes by _AA 20.7.95
 
6137
+ # A changed version of the Xmt Makefile.aimk for
 
6138
+ # use with aimk 
 
6139
+ # The objects are build in the corresponding arch directory
 
6140
+ # The CFLAGS,XCFLAGS and the SDIR variable are delivered by aimk
 
6141
 
6142
+ XMT_SDIR = ../Xmt310/Xmt
 
6143
 
6144
+ XMTFLAGS = $(CFLAGS) -I../Xmt310
 
6145
 
6146
+ XMT_SRCS =  \
 
6147
+       $(XMT_SDIR)/All.c \
 
6148
+       $(XMT_SDIR)/AppRes.c \
 
6149
+       $(XMT_SDIR)/AskForBool.c \
 
6150
+       $(XMT_SDIR)/AskForFile.c \
 
6151
+       $(XMT_SDIR)/AskForItem.c \
 
6152
+       $(XMT_SDIR)/AskForString.c \
 
6153
+       $(XMT_SDIR)/AssertClass.c \
 
6154
+       $(XMT_SDIR)/BSearch.c \
 
6155
+       $(XMT_SDIR)/BitmapCvt.c \
 
6156
+       $(XMT_SDIR)/Block.c \
 
6157
+       $(XMT_SDIR)/CallbackCvt.c \
 
6158
+       $(XMT_SDIR)/CheckFormat.c \
 
6159
+       $(XMT_SDIR)/Chooser.c \
 
6160
+       $(XMT_SDIR)/Cli.c \
 
6161
+       $(XMT_SDIR)/Color.c \
 
6162
+       $(XMT_SDIR)/ColorTable.c \
 
6163
+       $(XMT_SDIR)/ColorTblCvt.c \
 
6164
+       $(XMT_SDIR)/ContextHelp.c \
 
6165
+       $(XMT_SDIR)/Create.c \
 
6166
+       $(XMT_SDIR)/Cursor.c \
 
6167
+       $(XMT_SDIR)/DECHack.c \
 
6168
+       $(XMT_SDIR)/Dialog.c \
 
6169
+       $(XMT_SDIR)/DialogPos.c \
 
6170
+       $(XMT_SDIR)/Dialogs.c \
 
6171
+       $(XMT_SDIR)/Discard.c \
 
6172
+       $(XMT_SDIR)/EnumCvt.c \
 
6173
+       $(XMT_SDIR)/FindFile.c \
 
6174
+       $(XMT_SDIR)/FontListCvt.c \
 
6175
+       $(XMT_SDIR)/GetPixmap.c \
 
6176
+       $(XMT_SDIR)/HSLtoRGB.c \
 
6177
+       $(XMT_SDIR)/Hash.c \
 
6178
+       $(XMT_SDIR)/HelpBox.c \
 
6179
+       $(XMT_SDIR)/HelpBrowser.c \
 
6180
+       $(XMT_SDIR)/HelpNode.c \
 
6181
+       $(XMT_SDIR)/IBMManage.c \
 
6182
+       $(XMT_SDIR)/Icon.c \
 
6183
+       $(XMT_SDIR)/Icons.c \
 
6184
+       $(XMT_SDIR)/Include.c \
 
6185
+       $(XMT_SDIR)/InitFocus.c \
 
6186
+       $(XMT_SDIR)/Initialize.c \
 
6187
+       $(XMT_SDIR)/InputField.c \
 
6188
+       $(XMT_SDIR)/Layout.c \
 
6189
+       $(XMT_SDIR)/LayoutBox.c \
 
6190
+       $(XMT_SDIR)/LayoutCreate.c \
 
6191
+       $(XMT_SDIR)/LayoutGadget.c \
 
6192
+       $(XMT_SDIR)/LayoutParse.c \
 
6193
+       $(XMT_SDIR)/LayoutPixmap.c \
 
6194
+       $(XMT_SDIR)/LayoutSep.c \
 
6195
+       $(XMT_SDIR)/LayoutSpace.c \
 
6196
+       $(XMT_SDIR)/LayoutString.c \
 
6197
+       $(XMT_SDIR)/Lexer.c \
 
6198
+       $(XMT_SDIR)/Localize.c \
 
6199
+       $(XMT_SDIR)/Lookup.c \
 
6200
+       $(XMT_SDIR)/Menu.c \
 
6201
+       $(XMT_SDIR)/MenuCvt.c \
 
6202
+       $(XMT_SDIR)/MotifWidgets.c \
 
6203
+       $(XMT_SDIR)/MsgDialogs.c \
 
6204
+       $(XMT_SDIR)/MsgLine.c \
 
6205
+       $(XMT_SDIR)/NameToWidget.c \
 
6206
+       $(XMT_SDIR)/PixelCvt.c \
 
6207
+       $(XMT_SDIR)/Pixmap.c \
 
6208
+       $(XMT_SDIR)/PixmapCvt.c \
 
6209
+       $(XMT_SDIR)/PixmapLstCvt.c \
 
6210
+       $(XMT_SDIR)/Procedures.c \
 
6211
+       $(XMT_SDIR)/Quarks.c \
 
6212
+       $(XMT_SDIR)/RGBtoHSL.c \
 
6213
+       $(XMT_SDIR)/Screen.c \
 
6214
+       $(XMT_SDIR)/SetValue.c \
 
6215
+       $(XMT_SDIR)/ShellUtil.c \
 
6216
+       $(XMT_SDIR)/StringLstCvt.c \
 
6217
+       $(XMT_SDIR)/Symbols.c \
 
6218
+       $(XMT_SDIR)/Template.c \
 
6219
+       $(XMT_SDIR)/Visual.c \
 
6220
+       $(XMT_SDIR)/UnixProcs.c \
 
6221
+       $(XMT_SDIR)/Wait.c \
 
6222
+       $(XMT_SDIR)/Warning.c \
 
6223
+       $(XMT_SDIR)/WidgetCvt.c \
 
6224
+       $(XMT_SDIR)/WidgetType.c \
 
6225
+       $(XMT_SDIR)/Working.c \
 
6226
+       $(XMT_SDIR)/WorkingBox.c \
 
6227
+       $(XMT_SDIR)/Xbm.c \
 
6228
+       $(XMT_SDIR)/XmCSText.c \
 
6229
+       $(XMT_SDIR)/XmComboBox.c \
 
6230
+       $(XMT_SDIR)/XmScale.c \
 
6231
+       $(XMT_SDIR)/XmStringCvt.c \
 
6232
+       $(XMT_SDIR)/XmText.c \
 
6233
+       $(XMT_SDIR)/XmTextField.c \
 
6234
+       $(XMT_SDIR)/XmToggleB.c \
 
6235
+       $(XMT_SDIR)/XmtProcs.c \
 
6236
+       $(XMT_SDIR)/XmtWidgets.c \
 
6237
+       $(XMT_SDIR)/Xpm.c \
 
6238
+       $(XMT_SDIR)/XpmParse.c \
 
6239
+       $(XMT_SDIR)/XtProcs.c\
 
6240
+       $(XMT_SDIR)/ConvertData.c \
 
6241
+       $(XMT_SDIR)/ChooserS.c\
 
6242
+       $(XMT_SDIR)/CliS.c\
 
6243
+       $(XMT_SDIR)/HelpBoxS.c\
 
6244
+       $(XMT_SDIR)/HelpBrowserS.c\
 
6245
+       $(XMT_SDIR)/InputFieldS.c\
 
6246
+       $(XMT_SDIR)/LayoutS.c\
 
6247
+       $(XMT_SDIR)/MenuS.c\
 
6248
+       $(XMT_SDIR)/MsgLineS.c\
 
6249
+       $(XMT_SDIR)/WorkingBoxS.c
 
6250
 
6251
+ XMT_OBJS =  \
 
6252
+       All.o \
 
6253
+       AppRes.o \
 
6254
+       AskForBool.o \
 
6255
+       AskForFile.o \
 
6256
+       AskForItem.o \
 
6257
+       AskForString.o \
 
6258
+       AssertClass.o \
 
6259
+       BSearch.o \
 
6260
+       BitmapCvt.o \
 
6261
+       Block.o \
 
6262
+       CallbackCvt.o \
 
6263
+       CheckFormat.o \
 
6264
+       Chooser.o \
 
6265
+       Cli.o \
 
6266
+       Color.o \
 
6267
+       ColorTable.o \
 
6268
+       ColorTblCvt.o \
 
6269
+       ContextHelp.o \
 
6270
+       Create.o \
 
6271
+       Cursor.o \
 
6272
+       DECHack.o \
 
6273
+       Dialog.o \
 
6274
+       DialogPos.o \
 
6275
+       Dialogs.o \
 
6276
+       Discard.o \
 
6277
+       EnumCvt.o \
 
6278
+       FindFile.o \
 
6279
+       FontListCvt.o \
 
6280
+       GetPixmap.o \
 
6281
+       HSLtoRGB.o \
 
6282
+       Hash.o \
 
6283
+       HelpBox.o \
 
6284
+       HelpBrowser.o \
 
6285
+       HelpNode.o \
 
6286
+       IBMManage.o \
 
6287
+       Icon.o \
 
6288
+       Icons.o \
 
6289
+       Include.o \
 
6290
+       InitFocus.o \
 
6291
+       Initialize.o \
 
6292
+       InputField.o \
 
6293
+       Layout.o \
 
6294
+       LayoutBox.o \
 
6295
+       LayoutCreate.o \
 
6296
+       LayoutGadget.o \
 
6297
+       LayoutParse.o \
 
6298
+       LayoutPixmap.o \
 
6299
+       LayoutSep.o \
 
6300
+       LayoutSpace.o \
 
6301
+       LayoutString.o \
 
6302
+       Lexer.o \
 
6303
+       Localize.o \
 
6304
+       Lookup.o \
 
6305
+       Menu.o \
 
6306
+       MenuCvt.o \
 
6307
+       MotifWidgets.o \
 
6308
+       MsgDialogs.o \
 
6309
+       MsgLine.o \
 
6310
+       NameToWidget.o \
 
6311
+       PixelCvt.o \
 
6312
+       Pixmap.o \
 
6313
+       PixmapCvt.o \
 
6314
+       PixmapLstCvt.o \
 
6315
+       Procedures.o \
 
6316
+       Quarks.o \
 
6317
+       RGBtoHSL.o \
 
6318
+       Screen.o \
 
6319
+       SetValue.o \
 
6320
+       ShellUtil.o \
 
6321
+       StringLstCvt.o \
 
6322
+       Symbols.o \
 
6323
+       Template.o \
 
6324
+       Visual.o \
 
6325
+       UnixProcs.o \
 
6326
+       Wait.o \
 
6327
+       Warning.o \
 
6328
+       WidgetCvt.o \
 
6329
+       WidgetType.o \
 
6330
+       Working.o \
 
6331
+       WorkingBox.o \
 
6332
+       Xbm.o \
 
6333
+    XmCSText.o \
 
6334
+       XmComboBox.o \
 
6335
+       XmScale.o \
 
6336
+       XmStringCvt.o \
 
6337
+       XmText.o \
 
6338
+       XmTextField.o \
 
6339
+       XmToggleB.o \
 
6340
+       XmtProcs.o \
 
6341
+       XmtWidgets.o \
 
6342
+       Xpm.o \
 
6343
+       XpmParse.o \
 
6344
+       XtProcs.o 
 
6345
 
6346
+ XMT_UNSHAREDOBJS = \
 
6347
+       ConvertData.o \
 
6348
+       ChooserS.o\
 
6349
+       CliS.o\
 
6350
+       HelpBoxS.o\
 
6351
+       HelpBrowserS.o\
 
6352
+       InputFieldS.o\
 
6353
+       LayoutS.o\
 
6354
+       MenuS.o\
 
6355
+       MsgLineS.o\
 
6356
+       WorkingBoxS.o
 
6357
 
6358
+ XMT_HEADERS = \
 
6359
+       $(XMT_SDIR)/All.h \
 
6360
+       $(XMT_SDIR)/AppResP.h \
 
6361
+       $(XMT_SDIR)/AppRes.h \
 
6362
+       $(XMT_SDIR)/Chooser.h \
 
6363
+       $(XMT_SDIR)/ChooserP.h \
 
6364
+       $(XMT_SDIR)/Cli.h \
 
6365
+       $(XMT_SDIR)/CliP.h \
 
6366
+       $(XMT_SDIR)/Color.h \
 
6367
+       $(XMT_SDIR)/Converters.h \
 
6368
+       $(XMT_SDIR)/ConvertersP.h \
 
6369
+       $(XMT_SDIR)/Create.h \
 
6370
+       $(XMT_SDIR)/Dialog.h \
 
6371
+       $(XMT_SDIR)/DialogP.h \
 
6372
+       $(XMT_SDIR)/Dialogs.h \
 
6373
+       $(XMT_SDIR)/DialogsP.h \
 
6374
+       $(XMT_SDIR)/Hash.h \
 
6375
+       $(XMT_SDIR)/Help.h \
 
6376
+       $(XMT_SDIR)/HelpBox.h \
 
6377
+       $(XMT_SDIR)/HelpBoxP.h \
 
6378
+       $(XMT_SDIR)/HelpBrowser.h \
 
6379
+       $(XMT_SDIR)/HelpBrowserP.h \
 
6380
+       $(XMT_SDIR)/Icon.h\
 
6381
+       $(XMT_SDIR)/Include.h \
 
6382
+       $(XMT_SDIR)/InputField.h \
 
6383
+       $(XMT_SDIR)/InputFieldP.h \
 
6384
+       $(XMT_SDIR)/Layout.h \
 
6385
+       $(XMT_SDIR)/LayoutG.h \
 
6386
+       $(XMT_SDIR)/LayoutGP.h \
 
6387
+       $(XMT_SDIR)/LayoutP.h \
 
6388
+       $(XMT_SDIR)/Lexer.h \
 
6389
+       $(XMT_SDIR)/LookupP.h \
 
6390
+       $(XMT_SDIR)/Menu.h \
 
6391
+       $(XMT_SDIR)/MenuP.h \
 
6392
+       $(XMT_SDIR)/MsgLine.h \
 
6393
+       $(XMT_SDIR)/MsgLineP.h \
 
6394
+       $(XMT_SDIR)/Pixmap.h \
 
6395
+       $(XMT_SDIR)/Procedures.h \
 
6396
+       $(XMT_SDIR)/ProceduresP.h \
 
6397
+       $(XMT_SDIR)/QuarksP.h \
 
6398
+       $(XMT_SDIR)/ScreenP.h \
 
6399
+       $(XMT_SDIR)/SetValue.h \
 
6400
+       $(XMT_SDIR)/Symbols.h \
 
6401
+       $(XMT_SDIR)/Template.h \
 
6402
+       $(XMT_SDIR)/Util.h \
 
6403
+       $(XMT_SDIR)/WidgetType.h \
 
6404
+       $(XMT_SDIR)/WorkingBox.h \
 
6405
+       $(XMT_SDIR)/WorkingBoxP.h \
 
6406
+       $(XMT_SDIR)/Xbm.h \
 
6407
+       $(XMT_SDIR)/Xmt.h \
 
6408
+       $(XMT_SDIR)/XmtP.h \
 
6409
+       $(XMT_SDIR)/Xpm.h
 
6410
 
6411
+ XMTLIB      = libXmt$(LIBEXT)
 
6412
 
6413
+ all: $(XMTLIB)
 
6414
 
6415
+ libXmt.a: $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
6416
+       $(AR) $(ARFLAGS) libXmt.a $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
6417
+       $(RANLIB) libXmt.a
 
6418
 
6419
+ libXmt$(SHAREDEXT): $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
6420
+       $(SHAREDLD) $(XLFLAGS) $(SHARED_LFLAGS) -o libXmt$(SHAREDEXT) $(XMT_OBJS) $(XMT_UNSHAREDOBJS) $(XLIBS)
 
6421
 
6422
+ #.c.o: $(SRCS) $(XMT_HEADERS)
 
6423
+ #     $(CC) -c $(CFLAGS) $*.c 
 
6424
 
6425
 
6426
+ All.o:                      $(XMT_SDIR)/All.c $(XMT_HEADERS)
 
6427
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/All.c 
 
6428
+ AppRes.o:                $(XMT_SDIR)/AppRes.c $(XMT_HEADERS)
 
6429
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AppRes.c 
 
6430
+ AskForBool.o:     $(XMT_SDIR)/AskForBool.c $(XMT_HEADERS)
 
6431
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForBool.c 
 
6432
+ AskForFile.o:         $(XMT_SDIR)/AskForFile.c $(XMT_HEADERS)
 
6433
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForFile.c 
 
6434
+ AskForItem.o:         $(XMT_SDIR)/AskForItem.c $(XMT_HEADERS)
 
6435
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForItem.c 
 
6436
+ AskForString.o:       $(XMT_SDIR)/AskForString.c $(XMT_HEADERS)
 
6437
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AskForString.c 
 
6438
+ AssertClass.o:                $(XMT_SDIR)/AssertClass.c $(XMT_HEADERS)
 
6439
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/AssertClass.c 
 
6440
+ BSearch.o:               $(XMT_SDIR)/BSearch.c $(XMT_HEADERS)
 
6441
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/BSearch.c 
 
6442
+ BitmapCvt.o:          $(XMT_SDIR)/BitmapCvt.c $(XMT_HEADERS)
 
6443
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/BitmapCvt.c 
 
6444
+ Block.o:                    $(XMT_SDIR)/Block.c $(XMT_HEADERS)
 
6445
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Block.c 
 
6446
+ CallbackCvt.o:                $(XMT_SDIR)/CallbackCvt.c $(XMT_HEADERS)
 
6447
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CallbackCvt.c 
 
6448
+ CheckFormat.o:                $(XMT_SDIR)/CheckFormat.c $(XMT_HEADERS)
 
6449
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CheckFormat.c 
 
6450
+ Chooser.o:               $(XMT_SDIR)/Chooser.c $(XMT_HEADERS)
 
6451
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Chooser.c 
 
6452
+ Cli.o:                      $(XMT_SDIR)/Cli.c $(XMT_HEADERS)
 
6453
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Cli.c 
 
6454
+ Color.o:                    $(XMT_SDIR)/Color.c $(XMT_HEADERS)
 
6455
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Color.c 
 
6456
+ ColorTable.o:         $(XMT_SDIR)/ColorTable.c $(XMT_HEADERS)
 
6457
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ColorTable.c 
 
6458
+ ColorTblCvt.o:                $(XMT_SDIR)/ColorTblCvt.c $(XMT_HEADERS)
 
6459
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ColorTblCvt.c 
 
6460
+ ContextHelp.o:                $(XMT_SDIR)/ContextHelp.c $(XMT_HEADERS)
 
6461
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ContextHelp.c 
 
6462
+ Create.o:                $(XMT_SDIR)/Create.c $(XMT_HEADERS)
 
6463
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Create.c 
 
6464
+ Cursor.o:                $(XMT_SDIR)/Cursor.c $(XMT_HEADERS)
 
6465
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Cursor.c 
 
6466
+ DECHack.o:               $(XMT_SDIR)/DECHack.c $(XMT_HEADERS)
 
6467
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/DECHack.c 
 
6468
+ Dialog.o:                $(XMT_SDIR)/Dialog.c $(XMT_HEADERS)
 
6469
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Dialog.c 
 
6470
+ DialogPos.o:          $(XMT_SDIR)/DialogPos.c $(XMT_HEADERS)
 
6471
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/DialogPos.c 
 
6472
+ Dialogs.o:               $(XMT_SDIR)/Dialogs.c $(XMT_HEADERS)
 
6473
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Dialogs.c 
 
6474
+ Discard.o:               $(XMT_SDIR)/Discard.c $(XMT_HEADERS)
 
6475
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Discard.c 
 
6476
+ EnumCvt.o:               $(XMT_SDIR)/EnumCvt.c $(XMT_HEADERS)
 
6477
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/EnumCvt.c 
 
6478
+ FindFile.o:              $(XMT_SDIR)/FindFile.c $(XMT_HEADERS)
 
6479
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/FindFile.c 
 
6480
+ FontListCvt.o:                $(XMT_SDIR)/FontListCvt.c $(XMT_HEADERS)
 
6481
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/FontListCvt.c 
 
6482
+ GetPixmap.o:          $(XMT_SDIR)/GetPixmap.c $(XMT_HEADERS)
 
6483
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/GetPixmap.c 
 
6484
+ HSLtoRGB.o:              $(XMT_SDIR)/HSLtoRGB.c $(XMT_HEADERS)
 
6485
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HSLtoRGB.c 
 
6486
+ Hash.o:                     $(XMT_SDIR)/Hash.c $(XMT_HEADERS)
 
6487
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Hash.c 
 
6488
+ HelpBox.o:               $(XMT_SDIR)/HelpBox.c $(XMT_HEADERS)
 
6489
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBox.c 
 
6490
+ HelpBrowser.o:                $(XMT_SDIR)/HelpBrowser.c $(XMT_HEADERS)
 
6491
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBrowser.c 
 
6492
+ HelpNode.o:              $(XMT_SDIR)/HelpNode.c $(XMT_HEADERS)
 
6493
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpNode.c 
 
6494
+ IBMManage.o:          $(XMT_SDIR)/IBMManage.c $(XMT_HEADERS)
 
6495
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/IBMManage.c 
 
6496
+ Icon.o:                     $(XMT_SDIR)/Icon.c $(XMT_HEADERS)
 
6497
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Icon.c 
 
6498
+ Icons.o:                    $(XMT_SDIR)/Icons.c $(XMT_HEADERS)
 
6499
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Icons.c 
 
6500
+ Include.o:               $(XMT_SDIR)/Include.c $(XMT_HEADERS)
 
6501
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Include.c 
 
6502
+ InitFocus.o:          $(XMT_SDIR)/InitFocus.c $(XMT_HEADERS)
 
6503
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InitFocus.c 
 
6504
+ Initialize.o:         $(XMT_SDIR)/Initialize.c $(XMT_HEADERS)
 
6505
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Initialize.c 
 
6506
+ InputField.o:         $(XMT_SDIR)/InputField.c $(XMT_HEADERS)
 
6507
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InputField.c 
 
6508
+ Layout.o:                $(XMT_SDIR)/Layout.c $(XMT_HEADERS)
 
6509
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Layout.c 
 
6510
+ LayoutBox.o:          $(XMT_SDIR)/LayoutBox.c $(XMT_HEADERS)
 
6511
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutBox.c 
 
6512
+ LayoutCreate.o:   $(XMT_SDIR)/LayoutCreate.c $(XMT_HEADERS)
 
6513
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutCreate.c 
 
6514
+ LayoutGadget.o:       $(XMT_SDIR)/LayoutGadget.c $(XMT_HEADERS)
 
6515
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutGadget.c 
 
6516
+ LayoutParse.o:                $(XMT_SDIR)/LayoutParse.c $(XMT_HEADERS)
 
6517
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutParse.c 
 
6518
+ LayoutPixmap.o:       $(XMT_SDIR)/LayoutPixmap.c $(XMT_HEADERS)
 
6519
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutPixmap.c 
 
6520
+ LayoutSep.o:          $(XMT_SDIR)/LayoutSep.c $(XMT_HEADERS)
 
6521
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutSep.c 
 
6522
+ LayoutSpace.o:                $(XMT_SDIR)/LayoutSpace.c $(XMT_HEADERS)
 
6523
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutSpace.c 
 
6524
+ LayoutString.o:       $(XMT_SDIR)/LayoutString.c $(XMT_HEADERS)
 
6525
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutString.c 
 
6526
+ Lexer.o:                    $(XMT_SDIR)/Lexer.c $(XMT_HEADERS)
 
6527
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Lexer.c 
 
6528
+ Localize.o:              $(XMT_SDIR)/Localize.c $(XMT_HEADERS)
 
6529
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Localize.c 
 
6530
+ Lookup.o:                $(XMT_SDIR)/Lookup.c $(XMT_HEADERS)
 
6531
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Lookup.c 
 
6532
+ Menu.o:                     $(XMT_SDIR)/Menu.c $(XMT_HEADERS)
 
6533
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Menu.c 
 
6534
+ MenuCvt.o:               $(XMT_SDIR)/MenuCvt.c $(XMT_HEADERS)
 
6535
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MenuCvt.c 
 
6536
+ MotifWidgets.o:       $(XMT_SDIR)/MotifWidgets.c $(XMT_HEADERS)
 
6537
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MotifWidgets.c 
 
6538
+ MsgDialogs.o:         $(XMT_SDIR)/MsgDialogs.c $(XMT_HEADERS)
 
6539
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgDialogs.c 
 
6540
+ MsgLine.o:               $(XMT_SDIR)/MsgLine.c $(XMT_HEADERS)
 
6541
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgLine.c 
 
6542
+ NameToWidget.o:       $(XMT_SDIR)/NameToWidget.c $(XMT_HEADERS)
 
6543
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/NameToWidget.c 
 
6544
+ PixelCvt.o:              $(XMT_SDIR)/PixelCvt.c $(XMT_HEADERS)
 
6545
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixelCvt.c 
 
6546
+ Pixmap.o:                $(XMT_SDIR)/Pixmap.c $(XMT_HEADERS)
 
6547
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Pixmap.c 
 
6548
+ PixmapCvt.o:          $(XMT_SDIR)/PixmapCvt.c $(XMT_HEADERS)
 
6549
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixmapCvt.c 
 
6550
+ PixmapLstCvt.o:       $(XMT_SDIR)/PixmapLstCvt.c $(XMT_HEADERS)
 
6551
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/PixmapLstCvt.c 
 
6552
+ Procedures.o:         $(XMT_SDIR)/Procedures.c $(XMT_HEADERS)
 
6553
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Procedures.c 
 
6554
+ Quarks.o:                $(XMT_SDIR)/Quarks.c $(XMT_HEADERS)
 
6555
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Quarks.c 
 
6556
+ RGBtoHSL.o:              $(XMT_SDIR)/RGBtoHSL.c $(XMT_HEADERS)
 
6557
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/RGBtoHSL.c 
 
6558
+ Screen.o:                $(XMT_SDIR)/Screen.c $(XMT_HEADERS)
 
6559
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Screen.c 
 
6560
+ SetValue.o:              $(XMT_SDIR)/SetValue.c $(XMT_HEADERS)
 
6561
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/SetValue.c 
 
6562
+ ShellUtil.o:          $(XMT_SDIR)/ShellUtil.c $(XMT_HEADERS)
 
6563
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ShellUtil.c 
 
6564
+ StringLstCvt.o:   $(XMT_SDIR)/StringLstCvt.c $(XMT_HEADERS)
 
6565
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/StringLstCvt.c 
 
6566
+ Symbols.o:               $(XMT_SDIR)/Symbols.c $(XMT_HEADERS)
 
6567
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Symbols.c 
 
6568
+ Template.o:              $(XMT_SDIR)/Template.c $(XMT_HEADERS)
 
6569
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Template.c 
 
6570
+ Visual.o:                $(XMT_SDIR)/Visual.c $(XMT_HEADERS)
 
6571
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Visual.c 
 
6572
+ UnixProcs.o:          $(XMT_SDIR)/UnixProcs.c $(XMT_HEADERS)
 
6573
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/UnixProcs.c 
 
6574
+ Wait.o:                     $(XMT_SDIR)/Wait.c $(XMT_HEADERS)
 
6575
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Wait.c 
 
6576
+ Warning.o:               $(XMT_SDIR)/Warning.c $(XMT_HEADERS)
 
6577
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Warning.c 
 
6578
+ WidgetCvt.o:          $(XMT_SDIR)/WidgetCvt.c $(XMT_HEADERS)
 
6579
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WidgetCvt.c 
 
6580
+ WidgetType.o:         $(XMT_SDIR)/WidgetType.c $(XMT_HEADERS)
 
6581
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WidgetType.c 
 
6582
+ Working.o:               $(XMT_SDIR)/Working.c $(XMT_HEADERS)
 
6583
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Working.c 
 
6584
+ WorkingBox.o:         $(XMT_SDIR)/WorkingBox.c $(XMT_HEADERS)
 
6585
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WorkingBox.c 
 
6586
+ Xbm.o:                      $(XMT_SDIR)/Xbm.c $(XMT_HEADERS)
 
6587
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Xbm.c 
 
6588
+ XmCSText.o:              $(XMT_SDIR)/XmCSText.c $(XMT_HEADERS)
 
6589
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmCSText.c 
 
6590
+ XmComboBox.o:         $(XMT_SDIR)/XmComboBox.c $(XMT_HEADERS)
 
6591
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmComboBox.c 
 
6592
+ XmScale.o:               $(XMT_SDIR)/XmScale.c $(XMT_HEADERS)
 
6593
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmScale.c 
 
6594
+ XmStringCvt.o:                $(XMT_SDIR)/XmStringCvt.c $(XMT_HEADERS)
 
6595
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmStringCvt.c 
 
6596
+ XmText.o:                $(XMT_SDIR)/XmText.c $(XMT_HEADERS)
 
6597
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmText.c 
 
6598
+ XmTextField.o:                $(XMT_SDIR)/XmTextField.c $(XMT_HEADERS)
 
6599
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmTextField.c 
 
6600
+ XmToggleB.o:          $(XMT_SDIR)/XmToggleB.c $(XMT_HEADERS)
 
6601
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmToggleB.c 
 
6602
+ XmtProcs.o:              $(XMT_SDIR)/XmtProcs.c $(XMT_HEADERS)
 
6603
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmtProcs.c 
 
6604
+ XmtWidgets.o:         $(XMT_SDIR)/XmtWidgets.c $(XMT_HEADERS)
 
6605
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XmtWidgets.c 
 
6606
+ Xpm.o:                      $(XMT_SDIR)/Xpm.c $(XMT_HEADERS)
 
6607
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/Xpm.c 
 
6608
+ XpmParse.o:              $(XMT_SDIR)/XpmParse.c $(XMT_HEADERS)
 
6609
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XpmParse.c 
 
6610
+ XtProcs.o:               $(XMT_SDIR)/XtProcs.c $(XMT_HEADERS)
 
6611
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/XtProcs.c 
 
6612
 
6613
+ ConvertData.o:           $(XMT_SDIR)/ConvertData.c $(XMT_HEADERS)
 
6614
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ConvertData.c 
 
6615
+ ChooserS.o:              $(XMT_SDIR)/ChooserS.c $(XMT_HEADERS)
 
6616
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/ChooserS.c 
 
6617
+ CliS.o:                     $(XMT_SDIR)/CliS.c $(XMT_HEADERS)
 
6618
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/CliS.c 
 
6619
+ HelpBoxS.o:              $(XMT_SDIR)/HelpBoxS.c $(XMT_HEADERS)
 
6620
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBoxS.c 
 
6621
+ HelpBrowserS.o:   $(XMT_SDIR)/HelpBrowserS.c $(XMT_HEADERS)
 
6622
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/HelpBrowserS.c 
 
6623
+ InputFieldS.o:                $(XMT_SDIR)/InputFieldS.c $(XMT_HEADERS)
 
6624
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/InputFieldS.c 
 
6625
+ LayoutS.o:               $(XMT_SDIR)/LayoutS.c $(XMT_HEADERS)
 
6626
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/LayoutS.c 
 
6627
+ MenuS.o:                    $(XMT_SDIR)/MenuS.c $(XMT_HEADERS)
 
6628
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MenuS.c 
 
6629
+ MsgLineS.o:              $(XMT_SDIR)/MsgLineS.c $(XMT_HEADERS)
 
6630
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/MsgLineS.c 
 
6631
+ WorkingBoxS.o:                $(XMT_SDIR)/WorkingBoxS.c $(XMT_HEADERS)
 
6632
+       $(CC) -c $(XMTFLAGS) $(XCFLAGS) $(SHARED_CFLAGS) $(XMT_SDIR)/WorkingBoxS.c 
 
6633
 
6634
 
6635
+ Xmt_clean:
 
6636
+       $(RM) $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
 
6637
+       $(RM) libXmt.a libXmt$(SHAREDEXT)
 
6638
diff -bpBN Xmt310/Xmt/Menu.c Xmt310.ge/Xmt/Menu.c
 
6639
*** Xmt310/Xmt/Menu.c   Sun Feb  4 22:45:26 2001
 
6640
--- Xmt310.ge/Xmt/Menu.c        Tue Jun 12 18:25:28 2001
 
6641
***************
 
6642
*** 1,6 ****
 
6643
  /* 
 
6644
   * Motif Tools Library, Version 3.1
 
6645
!  * $Id$
 
6646
   * 
 
6647
   * Written by David Flanagan.
 
6648
   * Copyright (c) 1992-2001 by David Flanagan.
 
6649
--- 1,6 ----
 
6650
  /* 
 
6651
   * Motif Tools Library, Version 3.1
 
6652
!  * $Id$
 
6653
   * 
 
6654
   * Written by David Flanagan.
 
6655
   * Copyright (c) 1992-2001 by David Flanagan.
 
6656
***************
 
6657
*** 8,14 ****
 
6658
   * This is open source software.  See the file LICENSE for details.
 
6659
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6660
   *
 
6661
!  * $Log$
 
6662
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6663
!  * Initial checkin.
 
6664
!  *
 
6665
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6666
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6667
!  *                  kerberos compilation support
 
6668
!  *
 
6669
   *
 
6670
   */
 
6671
  
 
6672
--- 8,17 ----
 
6673
   * This is open source software.  See the file LICENSE for details.
 
6674
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6675
   *
 
6676
!  * $Log$
 
6677
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6678
!  * Initial checkin.
 
6679
!  *
 
6680
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6681
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6682
!  *                  kerberos compilation support
 
6683
!  *
 
6684
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6685
!  * *** empty log message ***
 
6686
!  *
 
6687
   *
 
6688
   */
 
6689
  
 
6690
*************** Cardinal num_items;
 
6691
*** 339,345 ****
 
6692
      XmtMenuItem *item;
 
6693
      Arg args[10], submenu_args[10];
 
6694
      int n, m;
 
6695
!     XmString accel_label;
 
6696
      char namebuf[10], submenu_buf[20];
 
6697
      char *name, *submenu_name;
 
6698
      int numlabel, numpush, numtoggle, numsep, numsub;
 
6699
--- 342,348 ----
 
6700
      XmtMenuItem *item;
 
6701
      Arg args[10], submenu_args[10];
 
6702
      int n, m;
 
6703
!     XmString accel_label = NULL;
 
6704
      char namebuf[10], submenu_buf[20];
 
6705
      char *name, *submenu_name;
 
6706
      int numlabel, numpush, numtoggle, numsep, numsub;
 
6707
*************** Cardinal num_items;
 
6708
*** 416,422 ****
 
6709
                item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
 
6710
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
6711
            }
 
6712
!           else item->label1 = XmtCreateXmString(item->alt_label);
 
6713
        }
 
6714
  
 
6715
        /* if there is a normal label, create the XmString or pixmap */
 
6716
--- 419,425 ----
 
6717
                item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
 
6718
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
6719
            }
 
6720
!           else item->label1 = XmtCreateLocalizedXmString(w, item->alt_label);
 
6721
        }
 
6722
  
 
6723
        /* if there is a normal label, create the XmString or pixmap */
 
6724
*************** Cardinal num_items;
 
6725
*** 431,437 ****
 
6726
                item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
 
6727
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
6728
            }
 
6729
!           else item->label0 = XmtCreateXmString(item->label);
 
6730
        }
 
6731
  
 
6732
        /*
 
6733
--- 434,440 ----
 
6734
                item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
 
6735
                XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
 
6736
            }
 
6737
!           else item->label0 = XmtCreateLocalizedXmString(w, item->label);
 
6738
        }
 
6739
  
 
6740
        /*
 
6741
diff -bpBN Xmt310/Xmt/Menu.h Xmt310.ge/Xmt/Menu.h
 
6742
*** Xmt310/Xmt/Menu.h   Sun Feb  4 22:45:30 2001
 
6743
--- Xmt310.ge/Xmt/Menu.h        Tue Jun 12 18:25:28 2001
 
6744
***************
 
6745
*** 1,6 ****
 
6746
  /* 
 
6747
   * Motif Tools Library, Version 3.1
 
6748
!  * $Id$
 
6749
   * 
 
6750
   * Written by David Flanagan.
 
6751
   * Copyright (c) 1992-2001 by David Flanagan.
 
6752
--- 1,6 ----
 
6753
  /* 
 
6754
   * Motif Tools Library, Version 3.1
 
6755
!  * $Id$
 
6756
   * 
 
6757
   * Written by David Flanagan.
 
6758
   * Copyright (c) 1992-2001 by David Flanagan.
 
6759
***************
 
6760
*** 8,14 ****
 
6761
   * This is open source software.  See the file LICENSE for details.
 
6762
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6763
   *
 
6764
!  * $Log$
 
6765
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6766
!  * Initial checkin.
 
6767
!  *
 
6768
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6769
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6770
!  *                  kerberos compilation support
 
6771
!  *
 
6772
   *
 
6773
   */
 
6774
  
 
6775
--- 8,17 ----
 
6776
   * This is open source software.  See the file LICENSE for details.
 
6777
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6778
   *
 
6779
!  * $Log$
 
6780
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6781
!  * Initial checkin.
 
6782
!  *
 
6783
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6784
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6785
!  *                  kerberos compilation support
 
6786
!  *
 
6787
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6788
!  * *** empty log message ***
 
6789
!  *
 
6790
   *
 
6791
   */
 
6792
  
 
6793
diff -bpBN Xmt310/Xmt/MenuCvt.c Xmt310.ge/Xmt/MenuCvt.c
 
6794
*** Xmt310/Xmt/MenuCvt.c        Sun Feb  4 22:45:34 2001
 
6795
--- Xmt310.ge/Xmt/MenuCvt.c     Tue Jun 12 18:25:28 2001
 
6796
***************
 
6797
*** 1,6 ****
 
6798
  /* 
 
6799
   * Motif Tools Library, Version 3.1
 
6800
!  * $Id$
 
6801
   * 
 
6802
   * Written by David Flanagan.
 
6803
   * Copyright (c) 1992-2001 by David Flanagan.
 
6804
--- 1,6 ----
 
6805
  /* 
 
6806
   * Motif Tools Library, Version 3.1
 
6807
!  * $Id$
 
6808
   * 
 
6809
   * Written by David Flanagan.
 
6810
   * Copyright (c) 1992-2001 by David Flanagan.
 
6811
***************
 
6812
*** 8,14 ****
 
6813
   * This is open source software.  See the file LICENSE for details.
 
6814
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6815
   *
 
6816
!  * $Log$
 
6817
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6818
!  * Initial checkin.
 
6819
!  *
 
6820
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6821
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6822
!  *                  kerberos compilation support
 
6823
!  *
 
6824
   *
 
6825
   */
 
6826
  
 
6827
--- 8,17 ----
 
6828
   * This is open source software.  See the file LICENSE for details.
 
6829
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6830
   *
 
6831
!  * $Log$
 
6832
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6833
!  * Initial checkin.
 
6834
!  *
 
6835
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6836
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6837
!  *                  kerberos compilation support
 
6838
!  *
 
6839
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6840
!  * *** empty log message ***
 
6841
!  *
 
6842
   *
 
6843
   */
 
6844
  
 
6845
*************** XmtMenuItem *item;
 
6846
*** 396,404 ****
 
6847
      tok = XmtLexerGetToken(l);
 
6848
      if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
 
6849
        char *callback_string;
 
6850
!       int len;
 
6851
        XrmValue from, to;
 
6852
!       Boolean stat;
 
6853
        
 
6854
        if (tok == XmtLexerIdent) { /* a single callback */
 
6855
            /* back up by the length of the current identifier */
 
6856
--- 399,407 ----
 
6857
      tok = XmtLexerGetToken(l);
 
6858
      if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
 
6859
        char *callback_string;
 
6860
!       int len = 0;
 
6861
        XrmValue from, to;
 
6862
!       Boolean stat = False;
 
6863
        
 
6864
        if (tok == XmtLexerIdent) { /* a single callback */
 
6865
            /* back up by the length of the current identifier */
 
6866
diff -bpBN Xmt310/Xmt/MenuP.h Xmt310.ge/Xmt/MenuP.h
 
6867
*** Xmt310/Xmt/MenuP.h  Sun Feb  4 22:45:38 2001
 
6868
--- Xmt310.ge/Xmt/MenuP.h       Tue Jun 12 18:25:28 2001
 
6869
***************
 
6870
*** 1,6 ****
 
6871
  /* 
 
6872
   * Motif Tools Library, Version 3.1
 
6873
!  * $Id$
 
6874
   * 
 
6875
   * Written by David Flanagan.
 
6876
   * Copyright (c) 1992-2001 by David Flanagan.
 
6877
--- 1,6 ----
 
6878
  /* 
 
6879
   * Motif Tools Library, Version 3.1
 
6880
!  * $Id$
 
6881
   * 
 
6882
   * Written by David Flanagan.
 
6883
   * Copyright (c) 1992-2001 by David Flanagan.
 
6884
***************
 
6885
*** 8,14 ****
 
6886
   * This is open source software.  See the file LICENSE for details.
 
6887
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6888
   *
 
6889
!  * $Log$
 
6890
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6891
!  * Initial checkin.
 
6892
!  *
 
6893
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6894
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6895
!  *                  kerberos compilation support
 
6896
!  *
 
6897
   *
 
6898
   */
 
6899
  
 
6900
--- 8,17 ----
 
6901
   * This is open source software.  See the file LICENSE for details.
 
6902
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6903
   *
 
6904
!  * $Log$
 
6905
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6906
!  * Initial checkin.
 
6907
!  *
 
6908
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6909
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6910
!  *                  kerberos compilation support
 
6911
!  *
 
6912
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6913
!  * *** empty log message ***
 
6914
!  *
 
6915
   *
 
6916
   */
 
6917
  
 
6918
diff -bpBN Xmt310/Xmt/MenuS.c Xmt310.ge/Xmt/MenuS.c
 
6919
*** Xmt310/Xmt/MenuS.c  Sun Feb  4 22:45:40 2001
 
6920
--- Xmt310.ge/Xmt/MenuS.c       Tue Jun 12 18:25:28 2001
 
6921
***************
 
6922
*** 1,6 ****
 
6923
  /* 
 
6924
   * Motif Tools Library, Version 3.1
 
6925
!  * $Id$
 
6926
   * 
 
6927
   * Written by David Flanagan.
 
6928
   * Copyright (c) 1992-2001 by David Flanagan.
 
6929
--- 1,6 ----
 
6930
  /* 
 
6931
   * Motif Tools Library, Version 3.1
 
6932
!  * $Id$
 
6933
   * 
 
6934
   * Written by David Flanagan.
 
6935
   * Copyright (c) 1992-2001 by David Flanagan.
 
6936
***************
 
6937
*** 8,14 ****
 
6938
   * This is open source software.  See the file LICENSE for details.
 
6939
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6940
   *
 
6941
!  * $Log$
 
6942
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6943
!  * Initial checkin.
 
6944
!  *
 
6945
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6946
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6947
!  *                  kerberos compilation support
 
6948
!  *
 
6949
   *
 
6950
   */
 
6951
  #include <X11/Intrinsic.h>
 
6952
--- 8,17 ----
 
6953
   * This is open source software.  See the file LICENSE for details.
 
6954
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6955
   *
 
6956
!  * $Log$
 
6957
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6958
!  * Initial checkin.
 
6959
!  *
 
6960
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6961
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6962
!  *                  kerberos compilation support
 
6963
!  *
 
6964
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
6965
!  * *** empty log message ***
 
6966
!  *
 
6967
   *
 
6968
   */
 
6969
  #include <X11/Intrinsic.h>
 
6970
diff -bpBN Xmt310/Xmt/MotifWidgets.c Xmt310.ge/Xmt/MotifWidgets.c
 
6971
*** Xmt310/Xmt/MotifWidgets.c   Sun Feb  4 22:45:48 2001
 
6972
--- Xmt310.ge/Xmt/MotifWidgets.c        Tue Jun 12 18:25:28 2001
 
6973
***************
 
6974
*** 1,6 ****
 
6975
  /* 
 
6976
   * Motif Tools Library, Version 3.1
 
6977
!  * $Id$
 
6978
   * 
 
6979
   * Written by David Flanagan.
 
6980
   * Copyright (c) 1992-2001 by David Flanagan.
 
6981
--- 1,6 ----
 
6982
  /* 
 
6983
   * Motif Tools Library, Version 3.1
 
6984
!  * $Id$
 
6985
   * 
 
6986
   * Written by David Flanagan.
 
6987
   * Copyright (c) 1992-2001 by David Flanagan.
 
6988
***************
 
6989
*** 8,14 ****
 
6990
   * This is open source software.  See the file LICENSE for details.
 
6991
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
6992
   *
 
6993
!  * $Log$
 
6994
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
6995
!  * Initial checkin.
 
6996
!  *
 
6997
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
6998
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
6999
!  *                  kerberos compilation support
 
7000
!  *
 
7001
   *
 
7002
   */
 
7003
  
 
7004
--- 8,17 ----
 
7005
   * This is open source software.  See the file LICENSE for details.
 
7006
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7007
   *
 
7008
!  * $Log$
 
7009
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7010
!  * Initial checkin.
 
7011
!  *
 
7012
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7013
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7014
!  *                  kerberos compilation support
 
7015
!  *
 
7016
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7017
!  * *** empty log message ***
 
7018
!  *
 
7019
   *
 
7020
   */
 
7021
  
 
7022
***************
 
7023
*** 46,51 ****
 
7024
--- 49,55 ----
 
7025
  #include <Xm/IconG.h>
 
7026
  #include <Xm/Notebook.h>
 
7027
  #include <Xm/SpinB.h>
 
7028
+ #include <Xm/ComboBox.h>
 
7029
  #endif
 
7030
  
 
7031
  static XmtWidgetType motif_widgets[] = {
 
7032
diff -bpBN Xmt310/Xmt/MsgDialogs.c Xmt310.ge/Xmt/MsgDialogs.c
 
7033
*** Xmt310/Xmt/MsgDialogs.c     Sun Feb  4 22:45:52 2001
 
7034
--- Xmt310.ge/Xmt/MsgDialogs.c  Tue Jun 12 18:25:28 2001
 
7035
***************
 
7036
*** 1,6 ****
 
7037
  /* 
 
7038
   * Motif Tools Library, Version 3.1
 
7039
!  * $Id$
 
7040
   * 
 
7041
   * Written by David Flanagan.
 
7042
   * Copyright (c) 1992-2001 by David Flanagan.
 
7043
--- 1,6 ----
 
7044
  /* 
 
7045
   * Motif Tools Library, Version 3.1
 
7046
!  * $Id$
 
7047
   * 
 
7048
   * Written by David Flanagan.
 
7049
   * Copyright (c) 1992-2001 by David Flanagan.
 
7050
***************
 
7051
*** 8,14 ****
 
7052
   * This is open source software.  See the file LICENSE for details.
 
7053
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7054
   *
 
7055
!  * $Log$
 
7056
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7057
!  * Initial checkin.
 
7058
!  *
 
7059
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7060
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7061
!  *                  kerberos compilation support
 
7062
!  *
 
7063
   *
 
7064
   */
 
7065
  
 
7066
--- 8,17 ----
 
7067
   * This is open source software.  See the file LICENSE for details.
 
7068
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7069
   *
 
7070
!  * $Log$
 
7071
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7072
!  * Initial checkin.
 
7073
!  *
 
7074
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7075
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7076
!  *                  kerberos compilation support
 
7077
!  *
 
7078
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7079
!  * *** empty log message ***
 
7080
!  *
 
7081
   *
 
7082
   */
 
7083
  
 
7084
*************** XtPointer tag, data;
 
7085
*** 118,124 ****
 
7086
  
 
7087
      XtVaGetValues(dialog, XmNmessageString, &msg, NULL);
 
7088
      blank = XmStringSeparatorCreate();
 
7089
!     help = XmtCreateXmString(cache->help_strings[i]);
 
7090
      s1 = XmStringConcat(msg, blank);
 
7091
      s2 = XmStringConcat(s1, help);
 
7092
      XtVaSetValues(dialog, XmNmessageString, s2, NULL);
 
7093
--- 121,127 ----
 
7094
  
 
7095
      XtVaGetValues(dialog, XmNmessageString, &msg, NULL);
 
7096
      blank = XmStringSeparatorCreate();
 
7097
!     help = XmtCreateLocalizedXmString(w, cache->help_strings[i]);
 
7098
      s1 = XmStringConcat(msg, blank);
 
7099
      s2 = XmStringConcat(s1, help);
 
7100
      XtVaSetValues(dialog, XmNmessageString, s2, NULL);
 
7101
*************** MsgDialogCache **cache_return;
 
7102
*** 230,236 ****
 
7103
  #endif
 
7104
  {
 
7105
      MsgDialogCache *cache;
 
7106
!     Widget dialog, help_button;
 
7107
      String help;
 
7108
      
 
7109
      /* the first time, create the hash table */
 
7110
--- 233,239 ----
 
7111
  #endif
 
7112
  {
 
7113
      MsgDialogCache *cache;
 
7114
!     Widget dialog = 0, help_button;
 
7115
      String help;
 
7116
      
 
7117
      /* the first time, create the hash table */
 
7118
*************** int style;
 
7119
*** 451,458 ****
 
7120
      }
 
7121
      
 
7122
      /* create XmStrings */
 
7123
!     msg = XmtCreateXmString(data.message);
 
7124
!     title = XmtCreateXmString(data.title);
 
7125
      
 
7126
      /*
 
7127
       * reset the type of the dialog so that the next call will change it.
 
7128
--- 454,461 ----
 
7129
      }
 
7130
      
 
7131
      /* create XmStrings */
 
7132
!     msg = XmtCreateLocalizedXmString(w, data.message);
 
7133
!     title = XmtCreateLocalizedXmString(w, data.title);
 
7134
      
 
7135
      /*
 
7136
       * reset the type of the dialog so that the next call will change it.
 
7137
diff -bpBN Xmt310/Xmt/MsgLine.c Xmt310.ge/Xmt/MsgLine.c
 
7138
*** Xmt310/Xmt/MsgLine.c        Sun Feb  4 22:45:56 2001
 
7139
--- Xmt310.ge/Xmt/MsgLine.c     Tue Jun 12 18:25:28 2001
 
7140
***************
 
7141
*** 1,6 ****
 
7142
  /* 
 
7143
   * Motif Tools Library, Version 3.1
 
7144
!  * $Id$
 
7145
   * 
 
7146
   * Written by David Flanagan.
 
7147
   * Copyright (c) 1992-2001 by David Flanagan.
 
7148
--- 1,6 ----
 
7149
  /* 
 
7150
   * Motif Tools Library, Version 3.1
 
7151
!  * $Id$
 
7152
   * 
 
7153
   * Written by David Flanagan.
 
7154
   * Copyright (c) 1992-2001 by David Flanagan.
 
7155
***************
 
7156
*** 8,14 ****
 
7157
   * This is open source software.  See the file LICENSE for details.
 
7158
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7159
   *
 
7160
!  * $Log$
 
7161
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7162
!  * Initial checkin.
 
7163
!  *
 
7164
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7165
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7166
!  *                  kerberos compilation support
 
7167
!  *
 
7168
   *
 
7169
   */
 
7170
   
 
7171
--- 8,17 ----
 
7172
   * This is open source software.  See the file LICENSE for details.
 
7173
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7174
   *
 
7175
!  * $Log$
 
7176
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7177
!  * Initial checkin.
 
7178
!  *
 
7179
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7180
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7181
!  *                  kerberos compilation support
 
7182
!  *
 
7183
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7184
!  * *** empty log message ***
 
7185
!  *
 
7186
   *
 
7187
   */
 
7188
   
 
7189
diff -bpBN Xmt310/Xmt/MsgLine.h Xmt310.ge/Xmt/MsgLine.h
 
7190
*** Xmt310/Xmt/MsgLine.h        Sun Feb  4 22:45:58 2001
 
7191
--- Xmt310.ge/Xmt/MsgLine.h     Tue Jun 12 18:25:28 2001
 
7192
***************
 
7193
*** 1,6 ****
 
7194
  /* 
 
7195
   * Motif Tools Library, Version 3.1
 
7196
!  * $Id$
 
7197
   * 
 
7198
   * Written by David Flanagan.
 
7199
   * Copyright (c) 1992-2001 by David Flanagan.
 
7200
--- 1,6 ----
 
7201
  /* 
 
7202
   * Motif Tools Library, Version 3.1
 
7203
!  * $Id$
 
7204
   * 
 
7205
   * Written by David Flanagan.
 
7206
   * Copyright (c) 1992-2001 by David Flanagan.
 
7207
***************
 
7208
*** 8,14 ****
 
7209
   * This is open source software.  See the file LICENSE for details.
 
7210
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7211
   *
 
7212
!  * $Log$
 
7213
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7214
!  * Initial checkin.
 
7215
!  *
 
7216
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7217
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7218
!  *                  kerberos compilation support
 
7219
!  *
 
7220
   *
 
7221
   */
 
7222
  
 
7223
--- 8,17 ----
 
7224
   * This is open source software.  See the file LICENSE for details.
 
7225
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7226
   *
 
7227
!  * $Log$
 
7228
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7229
!  * Initial checkin.
 
7230
!  *
 
7231
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7232
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7233
!  *                  kerberos compilation support
 
7234
!  *
 
7235
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7236
!  * *** empty log message ***
 
7237
!  *
 
7238
   *
 
7239
   */
 
7240
  
 
7241
diff -bpBN Xmt310/Xmt/MsgLineP.h Xmt310.ge/Xmt/MsgLineP.h
 
7242
*** Xmt310/Xmt/MsgLineP.h       Sun Feb  4 22:46:02 2001
 
7243
--- Xmt310.ge/Xmt/MsgLineP.h    Tue Jun 12 18:25:28 2001
 
7244
***************
 
7245
*** 1,6 ****
 
7246
  /* 
 
7247
   * Motif Tools Library, Version 3.1
 
7248
!  * $Id$
 
7249
   * 
 
7250
   * Written by David Flanagan.
 
7251
   * Copyright (c) 1992-2001 by David Flanagan.
 
7252
--- 1,6 ----
 
7253
  /* 
 
7254
   * Motif Tools Library, Version 3.1
 
7255
!  * $Id$
 
7256
   * 
 
7257
   * Written by David Flanagan.
 
7258
   * Copyright (c) 1992-2001 by David Flanagan.
 
7259
***************
 
7260
*** 8,14 ****
 
7261
   * This is open source software.  See the file LICENSE for details.
 
7262
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7263
   *
 
7264
!  * $Log$
 
7265
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7266
!  * Initial checkin.
 
7267
!  *
 
7268
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7269
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7270
!  *                  kerberos compilation support
 
7271
!  *
 
7272
   *
 
7273
   */
 
7274
  
 
7275
--- 8,17 ----
 
7276
   * This is open source software.  See the file LICENSE for details.
 
7277
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7278
   *
 
7279
!  * $Log$
 
7280
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7281
!  * Initial checkin.
 
7282
!  *
 
7283
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7284
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7285
!  *                  kerberos compilation support
 
7286
!  *
 
7287
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7288
!  * *** empty log message ***
 
7289
!  *
 
7290
   *
 
7291
   */
 
7292
  
 
7293
diff -bpBN Xmt310/Xmt/MsgLineS.c Xmt310.ge/Xmt/MsgLineS.c
 
7294
*** Xmt310/Xmt/MsgLineS.c       Sun Feb  4 22:46:06 2001
 
7295
--- Xmt310.ge/Xmt/MsgLineS.c    Tue Jun 12 18:25:28 2001
 
7296
***************
 
7297
*** 1,6 ****
 
7298
  /* 
 
7299
   * Motif Tools Library, Version 3.1
 
7300
!  * $Id$
 
7301
   * 
 
7302
   * Written by David Flanagan.
 
7303
   * Copyright (c) 1992-2001 by David Flanagan.
 
7304
--- 1,6 ----
 
7305
  /* 
 
7306
   * Motif Tools Library, Version 3.1
 
7307
!  * $Id$
 
7308
   * 
 
7309
   * Written by David Flanagan.
 
7310
   * Copyright (c) 1992-2001 by David Flanagan.
 
7311
***************
 
7312
*** 8,14 ****
 
7313
   * This is open source software.  See the file LICENSE for details.
 
7314
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7315
   *
 
7316
!  * $Log$
 
7317
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7318
!  * Initial checkin.
 
7319
!  *
 
7320
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7321
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7322
!  *                  kerberos compilation support
 
7323
!  *
 
7324
   *
 
7325
   */
 
7326
  #include <X11/Intrinsic.h>
 
7327
--- 8,17 ----
 
7328
   * This is open source software.  See the file LICENSE for details.
 
7329
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7330
   *
 
7331
!  * $Log$
 
7332
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7333
!  * Initial checkin.
 
7334
!  *
 
7335
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7336
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7337
!  *                  kerberos compilation support
 
7338
!  *
 
7339
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7340
!  * *** empty log message ***
 
7341
!  *
 
7342
   *
 
7343
   */
 
7344
  #include <X11/Intrinsic.h>
 
7345
diff -bpBN Xmt310/Xmt/NameToWidget.c Xmt310.ge/Xmt/NameToWidget.c
 
7346
*** Xmt310/Xmt/NameToWidget.c   Sun Feb  4 22:46:10 2001
 
7347
--- Xmt310.ge/Xmt/NameToWidget.c        Tue Jun 12 18:25:28 2001
 
7348
***************
 
7349
*** 1,6 ****
 
7350
  /* 
 
7351
   * Motif Tools Library, Version 3.1
 
7352
!  * $Id$
 
7353
   * 
 
7354
   * Written by David Flanagan.
 
7355
   * Copyright (c) 1992-2001 by David Flanagan.
 
7356
--- 1,6 ----
 
7357
  /* 
 
7358
   * Motif Tools Library, Version 3.1
 
7359
!  * $Id$
 
7360
   * 
 
7361
   * Written by David Flanagan.
 
7362
   * Copyright (c) 1992-2001 by David Flanagan.
 
7363
***************
 
7364
*** 8,14 ****
 
7365
   * This is open source software.  See the file LICENSE for details.
 
7366
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7367
   *
 
7368
!  * $Log$
 
7369
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7370
!  * Initial checkin.
 
7371
!  *
 
7372
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7373
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7374
!  *                  kerberos compilation support
 
7375
!  *
 
7376
   *
 
7377
   */
 
7378
  
 
7379
--- 8,17 ----
 
7380
   * This is open source software.  See the file LICENSE for details.
 
7381
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7382
   *
 
7383
!  * $Log$
 
7384
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7385
!  * Initial checkin.
 
7386
!  *
 
7387
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7388
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7389
!  *                  kerberos compilation support
 
7390
!  *
 
7391
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7392
!  * *** empty log message ***
 
7393
!  *
 
7394
   *
 
7395
   */
 
7396
  
 
7397
diff -bpBN Xmt310/Xmt/PixelCvt.c Xmt310.ge/Xmt/PixelCvt.c
 
7398
*** Xmt310/Xmt/PixelCvt.c       Sun Feb  4 22:46:16 2001
 
7399
--- Xmt310.ge/Xmt/PixelCvt.c    Tue Jun 12 18:25:28 2001
 
7400
***************
 
7401
*** 1,6 ****
 
7402
  /* 
 
7403
   * Motif Tools Library, Version 3.1
 
7404
!  * $Id$
 
7405
   * 
 
7406
   * Written by David Flanagan.
 
7407
   * Copyright (c) 1992-2001 by David Flanagan.
 
7408
--- 1,6 ----
 
7409
  /* 
 
7410
   * Motif Tools Library, Version 3.1
 
7411
!  * $Id$
 
7412
   * 
 
7413
   * Written by David Flanagan.
 
7414
   * Copyright (c) 1992-2001 by David Flanagan.
 
7415
***************
 
7416
*** 8,14 ****
 
7417
   * This is open source software.  See the file LICENSE for details.
 
7418
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7419
   *
 
7420
!  * $Log$
 
7421
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7422
!  * Initial checkin.
 
7423
!  *
 
7424
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7425
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7426
!  *                  kerberos compilation support
 
7427
!  *
 
7428
   *
 
7429
   */
 
7430
  
 
7431
--- 8,17 ----
 
7432
   * This is open source software.  See the file LICENSE for details.
 
7433
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7434
   *
 
7435
!  * $Log$
 
7436
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7437
!  * Initial checkin.
 
7438
!  *
 
7439
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7440
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7441
!  *                  kerberos compilation support
 
7442
!  *
 
7443
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7444
!  * *** empty log message ***
 
7445
!  *
 
7446
   *
 
7447
   */
 
7448
  
 
7449
diff -bpBN Xmt310/Xmt/Pixmap.c Xmt310.ge/Xmt/Pixmap.c
 
7450
*** Xmt310/Xmt/Pixmap.c Sun Feb  4 22:46:18 2001
 
7451
--- Xmt310.ge/Xmt/Pixmap.c      Tue Jun 12 18:25:28 2001
 
7452
***************
 
7453
*** 1,6 ****
 
7454
  /* 
 
7455
   * Motif Tools Library, Version 3.1
 
7456
!  * $Id$
 
7457
   * 
 
7458
   * Written by David Flanagan.
 
7459
   * Copyright (c) 1992-2001 by David Flanagan.
 
7460
--- 1,6 ----
 
7461
  /* 
 
7462
   * Motif Tools Library, Version 3.1
 
7463
!  * $Id$
 
7464
   * 
 
7465
   * Written by David Flanagan.
 
7466
   * Copyright (c) 1992-2001 by David Flanagan.
 
7467
***************
 
7468
*** 8,14 ****
 
7469
   * This is open source software.  See the file LICENSE for details.
 
7470
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7471
   *
 
7472
!  * $Log$
 
7473
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7474
!  * Initial checkin.
 
7475
!  *
 
7476
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7477
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7478
!  *                  kerberos compilation support
 
7479
!  *
 
7480
   *
 
7481
   */
 
7482
  
 
7483
--- 8,17 ----
 
7484
   * This is open source software.  See the file LICENSE for details.
 
7485
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7486
   *
 
7487
!  * $Log$
 
7488
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7489
!  * Initial checkin.
 
7490
!  *
 
7491
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7492
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7493
!  *                  kerberos compilation support
 
7494
!  *
 
7495
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7496
!  * *** empty log message ***
 
7497
!  *
 
7498
   *
 
7499
   */
 
7500
  
 
7501
diff -bpBN Xmt310/Xmt/Pixmap.h Xmt310.ge/Xmt/Pixmap.h
 
7502
*** Xmt310/Xmt/Pixmap.h Sun Feb  4 22:46:22 2001
 
7503
--- Xmt310.ge/Xmt/Pixmap.h      Tue Jun 12 18:25:28 2001
 
7504
***************
 
7505
*** 1,6 ****
 
7506
  /* 
 
7507
   * Motif Tools Library, Version 3.1
 
7508
!  * $Id$
 
7509
   * 
 
7510
   * Written by David Flanagan.
 
7511
   * Copyright (c) 1992-2001 by David Flanagan.
 
7512
--- 1,6 ----
 
7513
  /* 
 
7514
   * Motif Tools Library, Version 3.1
 
7515
!  * $Id$
 
7516
   * 
 
7517
   * Written by David Flanagan.
 
7518
   * Copyright (c) 1992-2001 by David Flanagan.
 
7519
***************
 
7520
*** 8,14 ****
 
7521
   * This is open source software.  See the file LICENSE for details.
 
7522
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7523
   *
 
7524
!  * $Log$
 
7525
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7526
!  * Initial checkin.
 
7527
!  *
 
7528
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7529
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7530
!  *                  kerberos compilation support
 
7531
!  *
 
7532
   *
 
7533
   */
 
7534
  
 
7535
--- 8,17 ----
 
7536
   * This is open source software.  See the file LICENSE for details.
 
7537
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7538
   *
 
7539
!  * $Log$
 
7540
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7541
!  * Initial checkin.
 
7542
!  *
 
7543
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7544
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7545
!  *                  kerberos compilation support
 
7546
!  *
 
7547
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7548
!  * *** empty log message ***
 
7549
!  *
 
7550
   *
 
7551
   */
 
7552
  
 
7553
diff -bpBN Xmt310/Xmt/PixmapCvt.c Xmt310.ge/Xmt/PixmapCvt.c
 
7554
*** Xmt310/Xmt/PixmapCvt.c      Sun Feb  4 22:46:26 2001
 
7555
--- Xmt310.ge/Xmt/PixmapCvt.c   Tue Jun 12 18:25:28 2001
 
7556
***************
 
7557
*** 1,6 ****
 
7558
  /* 
 
7559
   * Motif Tools Library, Version 3.1
 
7560
!  * $Id$
 
7561
   * 
 
7562
   * Written by David Flanagan.
 
7563
   * Copyright (c) 1992-2001 by David Flanagan.
 
7564
--- 1,6 ----
 
7565
  /* 
 
7566
   * Motif Tools Library, Version 3.1
 
7567
!  * $Id$
 
7568
   * 
 
7569
   * Written by David Flanagan.
 
7570
   * Copyright (c) 1992-2001 by David Flanagan.
 
7571
***************
 
7572
*** 8,14 ****
 
7573
   * This is open source software.  See the file LICENSE for details.
 
7574
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7575
   *
 
7576
!  * $Log$
 
7577
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7578
!  * Initial checkin.
 
7579
!  *
 
7580
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7581
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7582
!  *                  kerberos compilation support
 
7583
!  *
 
7584
   *
 
7585
   */
 
7586
  
 
7587
--- 8,17 ----
 
7588
   * This is open source software.  See the file LICENSE for details.
 
7589
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7590
   *
 
7591
!  * $Log$
 
7592
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7593
!  * Initial checkin.
 
7594
!  *
 
7595
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7596
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7597
!  *                  kerberos compilation support
 
7598
!  *
 
7599
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7600
!  * *** empty log message ***
 
7601
!  *
 
7602
   *
 
7603
   */
 
7604
  
 
7605
diff -bpBN Xmt310/Xmt/PixmapLstCvt.c Xmt310.ge/Xmt/PixmapLstCvt.c
 
7606
*** Xmt310/Xmt/PixmapLstCvt.c   Sun Feb  4 22:46:28 2001
 
7607
--- Xmt310.ge/Xmt/PixmapLstCvt.c        Tue Jun 12 18:25:28 2001
 
7608
***************
 
7609
*** 1,6 ****
 
7610
  /* 
 
7611
   * Motif Tools Library, Version 3.1
 
7612
!  * $Id$
 
7613
   * 
 
7614
   * Written by David Flanagan.
 
7615
   * Copyright (c) 1992-2001 by David Flanagan.
 
7616
--- 1,6 ----
 
7617
  /* 
 
7618
   * Motif Tools Library, Version 3.1
 
7619
!  * $Id$
 
7620
   * 
 
7621
   * Written by David Flanagan.
 
7622
   * Copyright (c) 1992-2001 by David Flanagan.
 
7623
***************
 
7624
*** 8,14 ****
 
7625
   * This is open source software.  See the file LICENSE for details.
 
7626
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7627
   *
 
7628
!  * $Log$
 
7629
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7630
!  * Initial checkin.
 
7631
!  *
 
7632
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7633
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7634
!  *                  kerberos compilation support
 
7635
!  *
 
7636
   *
 
7637
   */
 
7638
  
 
7639
--- 8,17 ----
 
7640
   * This is open source software.  See the file LICENSE for details.
 
7641
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7642
   *
 
7643
!  * $Log$
 
7644
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7645
!  * Initial checkin.
 
7646
!  *
 
7647
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7648
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7649
!  *                  kerberos compilation support
 
7650
!  *
 
7651
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7652
!  * *** empty log message ***
 
7653
!  *
 
7654
   *
 
7655
   */
 
7656
  
 
7657
diff -bpBN Xmt310/Xmt/Procedures.c Xmt310.ge/Xmt/Procedures.c
 
7658
*** Xmt310/Xmt/Procedures.c     Sun Feb  4 22:46:34 2001
 
7659
--- Xmt310.ge/Xmt/Procedures.c  Tue Jun 12 18:25:28 2001
 
7660
***************
 
7661
*** 1,6 ****
 
7662
  /* 
 
7663
   * Motif Tools Library, Version 3.1
 
7664
!  * $Id$
 
7665
   * 
 
7666
   * Written by David Flanagan.
 
7667
   * Copyright (c) 1992-2001 by David Flanagan.
 
7668
--- 1,6 ----
 
7669
  /* 
 
7670
   * Motif Tools Library, Version 3.1
 
7671
!  * $Id$
 
7672
   * 
 
7673
   * Written by David Flanagan.
 
7674
   * Copyright (c) 1992-2001 by David Flanagan.
 
7675
***************
 
7676
*** 8,14 ****
 
7677
   * This is open source software.  See the file LICENSE for details.
 
7678
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7679
   *
 
7680
!  * $Log$
 
7681
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7682
!  * Initial checkin.
 
7683
!  *
 
7684
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7685
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7686
!  *                  kerberos compilation support
 
7687
!  *
 
7688
   *
 
7689
   */
 
7690
  
 
7691
--- 8,17 ----
 
7692
   * This is open source software.  See the file LICENSE for details.
 
7693
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7694
   *
 
7695
!  * $Log$
 
7696
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7697
!  * Initial checkin.
 
7698
!  *
 
7699
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7700
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7701
!  *                  kerberos compilation support
 
7702
!  *
 
7703
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7704
!  * *** empty log message ***
 
7705
!  *
 
7706
   *
 
7707
   */
 
7708
  
 
7709
diff -bpBN Xmt310/Xmt/Procedures.h Xmt310.ge/Xmt/Procedures.h
 
7710
*** Xmt310/Xmt/Procedures.h     Sun Feb  4 22:46:40 2001
 
7711
--- Xmt310.ge/Xmt/Procedures.h  Tue Jun 12 18:25:28 2001
 
7712
***************
 
7713
*** 1,6 ****
 
7714
  /* 
 
7715
   * Motif Tools Library, Version 3.1
 
7716
!  * $Id$
 
7717
   * 
 
7718
   * Written by David Flanagan.
 
7719
   * Copyright (c) 1992-2001 by David Flanagan.
 
7720
--- 1,6 ----
 
7721
  /* 
 
7722
   * Motif Tools Library, Version 3.1
 
7723
!  * $Id$
 
7724
   * 
 
7725
   * Written by David Flanagan.
 
7726
   * Copyright (c) 1992-2001 by David Flanagan.
 
7727
***************
 
7728
*** 8,14 ****
 
7729
   * This is open source software.  See the file LICENSE for details.
 
7730
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7731
   *
 
7732
!  * $Log$
 
7733
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7734
!  * Initial checkin.
 
7735
!  *
 
7736
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7737
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7738
!  *                  kerberos compilation support
 
7739
!  *
 
7740
   *
 
7741
   */
 
7742
  
 
7743
--- 8,17 ----
 
7744
   * This is open source software.  See the file LICENSE for details.
 
7745
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7746
   *
 
7747
!  * $Log$
 
7748
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7749
!  * Initial checkin.
 
7750
!  *
 
7751
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7752
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7753
!  *                  kerberos compilation support
 
7754
!  *
 
7755
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7756
!  * *** empty log message ***
 
7757
!  *
 
7758
   *
 
7759
   */
 
7760
  
 
7761
diff -bpBN Xmt310/Xmt/ProceduresP.h Xmt310.ge/Xmt/ProceduresP.h
 
7762
*** Xmt310/Xmt/ProceduresP.h    Sun Feb  4 22:46:44 2001
 
7763
--- Xmt310.ge/Xmt/ProceduresP.h Tue Jun 12 18:25:28 2001
 
7764
***************
 
7765
*** 1,6 ****
 
7766
  /* 
 
7767
   * Motif Tools Library, Version 3.1
 
7768
!  * $Id$
 
7769
   * 
 
7770
   * Written by David Flanagan.
 
7771
   * Copyright (c) 1992-2001 by David Flanagan.
 
7772
--- 1,6 ----
 
7773
  /* 
 
7774
   * Motif Tools Library, Version 3.1
 
7775
!  * $Id$
 
7776
   * 
 
7777
   * Written by David Flanagan.
 
7778
   * Copyright (c) 1992-2001 by David Flanagan.
 
7779
***************
 
7780
*** 8,14 ****
 
7781
   * This is open source software.  See the file LICENSE for details.
 
7782
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7783
   *
 
7784
!  * $Log$
 
7785
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7786
!  * Initial checkin.
 
7787
!  *
 
7788
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7789
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7790
!  *                  kerberos compilation support
 
7791
!  *
 
7792
   *
 
7793
   */
 
7794
  
 
7795
--- 8,17 ----
 
7796
   * This is open source software.  See the file LICENSE for details.
 
7797
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7798
   *
 
7799
!  * $Log$
 
7800
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7801
!  * Initial checkin.
 
7802
!  *
 
7803
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7804
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7805
!  *                  kerberos compilation support
 
7806
!  *
 
7807
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7808
!  * *** empty log message ***
 
7809
!  *
 
7810
   *
 
7811
   */
 
7812
  
 
7813
diff -bpBN Xmt310/Xmt/Quarks.c Xmt310.ge/Xmt/Quarks.c
 
7814
*** Xmt310/Xmt/Quarks.c Sun Feb  4 22:46:48 2001
 
7815
--- Xmt310.ge/Xmt/Quarks.c      Tue Jun 12 18:25:28 2001
 
7816
***************
 
7817
*** 1,6 ****
 
7818
  /* 
 
7819
   * Motif Tools Library, Version 3.1
 
7820
!  * $Id$
 
7821
   * 
 
7822
   * Written by David Flanagan.
 
7823
   * Copyright (c) 1992-2001 by David Flanagan.
 
7824
--- 1,6 ----
 
7825
  /* 
 
7826
   * Motif Tools Library, Version 3.1
 
7827
!  * $Id$
 
7828
   * 
 
7829
   * Written by David Flanagan.
 
7830
   * Copyright (c) 1992-2001 by David Flanagan.
 
7831
***************
 
7832
*** 8,14 ****
 
7833
   * This is open source software.  See the file LICENSE for details.
 
7834
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7835
   *
 
7836
!  * $Log$
 
7837
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7838
!  * Initial checkin.
 
7839
!  *
 
7840
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7841
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7842
!  *                  kerberos compilation support
 
7843
!  *
 
7844
   *
 
7845
   */
 
7846
  
 
7847
--- 8,17 ----
 
7848
   * This is open source software.  See the file LICENSE for details.
 
7849
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7850
   *
 
7851
!  * $Log$
 
7852
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7853
!  * Initial checkin.
 
7854
!  *
 
7855
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7856
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7857
!  *                  kerberos compilation support
 
7858
!  *
 
7859
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7860
!  * *** empty log message ***
 
7861
!  *
 
7862
   *
 
7863
   */
 
7864
  
 
7865
*************** void _XmtInitQuarks(void)
 
7866
*** 35,41 ****
 
7867
  void _XmtInitQuarks()
 
7868
  #endif
 
7869
  {
 
7870
!     static inited = False;
 
7871
  
 
7872
      if (inited == False) {
 
7873
        inited = True;
 
7874
--- 38,44 ----
 
7875
  void _XmtInitQuarks()
 
7876
  #endif
 
7877
  {
 
7878
!     static Boolean inited = False;
 
7879
  
 
7880
      if (inited == False) {
 
7881
        inited = True;
 
7882
diff -bpBN Xmt310/Xmt/QuarksP.h Xmt310.ge/Xmt/QuarksP.h
 
7883
*** Xmt310/Xmt/QuarksP.h        Sun Feb  4 22:46:50 2001
 
7884
--- Xmt310.ge/Xmt/QuarksP.h     Tue Jun 12 18:25:28 2001
 
7885
***************
 
7886
*** 1,6 ****
 
7887
  /* 
 
7888
   * Motif Tools Library, Version 3.1
 
7889
!  * $Id$
 
7890
   * 
 
7891
   * Written by David Flanagan.
 
7892
   * Copyright (c) 1992-2001 by David Flanagan.
 
7893
--- 1,6 ----
 
7894
  /* 
 
7895
   * Motif Tools Library, Version 3.1
 
7896
!  * $Id$
 
7897
   * 
 
7898
   * Written by David Flanagan.
 
7899
   * Copyright (c) 1992-2001 by David Flanagan.
 
7900
***************
 
7901
*** 8,14 ****
 
7902
   * This is open source software.  See the file LICENSE for details.
 
7903
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7904
   *
 
7905
!  * $Log$
 
7906
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7907
!  * Initial checkin.
 
7908
!  *
 
7909
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7910
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7911
!  *                  kerberos compilation support
 
7912
!  *
 
7913
   *
 
7914
   */
 
7915
  
 
7916
--- 8,17 ----
 
7917
   * This is open source software.  See the file LICENSE for details.
 
7918
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7919
   *
 
7920
!  * $Log$
 
7921
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7922
!  * Initial checkin.
 
7923
!  *
 
7924
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7925
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7926
!  *                  kerberos compilation support
 
7927
!  *
 
7928
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7929
!  * *** empty log message ***
 
7930
!  *
 
7931
   *
 
7932
   */
 
7933
  
 
7934
diff -bpBN Xmt310/Xmt/RGBtoHSL.c Xmt310.ge/Xmt/RGBtoHSL.c
 
7935
*** Xmt310/Xmt/RGBtoHSL.c       Sun Feb  4 22:46:56 2001
 
7936
--- Xmt310.ge/Xmt/RGBtoHSL.c    Tue Jun 12 18:25:28 2001
 
7937
***************
 
7938
*** 1,6 ****
 
7939
  /* 
 
7940
   * Motif Tools Library, Version 3.1
 
7941
!  * $Id$
 
7942
   * 
 
7943
   * Written by David Flanagan.
 
7944
   * Copyright (c) 1992-2001 by David Flanagan.
 
7945
--- 1,6 ----
 
7946
  /* 
 
7947
   * Motif Tools Library, Version 3.1
 
7948
!  * $Id$
 
7949
   * 
 
7950
   * Written by David Flanagan.
 
7951
   * Copyright (c) 1992-2001 by David Flanagan.
 
7952
***************
 
7953
*** 8,16 ****
 
7954
   * This is open source software.  See the file LICENSE for details.
 
7955
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7956
   *
 
7957
!  * $Log$
 
7958
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7959
!  * Initial checkin.
 
7960
!  *
 
7961
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7962
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7963
!  *                  kerberos compilation support
 
7964
!  *
 
7965
   *
 
7966
   */
 
7967
  
 
7968
  /*
 
7969
   * RGB <--> HSL conversions were modified from code with the
 
7970
--- 8,21 ----
 
7971
   * This is open source software.  See the file LICENSE for details.
 
7972
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
7973
   *
 
7974
!  * $Log$
 
7975
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
7976
!  * Initial checkin.
 
7977
!  *
 
7978
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
7979
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
7980
!  *                  kerberos compilation support
 
7981
!  *
 
7982
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
7983
!  * *** empty log message ***
 
7984
!  *
 
7985
   *
 
7986
   */
 
7987
 
7988
+ #include <Xmt/Xmt.h>
 
7989
  
 
7990
  /*
 
7991
   * RGB <--> HSL conversions were modified from code with the
 
7992
diff -bpBN Xmt310/Xmt/Screen.c Xmt310.ge/Xmt/Screen.c
 
7993
*** Xmt310/Xmt/Screen.c Sun Feb  4 22:47:00 2001
 
7994
--- Xmt310.ge/Xmt/Screen.c      Tue Jun 12 18:25:28 2001
 
7995
***************
 
7996
*** 1,6 ****
 
7997
  /* 
 
7998
   * Motif Tools Library, Version 3.1
 
7999
!  * $Id$
 
8000
   * 
 
8001
   * Written by David Flanagan.
 
8002
   * Copyright (c) 1992-2001 by David Flanagan.
 
8003
--- 1,6 ----
 
8004
  /* 
 
8005
   * Motif Tools Library, Version 3.1
 
8006
!  * $Id$
 
8007
   * 
 
8008
   * Written by David Flanagan.
 
8009
   * Copyright (c) 1992-2001 by David Flanagan.
 
8010
***************
 
8011
*** 8,14 ****
 
8012
   * This is open source software.  See the file LICENSE for details.
 
8013
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8014
   *
 
8015
!  * $Log$
 
8016
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8017
!  * Initial checkin.
 
8018
!  *
 
8019
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8020
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8021
!  *                  kerberos compilation support
 
8022
!  *
 
8023
   *
 
8024
   */
 
8025
  
 
8026
--- 8,17 ----
 
8027
   * This is open source software.  See the file LICENSE for details.
 
8028
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8029
   *
 
8030
!  * $Log$
 
8031
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8032
!  * Initial checkin.
 
8033
!  *
 
8034
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8035
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8036
!  *                  kerberos compilation support
 
8037
!  *
 
8038
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8039
!  * *** empty log message ***
 
8040
!  *
 
8041
   *
 
8042
   */
 
8043
  
 
8044
diff -bpBN Xmt310/Xmt/ScreenP.h Xmt310.ge/Xmt/ScreenP.h
 
8045
*** Xmt310/Xmt/ScreenP.h        Sun Feb  4 22:47:06 2001
 
8046
--- Xmt310.ge/Xmt/ScreenP.h     Tue Jun 12 18:25:28 2001
 
8047
***************
 
8048
*** 1,6 ****
 
8049
  /* 
 
8050
   * Motif Tools Library, Version 3.1
 
8051
!  * $Id$
 
8052
   * 
 
8053
   * Written by David Flanagan.
 
8054
   * Copyright (c) 1992-2001 by David Flanagan.
 
8055
--- 1,6 ----
 
8056
  /* 
 
8057
   * Motif Tools Library, Version 3.1
 
8058
!  * $Id$
 
8059
   * 
 
8060
   * Written by David Flanagan.
 
8061
   * Copyright (c) 1992-2001 by David Flanagan.
 
8062
***************
 
8063
*** 8,14 ****
 
8064
   * This is open source software.  See the file LICENSE for details.
 
8065
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8066
   *
 
8067
!  * $Log$
 
8068
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8069
!  * Initial checkin.
 
8070
!  *
 
8071
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8072
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8073
!  *                  kerberos compilation support
 
8074
!  *
 
8075
   *
 
8076
   */
 
8077
  
 
8078
--- 8,17 ----
 
8079
   * This is open source software.  See the file LICENSE for details.
 
8080
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8081
   *
 
8082
!  * $Log$
 
8083
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8084
!  * Initial checkin.
 
8085
!  *
 
8086
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8087
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8088
!  *                  kerberos compilation support
 
8089
!  *
 
8090
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8091
!  * *** empty log message ***
 
8092
!  *
 
8093
   *
 
8094
   */
 
8095
  
 
8096
*************** typedef struct {
 
8097
*** 25,30 ****
 
8098
--- 28,38 ----
 
8099
      Widget boolean_dialog;    /* dialog for XmtAskForBoolean() */
 
8100
      Widget file_dialog;       /* dialog for by XmtAskForFilename() */
 
8101
      Widget item_dialog;       /* dialog for XmtAskForItem[Number]() */
 
8102
+ /* _AA added XmtAskForTime(), XmtAskForMemory() */
 
8103
+     Widget time_dialog;
 
8104
+     Widget memory_dialog;
 
8105
+     Widget items_dialog;
 
8106
+ /******_AA******************/
 
8107
      struct {                  /* internal widgets of the boolean dialog */
 
8108
        Widget icon, message;
 
8109
        Widget yes, no, cancel, help;
 
8110
diff -bpBN Xmt310/Xmt/SetValue.c Xmt310.ge/Xmt/SetValue.c
 
8111
*** Xmt310/Xmt/SetValue.c       Sun Feb  4 22:47:08 2001
 
8112
--- Xmt310.ge/Xmt/SetValue.c    Tue Jun 12 18:25:28 2001
 
8113
***************
 
8114
*** 1,6 ****
 
8115
  /* 
 
8116
   * Motif Tools Library, Version 3.1
 
8117
!  * $Id$
 
8118
   * 
 
8119
   * Written by David Flanagan.
 
8120
   * Copyright (c) 1992-2001 by David Flanagan.
 
8121
--- 1,6 ----
 
8122
  /* 
 
8123
   * Motif Tools Library, Version 3.1
 
8124
!  * $Id$
 
8125
   * 
 
8126
   * Written by David Flanagan.
 
8127
   * Copyright (c) 1992-2001 by David Flanagan.
 
8128
***************
 
8129
*** 8,14 ****
 
8130
   * This is open source software.  See the file LICENSE for details.
 
8131
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8132
   *
 
8133
!  * $Log$
 
8134
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8135
!  * Initial checkin.
 
8136
!  *
 
8137
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8138
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8139
!  *                  kerberos compilation support
 
8140
!  *
 
8141
   *
 
8142
   */
 
8143
  
 
8144
--- 8,17 ----
 
8145
   * This is open source software.  See the file LICENSE for details.
 
8146
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8147
   *
 
8148
!  * $Log$
 
8149
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8150
!  * Initial checkin.
 
8151
!  *
 
8152
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8153
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8154
!  *                  kerberos compilation support
 
8155
!  *
 
8156
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8157
!  * *** empty log message ***
 
8158
!  *
 
8159
   *
 
8160
   */
 
8161
  
 
8162
diff -bpBN Xmt310/Xmt/SetValue.h Xmt310.ge/Xmt/SetValue.h
 
8163
*** Xmt310/Xmt/SetValue.h       Sun Feb  4 22:47:12 2001
 
8164
--- Xmt310.ge/Xmt/SetValue.h    Tue Jun 12 18:25:28 2001
 
8165
***************
 
8166
*** 1,6 ****
 
8167
  /* 
 
8168
   * Motif Tools Library, Version 3.1
 
8169
!  * $Id$
 
8170
   * 
 
8171
   * Written by David Flanagan.
 
8172
   * Copyright (c) 1992-2001 by David Flanagan.
 
8173
--- 1,6 ----
 
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
***************
 
8181
*** 8,14 ****
 
8182
   * This is open source software.  See the file LICENSE for details.
 
8183
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8184
   *
 
8185
!  * $Log$
 
8186
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8187
!  * Initial checkin.
 
8188
!  *
 
8189
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8190
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8191
!  *                  kerberos compilation support
 
8192
!  *
 
8193
   *
 
8194
   */
 
8195
  
 
8196
--- 8,17 ----
 
8197
   * This is open source software.  See the file LICENSE for details.
 
8198
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8199
   *
 
8200
!  * $Log$
 
8201
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8202
!  * Initial checkin.
 
8203
!  *
 
8204
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8205
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8206
!  *                  kerberos compilation support
 
8207
!  *
 
8208
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8209
!  * *** empty log message ***
 
8210
!  *
 
8211
   *
 
8212
   */
 
8213
  
 
8214
diff -bpBN Xmt310/Xmt/ShellUtil.c Xmt310.ge/Xmt/ShellUtil.c
 
8215
*** Xmt310/Xmt/ShellUtil.c      Sun Feb  4 22:47:16 2001
 
8216
--- Xmt310.ge/Xmt/ShellUtil.c   Tue Jun 12 18:25:28 2001
 
8217
***************
 
8218
*** 1,6 ****
 
8219
  /* 
 
8220
   * Motif Tools Library, Version 3.1
 
8221
!  * $Id$
 
8222
   * 
 
8223
   * Written by David Flanagan.
 
8224
   * Copyright (c) 1992-2001 by David Flanagan.
 
8225
--- 1,6 ----
 
8226
  /* 
 
8227
   * Motif Tools Library, Version 3.1
 
8228
!  * $Id$
 
8229
   * 
 
8230
   * Written by David Flanagan.
 
8231
   * Copyright (c) 1992-2001 by David Flanagan.
 
8232
***************
 
8233
*** 8,14 ****
 
8234
   * This is open source software.  See the file LICENSE for details.
 
8235
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8236
   *
 
8237
!  * $Log$
 
8238
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8239
!  * Initial checkin.
 
8240
!  *
 
8241
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8242
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8243
!  *                  kerberos compilation support
 
8244
!  *
 
8245
   *
 
8246
   */
 
8247
  
 
8248
--- 8,17 ----
 
8249
   * This is open source software.  See the file LICENSE for details.
 
8250
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8251
   *
 
8252
!  * $Log$
 
8253
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8254
!  * Initial checkin.
 
8255
!  *
 
8256
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8257
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8258
!  *                  kerberos compilation support
 
8259
!  *
 
8260
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8261
!  * *** empty log message ***
 
8262
!  *
 
8263
   *
 
8264
   */
 
8265
  
 
8266
*************** XtCallbackProc proc;
 
8267
*** 70,76 ****
 
8268
  XtPointer data;
 
8269
  #endif
 
8270
  {
 
8271
!     static Atom wm_delete_window;
 
8272
  
 
8273
      if (!wm_delete_window) {
 
8274
        wm_delete_window = XmInternAtom(XtDisplay(shell),
 
8275
--- 73,79 ----
 
8276
  XtPointer data;
 
8277
  #endif
 
8278
  {
 
8279
!     static Atom wm_delete_window = 0;
 
8280
  
 
8281
      if (!wm_delete_window) {
 
8282
        wm_delete_window = XmInternAtom(XtDisplay(shell),
 
8283
*************** typedef enum {
 
8284
*** 261,267 ****
 
8285
  #define XmtRFocusStyle "FocusStyle"
 
8286
  
 
8287
  static String focus_names[] = { "focus", "move", "none", "warp"};
 
8288
! static int focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
 
8289
  
 
8290
  static XtResource focus_resources[] = {
 
8291
    {XmtNfocusStyle, XmtCFocusStyle, XmtRFocusStyle,
 
8292
--- 264,270 ----
 
8293
  #define XmtRFocusStyle "FocusStyle"
 
8294
  
 
8295
  static String focus_names[] = { "focus", "move", "none", "warp"};
 
8296
! static Cardinal focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
 
8297
  
 
8298
  static XtResource focus_resources[] = {
 
8299
    {XmtNfocusStyle, XmtCFocusStyle, XmtRFocusStyle,
 
8300
diff -bpBN Xmt310/Xmt/ShellUtil.h Xmt310.ge/Xmt/ShellUtil.h
 
8301
*** Xmt310/Xmt/ShellUtil.h      Sun Feb  4 22:47:18 2001
 
8302
--- Xmt310.ge/Xmt/ShellUtil.h   Tue Jun 12 18:25:28 2001
 
8303
***************
 
8304
*** 1,6 ****
 
8305
  /* 
 
8306
   * Motif Tools Library, Version 3.1
 
8307
!  * $Id$
 
8308
   * 
 
8309
   * Written by David Flanagan.
 
8310
   * Copyright (c) 1992-2001 by David Flanagan.
 
8311
--- 1,6 ----
 
8312
  /* 
 
8313
   * Motif Tools Library, Version 3.1
 
8314
!  * $Id$
 
8315
   * 
 
8316
   * Written by David Flanagan.
 
8317
   * Copyright (c) 1992-2001 by David Flanagan.
 
8318
***************
 
8319
*** 8,14 ****
 
8320
   * This is open source software.  See the file LICENSE for details.
 
8321
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8322
   *
 
8323
!  * $Log$
 
8324
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8325
!  * Initial checkin.
 
8326
!  *
 
8327
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8328
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8329
!  *                  kerberos compilation support
 
8330
!  *
 
8331
   *
 
8332
   */
 
8333
  
 
8334
--- 8,17 ----
 
8335
   * This is open source software.  See the file LICENSE for details.
 
8336
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8337
   *
 
8338
!  * $Log$
 
8339
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8340
!  * Initial checkin.
 
8341
!  *
 
8342
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8343
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8344
!  *                  kerberos compilation support
 
8345
!  *
 
8346
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8347
!  * *** empty log message ***
 
8348
!  *
 
8349
   *
 
8350
   */
 
8351
  
 
8352
diff -bpBN Xmt310/Xmt/StringLstCvt.c Xmt310.ge/Xmt/StringLstCvt.c
 
8353
*** Xmt310/Xmt/StringLstCvt.c   Sun Feb  4 22:47:22 2001
 
8354
--- Xmt310.ge/Xmt/StringLstCvt.c        Tue Jun 12 18:25:28 2001
 
8355
***************
 
8356
*** 1,6 ****
 
8357
  /* 
 
8358
   * Motif Tools Library, Version 3.1
 
8359
!  * $Id$
 
8360
   * 
 
8361
   * Written by David Flanagan.
 
8362
   * Copyright (c) 1992-2001 by David Flanagan.
 
8363
--- 1,6 ----
 
8364
  /* 
 
8365
   * Motif Tools Library, Version 3.1
 
8366
!  * $Id$
 
8367
   * 
 
8368
   * Written by David Flanagan.
 
8369
   * Copyright (c) 1992-2001 by David Flanagan.
 
8370
***************
 
8371
*** 8,14 ****
 
8372
   * This is open source software.  See the file LICENSE for details.
 
8373
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8374
   *
 
8375
!  * $Log$
 
8376
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8377
!  * Initial checkin.
 
8378
!  *
 
8379
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8380
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8381
!  *                  kerberos compilation support
 
8382
!  *
 
8383
   *
 
8384
   */
 
8385
  
 
8386
--- 8,17 ----
 
8387
   * This is open source software.  See the file LICENSE for details.
 
8388
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8389
   *
 
8390
!  * $Log$
 
8391
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8392
!  * Initial checkin.
 
8393
!  *
 
8394
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8395
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8396
!  *                  kerberos compilation support
 
8397
!  *
 
8398
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8399
!  * *** empty log message ***
 
8400
!  *
 
8401
   *
 
8402
   */
 
8403
  
 
8404
diff -bpBN Xmt310/Xmt/Symbols.c Xmt310.ge/Xmt/Symbols.c
 
8405
*** Xmt310/Xmt/Symbols.c        Sun Feb  4 22:47:28 2001
 
8406
--- Xmt310.ge/Xmt/Symbols.c     Tue Jun 12 18:25:28 2001
 
8407
***************
 
8408
*** 1,6 ****
 
8409
  /* 
 
8410
   * Motif Tools Library, Version 3.1
 
8411
!  * $Id$
 
8412
   * 
 
8413
   * Written by David Flanagan.
 
8414
   * Copyright (c) 1992-2001 by David Flanagan.
 
8415
--- 1,6 ----
 
8416
  /* 
 
8417
   * Motif Tools Library, Version 3.1
 
8418
!  * $Id$
 
8419
   * 
 
8420
   * Written by David Flanagan.
 
8421
   * Copyright (c) 1992-2001 by David Flanagan.
 
8422
***************
 
8423
*** 8,14 ****
 
8424
   * This is open source software.  See the file LICENSE for details.
 
8425
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8426
   *
 
8427
!  * $Log$
 
8428
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8429
!  * Initial checkin.
 
8430
!  *
 
8431
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8432
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8433
!  *                  kerberos compilation support
 
8434
!  *
 
8435
   *
 
8436
   */
 
8437
  
 
8438
--- 8,17 ----
 
8439
   * This is open source software.  See the file LICENSE for details.
 
8440
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8441
   *
 
8442
!  * $Log$
 
8443
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8444
!  * Initial checkin.
 
8445
!  *
 
8446
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8447
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8448
!  *                  kerberos compilation support
 
8449
!  *
 
8450
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8451
!  * *** empty log message ***
 
8452
!  *
 
8453
   *
 
8454
   */
 
8455
  
 
8456
***************
 
8457
*** 18,23 ****
 
8458
--- 21,34 ----
 
8459
  #include <Xmt/QuarksP.h>
 
8460
  #include <X11/IntrinsicP.h>
 
8461
  
 
8462
+ #if NeedFunctionPrototypes
 
8463
+         void _XtCopyToArg(XtPointer, XtArgVal *, Cardinal);
 
8464
+         void _XtCopyFromArg(XtArgVal, XtPointer, Cardinal);
 
8465
+ #else
 
8466
+         void _XtCopyToArg();
 
8467
+         void _XtCopyFromArg();
 
8468
+ #endif
 
8469
 
8470
  /*
 
8471
   * values for the XmtSymbolRec mode field.
 
8472
   */
 
8473
*************** XtArgVal value;
 
8474
*** 249,255 ****
 
8475
  #endif
 
8476
  {
 
8477
      XmtSymbolCallbackRec *p;
 
8478
-     extern void _XtCopyFromArg();
 
8479
      int index;
 
8480
  
 
8481
      /*
 
8482
--- 261,266 ----
 
8483
*************** Cardinal size;
 
8484
*** 328,334 ****
 
8485
      XrmValue from, to;
 
8486
      XtArgVal converted_value;
 
8487
      Boolean status;
 
8488
-     extern void _XtCopyToArg();
 
8489
  
 
8490
      /*
 
8491
       * if the types match, just call XmtSymbolSetValue().
 
8492
--- 339,344 ----
 
8493
*************** XmtSymbol s;
 
8494
*** 376,382 ****
 
8495
  XtArgVal *valuep;
 
8496
  #endif
 
8497
  {
 
8498
-     extern void _XtCopyToArg();
 
8499
  
 
8500
      /*
 
8501
       * Special case for XmtRBuffer type symbols.
 
8502
--- 386,391 ----
 
8503
diff -bpBN Xmt310/Xmt/Symbols.h Xmt310.ge/Xmt/Symbols.h
 
8504
*** Xmt310/Xmt/Symbols.h        Sun Feb  4 22:47:30 2001
 
8505
--- Xmt310.ge/Xmt/Symbols.h     Tue Jun 12 18:25:28 2001
 
8506
***************
 
8507
*** 1,6 ****
 
8508
  /* 
 
8509
   * Motif Tools Library, Version 3.1
 
8510
!  * $Id$
 
8511
   * 
 
8512
   * Written by David Flanagan.
 
8513
   * Copyright (c) 1992-2001 by David Flanagan.
 
8514
--- 1,6 ----
 
8515
  /* 
 
8516
   * Motif Tools Library, Version 3.1
 
8517
!  * $Id$
 
8518
   * 
 
8519
   * Written by David Flanagan.
 
8520
   * Copyright (c) 1992-2001 by David Flanagan.
 
8521
***************
 
8522
*** 8,14 ****
 
8523
   * This is open source software.  See the file LICENSE for details.
 
8524
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8525
   *
 
8526
!  * $Log$
 
8527
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8528
!  * Initial checkin.
 
8529
!  *
 
8530
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8531
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8532
!  *                  kerberos compilation support
 
8533
!  *
 
8534
   *
 
8535
   */
 
8536
  
 
8537
--- 8,17 ----
 
8538
   * This is open source software.  See the file LICENSE for details.
 
8539
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8540
   *
 
8541
!  * $Log$
 
8542
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8543
!  * Initial checkin.
 
8544
!  *
 
8545
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8546
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8547
!  *                  kerberos compilation support
 
8548
!  *
 
8549
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8550
!  * *** empty log message ***
 
8551
!  *
 
8552
   *
 
8553
   */
 
8554
  
 
8555
diff -bpBN Xmt310/Xmt/Template.c Xmt310.ge/Xmt/Template.c
 
8556
*** Xmt310/Xmt/Template.c       Sun Feb  4 22:47:34 2001
 
8557
--- Xmt310.ge/Xmt/Template.c    Tue Jun 12 18:25:28 2001
 
8558
***************
 
8559
*** 1,6 ****
 
8560
  /* 
 
8561
   * Motif Tools Library, Version 3.1
 
8562
!  * $Id$
 
8563
   * 
 
8564
   * Written by David Flanagan.
 
8565
   * Copyright (c) 1992-2001 by David Flanagan.
 
8566
--- 1,6 ----
 
8567
  /* 
 
8568
   * Motif Tools Library, Version 3.1
 
8569
!  * $Id$
 
8570
   * 
 
8571
   * Written by David Flanagan.
 
8572
   * Copyright (c) 1992-2001 by David Flanagan.
 
8573
***************
 
8574
*** 8,14 ****
 
8575
   * This is open source software.  See the file LICENSE for details.
 
8576
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8577
   *
 
8578
!  * $Log$
 
8579
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8580
!  * Initial checkin.
 
8581
!  *
 
8582
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8583
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8584
!  *                  kerberos compilation support
 
8585
!  *
 
8586
   *
 
8587
   */
 
8588
  
 
8589
--- 8,17 ----
 
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
diff -bpBN Xmt310/Xmt/Template.h Xmt310.ge/Xmt/Template.h
 
8608
*** Xmt310/Xmt/Template.h       Sun Feb  4 22:47:38 2001
 
8609
--- Xmt310.ge/Xmt/Template.h    Tue Jun 12 18:25:28 2001
 
8610
***************
 
8611
*** 1,6 ****
 
8612
  /* 
 
8613
   * Motif Tools Library, Version 3.1
 
8614
!  * $Id$
 
8615
   * 
 
8616
   * Written by David Flanagan.
 
8617
   * Copyright (c) 1992-2001 by David Flanagan.
 
8618
--- 1,6 ----
 
8619
  /* 
 
8620
   * Motif Tools Library, Version 3.1
 
8621
!  * $Id$
 
8622
   * 
 
8623
   * Written by David Flanagan.
 
8624
   * Copyright (c) 1992-2001 by David Flanagan.
 
8625
***************
 
8626
*** 8,14 ****
 
8627
   * This is open source software.  See the file LICENSE for details.
 
8628
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8629
   *
 
8630
!  * $Log$
 
8631
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8632
!  * Initial checkin.
 
8633
!  *
 
8634
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8635
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8636
!  *                  kerberos compilation support
 
8637
!  *
 
8638
   *
 
8639
   */
 
8640
  
 
8641
--- 8,17 ----
 
8642
   * This is open source software.  See the file LICENSE for details.
 
8643
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8644
   *
 
8645
!  * $Log$
 
8646
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8647
!  * Initial checkin.
 
8648
!  *
 
8649
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8650
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8651
!  *                  kerberos compilation support
 
8652
!  *
 
8653
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8654
!  * *** empty log message ***
 
8655
!  *
 
8656
   *
 
8657
   */
 
8658
  
 
8659
diff -bpBN Xmt310/Xmt/UnixProcs.c Xmt310.ge/Xmt/UnixProcs.c
 
8660
*** Xmt310/Xmt/UnixProcs.c      Sun Feb  4 22:47:42 2001
 
8661
--- Xmt310.ge/Xmt/UnixProcs.c   Tue Jun 12 18:25:28 2001
 
8662
***************
 
8663
*** 1,6 ****
 
8664
  /* 
 
8665
   * Motif Tools Library, Version 3.1
 
8666
!  * $Id$
 
8667
   * 
 
8668
   * Written by David Flanagan.
 
8669
   * Copyright (c) 1992-2001 by David Flanagan.
 
8670
--- 1,6 ----
 
8671
  /* 
 
8672
   * Motif Tools Library, Version 3.1
 
8673
!  * $Id$
 
8674
   * 
 
8675
   * Written by David Flanagan.
 
8676
   * Copyright (c) 1992-2001 by David Flanagan.
 
8677
***************
 
8678
*** 8,18 ****
 
8679
   * This is open source software.  See the file LICENSE for details.
 
8680
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8681
   *
 
8682
!  * $Log$
 
8683
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8684
!  * Initial checkin.
 
8685
!  *
 
8686
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8687
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8688
!  *                  kerberos compilation support
 
8689
!  *
 
8690
   *
 
8691
   */
 
8692
  
 
8693
  #include <stdio.h>
 
8694
  #include <Xmt/Xmt.h>
 
8695
  #include <Xmt/Procedures.h>
 
8696
  
 
8697
--- 8,22 ----
 
8698
   * This is open source software.  See the file LICENSE for details.
 
8699
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8700
   *
 
8701
!  * $Log$
 
8702
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8703
!  * Initial checkin.
 
8704
!  *
 
8705
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8706
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8707
!  *                  kerberos compilation support
 
8708
!  *
 
8709
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8710
!  * *** empty log message ***
 
8711
!  *
 
8712
   *
 
8713
   */
 
8714
  
 
8715
  #include <stdio.h>
 
8716
+ #include <X11/Xos.h>
 
8717
  #include <Xmt/Xmt.h>
 
8718
  #include <Xmt/Procedures.h>
 
8719
  
 
8720
***************
 
8721
*** 23,33 ****
 
8722
  #ifndef X_NOT_POSIX
 
8723
  #include <unistd.h>
 
8724
  #endif
 
8725
 
8726
- /* these aren't declared in SunOS 4.1.1 */
 
8727
- extern int puts();
 
8728
- extern int system();
 
8729
 
8730
  
 
8731
  static XmtProcedureInfo unix_procedures[] = {
 
8732
  {"puts", (XmtProcedure)puts, {XtRString}},
 
8733
--- 27,32 ----
 
8734
diff -bpBN Xmt310/Xmt/Util.h Xmt310.ge/Xmt/Util.h
 
8735
*** Xmt310/Xmt/Util.h   Sun Feb  4 22:47:48 2001
 
8736
--- Xmt310.ge/Xmt/Util.h        Tue Jun 12 18:25:28 2001
 
8737
***************
 
8738
*** 1,6 ****
 
8739
  /* 
 
8740
   * Motif Tools Library, Version 3.1
 
8741
!  * $Id$
 
8742
   * 
 
8743
   * Written by David Flanagan.
 
8744
   * Copyright (c) 1992-2001 by David Flanagan.
 
8745
--- 1,6 ----
 
8746
  /* 
 
8747
   * Motif Tools Library, Version 3.1
 
8748
!  * $Id$
 
8749
   * 
 
8750
   * Written by David Flanagan.
 
8751
   * Copyright (c) 1992-2001 by David Flanagan.
 
8752
***************
 
8753
*** 8,14 ****
 
8754
   * This is open source software.  See the file LICENSE for details.
 
8755
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8756
   *
 
8757
!  * $Log$
 
8758
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8759
!  * Initial checkin.
 
8760
!  *
 
8761
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8762
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8763
!  *                  kerberos compilation support
 
8764
!  *
 
8765
   *
 
8766
   */
 
8767
  
 
8768
--- 8,17 ----
 
8769
   * This is open source software.  See the file LICENSE for details.
 
8770
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8771
   *
 
8772
!  * $Log$
 
8773
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8774
!  * Initial checkin.
 
8775
!  *
 
8776
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8777
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8778
!  *                  kerberos compilation support
 
8779
!  *
 
8780
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8781
!  * *** empty log message ***
 
8782
!  *
 
8783
   *
 
8784
   */
 
8785
  
 
8786
*************** extern Widget XmtGetShell(Widget) gcc_co
 
8787
*** 38,43 ****
 
8788
--- 41,47 ----
 
8789
  extern String XmtFindFile(Widget, StringConst, StringConst,
 
8790
                          StringConst, StringConst, StringConst, int);
 
8791
  extern XmString XmtCreateXmString(StringConst);
 
8792
+ extern XmString XmtCreateLocalizedXmString(Widget, StringConst);
 
8793
  extern Widget XmtNameToWidget(Widget, StringConst);
 
8794
  extern void XmtWaitUntilMapped(Widget);
 
8795
  extern void XmtDisplayBusyCursor(Widget);
 
8796
*************** extern void XmtFocusShell(Widget);
 
8797
*** 59,64 ****
 
8798
--- 63,69 ----
 
8799
  extern void XmtSetFocusToShell(Widget);
 
8800
  extern void XmtWarpToShell(Widget);
 
8801
  extern void XmtMoveShellToPointer(Widget);
 
8802
+ extern String _XmtLocalize(Screen* , StringConst, StringConst, StringConst);
 
8803
  extern String XmtLocalize(Widget, StringConst, StringConst);
 
8804
  extern String XmtLocalizeWidget(Widget, StringConst, StringConst);
 
8805
  extern String XmtLocalize2(Widget, StringConst, StringConst, StringConst);
 
8806
*************** extern Widget XmtGetTopLevelShell();
 
8807
*** 73,78 ****
 
8808
--- 78,84 ----
 
8809
  extern Widget XmtGetShell();
 
8810
  extern String XmtFindFile();
 
8811
  extern XmString XmtCreateXmString();
 
8812
+ extern XmString XmtCreateLocalizedXmString();
 
8813
  extern Widget XmtNameToWidget();
 
8814
  extern void XmtWaitUntilMapped();
 
8815
  extern void XmtDisplayBusyCursor();
 
8816
*************** extern void XmtFocusShell();
 
8817
*** 94,99 ****
 
8818
--- 100,106 ----
 
8819
  extern void XmtSetFocusToShell();
 
8820
  extern void XmtWarpToShell();
 
8821
  extern void XmtMoveShellToPointer();
 
8822
+ extern String _XmtLocalize();
 
8823
  extern String XmtLocalize();
 
8824
  extern String XmtLocalizeWidget();
 
8825
  extern String XmtLocalize2();
 
8826
diff -bpBN Xmt310/Xmt/Visual.c Xmt310.ge/Xmt/Visual.c
 
8827
*** Xmt310/Xmt/Visual.c Sun Feb  4 22:47:52 2001
 
8828
--- Xmt310.ge/Xmt/Visual.c      Tue Jun 12 18:25:28 2001
 
8829
***************
 
8830
*** 1,6 ****
 
8831
  /* 
 
8832
   * Motif Tools Library, Version 3.1
 
8833
!  * $Id$
 
8834
   * 
 
8835
   * Written by David Flanagan.
 
8836
   * Copyright (c) 1992-2001 by David Flanagan.
 
8837
--- 1,6 ----
 
8838
  /* 
 
8839
   * Motif Tools Library, Version 3.1
 
8840
!  * $Id$
 
8841
   * 
 
8842
   * Written by David Flanagan.
 
8843
   * Copyright (c) 1992-2001 by David Flanagan.
 
8844
***************
 
8845
*** 8,14 ****
 
8846
   * This is open source software.  See the file LICENSE for details.
 
8847
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8848
   *
 
8849
!  * $Log$
 
8850
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8851
!  * Initial checkin.
 
8852
!  *
 
8853
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8854
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8855
!  *                  kerberos compilation support
 
8856
!  *
 
8857
   *
 
8858
   */
 
8859
  
 
8860
--- 8,17 ----
 
8861
   * This is open source software.  See the file LICENSE for details.
 
8862
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8863
   *
 
8864
!  * $Log$
 
8865
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8866
!  * Initial checkin.
 
8867
!  *
 
8868
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8869
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8870
!  *                  kerberos compilation support
 
8871
!  *
 
8872
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8873
!  * *** empty log message ***
 
8874
!  *
 
8875
   *
 
8876
   */
 
8877
  
 
8878
diff -bpBN Xmt310/Xmt/Wait.c Xmt310.ge/Xmt/Wait.c
 
8879
*** Xmt310/Xmt/Wait.c   Sun Feb  4 22:47:56 2001
 
8880
--- Xmt310.ge/Xmt/Wait.c        Tue Jun 12 18:25:28 2001
 
8881
***************
 
8882
*** 1,6 ****
 
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
--- 1,6 ----
 
8890
  /* 
 
8891
   * Motif Tools Library, Version 3.1
 
8892
!  * $Id$
 
8893
   * 
 
8894
   * Written by David Flanagan.
 
8895
   * Copyright (c) 1992-2001 by David Flanagan.
 
8896
***************
 
8897
*** 8,14 ****
 
8898
   * This is open source software.  See the file LICENSE for details.
 
8899
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8900
   *
 
8901
!  * $Log$
 
8902
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8903
!  * Initial checkin.
 
8904
!  *
 
8905
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8906
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8907
!  *                  kerberos compilation support
 
8908
!  *
 
8909
   *
 
8910
   */
 
8911
  
 
8912
--- 8,17 ----
 
8913
   * This is open source software.  See the file LICENSE for details.
 
8914
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8915
   *
 
8916
!  * $Log$
 
8917
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8918
!  * Initial checkin.
 
8919
!  *
 
8920
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8921
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8922
!  *                  kerberos compilation support
 
8923
!  *
 
8924
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8925
!  * *** empty log message ***
 
8926
!  *
 
8927
   *
 
8928
   */
 
8929
  
 
8930
diff -bpBN Xmt310/Xmt/Warning.c Xmt310.ge/Xmt/Warning.c
 
8931
*** Xmt310/Xmt/Warning.c        Sun Feb  4 22:47:58 2001
 
8932
--- Xmt310.ge/Xmt/Warning.c     Tue Jun 12 18:25:28 2001
 
8933
***************
 
8934
*** 1,6 ****
 
8935
  /* 
 
8936
   * Motif Tools Library, Version 3.1
 
8937
!  * $Id$
 
8938
   * 
 
8939
   * Written by David Flanagan.
 
8940
   * Copyright (c) 1992-2001 by David Flanagan.
 
8941
--- 1,6 ----
 
8942
  /* 
 
8943
   * Motif Tools Library, Version 3.1
 
8944
!  * $Id$
 
8945
   * 
 
8946
   * Written by David Flanagan.
 
8947
   * Copyright (c) 1992-2001 by David Flanagan.
 
8948
***************
 
8949
*** 8,14 ****
 
8950
   * This is open source software.  See the file LICENSE for details.
 
8951
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8952
   *
 
8953
!  * $Log$
 
8954
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8955
!  * Initial checkin.
 
8956
!  *
 
8957
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8958
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8959
!  *                  kerberos compilation support
 
8960
!  *
 
8961
   *
 
8962
   */
 
8963
  
 
8964
--- 8,17 ----
 
8965
   * This is open source software.  See the file LICENSE for details.
 
8966
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
8967
   *
 
8968
!  * $Log$
 
8969
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
8970
!  * Initial checkin.
 
8971
!  *
 
8972
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
8973
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
8974
!  *                  kerberos compilation support
 
8975
!  *
 
8976
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
8977
!  * *** empty log message ***
 
8978
!  *
 
8979
   *
 
8980
   */
 
8981
  
 
8982
diff -bpBN Xmt310/Xmt/WidgetCvt.c Xmt310.ge/Xmt/WidgetCvt.c
 
8983
*** Xmt310/Xmt/WidgetCvt.c      Sun Feb  4 22:48:08 2001
 
8984
--- Xmt310.ge/Xmt/WidgetCvt.c   Tue Jun 12 18:25:28 2001
 
8985
***************
 
8986
*** 1,6 ****
 
8987
  /* 
 
8988
   * Motif Tools Library, Version 3.1
 
8989
!  * $Id$
 
8990
   * 
 
8991
   * Written by David Flanagan.
 
8992
   * Copyright (c) 1992-2001 by David Flanagan.
 
8993
--- 1,6 ----
 
8994
  /* 
 
8995
   * Motif Tools Library, Version 3.1
 
8996
!  * $Id$
 
8997
   * 
 
8998
   * Written by David Flanagan.
 
8999
   * Copyright (c) 1992-2001 by David Flanagan.
 
9000
***************
 
9001
*** 8,14 ****
 
9002
   * This is open source software.  See the file LICENSE for details.
 
9003
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9004
   *
 
9005
!  * $Log$
 
9006
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9007
!  * Initial checkin.
 
9008
!  *
 
9009
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9010
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9011
!  *                  kerberos compilation support
 
9012
!  *
 
9013
   *
 
9014
   */
 
9015
  
 
9016
--- 8,17 ----
 
9017
   * This is open source software.  See the file LICENSE for details.
 
9018
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9019
   *
 
9020
!  * $Log$
 
9021
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9022
!  * Initial checkin.
 
9023
!  *
 
9024
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9025
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9026
!  *                  kerberos compilation support
 
9027
!  *
 
9028
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9029
!  * *** empty log message ***
 
9030
!  *
 
9031
   *
 
9032
   */
 
9033
  
 
9034
diff -bpBN Xmt310/Xmt/WidgetType.c Xmt310.ge/Xmt/WidgetType.c
 
9035
*** Xmt310/Xmt/WidgetType.c     Sun Feb  4 22:48:18 2001
 
9036
--- Xmt310.ge/Xmt/WidgetType.c  Tue Jun 12 18:25:28 2001
 
9037
***************
 
9038
*** 1,6 ****
 
9039
  /* 
 
9040
   * Motif Tools Library, Version 3.1
 
9041
!  * $Id$
 
9042
   * 
 
9043
   * Written by David Flanagan.
 
9044
   * Copyright (c) 1992-2001 by David Flanagan.
 
9045
--- 1,6 ----
 
9046
  /* 
 
9047
   * Motif Tools Library, Version 3.1
 
9048
!  * $Id$
 
9049
   * 
 
9050
   * Written by David Flanagan.
 
9051
   * Copyright (c) 1992-2001 by David Flanagan.
 
9052
***************
 
9053
*** 8,14 ****
 
9054
   * This is open source software.  See the file LICENSE for details.
 
9055
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9056
   *
 
9057
!  * $Log$
 
9058
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9059
!  * Initial checkin.
 
9060
!  *
 
9061
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9062
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9063
!  *                  kerberos compilation support
 
9064
!  *
 
9065
   *
 
9066
   */
 
9067
  
 
9068
--- 8,17 ----
 
9069
   * This is open source software.  See the file LICENSE for details.
 
9070
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9071
   *
 
9072
!  * $Log$
 
9073
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9074
!  * Initial checkin.
 
9075
!  *
 
9076
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9077
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9078
!  *                  kerberos compilation support
 
9079
!  *
 
9080
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9081
!  * *** empty log message ***
 
9082
!  *
 
9083
   *
 
9084
   */
 
9085
  
 
9086
diff -bpBN Xmt310/Xmt/WidgetType.h Xmt310.ge/Xmt/WidgetType.h
 
9087
*** Xmt310/Xmt/WidgetType.h     Sun Feb  4 22:48:24 2001
 
9088
--- Xmt310.ge/Xmt/WidgetType.h  Tue Jun 12 18:25:28 2001
 
9089
***************
 
9090
*** 1,6 ****
 
9091
  /* 
 
9092
   * Motif Tools Library, Version 3.1
 
9093
!  * $Id$
 
9094
   * 
 
9095
   * Written by David Flanagan.
 
9096
   * Copyright (c) 1992-2001 by David Flanagan.
 
9097
--- 1,6 ----
 
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
***************
 
9105
*** 8,14 ****
 
9106
   * This is open source software.  See the file LICENSE for details.
 
9107
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9108
   *
 
9109
!  * $Log$
 
9110
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9111
!  * Initial checkin.
 
9112
!  *
 
9113
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9114
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9115
!  *                  kerberos compilation support
 
9116
!  *
 
9117
   *
 
9118
   */
 
9119
  
 
9120
--- 8,17 ----
 
9121
   * This is open source software.  See the file LICENSE for details.
 
9122
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9123
   *
 
9124
!  * $Log$
 
9125
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9126
!  * Initial checkin.
 
9127
!  *
 
9128
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9129
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9130
!  *                  kerberos compilation support
 
9131
!  *
 
9132
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9133
!  * *** empty log message ***
 
9134
!  *
 
9135
   *
 
9136
   */
 
9137
  
 
9138
*************** extern void XmtRegisterXmScrolledText(vo
 
9139
*** 57,62 ****
 
9140
--- 60,68 ----
 
9141
  extern void XmtRegisterXmTextField(void);
 
9142
  extern void XmtRegisterXmToggleButton(void);
 
9143
  extern void XmtRegisterXmScale(void);
 
9144
+ #if XmVersion >= 2000
 
9145
+ extern void XmtRegisterXmComboBox(void);
 
9146
+ #endif
 
9147
  #else
 
9148
  extern void XmtRegisterWidgetClass();
 
9149
  extern void XmtRegisterWidgetConstructor();
 
9150
*************** extern void XmtRegisterXmScrolledText();
 
9151
*** 72,77 ****
 
9152
--- 78,88 ----
 
9153
  extern void XmtRegisterXmTextField();
 
9154
  extern void XmtRegisterXmToggleButton();
 
9155
  extern void XmtRegisterXmScale();
 
9156
 
9157
+ #if XmVersion >= 2000
 
9158
+ extern void XmtRegisterXmComboBox();
 
9159
+ #endif
 
9160
 
9161
  #endif
 
9162
  
 
9163
  #if NeedVarargsPrototypes
 
9164
diff -bpBN Xmt310/Xmt/Working.c Xmt310.ge/Xmt/Working.c
 
9165
*** Xmt310/Xmt/Working.c        Sun Feb  4 22:48:30 2001
 
9166
--- Xmt310.ge/Xmt/Working.c     Tue Jun 12 18:25:28 2001
 
9167
***************
 
9168
*** 1,6 ****
 
9169
  /* 
 
9170
   * Motif Tools Library, Version 3.1
 
9171
!  * $Id$
 
9172
   * 
 
9173
   * Written by David Flanagan.
 
9174
   * Copyright (c) 1992-2001 by David Flanagan.
 
9175
--- 1,6 ----
 
9176
  /* 
 
9177
   * Motif Tools Library, Version 3.1
 
9178
!  * $Id$
 
9179
   * 
 
9180
   * Written by David Flanagan.
 
9181
   * Copyright (c) 1992-2001 by David Flanagan.
 
9182
***************
 
9183
*** 8,14 ****
 
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
   *
 
9196
   */
 
9197
  
 
9198
--- 8,17 ----
 
9199
   * This is open source software.  See the file LICENSE for details.
 
9200
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9201
   *
 
9202
!  * $Log$
 
9203
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9204
!  * Initial checkin.
 
9205
!  *
 
9206
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9207
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9208
!  *                  kerberos compilation support
 
9209
!  *
 
9210
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9211
!  * *** empty log message ***
 
9212
!  *
 
9213
   *
 
9214
   */
 
9215
  
 
9216
*************** int show_button;
 
9217
*** 132,138 ****
 
9218
        data.title = default_title;
 
9219
      }
 
9220
  
 
9221
!     title = XmtCreateXmString(data.title);
 
9222
      XtVaSetValues(info->working_dialog,
 
9223
                  XmtNmessage, data.message,
 
9224
                  XmtNscaleLabel, data.scale_label,
 
9225
--- 135,141 ----
 
9226
        data.title = default_title;
 
9227
      }
 
9228
  
 
9229
!     title = XmtCreateLocalizedXmString(w, data.title);
 
9230
      XtVaSetValues(info->working_dialog,
 
9231
                  XmtNmessage, data.message,
 
9232
                  XmtNscaleLabel, data.scale_label,
 
9233
diff -bpBN Xmt310/Xmt/WorkingBox.c Xmt310.ge/Xmt/WorkingBox.c
 
9234
*** Xmt310/Xmt/WorkingBox.c     Sun Feb  4 22:48:34 2001
 
9235
--- Xmt310.ge/Xmt/WorkingBox.c  Tue Jun 12 18:25:28 2001
 
9236
***************
 
9237
*** 1,6 ****
 
9238
  /* 
 
9239
   * Motif Tools Library, Version 3.1
 
9240
!  * $Id$
 
9241
   * 
 
9242
   * Written by David Flanagan.
 
9243
   * Copyright (c) 1992-2001 by David Flanagan.
 
9244
--- 1,6 ----
 
9245
  /* 
 
9246
   * Motif Tools Library, Version 3.1
 
9247
!  * $Id$
 
9248
   * 
 
9249
   * Written by David Flanagan.
 
9250
   * Copyright (c) 1992-2001 by David Flanagan.
 
9251
***************
 
9252
*** 8,14 ****
 
9253
   * This is open source software.  See the file LICENSE for details.
 
9254
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9255
   *
 
9256
!  * $Log$
 
9257
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9258
!  * Initial checkin.
 
9259
!  *
 
9260
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9261
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9262
!  *                  kerberos compilation support
 
9263
!  *
 
9264
   *
 
9265
   */
 
9266
  
 
9267
--- 8,17 ----
 
9268
   * This is open source software.  See the file LICENSE for details.
 
9269
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9270
   *
 
9271
!  * $Log$
 
9272
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9273
!  * Initial checkin.
 
9274
!  *
 
9275
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9276
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9277
!  *                  kerberos compilation support
 
9278
!  *
 
9279
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9280
!  * *** empty log message ***
 
9281
!  *
 
9282
   *
 
9283
   */
 
9284
  
 
9285
*************** Cardinal *num_args;
 
9286
*** 282,288 ****
 
9287
      /*
 
9288
       * create the widgets
 
9289
       */
 
9290
!     label = XmtCreateXmString(wd->working_box.message);
 
9291
      pixmap = XtVaCreateManagedWidget("icon", xmtLayoutPixmapGadgetClass, init,
 
9292
                        XmtNpixmap, wd->working_box.icon,
 
9293
                        XmtNlayoutCaption, label,
 
9294
--- 285,291 ----
 
9295
      /*
 
9296
       * create the widgets
 
9297
       */
 
9298
!     label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.message);
 
9299
      pixmap = XtVaCreateManagedWidget("icon", xmtLayoutPixmapGadgetClass, init,
 
9300
                        XmtNpixmap, wd->working_box.icon,
 
9301
                        XmtNlayoutCaption, label,
 
9302
*************** Cardinal *num_args;
 
9303
*** 294,300 ****
 
9304
                        NULL);
 
9305
      XmStringFree(label);
 
9306
  
 
9307
!     label = XmtCreateXmString(wd->working_box.scale_label);
 
9308
      scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
 
9309
                         XmNorientation, XmHORIZONTAL,
 
9310
                         XmNshowValue, True,
 
9311
--- 297,303 ----
 
9312
                        NULL);
 
9313
      XmStringFree(label);
 
9314
  
 
9315
!     label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.scale_label);
 
9316
      scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
 
9317
                         XmNorientation, XmHORIZONTAL,
 
9318
                         XmNshowValue, True,
 
9319
*************** Cardinal *num_args;
 
9320
*** 314,320 ****
 
9321
                                 xmtLayoutSeparatorGadgetClass, init,
 
9322
                                 NULL);
 
9323
  
 
9324
!     label = XmtCreateXmString(wd->working_box.button_label);
 
9325
      button = XtVaCreateWidget("button", xmPushButtonWidgetClass, init,
 
9326
                              XmNlabelString, label,
 
9327
                              XmtNlayoutJustification, XmtLayoutFlushRight,
 
9328
--- 317,323 ----
 
9329
                                 xmtLayoutSeparatorGadgetClass, init,
 
9330
                                 NULL);
 
9331
  
 
9332
!     label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.button_label);
 
9333
      button = XtVaCreateWidget("button", xmPushButtonWidgetClass, init,
 
9334
                              XmNlabelString, label,
 
9335
                              XmtNlayoutJustification, XmtLayoutFlushRight,
 
9336
*************** Cardinal *num_args;
 
9337
*** 389,395 ****
 
9338
       */
 
9339
      if (sw->working_box.message != empty_string) {
 
9340
        if (sw->working_box.message)
 
9341
!           label = XmtCreateXmString(sw->working_box.message);
 
9342
        else
 
9343
            label = NULL;
 
9344
        XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
 
9345
--- 392,398 ----
 
9346
       */
 
9347
      if (sw->working_box.message != empty_string) {
 
9348
        if (sw->working_box.message)
 
9349
!           label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.message);
 
9350
        else
 
9351
            label = NULL;
 
9352
        XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
 
9353
*************** Cardinal *num_args;
 
9354
*** 399,405 ****
 
9355
  
 
9356
      if (sw->working_box.scale_label != empty_string) {
 
9357
        if (sw->working_box.scale_label)
 
9358
!           label = XmtCreateXmString(sw->working_box.scale_label);
 
9359
        else
 
9360
            label = NULL;
 
9361
        XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
 
9362
--- 402,408 ----
 
9363
  
 
9364
      if (sw->working_box.scale_label != empty_string) {
 
9365
        if (sw->working_box.scale_label)
 
9366
!           label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.scale_label);
 
9367
        else
 
9368
            label = NULL;
 
9369
        XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
 
9370
*************** Cardinal *num_args;
 
9371
*** 409,415 ****
 
9372
  
 
9373
      if (sw->working_box.button_label != empty_string) {
 
9374
        if (sw->working_box.button_label) {
 
9375
!           label = XmtCreateXmString(sw->working_box.button_label);
 
9376
            XtVaSetValues(sw->working_box.button, XmNlabelString, label, NULL);
 
9377
            XmStringFree(label);
 
9378
        }
 
9379
--- 412,418 ----
 
9380
  
 
9381
      if (sw->working_box.button_label != empty_string) {
 
9382
        if (sw->working_box.button_label) {
 
9383
!           label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.button_label);
 
9384
            XtVaSetValues(sw->working_box.button, XmNlabelString, label, NULL);
 
9385
            XmStringFree(label);
 
9386
        }
 
9387
diff -bpBN Xmt310/Xmt/WorkingBox.h Xmt310.ge/Xmt/WorkingBox.h
 
9388
*** Xmt310/Xmt/WorkingBox.h     Sun Feb  4 22:48:38 2001
 
9389
--- Xmt310.ge/Xmt/WorkingBox.h  Tue Jun 12 18:25:28 2001
 
9390
***************
 
9391
*** 1,6 ****
 
9392
  /* 
 
9393
   * Motif Tools Library, Version 3.1
 
9394
!  * $Id$
 
9395
   * 
 
9396
   * Written by David Flanagan.
 
9397
   * Copyright (c) 1992-2001 by David Flanagan.
 
9398
--- 1,6 ----
 
9399
  /* 
 
9400
   * Motif Tools Library, Version 3.1
 
9401
!  * $Id$
 
9402
   * 
 
9403
   * Written by David Flanagan.
 
9404
   * Copyright (c) 1992-2001 by David Flanagan.
 
9405
***************
 
9406
*** 8,14 ****
 
9407
   * This is open source software.  See the file LICENSE for details.
 
9408
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9409
   *
 
9410
!  * $Log$
 
9411
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9412
!  * Initial checkin.
 
9413
!  *
 
9414
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9415
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9416
!  *                  kerberos compilation support
 
9417
!  *
 
9418
   *
 
9419
   */
 
9420
  
 
9421
--- 8,17 ----
 
9422
   * This is open source software.  See the file LICENSE for details.
 
9423
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9424
   *
 
9425
!  * $Log$
 
9426
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9427
!  * Initial checkin.
 
9428
!  *
 
9429
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9430
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9431
!  *                  kerberos compilation support
 
9432
!  *
 
9433
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9434
!  * *** empty log message ***
 
9435
!  *
 
9436
   *
 
9437
   */
 
9438
  
 
9439
diff -bpBN Xmt310/Xmt/WorkingBoxP.h Xmt310.ge/Xmt/WorkingBoxP.h
 
9440
*** Xmt310/Xmt/WorkingBoxP.h    Sun Feb  4 22:48:40 2001
 
9441
--- Xmt310.ge/Xmt/WorkingBoxP.h Tue Jun 12 18:25:28 2001
 
9442
***************
 
9443
*** 1,6 ****
 
9444
  /* 
 
9445
   * Motif Tools Library, Version 3.1
 
9446
!  * $Id$
 
9447
   * 
 
9448
   * Written by David Flanagan.
 
9449
   * Copyright (c) 1992-2001 by David Flanagan.
 
9450
--- 1,6 ----
 
9451
  /* 
 
9452
   * Motif Tools Library, Version 3.1
 
9453
!  * $Id$
 
9454
   * 
 
9455
   * Written by David Flanagan.
 
9456
   * Copyright (c) 1992-2001 by David Flanagan.
 
9457
***************
 
9458
*** 8,14 ****
 
9459
   * This is open source software.  See the file LICENSE for details.
 
9460
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9461
   *
 
9462
!  * $Log$
 
9463
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9464
!  * Initial checkin.
 
9465
!  *
 
9466
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9467
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9468
!  *                  kerberos compilation support
 
9469
!  *
 
9470
   *
 
9471
   */
 
9472
  
 
9473
--- 8,17 ----
 
9474
   * This is open source software.  See the file LICENSE for details.
 
9475
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9476
   *
 
9477
!  * $Log$
 
9478
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9479
!  * Initial checkin.
 
9480
!  *
 
9481
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9482
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9483
!  *                  kerberos compilation support
 
9484
!  *
 
9485
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9486
!  * *** empty log message ***
 
9487
!  *
 
9488
   *
 
9489
   */
 
9490
  
 
9491
diff -bpBN Xmt310/Xmt/WorkingBoxS.c Xmt310.ge/Xmt/WorkingBoxS.c
 
9492
*** Xmt310/Xmt/WorkingBoxS.c    Sun Feb  4 22:48:44 2001
 
9493
--- Xmt310.ge/Xmt/WorkingBoxS.c Tue Jun 12 18:25:28 2001
 
9494
***************
 
9495
*** 1,6 ****
 
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
--- 1,6 ----
 
9503
  /* 
 
9504
   * Motif Tools Library, Version 3.1
 
9505
!  * $Id$
 
9506
   * 
 
9507
   * Written by David Flanagan.
 
9508
   * Copyright (c) 1992-2001 by David Flanagan.
 
9509
***************
 
9510
*** 8,14 ****
 
9511
   * This is open source software.  See the file LICENSE for details.
 
9512
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9513
   *
 
9514
!  * $Log$
 
9515
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9516
!  * Initial checkin.
 
9517
!  *
 
9518
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9519
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9520
!  *                  kerberos compilation support
 
9521
!  *
 
9522
   *
 
9523
   */
 
9524
  #include <X11/Intrinsic.h>
 
9525
--- 8,17 ----
 
9526
   * This is open source software.  See the file LICENSE for details.
 
9527
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9528
   *
 
9529
!  * $Log$
 
9530
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9531
!  * Initial checkin.
 
9532
!  *
 
9533
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9534
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9535
!  *                  kerberos compilation support
 
9536
!  *
 
9537
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9538
!  * *** empty log message ***
 
9539
!  *
 
9540
   *
 
9541
   */
 
9542
  #include <X11/Intrinsic.h>
 
9543
diff -bpBN Xmt310/Xmt/Xbm.c Xmt310.ge/Xmt/Xbm.c
 
9544
*** Xmt310/Xmt/Xbm.c    Sun Feb  4 22:48:48 2001
 
9545
--- Xmt310.ge/Xmt/Xbm.c Tue Jun 12 18:25:28 2001
 
9546
***************
 
9547
*** 1,6 ****
 
9548
  /* 
 
9549
   * Motif Tools Library, Version 3.1
 
9550
!  * $Id$
 
9551
   * 
 
9552
   * Written by David Flanagan.
 
9553
   * Copyright (c) 1992-2001 by David Flanagan.
 
9554
--- 1,6 ----
 
9555
  /* 
 
9556
   * Motif Tools Library, Version 3.1
 
9557
!  * $Id$
 
9558
   * 
 
9559
   * Written by David Flanagan.
 
9560
   * Copyright (c) 1992-2001 by David Flanagan.
 
9561
***************
 
9562
*** 8,14 ****
 
9563
   * This is open source software.  See the file LICENSE for details.
 
9564
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9565
   *
 
9566
!  * $Log$
 
9567
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9568
!  * Initial checkin.
 
9569
!  *
 
9570
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9571
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9572
!  *                  kerberos compilation support
 
9573
!  *
 
9574
   *
 
9575
   */
 
9576
  
 
9577
--- 8,17 ----
 
9578
   * This is open source software.  See the file LICENSE for details.
 
9579
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9580
   *
 
9581
!  * $Log$
 
9582
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9583
!  * Initial checkin.
 
9584
!  *
 
9585
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9586
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9587
!  *                  kerberos compilation support
 
9588
!  *
 
9589
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9590
!  * *** empty log message ***
 
9591
!  *
 
9592
   *
 
9593
   */
 
9594
  
 
9595
diff -bpBN Xmt310/Xmt/Xbm.h Xmt310.ge/Xmt/Xbm.h
 
9596
*** Xmt310/Xmt/Xbm.h    Sun Feb  4 22:48:52 2001
 
9597
--- Xmt310.ge/Xmt/Xbm.h Tue Jun 12 18:25:28 2001
 
9598
***************
 
9599
*** 1,6 ****
 
9600
  /* 
 
9601
   * Motif Tools Library, Version 3.1
 
9602
!  * $Id$
 
9603
   * 
 
9604
   * Written by David Flanagan.
 
9605
   * Copyright (c) 1992-2001 by David Flanagan.
 
9606
--- 1,6 ----
 
9607
  /* 
 
9608
   * Motif Tools Library, Version 3.1
 
9609
!  * $Id$
 
9610
   * 
 
9611
   * Written by David Flanagan.
 
9612
   * Copyright (c) 1992-2001 by David Flanagan.
 
9613
***************
 
9614
*** 8,14 ****
 
9615
   * This is open source software.  See the file LICENSE for details.
 
9616
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9617
   *
 
9618
!  * $Log$
 
9619
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9620
!  * Initial checkin.
 
9621
!  *
 
9622
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9623
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9624
!  *                  kerberos compilation support
 
9625
!  *
 
9626
   *
 
9627
   */
 
9628
  
 
9629
--- 8,17 ----
 
9630
   * This is open source software.  See the file LICENSE for details.
 
9631
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9632
   *
 
9633
!  * $Log$
 
9634
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9635
!  * Initial checkin.
 
9636
!  *
 
9637
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9638
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9639
!  *                  kerberos compilation support
 
9640
!  *
 
9641
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9642
!  * *** empty log message ***
 
9643
!  *
 
9644
   *
 
9645
   */
 
9646
  
 
9647
diff -bpBN Xmt310/Xmt/XmCSText.c Xmt310.ge/Xmt/XmCSText.c
 
9648
*** Xmt310/Xmt/XmCSText.c       Sun Feb  4 22:48:54 2001
 
9649
--- Xmt310.ge/Xmt/XmCSText.c    Tue Jun 12 18:25:28 2001
 
9650
***************
 
9651
*** 1,6 ****
 
9652
  /* 
 
9653
   * Motif Tools Library, Version 3.1
 
9654
!  * $Id$
 
9655
   * 
 
9656
   * Written by David Flanagan.
 
9657
   * Copyright (c) 1992-2001 by David Flanagan.
 
9658
--- 1,6 ----
 
9659
  /* 
 
9660
   * Motif Tools Library, Version 3.1
 
9661
!  * $Id$
 
9662
   * 
 
9663
   * Written by David Flanagan.
 
9664
   * Copyright (c) 1992-2001 by David Flanagan.
 
9665
***************
 
9666
*** 8,14 ****
 
9667
   * This is open source software.  See the file LICENSE for details.
 
9668
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9669
   *
 
9670
!  * $Log$
 
9671
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9672
!  * Initial checkin.
 
9673
!  *
 
9674
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9675
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9676
!  *                  kerberos compilation support
 
9677
!  *
 
9678
   *
 
9679
   */
 
9680
  
 
9681
--- 8,17 ----
 
9682
   * This is open source software.  See the file LICENSE for details.
 
9683
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9684
   *
 
9685
!  * $Log$
 
9686
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9687
!  * Initial checkin.
 
9688
!  *
 
9689
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9690
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9691
!  *                  kerberos compilation support
 
9692
!  *
 
9693
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9694
!  * *** empty log message ***
 
9695
!  *
 
9696
   *
 
9697
   */
 
9698
  
 
9699
*************** Cardinal size;
 
9700
*** 40,51 ****
 
9701
  
 
9702
      if (type == XmtQString) {
 
9703
          /* Convert the value to an XmString. */
 
9704
!         xmString = XmtCreateXmString(*(String *)address);
 
9705
        XmCSTextSetString(w, xmString);
 
9706
      }
 
9707
      else if (type == XmtQBuffer) {
 
9708
          /* Convert the value to an XmString. */
 
9709
!         xmString = XmtCreateXmString((char *)address);
 
9710
        XmCSTextSetString(w, xmString);
 
9711
      }
 
9712
      else
 
9713
--- 43,54 ----
 
9714
  
 
9715
      if (type == XmtQString) {
 
9716
          /* Convert the value to an XmString. */
 
9717
!         xmString = XmtCreateLocalizedXmString(w, *(String *)address);
 
9718
        XmCSTextSetString(w, xmString);
 
9719
      }
 
9720
      else if (type == XmtQBuffer) {
 
9721
          /* Convert the value to an XmString. */
 
9722
!         xmString = XmtCreateLocalizedXmString(w, (char *)address);
 
9723
        XmCSTextSetString(w, xmString);
 
9724
      }
 
9725
      else
 
9726
*************** Cardinal size;
 
9727
*** 111,117 ****
 
9728
  static XmtWidgetType cstext = {
 
9729
      "XmCSText",
 
9730
      NULL,
 
9731
!     XmCreateCSText,
 
9732
      setvalue,
 
9733
      getvalue,
 
9734
  };
 
9735
--- 114,120 ----
 
9736
  static XmtWidgetType cstext = {
 
9737
      "XmCSText",
 
9738
      NULL,
 
9739
!     (XmtWidgetConstructor) XmCreateCSText,
 
9740
      setvalue,
 
9741
      getvalue,
 
9742
  };
 
9743
*************** static XmtWidgetType cstext = {
 
9744
*** 119,125 ****
 
9745
  static XmtWidgetType scstext = {
 
9746
      "XmScrolledCSText",
 
9747
      NULL,
 
9748
!     XmCreateScrolledCSText,
 
9749
      setvalue,
 
9750
      getvalue,
 
9751
  };
 
9752
--- 122,128 ----
 
9753
  static XmtWidgetType scstext = {
 
9754
      "XmScrolledCSText",
 
9755
      NULL,
 
9756
!     (XmtWidgetConstructor) XmCreateScrolledCSText,
 
9757
      setvalue,
 
9758
      getvalue,
 
9759
  };
 
9760
diff -bpBN Xmt310/Xmt/XmComboBox.c Xmt310.ge/Xmt/XmComboBox.c
 
9761
*** Xmt310/Xmt/XmComboBox.c     Sun Feb  4 22:48:58 2001
 
9762
--- Xmt310.ge/Xmt/XmComboBox.c  Tue Jun 12 18:25:28 2001
 
9763
***************
 
9764
*** 1,6 ****
 
9765
  /* 
 
9766
   * Motif Tools Library, Version 3.1
 
9767
!  * $Id$
 
9768
   * 
 
9769
   * Written by David Flanagan.
 
9770
   * Copyright (c) 1992-2001 by David Flanagan.
 
9771
--- 1,6 ----
 
9772
  /* 
 
9773
   * Motif Tools Library, Version 3.1
 
9774
!  * $Id$
 
9775
   * 
 
9776
   * Written by David Flanagan.
 
9777
   * Copyright (c) 1992-2001 by David Flanagan.
 
9778
***************
 
9779
*** 8,14 ****
 
9780
   * This is open source software.  See the file LICENSE for details.
 
9781
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9782
   *
 
9783
!  * $Log$
 
9784
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9785
!  * Initial checkin.
 
9786
!  *
 
9787
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9788
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9789
!  *                  kerberos compilation support
 
9790
!  *
 
9791
   *
 
9792
   */
 
9793
  
 
9794
--- 8,17 ----
 
9795
   * This is open source software.  See the file LICENSE for details.
 
9796
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9797
   *
 
9798
!  * $Log$
 
9799
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9800
!  * Initial checkin.
 
9801
!  *
 
9802
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9803
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9804
!  *                  kerberos compilation support
 
9805
!  *
 
9806
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9807
!  * *** empty log message ***
 
9808
!  *
 
9809
   *
 
9810
   */
 
9811
  
 
9812
diff -bpBN Xmt310/Xmt/XmScale.c Xmt310.ge/Xmt/XmScale.c
 
9813
*** Xmt310/Xmt/XmScale.c        Sun Feb  4 22:49:02 2001
 
9814
--- Xmt310.ge/Xmt/XmScale.c     Tue Jun 12 18:25:28 2001
 
9815
***************
 
9816
*** 1,6 ****
 
9817
  /* 
 
9818
   * Motif Tools Library, Version 3.1
 
9819
!  * $Id$
 
9820
   * 
 
9821
   * Written by David Flanagan.
 
9822
   * Copyright (c) 1992-2001 by David Flanagan.
 
9823
--- 1,6 ----
 
9824
  /* 
 
9825
   * Motif Tools Library, Version 3.1
 
9826
!  * $Id$
 
9827
   * 
 
9828
   * Written by David Flanagan.
 
9829
   * Copyright (c) 1992-2001 by David Flanagan.
 
9830
***************
 
9831
*** 8,14 ****
 
9832
   * This is open source software.  See the file LICENSE for details.
 
9833
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9834
   *
 
9835
!  * $Log$
 
9836
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9837
!  * Initial checkin.
 
9838
!  *
 
9839
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9840
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9841
!  *                  kerberos compilation support
 
9842
!  *
 
9843
   *
 
9844
   */
 
9845
  
 
9846
--- 8,17 ----
 
9847
   * This is open source software.  See the file LICENSE for details.
 
9848
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9849
   *
 
9850
!  * $Log$
 
9851
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9852
!  * Initial checkin.
 
9853
!  *
 
9854
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9855
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9856
!  *                  kerberos compilation support
 
9857
!  *
 
9858
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9859
!  * *** empty log message ***
 
9860
!  *
 
9861
   *
 
9862
   */
 
9863
  
 
9864
diff -bpBN Xmt310/Xmt/XmStringCvt.c Xmt310.ge/Xmt/XmStringCvt.c
 
9865
*** Xmt310/Xmt/XmStringCvt.c    Sun Feb  4 22:49:04 2001
 
9866
--- Xmt310.ge/Xmt/XmStringCvt.c Tue Jun 12 18:25:28 2001
 
9867
***************
 
9868
*** 1,6 ****
 
9869
  /* 
 
9870
   * Motif Tools Library, Version 3.1
 
9871
!  * $Id$
 
9872
   * 
 
9873
   * Written by David Flanagan.
 
9874
   * Copyright (c) 1992-2001 by David Flanagan.
 
9875
--- 1,6 ----
 
9876
  /* 
 
9877
   * Motif Tools Library, Version 3.1
 
9878
!  * $Id$
 
9879
   * 
 
9880
   * Written by David Flanagan.
 
9881
   * Copyright (c) 1992-2001 by David Flanagan.
 
9882
***************
 
9883
*** 8,21 ****
 
9884
   * This is open source software.  See the file LICENSE for details.
 
9885
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9886
   *
 
9887
!  * $Log$
 
9888
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9889
!  * Initial checkin.
 
9890
!  *
 
9891
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9892
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9893
!  *                  kerberos compilation support
 
9894
!  *
 
9895
   *
 
9896
   */
 
9897
  
 
9898
  #include <Xmt/Xmt.h>
 
9899
  #include <Xmt/ConvertersP.h>
 
9900
  
 
9901
! #if XmVersion >= 2000
 
9902
  /**
 
9903
   * Gary Merrill figured out how XmString parsing works in Motif 2.0, and
 
9904
   * how rendition tables and tabs are handled, and wrote this code for
 
9905
--- 8,27 ----
 
9906
   * This is open source software.  See the file LICENSE for details.
 
9907
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
9908
   *
 
9909
!  * $Log$
 
9910
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
9911
!  * Initial checkin.
 
9912
!  *
 
9913
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
9914
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
9915
!  *                  kerberos compilation support
 
9916
!  *
 
9917
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
9918
!  * *** empty log message ***
 
9919
!  *
 
9920
   *
 
9921
   */
 
9922
  
 
9923
 
9924
+ #include <stdlib.h>
 
9925
  #include <Xmt/Xmt.h>
 
9926
  #include <Xmt/ConvertersP.h>
 
9927
  
 
9928
! #if 0 
 
9929
! /* #if XmVersion >= 2000 */
 
9930
  /**
 
9931
   * Gary Merrill figured out how XmString parsing works in Motif 2.0, and
 
9932
   * how rendition tables and tabs are handled, and wrote this code for
 
9933
*************** XtPointer call_data;
 
9934
*** 59,64 ****
 
9935
--- 65,72 ----
 
9936
      char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
 
9937
      XmStringComponentType component_type;
 
9938
  
 
9939
+ /* printf("...> '%s'\n", (char *) *text); */
 
9940
 
9941
      text_ptr = (char *) *text;
 
9942
      start = s = XtNewString(*text);
 
9943
      
 
9944
*************** XtPointer call_data;
 
9945
*** 100,108 ****
 
9946
     switch (component_type) {
 
9947
  
 
9948
     case XmSTRING_COMPONENT_UNKNOWN:
 
9949
!        if ( indicator == '[' )
 
9950
           XmtWarningMsg("XmtCreateXmString", "badlocale",
 
9951
!                        "'@[' locale indicator may occur only at beginning of string.");
 
9952
         
 
9953
         XmtWarningMsg("XmtCreateXmString", "unrecognized",
 
9954
                     "Unrecognized string escape sequence '@%c' will be treated as text.",
 
9955
--- 108,116 ----
 
9956
     switch (component_type) {
 
9957
  
 
9958
     case XmSTRING_COMPONENT_UNKNOWN:
 
9959
!        if ( indicator == '{' )
 
9960
             XmtWarningMsg("XmtCreateXmString", "badlocale",
 
9961
!                          "'@{' locale indicator may occur only at beginning of string.");
 
9962
         
 
9963
         XmtWarningMsg("XmtCreateXmString", "unrecognized",
 
9964
                       "Unrecognized string escape sequence '@%c' will be treated as text.",
 
9965
*************** StringConst str;
 
9966
*** 201,217 ****
 
9967
      static XmParseMapping parse_table[3];
 
9968
      
 
9969
      if (!parse_table_registered) {
 
9970
!       Arg args[3];
 
9971
        int n;
 
9972
        
 
9973
        n = 0;
 
9974
        XtSetArg(args[n], XmNpattern, "\n"); n++;
 
9975
        XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
9976
        XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
 
9977
        parse_table[0] = XmParseMappingCreate(args, n);
 
9978
        
 
9979
        n = 0;
 
9980
        XtSetArg(args[n], XmNpattern, "\t"); n++;
 
9981
        XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
9982
        XtSetArg(args[n], XmNsubstitute,
 
9983
                 XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
 
9984
--- 209,227 ----
 
9985
      static XmParseMapping parse_table[3];
 
9986
      
 
9987
      if (!parse_table_registered) {
 
9988
!         Arg args[4];
 
9989
          int n;
 
9990
          
 
9991
          n = 0;
 
9992
          XtSetArg(args[n], XmNpattern, "\n"); n++;
 
9993
+         XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
 
9994
          XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
9995
          XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
 
9996
          parse_table[0] = XmParseMappingCreate(args, n);
 
9997
          
 
9998
          n = 0;
 
9999
          XtSetArg(args[n], XmNpattern, "\t"); n++;
 
10000
+         XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
 
10001
          XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
10002
          XtSetArg(args[n], XmNsubstitute,
 
10003
                   XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
 
10004
*************** StringConst str;
 
10005
*** 219,224 ****
 
10006
--- 229,235 ----
 
10007
          
 
10008
          n = 0;
 
10009
          XtSetArg(args[n], XmNpattern, "@"); n++;
 
10010
+         XtSetArg(args[n], XmNpatternType, XmMULTIBYTE_TEXT); n++;
 
10011
          XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
 
10012
          XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
 
10013
          parse_table[2] = XmParseMappingCreate(args, n);
 
10014
*************** StringConst str;
 
10015
*** 226,232 ****
 
10016
        parse_table_registered = True;
 
10017
      }
 
10018
      
 
10019
!     return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
 
10020
                             parse_table, XtNumber(parse_table),
 
10021
                             NULL);
 
10022
  }
 
10023
--- 237,243 ----
 
10024
          parse_table_registered = True;
 
10025
      }
 
10026
      
 
10027
!     return XmStringParseText((XtPointer) str, NULL, NULL, XmMULTIBYTE_TEXT,
 
10028
                               parse_table, XtNumber(parse_table),
 
10029
                               NULL);
 
10030
  }
 
10031
*************** char *charset;
 
10032
*** 245,250 ****
 
10033
--- 256,304 ----
 
10034
  int fixup;
 
10035
  #endif
 
10036
  {
 
10037
+ #if 0
 
10038
+    XmString s1, s2;
 
10039
+    char *mtxt = NULL;
 
10040
+       
 
10041
+    if (fixup) {
 
10042
+       wchar_t *s, *t;
 
10043
+       wchar_t *ws = NULL;
 
10044
+       int n;
 
10045
 
10046
+       n = mbstowcs(NULL, txt, 0);
 
10047
+       if (n>0) {
 
10048
+          ws = (wchar_t*)malloc(sizeof(wchar_t)*(n+1));
 
10049
+       }
 
10050
+       if (ws) {
 
10051
+          mbstowcs(ws, txt, (n+1));
 
10052
+       }  
 
10053
+       for(s=t=ws; *s; s++, t++) {
 
10054
+             *t = *s;
 
10055
+             if ((*s == L'@') && (*(s+1) == L'@')) s++;
 
10056
+        }
 
10057
+        *t = *s;  /* copy the terminating '\0' */
 
10058
+        n = wcstombs(NULL, ws, 0);
 
10059
+        if (n > 0) {
 
10060
+          mtxt = (char*)malloc(sizeof(char)*(n+1));
 
10061
+       }
 
10062
+       if (mtxt) {
 
10063
+          wcstombs(mtxt, ws, (n+1));
 
10064
+       }  
 
10065
+       else {
 
10066
+          mtxt = strdup(txt);
 
10067
+       }   
 
10068
+       XtFree((char*)ws);
 
10069
+    }
 
10070
 
10071
+    s1 = XmStringSegmentCreate(mtxt, charset, XmSTRING_DIRECTION_L_TO_R, sep);
 
10072
+    if (!to) return s1;
 
10073
+    s2 = XmStringConcat(to, s1);
 
10074
+    XmStringFree(to);
 
10075
+    XmStringFree(s1);
 
10076
+    XtFree(mtxt);
 
10077
+    return s2;
 
10078
 
10079
+ #else
 
10080
      XmString s1, s2;
 
10081
      char *s, *t;
 
10082
  
 
10083
*************** int fixup;
 
10084
*** 262,267 ****
 
10085
--- 316,322 ----
 
10086
      XmStringFree(to);
 
10087
      XmStringFree(s1);
 
10088
      return s2;
 
10089
+ #endif    
 
10090
  }
 
10091
  
 
10092
  #if NeedFunctionPrototypes
 
10093
*************** XmString XmtCreateXmString(str)
 
10094
*** 271,276 ****
 
10095
--- 326,332 ----
 
10096
  StringConst str;
 
10097
  #endif
 
10098
  {
 
10099
+ #if 0
 
10100
      String r, s, t;
 
10101
  #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
 
10102
      String charset = XmSTRING_DEFAULT_CHARSET;
 
10103
*************** StringConst str;
 
10104
*** 345,351 ****
 
10105
--- 401,487 ----
 
10106
              break;
 
10107
          }
 
10108
      }
 
10109
+     if (s != t) result = appendstring(t, result, False, charset, fixup);
 
10110
+     
 
10111
+     XtFree(r);
 
10112
 
10113
+     return result;
 
10114
 
10115
+ #else
 
10116
+     String r, s, t;
 
10117
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
 
10118
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
10119
+ #else    
 
10120
+ #  if XmVersion < 1002
 
10121
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
10122
+ #  else
 
10123
+     String charset = XmFONTLIST_DEFAULT_TAG;
 
10124
+ #  endif
 
10125
+ #endif    
 
10126
+     char charset_buf[3];
 
10127
+     XmString result = NULL;
 
10128
+     Boolean fixup = False;
 
10129
+     
 
10130
+     if (!str) return NULL;
 
10131
+     else if (!*str)
 
10132
+         return XmStringSegmentCreate((String)str, charset,
 
10133
+                                      XmSTRING_DIRECTION_L_TO_R, False);
 
10134
+     /*
 
10135
+      * make a copy of the string so we can frob with it
 
10136
+      * We keep pointer r so we can free it when done
 
10137
+      */
 
10138
+     r = s = XtNewString(str);
 
10139
 
10140
 
10141
+     for(t = s; *s; s++) {
 
10142
+         switch(*s) {
 
10143
+         case '\n':
 
10144
+             *s = '\0';  /* null terminate the string */
 
10145
+             result = appendstring(t, result, True, charset, fixup);
 
10146
+             fixup = False;
 
10147
+             t = s+1;
 
10148
+             break;
 
10149
+         case '@':
 
10150
+             if ((*s == '@') && (*(s+1) == '@')) {
 
10151
+                 /* set a flag to strip doubled escapes later */
 
10152
+                 fixup = True;
 
10153
+                 s++;
 
10154
+                 break;
 
10155
+             }
 
10156
+             else if (*(s+1) != 'f') break;
 
10157
+             /* its a font change, so add the string up to here, if any */
 
10158
+             *s = '\0'; /* null terminate the string */
 
10159
+             if (s != t)
 
10160
+                 result = appendstring(t, result, False, charset, fixup);
 
10161
+             fixup = False;
 
10162
  
 
10163
+             /* and now get the new charset */
 
10164
+             if (*(s+2) == '\0') break;
 
10165
+             s+=2;
 
10166
+             if (*s == '[') {  /* read till close ']' */
 
10167
+                 s = charset = s+1;
 
10168
+                 while (*s && (*s != ']')) s++;
 
10169
+                 if (*s == '\0') break;
 
10170
+                 *s = '\0';  /* null-terminate the charset string */
 
10171
+             }
 
10172
+             else if (*s == '(') { /* charset is next 2 chars */
 
10173
+                 if (*(s+1)) s++; else break;
 
10174
+                 charset_buf[0] = *s;
 
10175
+                 if (*(s+1)) s++; else break;
 
10176
+                 charset_buf[1] = *s;
 
10177
+                 charset_buf[2] = '\0';
 
10178
+                 charset = charset_buf;
 
10179
+             }
 
10180
+             else if (*s) { /* charset is single current character */
 
10181
+                 charset_buf[0] = *s;
 
10182
+                 charset_buf[1] = '\0';
 
10183
+                 charset = charset_buf;
 
10184
+             }
 
10185
 
10186
+             t = s+1;
 
10187
+             break;
 
10188
+         }
 
10189
+     }
 
10190
      if (s != t) result = appendstring(t, result, False, charset, fixup);
 
10191
      
 
10192
      XtFree(r);
 
10193
*************** StringConst str;
 
10194
*** 349,421 ****
 
10195
      if (s != t) result = appendstring(t, result, False, charset, fixup);
 
10196
      
 
10197
      XtFree(r);
 
10198
      return result;
 
10199
  }
 
10200
  
 
10201
  #endif /* XmVersion >= 2000 */
 
10202
  
 
10203
  /* ARGSUSED */
 
10204
  #if NeedFunctionPrototypes
 
10205
! Boolean XmtConvertStringToXmString(Display *dpy,
 
10206
!                                  XrmValue *args, Cardinal *num_args,
 
10207
!                                  XrmValue *from, XrmValue *to,
 
10208
!                                  XtPointer *converter_data)
 
10209
  #else
 
10210
! Boolean XmtConvertStringToXmString(dpy, args, num_args,
 
10211
!                                  from, to, converter_data)
 
10212
! Display *dpy;
 
10213
! XrmValue *args;
 
10214
! Cardinal *num_args;
 
10215
! XrmValue *from;
 
10216
! XrmValue *to;
 
10217
! XtPointer *converter_data;
 
10218
  #endif
 
10219
  {
 
10220
!     String s = (String) from->addr;
 
10221
!     Screen *screen = *(Screen **)args[0].addr;
 
10222
!     String category, tag;
 
10223
      String free_me = NULL;
 
10224
!     XmString value;
 
10225
  #if NeedFunctionPrototypes
 
10226
      extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
 
10227
  #else
 
10228
      extern String _XmtLocalize();
 
10229
  #endif
 
10230
      
 
10231
      /* if this string has a tag, localize it first */
 
10232
!     if ((s[0] == '@') && (s[1] == '[')) {
 
10233
!       s = XtNewString(s);
 
10234
        free_me = s;
 
10235
        s += 2;
 
10236
        category = NULL;
 
10237
!       tag = s;
 
10238
        while(*s) {
 
10239
            if (*s == '.' && !category) {
 
10240
                *s = '\0';
 
10241
!               category = tag;
 
10242
!               tag = s+1;
 
10243
            }
 
10244
!           if (*s == ']') {
 
10245
                *s = '\0';
 
10246
                s++;
 
10247
                break;
 
10248
            }
 
10249
            s++;
 
10250
        }
 
10251
        if (!tag[0]) goto error;
 
10252
        if (category && !category[0]) goto error;
 
10253
!       s = _XmtLocalize(screen, s, category, tag);
 
10254
      }
 
10255
  
 
10256
      value = XmtCreateXmString(s);
 
10257
      if (!value) goto error;
 
10258
      if (free_me) XtFree(free_me);
 
10259
!     done(XmString, value);
 
10260
  
 
10261
   error:
 
10262
      if (free_me) XtFree(free_me);
 
10263
!     XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
 
10264
!     return False;
 
10265
  }
 
10266
  
 
10267
  /* ARGSUSED */
 
10268
--- 485,571 ----
 
10269
      if (s != t) result = appendstring(t, result, False, charset, fixup);
 
10270
      
 
10271
      XtFree(r);
 
10272
 
10273
      return result;
 
10274
+ #endif    
 
10275
+ /*     return XmStringCreateLocalized(str); */
 
10276
  }
 
10277
  
 
10278
  #endif /* XmVersion >= 2000 */
 
10279
  
 
10280
  /* ARGSUSED */
 
10281
  #if NeedFunctionPrototypes
 
10282
! static XmString XmtCreateLocalizedXmString_(Screen *screen, StringConst str)
 
10283
  #else
 
10284
! static XmString XmtCreateLocalizedXmString_(screen, str)
 
10285
! Screen* screen;
 
10286
! StringConst str;
 
10287
  #endif
 
10288
  {
 
10289
!     XmString value = NULL;
 
10290
!     String category, tag, defaultstr;
 
10291
      String free_me = NULL;
 
10292
!     String s = NULL;
 
10293
  #if NeedFunctionPrototypes
 
10294
      extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
 
10295
  #else
 
10296
      extern String _XmtLocalize();
 
10297
  #endif
 
10298
  
 
10299
+     if (!str)
 
10300
+         return NULL;
 
10301
 
10302
+ /* printf("==> '%s'\n", str); */
 
10303
      /* if this string has a tag, localize it first */
 
10304
!     if ((str[0] == '@') && (str[1] == '{')) {
 
10305
!         s = XtNewString(str);
 
10306
          free_me = s;
 
10307
          s += 2;
 
10308
+ /* printf("=-> '%s'\n", s); */
 
10309
          category = NULL;
 
10310
!         tag = NULL;
 
10311
!         defaultstr = s;
 
10312
          while(*s) {
 
10313
              if (*s == '.' && !category) {
 
10314
                  *s = '\0';
 
10315
!                 category = defaultstr;
 
10316
!                 defaultstr = s+1;
 
10317
              }
 
10318
!             if (*s == '.' && !tag) {
 
10319
!                 *s = '\0';
 
10320
!                 tag = defaultstr;
 
10321
!                 defaultstr = s+1;
 
10322
!             }
 
10323
!             if (*s == '}') {
 
10324
                  *s = '\0';
 
10325
                  s++;
 
10326
                  break;
 
10327
              }
 
10328
              s++;
 
10329
+ /* printf("-=> '%s'\n", free_me+2); */
 
10330
          }
 
10331
+         if (!tag)
 
10332
+            tag = defaultstr;
 
10333
          if (!tag[0]) goto error;
 
10334
          if (category && !category[0]) goto error;
 
10335
!         s = _XmtLocalize(screen, defaultstr, category, tag);
 
10336
!     }
 
10337
!     else {
 
10338
!         s = (String)str;
 
10339
      }
 
10340
  
 
10341
+ /* printf("--> '%s'\n", s); */
 
10342
 
10343
      value = XmtCreateXmString(s);
 
10344
 
10345
      if (!value) goto error;
 
10346
      if (free_me) XtFree(free_me);
 
10347
 
10348
!     return value;
 
10349
  
 
10350
   error:
 
10351
      if (free_me) XtFree(free_me);
 
10352
!     return NULL;
 
10353
  }
 
10354
  
 
10355
  /* ARGSUSED */
 
10356
*************** Cardinal *num_args;
 
10357
*** 435,440 ****
 
10358
--- 585,635 ----
 
10359
      XmStringFree(*((XmString *) to->addr));
 
10360
  }
 
10361
  
 
10362
 
10363
 
10364
 
10365
+ /* ARGSUSED */
 
10366
+ #if NeedFunctionPrototypes
 
10367
+ Boolean XmtConvertStringToXmString(Display *dpy,
 
10368
+                                    XrmValue *args, Cardinal *num_args,
 
10369
+                                    XrmValue *from, XrmValue *to,
 
10370
+                                    XtPointer *converter_data)
 
10371
+ #else
 
10372
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
 
10373
+                                    from, to, converter_data)
 
10374
+ Display *dpy;
 
10375
+ XrmValue *args;
 
10376
+ Cardinal *num_args;
 
10377
+ XrmValue *from;
 
10378
+ XrmValue *to;
 
10379
+ XtPointer *converter_data;
 
10380
+ #endif
 
10381
+ {
 
10382
+     String s = (String) from->addr;
 
10383
+     Screen *screen = *(Screen **)args[0].addr;
 
10384
+     XmString value;
 
10385
+     
 
10386
+     value = XmtCreateLocalizedXmString_(screen, s);
 
10387
+     if (!value) goto error;
 
10388
+     done(XmString, value);
 
10389
 
10390
+  error:
 
10391
+     XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
 
10392
+     return False;
 
10393
+ }
 
10394
 
10395
+ /* ARGSUSED */
 
10396
+ #if NeedFunctionPrototypes
 
10397
+ XmString XmtCreateLocalizedXmString(Widget w, StringConst s)
 
10398
+ #else
 
10399
+ XmString XmtCreateLocalizedXmString(w, s)
 
10400
+ Widget w;
 
10401
+ StringConst s;
 
10402
+ #endif
 
10403
+ {
 
10404
+    return XmtCreateLocalizedXmString_(XtScreen(w), s);
 
10405
+ }
 
10406
 
10407
  #if NeedFunctionPrototypes
 
10408
  void XmtRegisterXmStringConverter(void)
 
10409
  #else
 
10410
diff -bpBN Xmt310/Xmt/XmStringCvt.c.xmt310orig Xmt310.ge/Xmt/XmStringCvt.c.xmt310orig
 
10411
*** Xmt310/Xmt/XmStringCvt.c.xmt310orig Thu Jan  1 01:00:00 1970
 
10412
--- Xmt310.ge/Xmt/XmStringCvt.c.xmt310orig      Tue Jun 12 18:11:36 2001
 
10413
***************
 
10414
*** 0 ****
 
10415
--- 1,455 ----
 
10416
+ /* 
 
10417
+  * Motif Tools Library, Version 3.1
 
10418
+  * $Id$
 
10419
+  * 
 
10420
+  * Written by David Flanagan.
 
10421
+  * Copyright (c) 1992-2001 by David Flanagan.
 
10422
+  * All Rights Reserved.  See the file COPYRIGHT for details.
 
10423
+  * This is open source software.  See the file LICENSE for details.
 
10424
+  * There is no warranty for this software.  See NO_WARRANTY for details.
 
10425
+  *
 
10426
+  * $Log$
 
10427
+  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10428
+  * Initial checkin.
 
10429
+  *
 
10430
+  * Revision 1.1  2001/06/21 17:47:46  andre
 
10431
+  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10432
+  *                  kerberos compilation support
 
10433
+  *
 
10434
+  *
 
10435
+  */
 
10436
 
10437
+ #include <Xmt/Xmt.h>
 
10438
+ #include <Xmt/ConvertersP.h>
 
10439
 
10440
+ #if XmVersion >= 2000
 
10441
+ /**
 
10442
+  * Gary Merrill figured out how XmString parsing works in Motif 2.0, and
 
10443
+  * how rendition tables and tabs are handled, and wrote this code for
 
10444
+  * Motif 2.0.  David Flanagan tweaked the resulting code a bit.
 
10445
+  *
 
10446
+  * The following escape sequences are supported for strings in the
 
10447
+  * resource files:
 
10448
+  *
 
10449
+  *        @t             tab (relative to a tab list)
 
10450
+  *        @f[tag]        font
 
10451
+  *        @b[tag]        begin rendition
 
10452
+  *        @e[tag]        end rendition
 
10453
+  *        
 
10454
+  * Keep in mind that renditions override font specifications.
 
10455
+  *
 
10456
+  **/
 
10457
 
10458
+ #if NeedFunctionPrototypes
 
10459
+ static XmIncludeStatus XmtConvertStringEscape(XtPointer *text,
 
10460
+                                             XtPointer text_end,
 
10461
+                                             XmTextType type,
 
10462
+                                             XmStringTag string_tag,
 
10463
+                                             XmParseMapping entry,
 
10464
+                                             int pattern_length,
 
10465
+                                             XmString *str_include,
 
10466
+                                             XtPointer call_data)
 
10467
+ #else
 
10468
+ static XmIncludeStatus XmtConvertStringEscape(text, text_end, type, string_tag,
 
10469
+                                             entry, pattern_length,
 
10470
+                                             str_include, call_data)
 
10471
+ XtPointer *text;
 
10472
+ XtPointer text_end;
 
10473
+ XmTextType type;
 
10474
+ XmStringTag string_tag;
 
10475
+ XmParseMapping entry;
 
10476
+ int pattern_length;
 
10477
+ XmString *str_include;
 
10478
+ XtPointer call_data;
 
10479
+ #endif
 
10480
+ {
 
10481
+     char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
 
10482
+     XmStringComponentType component_type;
 
10483
 
10484
+     text_ptr = (char *) *text;
 
10485
+     start = s = XtNewString(*text);
 
10486
+     
 
10487
+     /* s[0] should be '@'.  Bump pointer to following char */
 
10488
+     s++;
 
10489
+     
 
10490
+     if (*s == '@') { /* Sequence is '@@' */
 
10491
+       *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT, 1, s);
 
10492
+       text_ptr +=2;
 
10493
+       *text = text_ptr;
 
10494
+       XtFree(start);
 
10495
+       return XmINSERT;
 
10496
+     }
 
10497
 
10498
+    switch (*s) {
 
10499
+    case 't':
 
10500
+        component_type = XmSTRING_COMPONENT_TAB;
 
10501
+        break;
 
10502
+    case 'f':  
 
10503
+        /*
 
10504
+       * treat @f the same as an unterminated @b.
 
10505
+       * Using XmSTRING_COMPONENT_TAG doesn't work quite right
 
10506
+       * with Motif 2.0.0, so we do it this way, which seems
 
10507
+       * to make as much sense, anyway.
 
10508
+       */
 
10509
+    case 'b':
 
10510
+        component_type = XmSTRING_COMPONENT_RENDITION_BEGIN;
 
10511
+        break;
 
10512
+    case 'e':
 
10513
+        component_type = XmSTRING_COMPONENT_RENDITION_END;
 
10514
+        break;
 
10515
+    default:
 
10516
+        component_type = XmSTRING_COMPONENT_UNKNOWN;
 
10517
+        break;
 
10518
+    }
 
10519
 
10520
+    indicator = *s;
 
10521
 
10522
+    switch (component_type) {
 
10523
 
10524
+    case XmSTRING_COMPONENT_UNKNOWN:
 
10525
+        if ( indicator == '[' )
 
10526
+          XmtWarningMsg("XmtCreateXmString", "badlocale",
 
10527
+                        "'@[' locale indicator may occur only at beginning of string.");
 
10528
+        
 
10529
+        XmtWarningMsg("XmtCreateXmString", "unrecognized",
 
10530
+                    "Unrecognized string escape sequence '@%c' will be treated as text.",
 
10531
+                    indicator);
 
10532
+        s++;
 
10533
+        
 
10534
+        *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT,
 
10535
+                                             2, start);
 
10536
+        text_ptr += 2;
 
10537
+        *text = text_ptr;
 
10538
+        XtFree(start);
 
10539
+        return XmINSERT;
 
10540
+        break;
 
10541
+        
 
10542
+    case XmSTRING_COMPONENT_TAB:
 
10543
+        *str_include = XmStringComponentCreate(component_type, 0, NULL);
 
10544
+        s++;
 
10545
+        text_ptr += s - start;
 
10546
+        *text = text_ptr;
 
10547
+        XtFree(start);
 
10548
+        return XmINSERT;
 
10549
+        break;
 
10550
+        
 
10551
+    default:   /* just drop through */
 
10552
+        break;
 
10553
+    }
 
10554
+     
 
10555
+     s++;       /* go past the component_type character */
 
10556
+     
 
10557
+     if (*s == '\0') {
 
10558
+       XmtWarningMsg("XmtCreateXmString", "syntax1",
 
10559
+                     "Improper '@%c' syntax in string being converted.",
 
10560
+                     indicator);
 
10561
+       XtFree(start);
 
10562
+       return XmTERMINATE;
 
10563
+     }
 
10564
+     
 
10565
+     /*
 
10566
+      * Now get the tag in '[ ]', after '(', or immediately
 
10567
+      * after the component_type indicator.
 
10568
+      */
 
10569
+     switch (*s) {
 
10570
+     case '[':
 
10571
+       s = tag = s+1;
 
10572
+       while (*s && (*s != ']')) s++;
 
10573
+       if (*s == '\0') {
 
10574
+           XmtWarningMsg("XmtCreateXmString", "syntax3",
 
10575
+                         "'@%c[%s' is missing ']' in string being converted",
 
10576
+                         indicator, tag);
 
10577
+           break;
 
10578
+       }
 
10579
+       *s = '\0'; /* null terminate the tag string */
 
10580
+       s++;
 
10581
+       break;
 
10582
+       
 
10583
+     case '(':
 
10584
+       if (!*(s+1) || !*(s+2)) {
 
10585
+           XmtWarningMsg("XmtCreateXmString", "syntax2",
 
10586
+                       "Improper '@%c(' syntax in string being converted.",
 
10587
+                       indicator);
 
10588
+           XtFree(start);
 
10589
+           return XmTERMINATE;
 
10590
+       }
 
10591
+       tag_buf[0] = *(s+1);
 
10592
+       tag_buf[1] = *(s+2);
 
10593
+       tag_buf[2] = '\0';
 
10594
+       tag = tag_buf;
 
10595
+       s += 3;
 
10596
+       break;
 
10597
+       
 
10598
+     default:
 
10599
+       tag_buf[0] = *s;
 
10600
+       tag_buf[1] = '\0';
 
10601
+       s++;
 
10602
+       tag = tag_buf;
 
10603
+       break;
 
10604
+     }
 
10605
+     
 
10606
+     *str_include = XmStringComponentCreate(component_type, strlen(tag), tag);
 
10607
+     text_ptr += s - start;
 
10608
+     *text = text_ptr;
 
10609
+     
 
10610
+     XtFree(start);
 
10611
+     return XmINSERT;
 
10612
+ }
 
10613
 
10614
 
10615
+ #if NeedFunctionPrototypes
 
10616
+ XmString XmtCreateXmString(StringConst str)
 
10617
+ #else
 
10618
+ XmString XmtCreateXmString(str)
 
10619
+ StringConst str;
 
10620
+ #endif
 
10621
+ {
 
10622
+     static Boolean parse_table_registered = False;
 
10623
+     static XmParseMapping parse_table[3];
 
10624
+     
 
10625
+     if (!parse_table_registered) {
 
10626
+       Arg args[3];
 
10627
+       int n;
 
10628
+       
 
10629
+       n = 0;
 
10630
+       XtSetArg(args[n], XmNpattern, "\n"); n++;
 
10631
+       XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
10632
+       XtSetArg(args[n], XmNsubstitute,XmStringSeparatorCreate());n++;
 
10633
+       parse_table[0] = XmParseMappingCreate(args, n);
 
10634
+       
 
10635
+       n = 0;
 
10636
+       XtSetArg(args[n], XmNpattern, "\t"); n++;
 
10637
+       XtSetArg(args[n], XmNincludeStatus, XmINSERT); n++;
 
10638
+       XtSetArg(args[n], XmNsubstitute,
 
10639
+                XmStringComponentCreate(XmSTRING_COMPONENT_TAB, 0,NULL)); n++;
 
10640
+       parse_table[1] = XmParseMappingCreate(args, n);
 
10641
+       
 
10642
+       n = 0;
 
10643
+       XtSetArg(args[n], XmNpattern, "@"); n++;
 
10644
+       XtSetArg(args[n], XmNincludeStatus, XmINVOKE); n++;
 
10645
+       XtSetArg(args[n], XmNinvokeParseProc, XmtConvertStringEscape); n++;
 
10646
+       parse_table[2] = XmParseMappingCreate(args, n);
 
10647
+       
 
10648
+       parse_table_registered = True;
 
10649
+     }
 
10650
+     
 
10651
+     return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
 
10652
+                            parse_table, XtNumber(parse_table),
 
10653
+                            NULL);
 
10654
+ }
 
10655
 
10656
+ #else  /* XmVersion < 2000 */
 
10657
 
10658
+ #if NeedFunctionPrototypes
 
10659
+ static XmString appendstring(String txt, XmString to, int sep, char *charset,
 
10660
+                            int fixup)
 
10661
+ #else
 
10662
+ static XmString appendstring(txt, to, sep, charset, fixup)
 
10663
+ String txt;
 
10664
+ XmString to;
 
10665
+ int sep;
 
10666
+ char *charset;
 
10667
+ int fixup;
 
10668
+ #endif
 
10669
+ {
 
10670
+     XmString s1, s2;
 
10671
+     char *s, *t;
 
10672
 
10673
+     if (fixup) {
 
10674
+       for(s=t=txt; *s; s++, t++) {
 
10675
+           *t = *s;
 
10676
+           if ((*s == '@') && (*(s+1) == '@')) s++;
 
10677
+       }
 
10678
+       *t = *s;  /* copy the terminating '\0' */
 
10679
+     }
 
10680
 
10681
+     s1 = XmStringSegmentCreate(txt, charset, XmSTRING_DIRECTION_L_TO_R, sep);
 
10682
+     if (!to) return s1;
 
10683
+     s2 = XmStringConcat(to, s1);
 
10684
+     XmStringFree(to);
 
10685
+     XmStringFree(s1);
 
10686
+     return s2;
 
10687
+ }
 
10688
 
10689
+ #if NeedFunctionPrototypes
 
10690
+ XmString XmtCreateXmString(StringConst str)
 
10691
+ #else
 
10692
+ XmString XmtCreateXmString(str)
 
10693
+ StringConst str;
 
10694
+ #endif
 
10695
+ {
 
10696
+     String r, s, t;
 
10697
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
 
10698
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
10699
+ #else  
 
10700
+ #  if XmVersion < 1002
 
10701
+     String charset = XmSTRING_DEFAULT_CHARSET;
 
10702
+ #  else
 
10703
+     String charset = XmFONTLIST_DEFAULT_TAG;
 
10704
+ #  endif
 
10705
+ #endif          
 
10706
+     char charset_buf[3];
 
10707
+     XmString result = NULL;
 
10708
+     Boolean fixup = False;
 
10709
+     
 
10710
+     if (!str) return NULL;
 
10711
+     else if (!*str)
 
10712
+       return XmStringSegmentCreate((String)str, charset,
 
10713
+                                    XmSTRING_DIRECTION_L_TO_R, False);
 
10714
 
10715
+     /*
 
10716
+      * make a copy of the string so we can frob with it
 
10717
+      * We keep pointer r so we can free it when done
 
10718
+      */
 
10719
+     r = s = XtNewString(str);
 
10720
 
10721
+     for(t = s; *s; s++) {
 
10722
+       switch(*s) {
 
10723
+       case '\n':
 
10724
+           *s = '\0';  /* null terminate the string */
 
10725
+           result = appendstring(t, result, True, charset, fixup);
 
10726
+           fixup = False;
 
10727
+           t = s+1;
 
10728
+           break;
 
10729
+       case '@':
 
10730
+           if ((*s == '@') && (*(s+1) == '@')) {
 
10731
+               /* set a flag to strip doubled escapes later */
 
10732
+               fixup = True;
 
10733
+               s++;
 
10734
+               break;
 
10735
+           }
 
10736
+           else if (*(s+1) != 'f') break;
 
10737
+           /* its a font change, so add the string up to here, if any */
 
10738
+           *s = '\0'; /* null terminate the string */
 
10739
+           if (s != t)
 
10740
+               result = appendstring(t, result, False, charset, fixup);
 
10741
+           fixup = False;
 
10742
 
10743
+           /* and now get the new charset */
 
10744
+           if (*(s+2) == '\0') break;
 
10745
+           s+=2;
 
10746
+           if (*s == '[') {  /* read till close ']' */
 
10747
+               s = charset = s+1;
 
10748
+               while (*s && (*s != ']')) s++;
 
10749
+               if (*s == '\0') break;
 
10750
+               *s = '\0';  /* null-terminate the charset string */
 
10751
+           }
 
10752
+           else if (*s == '(') { /* charset is next 2 chars */
 
10753
+               if (*(s+1)) s++; else break;
 
10754
+               charset_buf[0] = *s;
 
10755
+               if (*(s+1)) s++; else break;
 
10756
+               charset_buf[1] = *s;
 
10757
+               charset_buf[2] = '\0';
 
10758
+               charset = charset_buf;
 
10759
+           }
 
10760
+           else if (*s) { /* charset is single current character */
 
10761
+               charset_buf[0] = *s;
 
10762
+               charset_buf[1] = '\0';
 
10763
+               charset = charset_buf;
 
10764
+           }
 
10765
 
10766
+           t = s+1;
 
10767
+           break;
 
10768
+       }
 
10769
+     }
 
10770
 
10771
+     if (s != t) result = appendstring(t, result, False, charset, fixup);
 
10772
+     
 
10773
+     XtFree(r);
 
10774
+     return result;
 
10775
+ }
 
10776
 
10777
+ #endif /* XmVersion >= 2000 */
 
10778
 
10779
+ /* ARGSUSED */
 
10780
+ #if NeedFunctionPrototypes
 
10781
+ Boolean XmtConvertStringToXmString(Display *dpy,
 
10782
+                                  XrmValue *args, Cardinal *num_args,
 
10783
+                                  XrmValue *from, XrmValue *to,
 
10784
+                                  XtPointer *converter_data)
 
10785
+ #else
 
10786
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
 
10787
+                                  from, to, converter_data)
 
10788
+ Display *dpy;
 
10789
+ XrmValue *args;
 
10790
+ Cardinal *num_args;
 
10791
+ XrmValue *from;
 
10792
+ XrmValue *to;
 
10793
+ XtPointer *converter_data;
 
10794
+ #endif
 
10795
+ {
 
10796
+     String s = (String) from->addr;
 
10797
+     Screen *screen = *(Screen **)args[0].addr;
 
10798
+     String category, tag;
 
10799
+     String free_me = NULL;
 
10800
+     XmString value;
 
10801
+ #if NeedFunctionPrototypes
 
10802
+     extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
 
10803
+ #else
 
10804
+     extern String _XmtLocalize();
 
10805
+ #endif
 
10806
+     
 
10807
+     /* if this string has a tag, localize it first */
 
10808
+     if ((s[0] == '@') && (s[1] == '[')) {
 
10809
+       s = XtNewString(s);
 
10810
+       free_me = s;
 
10811
+       s += 2;
 
10812
+       category = NULL;
 
10813
+       tag = s;
 
10814
+       while(*s) {
 
10815
+           if (*s == '.' && !category) {
 
10816
+               *s = '\0';
 
10817
+               category = tag;
 
10818
+               tag = s+1;
 
10819
+           }
 
10820
+           if (*s == ']') {
 
10821
+               *s = '\0';
 
10822
+               s++;
 
10823
+               break;
 
10824
+           }
 
10825
+           s++;
 
10826
+       }
 
10827
+       if (!tag[0]) goto error;
 
10828
+       if (category && !category[0]) goto error;
 
10829
+       s = _XmtLocalize(screen, s, category, tag);
 
10830
+     }
 
10831
 
10832
+     value = XmtCreateXmString(s);
 
10833
+     if (!value) goto error;
 
10834
+     if (free_me) XtFree(free_me);
 
10835
+     done(XmString, value);
 
10836
 
10837
+  error:
 
10838
+     if (free_me) XtFree(free_me);
 
10839
+     XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
 
10840
+     return False;
 
10841
+ }
 
10842
 
10843
+ /* ARGSUSED */
 
10844
+ #if NeedFunctionPrototypes
 
10845
+ static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
 
10846
+                                 XtPointer closure,
 
10847
+                                 XrmValue *args, Cardinal *num_args)
 
10848
+ #else
 
10849
+ static void FreeConvertedXmString(app, to, closure, args, num_args)
 
10850
+ XtAppContext app;
 
10851
+ XrmValue *to;
 
10852
+ XtPointer closure;
 
10853
+ XrmValue *args;
 
10854
+ Cardinal *num_args;
 
10855
+ #endif
 
10856
+ {
 
10857
+     XmStringFree(*((XmString *) to->addr));
 
10858
+ }
 
10859
 
10860
+ #if NeedFunctionPrototypes
 
10861
+ void XmtRegisterXmStringConverter(void)
 
10862
+ #else
 
10863
+ void XmtRegisterXmStringConverter()
 
10864
+ #endif
 
10865
+ {
 
10866
+     static Boolean registered = False;
 
10867
 
10868
+     if (!registered) {
 
10869
+       XtSetTypeConverter(XtRString, XmRXmString,
 
10870
+                          XmtConvertStringToXmString,
 
10871
+                          (XtConvertArgRec *)screenConvertArg, (Cardinal) 1,
 
10872
+                          XtCacheAll | XtCacheRefCount,
 
10873
+                          FreeConvertedXmString);
 
10874
+       registered = True;
 
10875
+     }
 
10876
+ }
 
10877
 
10878
diff -bpBN Xmt310/Xmt/XmText.c Xmt310.ge/Xmt/XmText.c
 
10879
*** Xmt310/Xmt/XmText.c Sun Feb  4 22:49:10 2001
 
10880
--- Xmt310.ge/Xmt/XmText.c      Tue Jun 12 18:25:28 2001
 
10881
***************
 
10882
*** 1,6 ****
 
10883
  /* 
 
10884
   * Motif Tools Library, Version 3.1
 
10885
!  * $Id$
 
10886
   * 
 
10887
   * Written by David Flanagan.
 
10888
   * Copyright (c) 1992-2001 by David Flanagan.
 
10889
--- 1,6 ----
 
10890
  /* 
 
10891
   * Motif Tools Library, Version 3.1
 
10892
!  * $Id$
 
10893
   * 
 
10894
   * Written by David Flanagan.
 
10895
   * Copyright (c) 1992-2001 by David Flanagan.
 
10896
***************
 
10897
*** 8,14 ****
 
10898
   * This is open source software.  See the file LICENSE for details.
 
10899
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10900
   *
 
10901
!  * $Log$
 
10902
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10903
!  * Initial checkin.
 
10904
!  *
 
10905
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10906
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10907
!  *                  kerberos compilation support
 
10908
!  *
 
10909
   *
 
10910
   */
 
10911
  
 
10912
--- 8,17 ----
 
10913
   * This is open source software.  See the file LICENSE for details.
 
10914
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10915
   *
 
10916
!  * $Log$
 
10917
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10918
!  * Initial checkin.
 
10919
!  *
 
10920
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10921
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10922
!  *                  kerberos compilation support
 
10923
!  *
 
10924
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10925
!  * *** empty log message ***
 
10926
!  *
 
10927
   *
 
10928
   */
 
10929
  
 
10930
diff -bpBN Xmt310/Xmt/XmTextField.c Xmt310.ge/Xmt/XmTextField.c
 
10931
*** Xmt310/Xmt/XmTextField.c    Sun Feb  4 22:49:12 2001
 
10932
--- Xmt310.ge/Xmt/XmTextField.c Tue Jun 12 18:25:28 2001
 
10933
***************
 
10934
*** 1,6 ****
 
10935
  /* 
 
10936
   * Motif Tools Library, Version 3.1
 
10937
!  * $Id$
 
10938
   * 
 
10939
   * Written by David Flanagan.
 
10940
   * Copyright (c) 1992-2001 by David Flanagan.
 
10941
--- 1,6 ----
 
10942
  /* 
 
10943
   * Motif Tools Library, Version 3.1
 
10944
!  * $Id$
 
10945
   * 
 
10946
   * Written by David Flanagan.
 
10947
   * Copyright (c) 1992-2001 by David Flanagan.
 
10948
***************
 
10949
*** 8,14 ****
 
10950
   * This is open source software.  See the file LICENSE for details.
 
10951
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10952
   *
 
10953
!  * $Log$
 
10954
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10955
!  * Initial checkin.
 
10956
!  *
 
10957
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10958
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10959
!  *                  kerberos compilation support
 
10960
!  *
 
10961
   *
 
10962
   */
 
10963
  
 
10964
--- 8,17 ----
 
10965
   * This is open source software.  See the file LICENSE for details.
 
10966
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
10967
   *
 
10968
!  * $Log$
 
10969
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
10970
!  * Initial checkin.
 
10971
!  *
 
10972
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
10973
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
10974
!  *                  kerberos compilation support
 
10975
!  *
 
10976
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
10977
!  * *** empty log message ***
 
10978
!  *
 
10979
   *
 
10980
   */
 
10981
  
 
10982
diff -bpBN Xmt310/Xmt/XmToggleB.c Xmt310.ge/Xmt/XmToggleB.c
 
10983
*** Xmt310/Xmt/XmToggleB.c      Sun Feb  4 22:49:16 2001
 
10984
--- Xmt310.ge/Xmt/XmToggleB.c   Tue Jun 12 18:25:28 2001
 
10985
***************
 
10986
*** 1,6 ****
 
10987
  /* 
 
10988
   * Motif Tools Library, Version 3.1
 
10989
!  * $Id$
 
10990
   * 
 
10991
   * Written by David Flanagan.
 
10992
   * Copyright (c) 1992-2001 by David Flanagan.
 
10993
--- 1,6 ----
 
10994
  /* 
 
10995
   * Motif Tools Library, Version 3.1
 
10996
!  * $Id$
 
10997
   * 
 
10998
   * Written by David Flanagan.
 
10999
   * Copyright (c) 1992-2001 by David Flanagan.
 
11000
***************
 
11001
*** 8,14 ****
 
11002
   * This is open source software.  See the file LICENSE for details.
 
11003
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11004
   *
 
11005
!  * $Log$
 
11006
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11007
!  * Initial checkin.
 
11008
!  *
 
11009
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11010
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11011
!  *                  kerberos compilation support
 
11012
!  *
 
11013
   *
 
11014
   */
 
11015
  
 
11016
--- 8,17 ----
 
11017
   * This is open source software.  See the file LICENSE for details.
 
11018
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11019
   *
 
11020
!  * $Log$
 
11021
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11022
!  * Initial checkin.
 
11023
!  *
 
11024
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11025
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11026
!  *                  kerberos compilation support
 
11027
!  *
 
11028
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11029
!  * *** empty log message ***
 
11030
!  *
 
11031
   *
 
11032
   */
 
11033
  
 
11034
diff -bpBN Xmt310/Xmt/Xmt.h Xmt310.ge/Xmt/Xmt.h
 
11035
*** Xmt310/Xmt/Xmt.h    Sun Feb  4 22:49:20 2001
 
11036
--- Xmt310.ge/Xmt/Xmt.h Tue Jun 12 18:25:28 2001
 
11037
***************
 
11038
*** 1,6 ****
 
11039
  /* 
 
11040
   * Motif Tools Library, Version 3.1
 
11041
!  * $Id$
 
11042
   * 
 
11043
   * Written by David Flanagan.
 
11044
   * Copyright (c) 1992-2001 by David Flanagan.
 
11045
--- 1,6 ----
 
11046
  /* 
 
11047
   * Motif Tools Library, Version 3.1
 
11048
!  * $Id$
 
11049
   * 
 
11050
   * Written by David Flanagan.
 
11051
   * Copyright (c) 1992-2001 by David Flanagan.
 
11052
***************
 
11053
*** 8,14 ****
 
11054
   * This is open source software.  See the file LICENSE for details.
 
11055
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11056
   *
 
11057
!  * $Log$
 
11058
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11059
!  * Initial checkin.
 
11060
!  *
 
11061
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11062
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11063
!  *                  kerberos compilation support
 
11064
!  *
 
11065
   *
 
11066
   */
 
11067
  
 
11068
--- 8,17 ----
 
11069
   * This is open source software.  See the file LICENSE for details.
 
11070
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11071
   *
 
11072
!  * $Log$
 
11073
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11074
!  * Initial checkin.
 
11075
!  *
 
11076
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11077
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11078
!  *                  kerberos compilation support
 
11079
!  *
 
11080
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11081
!  * *** empty log message ***
 
11082
!  *
 
11083
   *
 
11084
   */
 
11085
  
 
11086
diff -bpBN Xmt310/Xmt/XmtP.h Xmt310.ge/Xmt/XmtP.h
 
11087
*** Xmt310/Xmt/XmtP.h   Sun Feb  4 22:49:28 2001
 
11088
--- Xmt310.ge/Xmt/XmtP.h        Tue Jun 12 18:25:28 2001
 
11089
***************
 
11090
*** 1,6 ****
 
11091
  /* 
 
11092
   * Motif Tools Library, Version 3.1
 
11093
!  * $Id$
 
11094
   * 
 
11095
   * Written by David Flanagan.
 
11096
   * Copyright (c) 1992-2001 by David Flanagan.
 
11097
--- 1,6 ----
 
11098
  /* 
 
11099
   * Motif Tools Library, Version 3.1
 
11100
!  * $Id$
 
11101
   * 
 
11102
   * Written by David Flanagan.
 
11103
   * Copyright (c) 1992-2001 by David Flanagan.
 
11104
***************
 
11105
*** 8,14 ****
 
11106
   * This is open source software.  See the file LICENSE for details.
 
11107
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11108
   *
 
11109
!  * $Log$
 
11110
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11111
!  * Initial checkin.
 
11112
!  *
 
11113
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11114
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11115
!  *                  kerberos compilation support
 
11116
!  *
 
11117
   *
 
11118
   */
 
11119
  
 
11120
--- 8,17 ----
 
11121
   * This is open source software.  See the file LICENSE for details.
 
11122
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11123
   *
 
11124
!  * $Log$
 
11125
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11126
!  * Initial checkin.
 
11127
!  *
 
11128
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11129
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11130
!  *                  kerberos compilation support
 
11131
!  *
 
11132
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11133
!  * *** empty log message ***
 
11134
!  *
 
11135
   *
 
11136
   */
 
11137
  
 
11138
diff -bpBN Xmt310/Xmt/XmtProcs.c Xmt310.ge/Xmt/XmtProcs.c
 
11139
*** Xmt310/Xmt/XmtProcs.c       Sun Feb  4 22:49:36 2001
 
11140
--- Xmt310.ge/Xmt/XmtProcs.c    Tue Jun 12 18:25:28 2001
 
11141
***************
 
11142
*** 1,6 ****
 
11143
  /* 
 
11144
   * Motif Tools Library, Version 3.1
 
11145
!  * $Id$
 
11146
   * 
 
11147
   * Written by David Flanagan.
 
11148
   * Copyright (c) 1992-2001 by David Flanagan.
 
11149
--- 1,6 ----
 
11150
  /* 
 
11151
   * Motif Tools Library, Version 3.1
 
11152
!  * $Id$
 
11153
   * 
 
11154
   * Written by David Flanagan.
 
11155
   * Copyright (c) 1992-2001 by David Flanagan.
 
11156
***************
 
11157
*** 8,14 ****
 
11158
   * This is open source software.  See the file LICENSE for details.
 
11159
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11160
   *
 
11161
!  * $Log$
 
11162
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11163
!  * Initial checkin.
 
11164
!  *
 
11165
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11166
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11167
!  *                  kerberos compilation support
 
11168
!  *
 
11169
   *
 
11170
   */
 
11171
  
 
11172
--- 8,17 ----
 
11173
   * This is open source software.  See the file LICENSE for details.
 
11174
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11175
   *
 
11176
!  * $Log$
 
11177
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11178
!  * Initial checkin.
 
11179
!  *
 
11180
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11181
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11182
!  *                  kerberos compilation support
 
11183
!  *
 
11184
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11185
!  * *** empty log message ***
 
11186
!  *
 
11187
   *
 
11188
   */
 
11189
  
 
11190
diff -bpBN Xmt310/Xmt/XmtWidgets.c Xmt310.ge/Xmt/XmtWidgets.c
 
11191
*** Xmt310/Xmt/XmtWidgets.c     Sun Feb  4 22:49:38 2001
 
11192
--- Xmt310.ge/Xmt/XmtWidgets.c  Tue Jun 12 18:25:28 2001
 
11193
***************
 
11194
*** 1,6 ****
 
11195
  /* 
 
11196
   * Motif Tools Library, Version 3.1
 
11197
!  * $Id$
 
11198
   * 
 
11199
   * Written by David Flanagan.
 
11200
   * Copyright (c) 1992-2001 by David Flanagan.
 
11201
--- 1,6 ----
 
11202
  /* 
 
11203
   * Motif Tools Library, Version 3.1
 
11204
!  * $Id$
 
11205
   * 
 
11206
   * Written by David Flanagan.
 
11207
   * Copyright (c) 1992-2001 by David Flanagan.
 
11208
***************
 
11209
*** 8,14 ****
 
11210
   * This is open source software.  See the file LICENSE for details.
 
11211
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11212
   *
 
11213
!  * $Log$
 
11214
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11215
!  * Initial checkin.
 
11216
!  *
 
11217
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11218
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11219
!  *                  kerberos compilation support
 
11220
!  *
 
11221
   *
 
11222
   */
 
11223
  
 
11224
--- 8,17 ----
 
11225
   * This is open source software.  See the file LICENSE for details.
 
11226
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11227
   *
 
11228
!  * $Log$
 
11229
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11230
!  * Initial checkin.
 
11231
!  *
 
11232
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11233
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11234
!  *                  kerberos compilation support
 
11235
!  *
 
11236
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11237
!  * *** empty log message ***
 
11238
!  *
 
11239
   *
 
11240
   */
 
11241
  
 
11242
diff -bpBN Xmt310/Xmt/Xpm.c Xmt310.ge/Xmt/Xpm.c
 
11243
*** Xmt310/Xmt/Xpm.c    Sun Feb  4 22:49:42 2001
 
11244
--- Xmt310.ge/Xmt/Xpm.c Tue Jun 12 18:25:28 2001
 
11245
***************
 
11246
*** 1,6 ****
 
11247
  /* 
 
11248
   * Motif Tools Library, Version 3.1
 
11249
!  * $Id$
 
11250
   * 
 
11251
   * Written by David Flanagan.
 
11252
   * Copyright (c) 1992-2001 by David Flanagan.
 
11253
--- 1,6 ----
 
11254
  /* 
 
11255
   * Motif Tools Library, Version 3.1
 
11256
!  * $Id$
 
11257
   * 
 
11258
   * Written by David Flanagan.
 
11259
   * Copyright (c) 1992-2001 by David Flanagan.
 
11260
***************
 
11261
*** 8,14 ****
 
11262
   * This is open source software.  See the file LICENSE for details.
 
11263
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11264
   *
 
11265
!  * $Log$
 
11266
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11267
!  * Initial checkin.
 
11268
!  *
 
11269
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11270
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11271
!  *                  kerberos compilation support
 
11272
!  *
 
11273
   *
 
11274
   */
 
11275
  
 
11276
--- 8,17 ----
 
11277
   * This is open source software.  See the file LICENSE for details.
 
11278
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11279
   *
 
11280
!  * $Log$
 
11281
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11282
!  * Initial checkin.
 
11283
!  *
 
11284
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11285
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11286
!  *                  kerberos compilation support
 
11287
!  *
 
11288
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11289
!  * *** empty log message ***
 
11290
!  *
 
11291
   *
 
11292
   */
 
11293
  
 
11294
diff -bpBN Xmt310/Xmt/Xpm.h Xmt310.ge/Xmt/Xpm.h
 
11295
*** Xmt310/Xmt/Xpm.h    Sun Feb  4 22:49:44 2001
 
11296
--- Xmt310.ge/Xmt/Xpm.h Tue Jun 12 18:25:28 2001
 
11297
***************
 
11298
*** 1,6 ****
 
11299
  /* 
 
11300
   * Motif Tools Library, Version 3.1
 
11301
!  * $Id$
 
11302
   * 
 
11303
   * Written by David Flanagan.
 
11304
   * Copyright (c) 1992-2001 by David Flanagan.
 
11305
--- 1,6 ----
 
11306
  /* 
 
11307
   * Motif Tools Library, Version 3.1
 
11308
!  * $Id$
 
11309
   * 
 
11310
   * Written by David Flanagan.
 
11311
   * Copyright (c) 1992-2001 by David Flanagan.
 
11312
***************
 
11313
*** 8,14 ****
 
11314
   * This is open source software.  See the file LICENSE for details.
 
11315
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11316
   *
 
11317
!  * $Log$
 
11318
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11319
!  * Initial checkin.
 
11320
!  *
 
11321
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11322
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11323
!  *                  kerberos compilation support
 
11324
!  *
 
11325
   *
 
11326
   */
 
11327
  
 
11328
--- 8,17 ----
 
11329
   * This is open source software.  See the file LICENSE for details.
 
11330
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11331
   *
 
11332
!  * $Log$
 
11333
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11334
!  * Initial checkin.
 
11335
!  *
 
11336
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11337
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11338
!  *                  kerberos compilation support
 
11339
!  *
 
11340
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11341
!  * *** empty log message ***
 
11342
!  *
 
11343
   *
 
11344
   */
 
11345
  
 
11346
diff -bpBN Xmt310/Xmt/XpmParse.c Xmt310.ge/Xmt/XpmParse.c
 
11347
*** Xmt310/Xmt/XpmParse.c       Sun Feb  4 22:49:50 2001
 
11348
--- Xmt310.ge/Xmt/XpmParse.c    Tue Jun 12 18:25:28 2001
 
11349
***************
 
11350
*** 1,6 ****
 
11351
  /* 
 
11352
   * Motif Tools Library, Version 3.1
 
11353
!  * $Id$
 
11354
   * 
 
11355
   * Written by David Flanagan.
 
11356
   * Copyright (c) 1992-2001 by David Flanagan.
 
11357
--- 1,6 ----
 
11358
  /* 
 
11359
   * Motif Tools Library, Version 3.1
 
11360
!  * $Id$
 
11361
   * 
 
11362
   * Written by David Flanagan.
 
11363
   * Copyright (c) 1992-2001 by David Flanagan.
 
11364
***************
 
11365
*** 8,14 ****
 
11366
   * This is open source software.  See the file LICENSE for details.
 
11367
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11368
   *
 
11369
!  * $Log$
 
11370
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11371
!  * Initial checkin.
 
11372
!  *
 
11373
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11374
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11375
!  *                  kerberos compilation support
 
11376
!  *
 
11377
   *
 
11378
   */
 
11379
  
 
11380
--- 8,17 ----
 
11381
   * This is open source software.  See the file LICENSE for details.
 
11382
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11383
   *
 
11384
!  * $Log$
 
11385
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11386
!  * Initial checkin.
 
11387
!  *
 
11388
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11389
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11390
!  *                  kerberos compilation support
 
11391
!  *
 
11392
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11393
!  * *** empty log message ***
 
11394
!  *
 
11395
   *
 
11396
   */
 
11397
  
 
11398
*************** typedef struct {
 
11399
*** 86,95 ****
 
11400
  
 
11401
  static LexerTypeData lexer_types[] =
 
11402
  {
 
11403
!  "", '\0', '\n', "", "", "", "",      /* Natural type */
 
11404
!  "C", '"', '"', ",\n", "static char *", "[] = {\n", "};\n",
 
11405
!  "Lisp", '"', '"', "\n", "(setq ", " '(\n", "))\n",
 
11406
!  NULL, 0, 0, NULL, NULL, NULL, NULL
 
11407
  };
 
11408
  
 
11409
  /*
 
11410
--- 89,98 ----
 
11411
  
 
11412
  static LexerTypeData lexer_types[] =
 
11413
  {
 
11414
!  {"", '\0', '\n', "", "", "", ""},    /* Natural type */
 
11415
!  {"C", '"', '"', ",\n", "static char *", "[] = {\n", "};\n"},
 
11416
!  {"Lisp", '"', '"', "\n", "(setq ", " '(\n", "))\n"},
 
11417
!  {NULL, 0, 0, NULL, NULL, NULL, NULL}
 
11418
  };
 
11419
  
 
11420
  /*
 
11421
diff -bpBN Xmt310/Xmt/XtProcs.c Xmt310.ge/Xmt/XtProcs.c
 
11422
*** Xmt310/Xmt/XtProcs.c        Sun Feb  4 22:57:02 2001
 
11423
--- Xmt310.ge/Xmt/XtProcs.c     Tue Jun 12 18:25:28 2001
 
11424
***************
 
11425
*** 1,6 ****
 
11426
  /* 
 
11427
   * Motif Tools Library, Version 3.1
 
11428
!  * $Id$
 
11429
   * 
 
11430
   * Written by David Flanagan.
 
11431
   * Copyright (c) 1992-2001 by David Flanagan.
 
11432
--- 1,6 ----
 
11433
  /* 
 
11434
   * Motif Tools Library, Version 3.1
 
11435
!  * $Id$
 
11436
   * 
 
11437
   * Written by David Flanagan.
 
11438
   * Copyright (c) 1992-2001 by David Flanagan.
 
11439
***************
 
11440
*** 8,14 ****
 
11441
   * This is open source software.  See the file LICENSE for details.
 
11442
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11443
   *
 
11444
!  * $Log$
 
11445
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11446
!  * Initial checkin.
 
11447
!  *
 
11448
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11449
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11450
!  *                  kerberos compilation support
 
11451
!  *
 
11452
   *
 
11453
   */
 
11454
  
 
11455
--- 8,17 ----
 
11456
   * This is open source software.  See the file LICENSE for details.
 
11457
   * There is no warranty for this software.  See NO_WARRANTY for details.
 
11458
   *
 
11459
!  * $Log$
 
11460
!  * Revision 1.1.1.1  2001/07/18 11:06:01  root
 
11461
!  * Initial checkin.
 
11462
!  *
 
11463
!  * Revision 1.1  2001/06/21 17:47:46  andre
 
11464
!  * AA-2001-06-21-1: reserved port security, change of sge_gdi_request changes,
 
11465
!  *                  kerberos compilation support
 
11466
!  *
 
11467
!  * Revision 1.2  2001/06/12 16:25:28  andre
 
11468
!  * *** empty log message ***
 
11469
!  *
 
11470
   *
 
11471
   */
 
11472