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
7
* Motif Tools Library, Version 3.1
10
* Written by David Flanagan.
11
* Copyright (c) 1992-2001 by David Flanagan.
14
* Motif Tools Library, Version 3.1
17
* Written by David Flanagan.
18
* Copyright (c) 1992-2001 by David Flanagan.
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.
25
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
40
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
61
* Motif Tools Library, Version 3.1
64
* Written by David Flanagan.
65
* Copyright (c) 1992-2001 by David Flanagan.
68
* Motif Tools Library, Version 3.1
71
* Written by David Flanagan.
72
* Copyright (c) 1992-2001 by David Flanagan.
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.
79
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
94
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
115
* Motif Tools Library, Version 3.1
118
* Written by David Flanagan.
119
* Copyright (c) 1992-2001 by David Flanagan.
122
* Motif Tools Library, Version 3.1
125
* Written by David Flanagan.
126
* Copyright (c) 1992-2001 by David Flanagan.
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.
133
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
148
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
169
* Motif Tools Library, Version 3.1
172
* Written by David Flanagan.
173
* Copyright (c) 1992-2001 by David Flanagan.
176
* Motif Tools Library, Version 3.1
179
* Written by David Flanagan.
180
* Copyright (c) 1992-2001 by David Flanagan.
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.
187
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
202
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
223
* Motif Tools Library, Version 3.1
226
* Written by David Flanagan.
227
* Copyright (c) 1992-2001 by David Flanagan.
230
* Motif Tools Library, Version 3.1
233
* Written by David Flanagan.
234
* Copyright (c) 1992-2001 by David Flanagan.
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.
241
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
256
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
277
* Motif Tools Library, Version 3.1
280
* Written by David Flanagan.
281
* Copyright (c) 1992-2001 by David Flanagan.
284
* Motif Tools Library, Version 3.1
287
* Written by David Flanagan.
288
* Copyright (c) 1992-2001 by David Flanagan.
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.
295
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
310
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
325
*************** static String button_names[] = {
327
"Reset", "ResetButton", "Stop", "StopButton",
330
! static int button_values[] = {
331
XmtApplyButton, XmtApplyButton, XmtCancelButton, XmtCancelButton,
332
XmtDoneButton, XmtDoneButton, XmtHelpButton, XmtHelpButton,
333
XmtNoButton, XmtNoButton, XmtOkButton, XmtOkButton,
335
"Reset", "ResetButton", "Stop", "StopButton",
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;
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);
352
/* set icon pixmap and message */
353
XtVaSetValues(info->boolean_internals.icon,
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);
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
371
* Motif Tools Library, Version 3.1
374
* Written by David Flanagan.
375
* Copyright (c) 1992-2001 by David Flanagan.
378
* Motif Tools Library, Version 3.1
381
* Written by David Flanagan.
382
* Copyright (c) 1992-2001 by David Flanagan.
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.
389
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
404
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
422
#include <Xm/DialogS.h>
423
#include <Xm/FileSB.h>
425
+ #include <Xm/List.h>
428
#if NeedFunctionPrototypes
429
*************** Boolean open_file;
431
if (!lookup_pattern) data.pattern = pattern_buffer;
433
/* create XmStrings */
434
! message = XmtCreateXmString(data.message);
435
! title = XmtCreateXmString(data.title);
436
! directory = XmtCreateXmString(data.directory);
437
! pattern = XmtCreateXmString(data.pattern);
440
* Set XmNdirectory to NULL, so that the next call changes it
442
if (!lookup_pattern) data.pattern = pattern_buffer;
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);
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
458
* Motif Tools Library, Version 3.1
461
* Written by David Flanagan.
462
* Copyright (c) 1992-2001 by David Flanagan.
465
* Motif Tools Library, Version 3.1
468
* Written by David Flanagan.
469
* Copyright (c) 1992-2001 by David Flanagan.
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.
476
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
491
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
509
#include <Xm/DialogS.h>
510
#include <Xm/SelectioB.h>
512
+ #include <Xm/List.h>
515
#if NeedFunctionPrototypes
516
*************** Boolean return_number;
520
/* create the XmStrings */
521
! message = XmtCreateXmString(data.message);
522
! title = XmtCreateXmString(data.title);
523
! list_title = XmtCreateXmString(data.list_title);
526
* If we got an items string from the resource db,
530
/* create the XmStrings */
531
! message = XmtCreateLocalizedXmString(w, data.message);
532
! title = XmtCreateLocalizedXmString(w, data.title);
533
! list_title = XmtCreateLocalizedXmString(w, data.list_title);
536
* If we got an items string from the resource db,
537
*************** Boolean return_number;
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]);
545
default_item_label = item_labels[*int_return];
546
else if (buffer_return && *buffer_return)
547
! default_item_label = XmtCreateXmString(buffer_return);
549
default_item_label = item_labels[0];
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]);
558
default_item_label = item_labels[*int_return];
559
else if (buffer_return && *buffer_return)
560
! default_item_label = XmtCreateLocalizedXmString(w, buffer_return);
562
default_item_label = item_labels[0];
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
570
* Motif Tools Library, Version 3.1
573
* Written by David Flanagan.
574
* Copyright (c) 1992-2001 by David Flanagan.
577
* Motif Tools Library, Version 3.1
580
* Written by David Flanagan.
581
* Copyright (c) 1992-2001 by David Flanagan.
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.
588
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
603
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
618
*************** int type;
620
XmString message, title;
623
- Widget text_widget;
624
static String default_string_title;
625
static String default_int_title;
626
static String default_double_title;
628
*************** int type;
632
/* set resources on the dialog box and the text widget within it. */
633
! message = XmtCreateXmString(data.message);
634
! title = XmtCreateXmString(data.title);
636
XtSetArg(args[i], XmNselectionLabelString, message); i++;
637
XtSetArg(args[i], XmNdialogTitle, title); i++;
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);
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
653
* Motif Tools Library, Version 3.1
656
* Written by David Flanagan.
657
* Copyright (c) 1992-2001 by David Flanagan.
660
* Motif Tools Library, Version 3.1
663
* Written by David Flanagan.
664
* Copyright (c) 1992-2001 by David Flanagan.
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.
671
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
686
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
701
*************** WidgetClass c;
706
- extern void abort();
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.",
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
718
* Motif Tools Library, Version 3.1
721
* Written by David Flanagan.
722
* Copyright (c) 1992-2001 by David Flanagan.
725
* Motif Tools Library, Version 3.1
728
* Written by David Flanagan.
729
* Copyright (c) 1992-2001 by David Flanagan.
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.
736
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
751
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
772
* Motif Tools Library, Version 3.1
775
* Written by David Flanagan.
776
* Copyright (c) 1992-2001 by David Flanagan.
779
* Motif Tools Library, Version 3.1
782
* Written by David Flanagan.
783
* Copyright (c) 1992-2001 by David Flanagan.
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.
790
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
805
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
826
* Motif Tools Library, Version 3.1
829
* Written by David Flanagan.
830
* Copyright (c) 1992-2001 by David Flanagan.
833
* Motif Tools Library, Version 3.1
836
* Written by David Flanagan.
837
* Copyright (c) 1992-2001 by David Flanagan.
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.
844
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
859
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
881
* Motif Tools Library, Version 3.1
884
* Written by David Flanagan.
885
* Copyright (c) 1992-2001 by David Flanagan.
888
* Motif Tools Library, Version 3.1
891
* Written by David Flanagan.
892
* Copyright (c) 1992-2001 by David Flanagan.
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.
899
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
914
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
935
* Motif Tools Library, Version 3.1
938
* Written by David Flanagan.
939
* Copyright (c) 1992-2001 by David Flanagan.
942
* Motif Tools Library, Version 3.1
945
* Written by David Flanagan.
946
* Copyright (c) 1992-2001 by David Flanagan.
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.
953
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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.
968
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
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
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
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
989
* Motif Tools Library, Version 3.1
992
* Written by David Flanagan.
993
* Copyright (c) 1992-2001 by David Flanagan.
996
* Motif Tools Library, Version 3.1
999
* Written by David Flanagan.
1000
* Copyright (c) 1992-2001 by David Flanagan.
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.
1007
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1008
! * Initial checkin.
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
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.
1022
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1023
! * Initial checkin.
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
1029
! * Revision 1.2 2001/06/12 16:25:28 andre
1030
! * *** empty log message ***
1035
*************** XmtChooserWidget cw;
1040
! int size = cw->chooser.num_items * cw->chooser.value_size;
1042
/* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
1043
cw->chooser.value_strings = NULL;
1048
! size_t size = cw->chooser.num_items * cw->chooser.value_size;
1050
/* if XmtNvalues is set, be sure to ignore XmtNvalueStrings */
1051
cw->chooser.value_strings = NULL;
1052
*************** static void ClassInitialize()
1055
"Option", "RadioBox", "RadioList", "RadioPalette"
1057
! static int values[] = {
1058
XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
1059
XmtChooserCheckPalette,
1060
#if XmVersion >= 2000
1063
"Option", "RadioBox", "RadioList", "RadioPalette"
1065
! static Cardinal values[] = {
1066
XmtChooserButtonBox, XmtChooserCheckBox, XmtChooserCheckList,
1067
XmtChooserCheckPalette,
1068
#if XmVersion >= 2000
1069
*************** Cardinal *num_args;
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]);
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]);
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
1092
* Motif Tools Library, Version 3.1
1095
* Written by David Flanagan.
1096
* Copyright (c) 1992-2001 by David Flanagan.
1099
* Motif Tools Library, Version 3.1
1102
* Written by David Flanagan.
1103
* Copyright (c) 1992-2001 by David Flanagan.
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.
1110
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1111
! * Initial checkin.
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
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.
1125
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1126
! * Initial checkin.
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
1132
! * Revision 1.2 2001/06/12 16:25:28 andre
1133
! * *** empty log message ***
1138
*************** typedef enum {
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;
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;
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
1161
* Motif Tools Library, Version 3.1
1164
* Written by David Flanagan.
1165
* Copyright (c) 1992-2001 by David Flanagan.
1168
* Motif Tools Library, Version 3.1
1171
* Written by David Flanagan.
1172
* Copyright (c) 1992-2001 by David Flanagan.
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.
1179
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1180
! * Initial checkin.
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
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.
1194
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1195
! * Initial checkin.
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
1201
! * Revision 1.2 2001/06/12 16:25:28 andre
1202
! * *** empty log message ***
1207
*************** externalref XmtChooserClassRec xmtChoose
1209
typedef struct _XmtChooserPart {
1211
XmtChooserType type;
1215
Pixmap *select_pixmaps;
1217
typedef struct _XmtChooserPart {
1219
XmtChooserType type;
1220
! Cardinal num_items;
1223
Pixmap *select_pixmaps;
1224
*************** typedef struct _XmtChooserPart {
1227
String *value_strings;
1230
XmFontList font_list;
1231
#if XmVersion >= 2000
1232
XmRenderTable render_table;
1234
! int visible_items;
1237
unsigned char label_type;
1240
String *value_strings;
1242
! Cardinal value_size;
1243
XmFontList font_list;
1244
#if XmVersion >= 2000
1245
XmRenderTable render_table;
1247
! Cardinal visible_items;
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
1257
* Motif Tools Library, Version 3.1
1260
* Written by David Flanagan.
1261
* Copyright (c) 1992-2001 by David Flanagan.
1264
* Motif Tools Library, Version 3.1
1267
* Written by David Flanagan.
1268
* Copyright (c) 1992-2001 by David Flanagan.
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.
1275
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1276
! * Initial checkin.
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
1284
#include <X11/Intrinsic.h>
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.
1290
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1291
! * Initial checkin.
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
1297
! * Revision 1.2 2001/06/12 16:25:28 andre
1298
! * *** empty log message ***
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
1309
* Motif Tools Library, Version 3.1
1312
* Written by David Flanagan.
1313
* Copyright (c) 1992-2001 by David Flanagan.
1316
* Motif Tools Library, Version 3.1
1319
* Written by David Flanagan.
1320
* Copyright (c) 1992-2001 by David Flanagan.
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.
1327
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1328
! * Initial checkin.
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
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.
1342
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1343
! * Initial checkin.
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
1349
! * Revision 1.2 2001/06/12 16:25:28 andre
1350
! * *** empty log message ***
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
1361
* Motif Tools Library, Version 3.1
1364
* Written by David Flanagan.
1365
* Copyright (c) 1992-2001 by David Flanagan.
1368
* Motif Tools Library, Version 3.1
1371
* Written by David Flanagan.
1372
* Copyright (c) 1992-2001 by David Flanagan.
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.
1379
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1380
! * Initial checkin.
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
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.
1394
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1395
! * Initial checkin.
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
1401
! * Revision 1.2 2001/06/12 16:25:28 andre
1402
! * *** empty log message ***
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
1413
* Motif Tools Library, Version 3.1
1416
* Written by David Flanagan.
1417
* Copyright (c) 1992-2001 by David Flanagan.
1420
* Motif Tools Library, Version 3.1
1423
* Written by David Flanagan.
1424
* Copyright (c) 1992-2001 by David Flanagan.
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.
1431
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1432
! * Initial checkin.
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
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.
1446
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1447
! * Initial checkin.
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
1453
! * Revision 1.2 2001/06/12 16:25:28 andre
1454
! * *** empty log message ***
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
1465
* Motif Tools Library, Version 3.1
1468
* Written by David Flanagan.
1469
* Copyright (c) 1992-2001 by David Flanagan.
1472
* Motif Tools Library, Version 3.1
1475
* Written by David Flanagan.
1476
* Copyright (c) 1992-2001 by David Flanagan.
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.
1483
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1484
! * Initial checkin.
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
1492
#include <X11/Intrinsic.h>
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.
1498
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1499
! * Initial checkin.
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
1505
! * Revision 1.2 2001/06/12 16:25:28 andre
1506
! * *** empty log message ***
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
1517
* Motif Tools Library, Version 3.1
1520
* Written by David Flanagan.
1521
* Copyright (c) 1992-2001 by David Flanagan.
1524
* Motif Tools Library, Version 3.1
1527
* Written by David Flanagan.
1528
* Copyright (c) 1992-2001 by David Flanagan.
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.
1535
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1536
! * Initial checkin.
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
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.
1550
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1551
! * Initial checkin.
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
1557
! * Revision 1.2 2001/06/12 16:25:28 andre
1558
! * *** empty log message ***
1563
*************** extern long int strtol();
1569
+ ** undefine if you don't want the full colormap fix
1570
+ ** contributed by Glenn Carr
1572
+ #define CLOSEST_COLOR
1576
* HSL color syntax: H / S / L, where H, S, and L are integers
1577
* with an optional leading '+' or '-'. Whitespace is okay.
1579
*************** Boolean is_foreground;
1585
+ #ifdef CLOSEST_COLOR
1587
+ /* Legal Garbage: I borrowed the basis of this code from the...
1590
+ * by John Ousterhout (and many others at Sun Microsystems and elsewhere)
1591
+ * john.ousterhout@eng.sun.com
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.
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
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.
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
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.
1627
+ #if NeedFunctionPrototypes
1629
+ FindClosestColor(Screen * screen,
1630
+ Colormap colormap,
1631
+ XColor * pxcolorDesired,
1632
+ XColor * pxcolorActual)
1635
+ FindClosestColor(screen, colormap, pxcolorDesired, pxcolorActual)
1637
+ Colormap colormap;
1638
+ XColor * pxcolorDesired;
1639
+ XColor * pxcolorActual;
1642
+ float closestDistance, distance, tmp;
1643
+ Display *dpy = DisplayOfScreen(screen);
1644
+ XtAppContext appContext = XtDisplayToApplicationContext(dpy);
1645
+ Visual *pvisual = XDefaultVisualOfScreen(screen);
1646
+ static XColor *pxcolors;
1648
+ int nColors = pvisual->map_entries;
1651
+ * Get all the colors from the colormap. These should all be
1652
+ * allocated, otherwise we wouldn't be here.
1654
+ if (NULL == pxcolors) {
1655
+ pxcolors = calloc(nColors, sizeof(*pxcolors));
1656
+ for (i = 0; i < nColors; i++)
1657
+ pxcolors[i].pixel = i;
1659
+ XQueryColors(dpy, colormap, pxcolors, pvisual->map_entries);
1661
+ while (nColors > 0) {
1662
+ closestDistance = 1e30;
1664
+ for (i = 0; i < nColors; i++) {
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.
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) {
1678
+ closestDistance = distance;
1681
+ if (XAllocColor(dpy, colormap, &pxcolors[closest])) {
1682
+ *pxcolorActual = pxcolors[closest];
1685
+ pxcolors[closest] = pxcolors[nColors - 1];
1690
+ * Should never get here, but just in case...
1694
+ Cardinal num_params = 1;
1697
+ params[0] = szColor;
1699
+ sprintf(szColor, "#%04x%04x%04x",
1700
+ pxcolorDesired->red,
1701
+ pxcolorDesired->green,
1702
+ pxcolorDesired->blue);
1704
+ XtAppWarningMsg(appContext, "badValue", "cvtStringToPixel",
1705
+ "FindClosestColor",
1706
+ "Can't find approximation for color \"%s\"",
1707
+ params, &num_params);
1710
+ } /* FindClosestColor */
1714
* This function allocates the named color, using the specified
1715
* colormap, visual, and color table. The widget argument is
1716
*************** Pixel *pixel_return;
1719
Boolean is_foreground = (name[0] == '+');
1722
+ #ifdef CLOSEST_COLOR
1723
+ Screen* screen = XtScreen(w);
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;
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);
1740
if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
1742
*pixel_return = c1.pixel;
1745
else if (name[0] == '%') {
1746
if (ParseHSLColor(&name[1], &c1, appres, is_foreground) == False)
1748
+ #ifdef CLOSEST_COLOR
1749
+ if (XAllocColor(dpy, cmap, &c1) == 0)
1750
+ FindClosestColor(screen, cmap, &c1, &c1);
1752
if (XAllocColor(dpy, cmap, &c1) == 0) return 2;
1754
*pixel_return = c1.pixel;
1757
*************** Pixel *pixel_return;
1763
+ #ifdef CLOSEST_COLOR
1764
+ if (XLookupColor(dpy, cmap, name, &c1, &c2)) {
1765
+ FindClosestColor(screen, cmap, &c2, &c2);
1766
+ *pixel_return = c2.pixel;
1770
if (XLookupColor(dpy, cmap, name, &c1, &c2)) return 2;
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
1781
* Motif Tools Library, Version 3.1
1784
* Written by David Flanagan.
1785
* Copyright (c) 1992-2001 by David Flanagan.
1788
* Motif Tools Library, Version 3.1
1791
* Written by David Flanagan.
1792
* Copyright (c) 1992-2001 by David Flanagan.
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.
1799
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1800
! * Initial checkin.
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
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.
1814
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1815
! * Initial checkin.
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
1821
! * Revision 1.2 2001/06/12 16:25:28 andre
1822
! * *** empty log message ***
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
1833
* Motif Tools Library, Version 3.1
1836
* Written by David Flanagan.
1837
* Copyright (c) 1992-2001 by David Flanagan.
1840
* Motif Tools Library, Version 3.1
1843
* Written by David Flanagan.
1844
* Copyright (c) 1992-2001 by David Flanagan.
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.
1851
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1852
! * Initial checkin.
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
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.
1866
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1867
! * Initial checkin.
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
1873
! * Revision 1.2 2001/06/12 16:25:28 andre
1874
! * *** empty log message ***
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
1885
* Motif Tools Library, Version 3.1
1888
* Written by David Flanagan.
1889
* Copyright (c) 1992-2001 by David Flanagan.
1892
* Motif Tools Library, Version 3.1
1895
* Written by David Flanagan.
1896
* Copyright (c) 1992-2001 by David Flanagan.
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.
1903
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1904
! * Initial checkin.
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
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.
1918
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1919
! * Initial checkin.
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
1925
! * Revision 1.2 2001/06/12 16:25:28 andre
1926
! * *** empty log message ***
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
1937
* Motif Tools Library, Version 3.1
1940
* Written by David Flanagan.
1941
* Copyright (c) 1992-2001 by David Flanagan.
1944
* Motif Tools Library, Version 3.1
1947
* Written by David Flanagan.
1948
* Copyright (c) 1992-2001 by David Flanagan.
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.
1955
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1956
! * Initial checkin.
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
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.
1970
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
1971
! * Initial checkin.
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
1977
! * Revision 1.2 2001/06/12 16:25:28 andre
1978
! * *** empty log message ***
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
1989
* Motif Tools Library, Version 3.1
1992
* Written by David Flanagan.
1993
* Copyright (c) 1992-2001 by David Flanagan.
1996
* Motif Tools Library, Version 3.1
1999
* Written by David Flanagan.
2000
* Copyright (c) 1992-2001 by David Flanagan.
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.
2007
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2008
! * Initial checkin.
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
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.
2022
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2023
! * Initial checkin.
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
2029
! * Revision 1.2 2001/06/12 16:25:28 andre
2030
! * *** empty log message ***
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
2041
* Motif Tools Library, Version 3.1
2044
* Written by David Flanagan.
2045
* Copyright (c) 1992-2001 by David Flanagan.
2048
* Motif Tools Library, Version 3.1
2051
* Written by David Flanagan.
2052
* Copyright (c) 1992-2001 by David Flanagan.
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.
2059
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2060
! * Initial checkin.
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
2068
#ifndef _XmtConverters_h
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.
2074
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2075
! * Initial checkin.
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
2081
! * Revision 1.2 2001/06/12 16:25:28 andre
2082
! * *** empty log message ***
2086
#ifndef _XmtConverters_h
2087
*************** externalref _Xconst char XmtConverterStr
2091
#if NeedFunctionPrototypes
2092
! extern void XmtRegisterEnumConverter(StringConst, String *, int *,
2094
extern void XmtRegisterWidgetConverter(void);
2095
extern void XmtRegisterCallbackConverter(void);
2096
extern void XmtRegisterXmStringConverter(void);
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
2112
* Motif Tools Library, Version 3.1
2115
* Written by David Flanagan.
2116
* Copyright (c) 1992-2001 by David Flanagan.
2119
* Motif Tools Library, Version 3.1
2122
* Written by David Flanagan.
2123
* Copyright (c) 1992-2001 by David Flanagan.
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.
2130
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2131
! * Initial checkin.
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
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.
2145
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2146
! * Initial checkin.
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
2152
! * Revision 1.2 2001/06/12 16:25:28 andre
2153
! * *** empty log message ***
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
2164
* Motif Tools Library, Version 3.1
2167
* Written by David Flanagan.
2168
* Copyright (c) 1992-2001 by David Flanagan.
2171
* Motif Tools Library, Version 3.1
2174
* Written by David Flanagan.
2175
* Copyright (c) 1992-2001 by David Flanagan.
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.
2182
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2183
! * Initial checkin.
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
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.
2197
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2198
! * Initial checkin.
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
2204
! * Revision 1.2 2001/06/12 16:25:28 andre
2205
! * *** empty log message ***
2210
*************** Cardinal *num_styles;
2212
XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
2213
style = XmtTemplateSubstituteArgs(style, args, num_args,
2215
! *styles[*num_styles] = style;
2217
if (num_args > expected_args)
2218
XmtWarningMsg("XmtParseWidgetType", "styleArgs",
2220
XmtLexerGetArgList(l, args, MAX_TEMPLATE_ARGS, &num_args);
2221
style = XmtTemplateSubstituteArgs(style, args, num_args,
2223
! (*styles)[*num_styles] = style;
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
2233
* Motif Tools Library, Version 3.1
2236
* Written by David Flanagan.
2237
* Copyright (c) 1992-2001 by David Flanagan.
2240
* Motif Tools Library, Version 3.1
2243
* Written by David Flanagan.
2244
* Copyright (c) 1992-2001 by David Flanagan.
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.
2251
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2252
! * Initial checkin.
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
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.
2266
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2267
! * Initial checkin.
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
2273
! * Revision 1.2 2001/06/12 16:25:28 andre
2274
! * *** empty log message ***
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
2285
* Motif Tools Library, Version 3.1
2288
* Written by David Flanagan.
2289
* Copyright (c) 1992-2001 by David Flanagan.
2292
* Motif Tools Library, Version 3.1
2295
* Written by David Flanagan.
2296
* Copyright (c) 1992-2001 by David Flanagan.
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.
2303
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2304
! * Initial checkin.
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
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.
2318
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2319
! * Initial checkin.
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
2325
! * Revision 1.2 2001/06/12 16:25:28 andre
2326
! * *** empty log message ***
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
2337
* Motif Tools Library, Version 3.1
2340
* Written by David Flanagan.
2341
* Copyright (c) 1992-2001 by David Flanagan.
2344
* Motif Tools Library, Version 3.1
2347
* Written by David Flanagan.
2348
* Copyright (c) 1992-2001 by David Flanagan.
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.
2355
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2356
! * Initial checkin.
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
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.
2370
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2371
! * Initial checkin.
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
2377
! * Revision 1.2 2001/06/12 16:25:28 andre
2378
! * *** empty log message ***
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
2389
* Motif Tools Library, Version 3.1
2392
* Written by David Flanagan.
2393
* Copyright (c) 1992-2001 by David Flanagan.
2396
* Motif Tools Library, Version 3.1
2399
* Written by David Flanagan.
2400
* Copyright (c) 1992-2001 by David Flanagan.
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.
2407
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2408
! * Initial checkin.
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
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.
2422
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2423
! * Initial checkin.
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
2429
! * Revision 1.2 2001/06/12 16:25:28 andre
2430
! * *** empty log message ***
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
2441
* Motif Tools Library, Version 3.1
2444
* Written by David Flanagan.
2445
* Copyright (c) 1992-2001 by David Flanagan.
2448
* Motif Tools Library, Version 3.1
2451
* Written by David Flanagan.
2452
* Copyright (c) 1992-2001 by David Flanagan.
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.
2459
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2460
! * Initial checkin.
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
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.
2474
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2475
! * Initial checkin.
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
2481
! * Revision 1.2 2001/06/12 16:25:28 andre
2482
! * *** empty log message ***
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
2493
* Motif Tools Library, Version 3.1
2496
* Written by David Flanagan.
2497
* Copyright (c) 1992-2001 by David Flanagan.
2500
* Motif Tools Library, Version 3.1
2503
* Written by David Flanagan.
2504
* Copyright (c) 1992-2001 by David Flanagan.
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.
2511
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2512
! * Initial checkin.
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
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.
2526
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2527
! * Initial checkin.
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
2533
! * Revision 1.2 2001/06/12 16:25:28 andre
2534
! * *** empty log message ***
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
2545
* Motif Tools Library, Version 3.1
2548
* Written by David Flanagan.
2549
* Copyright (c) 1992-2001 by David Flanagan.
2552
* Motif Tools Library, Version 3.1
2555
* Written by David Flanagan.
2556
* Copyright (c) 1992-2001 by David Flanagan.
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.
2563
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2564
! * Initial checkin.
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
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.
2578
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2579
! * Initial checkin.
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
2585
! * Revision 1.2 2001/06/12 16:25:28 andre
2586
! * *** empty log message ***
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
2597
* Motif Tools Library, Version 3.1
2600
* Written by David Flanagan.
2601
* Copyright (c) 1992-2001 by David Flanagan.
2604
* Motif Tools Library, Version 3.1
2607
* Written by David Flanagan.
2608
* Copyright (c) 1992-2001 by David Flanagan.
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.
2615
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2616
! * Initial checkin.
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
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.
2630
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2631
! * Initial checkin.
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
2637
! * Revision 1.2 2001/06/12 16:25:28 andre
2638
! * *** empty log message ***
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
2649
* Motif Tools Library, Version 3.1
2652
* Written by David Flanagan.
2653
* Copyright (c) 1992-2001 by David Flanagan.
2656
* Motif Tools Library, Version 3.1
2659
* Written by David Flanagan.
2660
* Copyright (c) 1992-2001 by David Flanagan.
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.
2667
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2668
! * Initial checkin.
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
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.
2682
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2683
! * Initial checkin.
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
2689
! * Revision 1.2 2001/06/12 16:25:28 andre
2690
! * *** empty log message ***
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
2701
* Motif Tools Library, Version 3.1
2704
* Written by David Flanagan.
2705
* Copyright (c) 1992-2001 by David Flanagan.
2708
* Motif Tools Library, Version 3.1
2711
* Written by David Flanagan.
2712
* Copyright (c) 1992-2001 by David Flanagan.
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.
2719
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2720
! * Initial checkin.
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
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.
2734
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2735
! * Initial checkin.
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
2741
! * Revision 1.2 2001/06/12 16:25:28 andre
2742
! * *** empty log message ***
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
2753
* Motif Tools Library, Version 3.1
2756
* Written by David Flanagan.
2757
* Copyright (c) 1992-2001 by David Flanagan.
2760
* Motif Tools Library, Version 3.1
2763
* Written by David Flanagan.
2764
* Copyright (c) 1992-2001 by David Flanagan.
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.
2771
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2772
! * Initial checkin.
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
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.
2786
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2787
! * Initial checkin.
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
2793
! * Revision 1.2 2001/06/12 16:25:28 andre
2794
! * *** empty log message ***
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
2805
* Motif Tools Library, Version 3.1
2808
* Written by David Flanagan.
2809
* Copyright (c) 1992-2001 by David Flanagan.
2812
* Motif Tools Library, Version 3.1
2815
* Written by David Flanagan.
2816
* Copyright (c) 1992-2001 by David Flanagan.
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.
2823
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2824
! * Initial checkin.
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
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.
2838
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
2839
! * Initial checkin.
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
2845
! * Revision 1.2 2001/06/12 16:25:28 andre
2846
! * *** empty log message ***
2854
#if NeedFunctionPrototypes
2855
Boolean XmtConvertStringToEnum(Display *dpy,
2856
! XrmValue *args, Cardinal *num_args,
2857
! XrmValue *from, XrmValue *to, XtPointer *data)
2859
Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
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;
2876
! static int value; /* static for converter return */
2879
* First, strip any of the listed prefixes off of target.
2882
#if NeedFunctionPrototypes
2883
Boolean XmtConvertStringToEnum(Display *dpy,
2884
! XrmValuePtr args, Cardinal *num_args,
2885
! XrmValuePtr from, XrmValuePtr to, XtPointer *data)
2887
Boolean XmtConvertStringToEnum(dpy, args, num_args, from, to, data)
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;
2906
! static Cardinal value; /* static for converter return */
2909
* First, strip any of the listed prefixes off of target.
2910
*************** XtPointer *data;
2913
* If not, print a warning and fail.
2915
i = XmtBSearch(target, names, num);
2917
+ /* printf("XmtBSearch(target, names, num) => %d\n", i); */
2920
XtDisplayStringConversionWarning(dpy, (String)from->addr, type);
2922
*************** XtPointer *data;
2925
*(char *)to->addr = value;
2928
*(short *)to->addr = value;
2931
! *(int *)to->addr = value;
2934
! if (to->size > sizeof(int)) {
2935
! to->size = sizeof(int);
2936
! *(int *)to->addr = value;
2939
! to->size = sizeof(int);
2945
*(char *)to->addr = value;
2947
+ #ifdef CRAY /* short and int are the same size (8 bytes) on the Cray */
2949
+ *(int *)to->addr = value;
2953
*(short *)to->addr = value;
2955
! case sizeof(Cardinal):
2956
! *(Cardinal *)to->addr = value;
2960
! if (to->size > sizeof(Cardinal)) {
2961
! to->size = sizeof(Cardinal);
2962
! *(Cardinal *)to->addr = value;
2965
! to->size = sizeof(Cardinal);
2969
*************** XtPointer *data;
2973
#if NeedFunctionPrototypes
2974
! void XmtRegisterEnumConverter(StringConst type, String *names, int *values,
2975
! int num, String *prefixes)
2977
void XmtRegisterEnumConverter(type, names, values, num, prefixes)
2988
#if NeedFunctionPrototypes
2989
! void XmtRegisterEnumConverter(StringConst type, String *names, Cardinal *values,
2990
! Cardinal num, String *prefixes)
2992
void XmtRegisterEnumConverter(type, names, values, num, prefixes)
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
3006
* Motif Tools Library, Version 3.1
3009
* Written by David Flanagan.
3010
* Copyright (c) 1992-2001 by David Flanagan.
3013
* Motif Tools Library, Version 3.1
3016
* Written by David Flanagan.
3017
* Copyright (c) 1992-2001 by David Flanagan.
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.
3024
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3025
! * Initial checkin.
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
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.
3039
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3040
! * Initial checkin.
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
3046
! * Revision 1.2 2001/06/12 16:25:28 andre
3047
! * *** empty log message ***
3052
*************** extern struct passwd *getpwuid(), *getpw
3056
#ifndef X_NOT_STDC_ENV
3058
+ #include <unistd.h>
3060
extern char *getenv();
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
3068
* Motif Tools Library, Version 3.1
3071
* Written by David Flanagan.
3072
* Copyright (c) 1992-2001 by David Flanagan.
3075
* Motif Tools Library, Version 3.1
3078
* Written by David Flanagan.
3079
* Copyright (c) 1992-2001 by David Flanagan.
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.
3086
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3087
! * Initial checkin.
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
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.
3101
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3102
! * Initial checkin.
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
3108
! * Revision 1.2 2001/06/12 16:25:28 andre
3109
! * *** empty log message ***
3114
*************** XtPointer *converter_data;
3123
+ char **missing_list;
3124
+ int missing_count;
3126
+ char *def_string = NULL;
3128
+ XmFontListEntry entry;
3129
XmFontList fontlist = NULL;
3132
*************** XtPointer *converter_data;
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, ':');
3143
*************** XtPointer *converter_data;
3146
while (isspace(*tmp)) tmp--;
3151
+ ** fontset support it is a bit tricky, but needed for multibyte chars
3152
+ ** FIXME: figure out how to do it
3155
+ fontset = XCreateFontSet(dpy, s, &missing_list, &missing_count,
3157
+ for (i=0; i<missing_count; i++) {
3158
+ printf("missing_list[%d]: '%s'\n", i, missing_list[i]);
3159
+ XtFree(missing_list[i]);
3161
+ XtFree((char *)missing_list);
3163
+ #if !defined(SOLARIS) && !defined(SOLARIS64)
3164
+ entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
3166
+ entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONTSET, tag);
3171
+ ** FIXME: replace the following line with the correct version
3172
+ ** for multibyte chars and fontsets
3174
+ entry = XmFontListEntryLoad(dpy, s, XmFONT_IS_FONT, tag);
3176
+ fontlist = XmFontListAppendEntry(fontlist, entry);
3177
+ XmFontListEntryFree(&entry);
3181
font = XLoadQueryFont(dpy, s);
3183
XmtWarningMsg("XmtConvertStringToFontList", "badfont",
3184
*************** XtPointer *converter_data;
3187
fontlist = XmFontListCreate(font, tag);
3189
fontlist = XmFontListAdd(fontlist, font, tag);
3193
/* finally, move on to the next entry, and start the loop over */
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
3201
* Motif Tools Library, Version 3.1
3204
* Written by David Flanagan.
3205
* Copyright (c) 1992-2001 by David Flanagan.
3208
* Motif Tools Library, Version 3.1
3211
* Written by David Flanagan.
3212
* Copyright (c) 1992-2001 by David Flanagan.
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.
3219
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3220
! * Initial checkin.
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
3231
#include <Xmt/Xmt.h>
3232
#include <Xmt/Pixmap.h>
3233
#include <Xmt/Xpm.h>
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.
3239
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3240
! * Initial checkin.
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
3246
! * Revision 1.2 2001/06/12 16:25:28 andre
3247
! * *** empty log message ***
3254
+ #include <unistd.h>
3255
+ #include <stdlib.h>
3257
#include <Xmt/Xmt.h>
3258
#include <Xmt/Pixmap.h>
3259
#include <Xmt/Xpm.h>
3260
*************** Boolean get_bitmap;
3263
Boolean free_color_table = False;
3264
static int unique_image_number;
3265
- extern char *getenv();
3267
for(w=object; !XtIsWidget(w); w = XtParent(w));
3268
shell = XmtGetShell(w);
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
3276
* Motif Tools Library, Version 3.1
3279
* Written by David Flanagan.
3280
* Copyright (c) 1992-2001 by David Flanagan.
3283
* Motif Tools Library, Version 3.1
3286
* Written by David Flanagan.
3287
* Copyright (c) 1992-2001 by David Flanagan.
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.
3294
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3295
! * Initial checkin.
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
3305
* RGB <--> HSL conversions were modified from code with the
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.
3311
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3312
! * Initial checkin.
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
3318
! * Revision 1.2 2001/06/12 16:25:28 andre
3319
! * *** empty log message ***
3324
+ #include <Xmt/Xmt.h>
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
3334
* Motif Tools Library, Version 3.1
3337
* Written by David Flanagan.
3338
* Copyright (c) 1992-2001 by David Flanagan.
3341
* Motif Tools Library, Version 3.1
3344
* Written by David Flanagan.
3345
* Copyright (c) 1992-2001 by David Flanagan.
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.
3352
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3353
! * Initial checkin.
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
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.
3367
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3368
! * Initial checkin.
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
3374
! * Revision 1.2 2001/06/12 16:25:28 andre
3375
! * *** empty log message ***
3380
*************** typedef struct _Bucket { /* Stores one e
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. */
3391
#define Hash(ht,key) \
3392
! (ht)->table[(((int)(key)) >> 2) & (ht)->mask]
3394
#if NeedFunctionPrototypes
3395
static void ResizeTable(register XmtHashTable ht, Boolean grow)
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. */
3406
#define Hash(ht,key) \
3407
! (ht)->table[(((long)(key)) >> 2) & (ht)->mask]
3409
#if NeedFunctionPrototypes
3410
static void ResizeTable(register XmtHashTable ht, Boolean grow)
3411
*************** Boolean grow;
3417
register Bucket *bucket, *next, **head;
3421
otablesize = 1 << ht->size;
3427
register Bucket *bucket, *next, **head;
3431
otablesize = 1 << ht->size;
3432
*************** void XmtHashTableDestroy(ht)
3438
register Bucket *bucket, *next;
3440
for(i=0; i < ht->mask+1; i++) {
3446
register Bucket *bucket, *next;
3448
for(i=0; i < ht->mask+1; i++) {
3449
*************** XmtHashTable table;
3451
XmtHashTableForEachProc proc;
3455
register Bucket *bucket;
3457
for(i=0; i < table->mask+1; i++) {
3459
XmtHashTableForEachProc proc;
3463
register Bucket *bucket;
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
3472
* Motif Tools Library, Version 3.1
3475
* Written by David Flanagan.
3476
* Copyright (c) 1992-2001 by David Flanagan.
3479
* Motif Tools Library, Version 3.1
3482
* Written by David Flanagan.
3483
* Copyright (c) 1992-2001 by David Flanagan.
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.
3490
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3491
! * Initial checkin.
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
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.
3505
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3506
! * Initial checkin.
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
3512
! * Revision 1.2 2001/06/12 16:25:28 andre
3513
! * *** empty log message ***
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
3524
* Motif Tools Library, Version 3.1
3527
* Written by David Flanagan.
3528
* Copyright (c) 1992-2001 by David Flanagan.
3531
* Motif Tools Library, Version 3.1
3534
* Written by David Flanagan.
3535
* Copyright (c) 1992-2001 by David Flanagan.
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.
3542
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3543
! * Initial checkin.
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
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.
3557
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3558
! * Initial checkin.
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
3564
! * Revision 1.2 2001/06/12 16:25:28 andre
3565
! * *** empty log message ***
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
3576
* Motif Tools Library, Version 3.1
3579
* Written by David Flanagan.
3580
* Copyright (c) 1992-2001 by David Flanagan.
3583
* Motif Tools Library, Version 3.1
3586
* Written by David Flanagan.
3587
* Copyright (c) 1992-2001 by David Flanagan.
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.
3594
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3595
! * Initial checkin.
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
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.
3609
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3610
! * Initial checkin.
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
3616
! * Revision 1.2 2001/06/12 16:25:28 andre
3617
! * *** empty log message ***
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
3628
* Motif Tools Library, Version 3.1
3631
* Written by David Flanagan.
3632
* Copyright (c) 1992-2001 by David Flanagan.
3635
* Motif Tools Library, Version 3.1
3638
* Written by David Flanagan.
3639
* Copyright (c) 1992-2001 by David Flanagan.
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.
3646
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3647
! * Initial checkin.
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
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.
3661
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3662
! * Initial checkin.
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
3668
! * Revision 1.2 2001/06/12 16:25:28 andre
3669
! * *** empty log message ***
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
3680
* Motif Tools Library, Version 3.1
3683
* Written by David Flanagan.
3684
* Copyright (c) 1992-2001 by David Flanagan.
3687
* Motif Tools Library, Version 3.1
3690
* Written by David Flanagan.
3691
* Copyright (c) 1992-2001 by David Flanagan.
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.
3698
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3699
! * Initial checkin.
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
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.
3713
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3714
! * Initial checkin.
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
3720
! * Revision 1.2 2001/06/12 16:25:28 andre
3721
! * *** empty log message ***
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
3732
* Motif Tools Library, Version 3.1
3735
* Written by David Flanagan.
3736
* Copyright (c) 1992-2001 by David Flanagan.
3739
* Motif Tools Library, Version 3.1
3742
* Written by David Flanagan.
3743
* Copyright (c) 1992-2001 by David Flanagan.
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.
3750
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3751
! * Initial checkin.
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
3759
#include <X11/Intrinsic.h>
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.
3765
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3766
! * Initial checkin.
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
3772
! * Revision 1.2 2001/06/12 16:25:28 andre
3773
! * *** empty log message ***
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
3784
* Motif Tools Library, Version 3.1
3787
* Written by David Flanagan.
3788
* Copyright (c) 1992-2001 by David Flanagan.
3791
* Motif Tools Library, Version 3.1
3794
* Written by David Flanagan.
3795
* Copyright (c) 1992-2001 by David Flanagan.
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.
3802
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3803
! * Initial checkin.
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
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.
3817
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3818
! * Initial checkin.
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
3824
! * Revision 1.2 2001/06/12 16:25:28 andre
3825
! * *** empty log message ***
3830
*************** Widget w;
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,
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;
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,
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;
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,
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;
3883
XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;
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);
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);
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 */
3903
XtSetArg(args[ac], XmtNlayoutIn, buttonbox); ac++;
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);
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);
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;
3924
sw->help_browser.index_label = empty_string;
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;
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;
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;
3944
sw->help_browser.index_label = empty_string;
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;
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;
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
3969
* Motif Tools Library, Version 3.1
3972
* Written by David Flanagan.
3973
* Copyright (c) 1992-2001 by David Flanagan.
3976
* Motif Tools Library, Version 3.1
3979
* Written by David Flanagan.
3980
* Copyright (c) 1992-2001 by David Flanagan.
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.
3987
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
3988
! * Initial checkin.
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
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.
4002
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4003
! * Initial checkin.
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
4009
! * Revision 1.2 2001/06/12 16:25:28 andre
4010
! * *** empty log message ***
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
4021
* Motif Tools Library, Version 3.1
4024
* Written by David Flanagan.
4025
* Copyright (c) 1992-2001 by David Flanagan.
4028
* Motif Tools Library, Version 3.1
4031
* Written by David Flanagan.
4032
* Copyright (c) 1992-2001 by David Flanagan.
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.
4039
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4040
! * Initial checkin.
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
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.
4054
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4055
! * Initial checkin.
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
4061
! * Revision 1.2 2001/06/12 16:25:28 andre
4062
! * *** empty log message ***
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
4073
* Motif Tools Library, Version 3.1
4076
* Written by David Flanagan.
4077
* Copyright (c) 1992-2001 by David Flanagan.
4080
* Motif Tools Library, Version 3.1
4083
* Written by David Flanagan.
4084
* Copyright (c) 1992-2001 by David Flanagan.
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.
4091
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4092
! * Initial checkin.
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
4100
#include <X11/Intrinsic.h>
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.
4106
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4107
! * Initial checkin.
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
4113
! * Revision 1.2 2001/06/12 16:25:28 andre
4114
! * *** empty log message ***
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
4125
* Motif Tools Library, Version 3.1
4128
* Written by David Flanagan.
4129
* Copyright (c) 1992-2001 by David Flanagan.
4132
* Motif Tools Library, Version 3.1
4135
* Written by David Flanagan.
4136
* Copyright (c) 1992-2001 by David Flanagan.
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.
4143
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4144
! * Initial checkin.
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
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.
4158
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4159
! * Initial checkin.
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
4165
! * Revision 1.2 2001/06/12 16:25:28 andre
4166
! * *** empty log message ***
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
4177
* Motif Tools Library, Version 3.1
4180
* Written by David Flanagan.
4181
* Copyright (c) 1992-2001 by David Flanagan.
4184
* Motif Tools Library, Version 3.1
4187
* Written by David Flanagan.
4188
* Copyright (c) 1992-2001 by David Flanagan.
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.
4195
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4196
! * Initial checkin.
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
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.
4210
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4211
! * Initial checkin.
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
4217
! * Revision 1.2 2001/06/12 16:25:28 andre
4218
! * *** empty log message ***
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
4229
* Motif Tools Library, Version 3.1
4232
* Written by David Flanagan.
4233
* Copyright (c) 1992-2001 by David Flanagan.
4236
* Motif Tools Library, Version 3.1
4239
* Written by David Flanagan.
4240
* Copyright (c) 1992-2001 by David Flanagan.
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.
4247
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4248
! * Initial checkin.
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
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.
4262
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4263
! * Initial checkin.
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
4269
! * Revision 1.2 2001/06/12 16:25:28 andre
4270
! * *** empty log message ***
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
4281
* Motif Tools Library, Version 3.1
4284
* Written by David Flanagan.
4285
* Copyright (c) 1992-2001 by David Flanagan.
4288
* Motif Tools Library, Version 3.1
4291
* Written by David Flanagan.
4292
* Copyright (c) 1992-2001 by David Flanagan.
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.
4299
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4300
! * Initial checkin.
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
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.
4314
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4315
! * Initial checkin.
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
4321
! * Revision 1.2 2001/06/12 16:25:28 andre
4322
! * *** empty log message ***
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
4333
* Motif Tools Library, Version 3.1
4336
* Written by David Flanagan.
4337
* Copyright (c) 1992-2001 by David Flanagan.
4340
* Motif Tools Library, Version 3.1
4343
* Written by David Flanagan.
4344
* Copyright (c) 1992-2001 by David Flanagan.
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.
4351
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4352
! * Initial checkin.
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
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.
4366
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4367
! * Initial checkin.
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
4373
! * Revision 1.2 2001/06/12 16:25:28 andre
4374
! * *** empty log message ***
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
4385
* Motif Tools Library, Version 3.1
4388
* Written by David Flanagan.
4389
* Copyright (c) 1992-2001 by David Flanagan.
4392
* Motif Tools Library, Version 3.1
4395
* Written by David Flanagan.
4396
* Copyright (c) 1992-2001 by David Flanagan.
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.
4403
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4404
! * Initial checkin.
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
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.
4418
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4419
! * Initial checkin.
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
4425
! * Revision 1.2 2001/06/12 16:25:28 andre
4426
! * *** empty log message ***
4431
*************** Boolean override;
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;
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;
4448
*************** Boolean override;
4450
String user_filename;
4451
Boolean found = False;
4455
if (!filename || filename[0] == '\0') return False;
4458
String user_filename;
4459
Boolean found = False;
4461
! XtPointer dummy = NULL;
4463
if (!filename || filename[0] == '\0') return False;
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
4471
* Motif Tools Library, Version 3.1
4474
* Written by David Flanagan.
4475
* Copyright (c) 1992-2001 by David Flanagan.
4478
* Motif Tools Library, Version 3.1
4481
* Written by David Flanagan.
4482
* Copyright (c) 1992-2001 by David Flanagan.
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.
4489
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4490
! * Initial checkin.
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
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.
4504
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4505
! * Initial checkin.
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
4511
! * Revision 1.2 2001/06/12 16:25:28 andre
4512
! * *** empty log message ***
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
4523
* Motif Tools Library, Version 3.1
4526
* Written by David Flanagan.
4527
* Copyright (c) 1992-2001 by David Flanagan.
4530
* Motif Tools Library, Version 3.1
4533
* Written by David Flanagan.
4534
* Copyright (c) 1992-2001 by David Flanagan.
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.
4541
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4542
! * Initial checkin.
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
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.
4556
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4557
! * Initial checkin.
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
4563
! * Revision 1.2 2001/06/12 16:25:28 andre
4564
! * *** empty log message ***
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
4575
* Motif Tools Library, Version 3.1
4578
* Written by David Flanagan.
4579
* Copyright (c) 1992-2001 by David Flanagan.
4582
* Motif Tools Library, Version 3.1
4585
* Written by David Flanagan.
4586
* Copyright (c) 1992-2001 by David Flanagan.
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.
4593
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4594
! * Initial checkin.
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
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.
4608
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4609
! * Initial checkin.
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
4615
! * Revision 1.2 2001/06/12 16:25:28 andre
4616
! * *** empty log message ***
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
4627
* Motif Tools Library, Version 3.1
4630
* Written by David Flanagan.
4631
* Copyright (c) 1992-2001 by David Flanagan.
4634
* Motif Tools Library, Version 3.1
4637
* Written by David Flanagan.
4638
* Copyright (c) 1992-2001 by David Flanagan.
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.
4645
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4646
! * Initial checkin.
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
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.
4660
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4661
! * Initial checkin.
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
4667
! * Revision 1.2 2001/06/12 16:25:28 andre
4668
! * *** empty log message ***
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
4679
* Motif Tools Library, Version 3.1
4682
* Written by David Flanagan.
4683
* Copyright (c) 1992-2001 by David Flanagan.
4686
* Motif Tools Library, Version 3.1
4689
* Written by David Flanagan.
4690
* Copyright (c) 1992-2001 by David Flanagan.
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.
4697
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4698
! * Initial checkin.
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
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.
4712
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4713
! * Initial checkin.
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
4719
! * Revision 1.2 2001/06/12 16:25:28 andre
4720
! * *** empty log message ***
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
4731
* Motif Tools Library, Version 3.1
4734
* Written by David Flanagan.
4735
* Copyright (c) 1992-2001 by David Flanagan.
4738
* Motif Tools Library, Version 3.1
4741
* Written by David Flanagan.
4742
* Copyright (c) 1992-2001 by David Flanagan.
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.
4749
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4750
! * Initial checkin.
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
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.
4764
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4765
! * Initial checkin.
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
4771
! * Revision 1.2 2001/06/12 16:25:28 andre
4772
! * *** empty log message ***
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
4783
* Motif Tools Library, Version 3.1
4786
* Written by David Flanagan.
4787
* Copyright (c) 1992-2001 by David Flanagan.
4790
* Motif Tools Library, Version 3.1
4793
* Written by David Flanagan.
4794
* Copyright (c) 1992-2001 by David Flanagan.
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.
4801
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4802
! * Initial checkin.
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
4810
#include <X11/Intrinsic.h>
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.
4816
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4817
! * Initial checkin.
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
4823
! * Revision 1.2 2001/06/12 16:25:28 andre
4824
! * *** empty log message ***
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
4835
* Motif Tools Library, Version 3.1
4838
* Written by David Flanagan.
4839
* Copyright (c) 1992-2001 by David Flanagan.
4842
* Motif Tools Library, Version 3.1
4845
* Written by David Flanagan.
4846
* Copyright (c) 1992-2001 by David Flanagan.
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.
4853
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4854
! * Initial checkin.
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
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.
4868
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
4869
! * Initial checkin.
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
4875
! * Revision 1.2 2001/06/12 16:25:28 andre
4876
! * *** empty log message ***
4881
*************** static void ClassInitialize()
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};
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()
4901
static String edge_names[] = {
4902
"Bottom", "Left", "Right", "Top"};
4903
! static int edge_values[] = {
4904
XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
4906
static String edge_prefixes[] = {"Xmt", "Layout", NULL};
4909
static String edge_names[] = {
4910
"Bottom", "Left", "Right", "Top"};
4911
! static Cardinal edge_values[] = {
4912
XmtLayoutBottom, XmtLayoutLeft, XmtLayoutRight, XmtLayoutTop
4914
static String edge_prefixes[] = {"Xmt", "Layout", NULL};
4915
*************** static void ClassInitialize()
4917
"Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
4918
"Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
4920
! static int line_type_values[] = {
4921
XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
4922
XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
4923
XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
4925
"Double", "DoubleLine", "Etched", "EtchedIn", "EtchedOut",
4926
"Shadow", "ShadowIn", "ShadowOut", "Single", "SingleLine",
4928
! static Cardinal line_type_values[] = {
4929
XmtLayoutFrameDoubleLine, XmtLayoutFrameDoubleLine,
4930
XmtLayoutFrameEtchedIn, XmtLayoutFrameEtchedIn,
4931
XmtLayoutFrameEtchedOut, XmtLayoutFrameShadowIn,
4932
*************** static void ClassInitialize()
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
4941
static String frame_type_prefixes[] = {"Xmt", "Layout", "Frame", NULL};
4943
static String position_names[] = { "Inside", "Outside", "Through" };
4944
! static int position_values[] = {
4945
XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
4947
static String space_type_names[] = {
4948
"CTabbed", "Even", "Interval", "LCR",
4949
"LREven", "LTabbed", "None", "RTabbed"
4951
! static int space_type_values[] = {
4952
XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
4953
XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
4954
XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
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
4963
static String frame_type_prefixes[] = {"Xmt", "Layout", "Frame", NULL};
4965
static String position_names[] = { "Inside", "Outside", "Through" };
4966
! static Cardinal position_values[] = {
4967
XmtLayoutFrameInside, XmtLayoutFrameOutside, XmtLayoutFrameThrough };
4969
static String space_type_names[] = {
4970
"CTabbed", "Even", "Interval", "LCR",
4971
"LREven", "LTabbed", "None", "RTabbed"
4973
! static Cardinal space_type_values[] = {
4974
XmtLayoutSpaceCTabbed, XmtLayoutSpaceEven,
4975
XmtLayoutSpaceInterval, XmtLayoutSpaceLCR,
4976
XmtLayoutSpaceLREven, XmtLayoutSpaceLTabbed,
4977
*************** Region region;
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;
4988
XmtLayoutFramePosition frame_position;
4990
! int caption_total_width, caption_total_height;
4991
Boolean frame_redrawn;
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;
5004
XmtLayoutFramePosition frame_position;
5006
! int caption_total_width = 0, caption_total_height = 0;
5007
Boolean frame_redrawn;
5010
*************** XtWidgetGeometry *reply;
5014
XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
5016
! Dimension width, height, border_width;
5018
/* this is case 2 described above */
5019
if (lw->layout.geometry_okay) {
5023
XmtLayoutWidget lw = (XmtLayoutWidget)XtParent(w);
5024
! Dimension width, height;
5026
/* this is case 2 described above */
5027
if (lw->layout.geometry_okay) {
5028
*************** XtWidgetGeometry *reply;
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;
5040
return XtGeometryAlmost;
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;
5052
return XtGeometryAlmost;
5053
*************** Cardinal *num_args;
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.");
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));
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
5076
* Motif Tools Library, Version 3.1
5079
* Written by David Flanagan.
5080
* Copyright (c) 1992-2001 by David Flanagan.
5083
* Motif Tools Library, Version 3.1
5086
* Written by David Flanagan.
5087
* Copyright (c) 1992-2001 by David Flanagan.
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.
5094
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5095
! * Initial checkin.
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
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.
5109
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5110
! * Initial checkin.
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
5116
! * Revision 1.2 2001/06/12 16:25:28 andre
5117
! * *** empty log message ***
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
5128
* Motif Tools Library, Version 3.1
5131
* Written by David Flanagan.
5132
* Copyright (c) 1992-2001 by David Flanagan.
5135
* Motif Tools Library, Version 3.1
5138
* Written by David Flanagan.
5139
* Copyright (c) 1992-2001 by David Flanagan.
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.
5146
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5147
! * Initial checkin.
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
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.
5161
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5162
! * Initial checkin.
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
5168
! * Revision 1.2 2001/06/12 16:25:28 andre
5169
! * *** empty log message ***
5174
*************** Widget w;
5176
int margin_width, margin_height, top_margin, left_margin;
5177
int *major_margin, *minor_margin;
5179
! int total_space, space, interval;
5181
if (!XtIsManaged(w)) return;
5184
int margin_width, margin_height, top_margin, left_margin;
5185
int *major_margin, *minor_margin;
5187
! int total_space, space, interval = 0;
5189
if (!XtIsManaged(w)) return;
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
5197
* Motif Tools Library, Version 3.1
5200
* Written by David Flanagan.
5201
* Copyright (c) 1992-2001 by David Flanagan.
5204
* Motif Tools Library, Version 3.1
5207
* Written by David Flanagan.
5208
* Copyright (c) 1992-2001 by David Flanagan.
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.
5215
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5216
! * Initial checkin.
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
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.
5230
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5231
! * Initial checkin.
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
5237
! * Revision 1.2 2001/06/12 16:25:28 andre
5238
! * *** empty log message ***
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
5249
* Motif Tools Library, Version 3.1
5252
* Written by David Flanagan.
5253
* Copyright (c) 1992-2001 by David Flanagan.
5256
* Motif Tools Library, Version 3.1
5259
* Written by David Flanagan.
5260
* Copyright (c) 1992-2001 by David Flanagan.
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.
5267
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5268
! * Initial checkin.
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
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.
5282
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5283
! * Initial checkin.
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
5289
! * Revision 1.2 2001/06/12 16:25:28 andre
5290
! * *** empty log message ***
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
5301
* Motif Tools Library, Version 3.1
5304
* Written by David Flanagan.
5305
* Copyright (c) 1992-2001 by David Flanagan.
5308
* Motif Tools Library, Version 3.1
5311
* Written by David Flanagan.
5312
* Copyright (c) 1992-2001 by David Flanagan.
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.
5319
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5320
! * Initial checkin.
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
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.
5334
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5335
! * Initial checkin.
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
5341
! * Revision 1.2 2001/06/12 16:25:28 andre
5342
! * *** empty log message ***
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
5353
* Motif Tools Library, Version 3.1
5356
* Written by David Flanagan.
5357
* Copyright (c) 1992-2001 by David Flanagan.
5360
* Motif Tools Library, Version 3.1
5363
* Written by David Flanagan.
5364
* Copyright (c) 1992-2001 by David Flanagan.
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.
5371
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5372
! * Initial checkin.
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
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.
5386
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5387
! * Initial checkin.
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
5393
! * Revision 1.2 2001/06/12 16:25:28 andre
5394
! * *** empty log message ***
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
5405
* Motif Tools Library, Version 3.1
5408
* Written by David Flanagan.
5409
* Copyright (c) 1992-2001 by David Flanagan.
5412
* Motif Tools Library, Version 3.1
5415
* Written by David Flanagan.
5416
* Copyright (c) 1992-2001 by David Flanagan.
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.
5423
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5424
! * Initial checkin.
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
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.
5438
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5439
! * Initial checkin.
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
5445
! * Revision 1.2 2001/06/12 16:25:28 andre
5446
! * *** empty log message ***
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
5457
* Motif Tools Library, Version 3.1
5460
* Written by David Flanagan.
5461
* Copyright (c) 1992-2001 by David Flanagan.
5464
* Motif Tools Library, Version 3.1
5467
* Written by David Flanagan.
5468
* Copyright (c) 1992-2001 by David Flanagan.
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.
5475
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5476
! * Initial checkin.
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
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.
5490
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5491
! * Initial checkin.
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
5497
! * Revision 1.2 2001/06/12 16:25:28 andre
5498
! * *** empty log message ***
5503
*************** XmtLayoutInfo *i;
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());
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());
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
5526
* Motif Tools Library, Version 3.1
5529
* Written by David Flanagan.
5530
* Copyright (c) 1992-2001 by David Flanagan.
5533
* Motif Tools Library, Version 3.1
5536
* Written by David Flanagan.
5537
* Copyright (c) 1992-2001 by David Flanagan.
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.
5544
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5545
! * Initial checkin.
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
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.
5559
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5560
! * Initial checkin.
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
5566
! * Revision 1.2 2001/06/12 16:25:28 andre
5567
! * *** empty log message ***
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
5578
* Motif Tools Library, Version 3.1
5581
* Written by David Flanagan.
5582
* Copyright (c) 1992-2001 by David Flanagan.
5585
* Motif Tools Library, Version 3.1
5588
* Written by David Flanagan.
5589
* Copyright (c) 1992-2001 by David Flanagan.
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.
5596
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5597
! * Initial checkin.
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
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.
5611
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5612
! * Initial checkin.
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
5618
! * Revision 1.2 2001/06/12 16:25:28 andre
5619
! * *** empty log message ***
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
5630
* Motif Tools Library, Version 3.1
5633
* Written by David Flanagan.
5634
* Copyright (c) 1992-2001 by David Flanagan.
5637
* Motif Tools Library, Version 3.1
5640
* Written by David Flanagan.
5641
* Copyright (c) 1992-2001 by David Flanagan.
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.
5648
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5649
! * Initial checkin.
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
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.
5663
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5664
! * Initial checkin.
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
5670
! * Revision 1.2 2001/06/12 16:25:28 andre
5671
! * *** empty log message ***
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
5682
* Motif Tools Library, Version 3.1
5685
* Written by David Flanagan.
5686
* Copyright (c) 1992-2001 by David Flanagan.
5689
* Motif Tools Library, Version 3.1
5692
* Written by David Flanagan.
5693
* Copyright (c) 1992-2001 by David Flanagan.
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.
5700
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5701
! * Initial checkin.
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
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.
5715
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5716
! * Initial checkin.
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
5722
! * Revision 1.2 2001/06/12 16:25:28 andre
5723
! * *** empty log message ***
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
5734
* Motif Tools Library, Version 3.1
5737
* Written by David Flanagan.
5738
* Copyright (c) 1992-2001 by David Flanagan.
5741
* Motif Tools Library, Version 3.1
5744
* Written by David Flanagan.
5745
* Copyright (c) 1992-2001 by David Flanagan.
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.
5752
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5753
! * Initial checkin.
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
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.
5767
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5768
! * Initial checkin.
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
5774
! * Revision 1.2 2001/06/12 16:25:28 andre
5775
! * *** empty log message ***
5780
*************** Cardinal *num_args;
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;
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;
5797
*************** Cardinal *num_args;
5800
XmtLayoutWidget lw = (XmtLayoutWidget) XtParent(set);
5801
Boolean redisplay = False;
5802
Boolean relayout = False;
5803
+ Dimension cs_width, cs_height;
5805
if (ss->layout_string.label_string != cs->layout_string.label_string) {
5806
if (cs->layout_string.label_string)
5807
*************** Cardinal *num_args;
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)
5822
else if (ss->layout_string.label != empty_string) {
5823
if (cs->layout_string.label_string)
5824
*************** Cardinal *num_args;
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)
5840
if (ss->layout_string.foreground != cs->layout_string.foreground) {
5841
*************** Cardinal *num_args;
5843
* (This is one of the gross Motif hacks, described in Layout.c)
5844
* So we generate an Expose event ourselves.
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,
5855
* (This is one of the gross Motif hacks, described in Layout.c)
5856
* So we generate an Expose event ourselves.
5858
! if (redisplay && XtIsRealized((Widget)lw)) {
5859
! Redisplay((Widget)ss, (XEvent *)NULL, (Region)NULL);
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,
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
5876
* Motif Tools Library, Version 3.1
5879
* Written by David Flanagan.
5880
* Copyright (c) 1992-2001 by David Flanagan.
5883
* Motif Tools Library, Version 3.1
5886
* Written by David Flanagan.
5887
* Copyright (c) 1992-2001 by David Flanagan.
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.
5894
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5895
! * Initial checkin.
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
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.
5909
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5910
! * Initial checkin.
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
5916
! * Revision 1.2 2001/06/12 16:25:28 andre
5917
! * *** empty log message ***
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
5928
* Motif Tools Library, Version 3.1
5931
* Written by David Flanagan.
5932
* Copyright (c) 1992-2001 by David Flanagan.
5935
* Motif Tools Library, Version 3.1
5938
* Written by David Flanagan.
5939
* Copyright (c) 1992-2001 by David Flanagan.
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.
5946
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5947
! * Initial checkin.
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
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.
5961
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5962
! * Initial checkin.
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
5968
! * Revision 1.2 2001/06/12 16:25:28 andre
5969
! * *** empty log message ***
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
5980
* Motif Tools Library, Version 3.1
5983
* Written by David Flanagan.
5984
* Copyright (c) 1992-2001 by David Flanagan.
5987
* Motif Tools Library, Version 3.1
5990
* Written by David Flanagan.
5991
* Copyright (c) 1992-2001 by David Flanagan.
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.
5998
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
5999
! * Initial checkin.
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
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.
6013
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6014
! * Initial checkin.
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
6020
! * Revision 1.2 2001/06/12 16:25:28 andre
6021
! * *** empty log message ***
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
6032
* Motif Tools Library, Version 3.1
6035
* Written by David Flanagan.
6036
* Copyright (c) 1992-2001 by David Flanagan.
6039
* Motif Tools Library, Version 3.1
6042
* Written by David Flanagan.
6043
* Copyright (c) 1992-2001 by David Flanagan.
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.
6050
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6051
! * Initial checkin.
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
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.
6065
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6066
! * Initial checkin.
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
6072
! * Revision 1.2 2001/06/12 16:25:28 andre
6073
! * *** empty log message ***
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
6084
* Motif Tools Library, Version 3.1
6087
* Written by David Flanagan.
6088
* Copyright (c) 1992-2001 by David Flanagan.
6091
* Motif Tools Library, Version 3.1
6094
* Written by David Flanagan.
6095
* Copyright (c) 1992-2001 by David Flanagan.
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.
6102
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6103
! * Initial checkin.
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
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.
6117
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6118
! * Initial checkin.
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
6124
! * Revision 1.2 2001/06/12 16:25:28 andre
6125
! * *** empty log message ***
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
6136
+ # Changes by _AA 20.7.95
6137
+ # A changed version of the Xmt Makefile.aimk for
6139
+ # The objects are build in the corresponding arch directory
6140
+ # The CFLAGS,XCFLAGS and the SDIR variable are delivered by aimk
6142
+ XMT_SDIR = ../Xmt310/Xmt
6144
+ XMTFLAGS = $(CFLAGS) -I../Xmt310
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
6346
+ XMT_UNSHAREDOBJS = \
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 \
6411
+ XMTLIB = libXmt$(LIBEXT)
6415
+ libXmt.a: $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
6416
+ $(AR) $(ARFLAGS) libXmt.a $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
6417
+ $(RANLIB) libXmt.a
6419
+ libXmt$(SHAREDEXT): $(XMT_OBJS) $(XMT_UNSHAREDOBJS)
6420
+ $(SHAREDLD) $(XLFLAGS) $(SHARED_LFLAGS) -o libXmt$(SHAREDEXT) $(XMT_OBJS) $(XMT_UNSHAREDOBJS) $(XLIBS)
6422
+ #.c.o: $(SRCS) $(XMT_HEADERS)
6423
+ # $(CC) -c $(CFLAGS) $*.c
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
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
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
6644
* Motif Tools Library, Version 3.1
6647
* Written by David Flanagan.
6648
* Copyright (c) 1992-2001 by David Flanagan.
6651
* Motif Tools Library, Version 3.1
6654
* Written by David Flanagan.
6655
* Copyright (c) 1992-2001 by David Flanagan.
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.
6662
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6663
! * Initial checkin.
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
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.
6677
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6678
! * Initial checkin.
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
6684
! * Revision 1.2 2001/06/12 16:25:28 andre
6685
! * *** empty log message ***
6690
*************** Cardinal num_items;
6693
Arg args[10], submenu_args[10];
6695
! XmString accel_label;
6696
char namebuf[10], submenu_buf[20];
6697
char *name, *submenu_name;
6698
int numlabel, numpush, numtoggle, numsep, numsub;
6701
Arg args[10], submenu_args[10];
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;
6709
item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
6710
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
6712
! else item->label1 = XmtCreateXmString(item->alt_label);
6715
/* if there is a normal label, create the XmString or pixmap */
6717
item->label1 = (XmString)XmUNSPECIFIED_PIXMAP;
6718
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
6720
! else item->label1 = XmtCreateLocalizedXmString(w, item->alt_label);
6723
/* if there is a normal label, create the XmString or pixmap */
6724
*************** Cardinal num_items;
6726
item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
6727
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
6729
! else item->label0 = XmtCreateXmString(item->label);
6734
item->label0 = (XmString)XmUNSPECIFIED_PIXMAP;
6735
XtConvertAndStore(w, XtRString, &from, XtRPixmap, &to);
6737
! else item->label0 = XmtCreateLocalizedXmString(w, item->label);
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
6747
* Motif Tools Library, Version 3.1
6750
* Written by David Flanagan.
6751
* Copyright (c) 1992-2001 by David Flanagan.
6754
* Motif Tools Library, Version 3.1
6757
* Written by David Flanagan.
6758
* Copyright (c) 1992-2001 by David Flanagan.
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.
6765
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6766
! * Initial checkin.
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
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.
6780
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6781
! * Initial checkin.
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
6787
! * Revision 1.2 2001/06/12 16:25:28 andre
6788
! * *** empty log message ***
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
6799
* Motif Tools Library, Version 3.1
6802
* Written by David Flanagan.
6803
* Copyright (c) 1992-2001 by David Flanagan.
6806
* Motif Tools Library, Version 3.1
6809
* Written by David Flanagan.
6810
* Copyright (c) 1992-2001 by David Flanagan.
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.
6817
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6818
! * Initial checkin.
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
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.
6832
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6833
! * Initial checkin.
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
6839
! * Revision 1.2 2001/06/12 16:25:28 andre
6840
! * *** empty log message ***
6845
*************** XmtMenuItem *item;
6847
tok = XmtLexerGetToken(l);
6848
if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
6849
char *callback_string;
6854
if (tok == XmtLexerIdent) { /* a single callback */
6855
/* back up by the length of the current identifier */
6857
tok = XmtLexerGetToken(l);
6858
if ((tok == XmtLexerIdent) || (tok == XmtLexerLBrace)) { /* a callback */
6859
char *callback_string;
6862
! Boolean stat = False;
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
6872
* Motif Tools Library, Version 3.1
6875
* Written by David Flanagan.
6876
* Copyright (c) 1992-2001 by David Flanagan.
6879
* Motif Tools Library, Version 3.1
6882
* Written by David Flanagan.
6883
* Copyright (c) 1992-2001 by David Flanagan.
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.
6890
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6891
! * Initial checkin.
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
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.
6905
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6906
! * Initial checkin.
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
6912
! * Revision 1.2 2001/06/12 16:25:28 andre
6913
! * *** empty log message ***
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
6924
* Motif Tools Library, Version 3.1
6927
* Written by David Flanagan.
6928
* Copyright (c) 1992-2001 by David Flanagan.
6931
* Motif Tools Library, Version 3.1
6934
* Written by David Flanagan.
6935
* Copyright (c) 1992-2001 by David Flanagan.
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.
6942
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6943
! * Initial checkin.
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
6951
#include <X11/Intrinsic.h>
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.
6957
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6958
! * Initial checkin.
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
6964
! * Revision 1.2 2001/06/12 16:25:28 andre
6965
! * *** empty log message ***
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
6976
* Motif Tools Library, Version 3.1
6979
* Written by David Flanagan.
6980
* Copyright (c) 1992-2001 by David Flanagan.
6983
* Motif Tools Library, Version 3.1
6986
* Written by David Flanagan.
6987
* Copyright (c) 1992-2001 by David Flanagan.
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.
6994
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
6995
! * Initial checkin.
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
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.
7009
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7010
! * Initial checkin.
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
7016
! * Revision 1.2 2001/06/12 16:25:28 andre
7017
! * *** empty log message ***
7025
#include <Xm/IconG.h>
7026
#include <Xm/Notebook.h>
7027
#include <Xm/SpinB.h>
7028
+ #include <Xm/ComboBox.h>
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
7038
* Motif Tools Library, Version 3.1
7041
* Written by David Flanagan.
7042
* Copyright (c) 1992-2001 by David Flanagan.
7045
* Motif Tools Library, Version 3.1
7048
* Written by David Flanagan.
7049
* Copyright (c) 1992-2001 by David Flanagan.
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.
7056
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7057
! * Initial checkin.
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
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.
7071
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7072
! * Initial checkin.
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
7078
! * Revision 1.2 2001/06/12 16:25:28 andre
7079
! * *** empty log message ***
7084
*************** XtPointer tag, data;
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);
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;
7105
MsgDialogCache *cache;
7106
! Widget dialog, help_button;
7109
/* the first time, create the hash table */
7113
MsgDialogCache *cache;
7114
! Widget dialog = 0, help_button;
7117
/* the first time, create the hash table */
7118
*************** int style;
7122
/* create XmStrings */
7123
! msg = XmtCreateXmString(data.message);
7124
! title = XmtCreateXmString(data.title);
7127
* reset the type of the dialog so that the next call will change it.
7131
/* create XmStrings */
7132
! msg = XmtCreateLocalizedXmString(w, data.message);
7133
! title = XmtCreateLocalizedXmString(w, data.title);
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
7143
* Motif Tools Library, Version 3.1
7146
* Written by David Flanagan.
7147
* Copyright (c) 1992-2001 by David Flanagan.
7150
* Motif Tools Library, Version 3.1
7153
* Written by David Flanagan.
7154
* Copyright (c) 1992-2001 by David Flanagan.
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.
7161
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7162
! * Initial checkin.
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
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.
7176
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7177
! * Initial checkin.
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
7183
! * Revision 1.2 2001/06/12 16:25:28 andre
7184
! * *** empty log message ***
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
7195
* Motif Tools Library, Version 3.1
7198
* Written by David Flanagan.
7199
* Copyright (c) 1992-2001 by David Flanagan.
7202
* Motif Tools Library, Version 3.1
7205
* Written by David Flanagan.
7206
* Copyright (c) 1992-2001 by David Flanagan.
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.
7213
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7214
! * Initial checkin.
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
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.
7228
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7229
! * Initial checkin.
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
7235
! * Revision 1.2 2001/06/12 16:25:28 andre
7236
! * *** empty log message ***
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
7247
* Motif Tools Library, Version 3.1
7250
* Written by David Flanagan.
7251
* Copyright (c) 1992-2001 by David Flanagan.
7254
* Motif Tools Library, Version 3.1
7257
* Written by David Flanagan.
7258
* Copyright (c) 1992-2001 by David Flanagan.
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.
7265
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7266
! * Initial checkin.
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
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.
7280
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7281
! * Initial checkin.
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
7287
! * Revision 1.2 2001/06/12 16:25:28 andre
7288
! * *** empty log message ***
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
7299
* Motif Tools Library, Version 3.1
7302
* Written by David Flanagan.
7303
* Copyright (c) 1992-2001 by David Flanagan.
7306
* Motif Tools Library, Version 3.1
7309
* Written by David Flanagan.
7310
* Copyright (c) 1992-2001 by David Flanagan.
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.
7317
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7318
! * Initial checkin.
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
7326
#include <X11/Intrinsic.h>
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.
7332
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7333
! * Initial checkin.
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
7339
! * Revision 1.2 2001/06/12 16:25:28 andre
7340
! * *** empty log message ***
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
7351
* Motif Tools Library, Version 3.1
7354
* Written by David Flanagan.
7355
* Copyright (c) 1992-2001 by David Flanagan.
7358
* Motif Tools Library, Version 3.1
7361
* Written by David Flanagan.
7362
* Copyright (c) 1992-2001 by David Flanagan.
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.
7369
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7370
! * Initial checkin.
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
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.
7384
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7385
! * Initial checkin.
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
7391
! * Revision 1.2 2001/06/12 16:25:28 andre
7392
! * *** empty log message ***
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
7403
* Motif Tools Library, Version 3.1
7406
* Written by David Flanagan.
7407
* Copyright (c) 1992-2001 by David Flanagan.
7410
* Motif Tools Library, Version 3.1
7413
* Written by David Flanagan.
7414
* Copyright (c) 1992-2001 by David Flanagan.
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.
7421
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7422
! * Initial checkin.
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
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.
7436
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7437
! * Initial checkin.
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
7443
! * Revision 1.2 2001/06/12 16:25:28 andre
7444
! * *** empty log message ***
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
7455
* Motif Tools Library, Version 3.1
7458
* Written by David Flanagan.
7459
* Copyright (c) 1992-2001 by David Flanagan.
7462
* Motif Tools Library, Version 3.1
7465
* Written by David Flanagan.
7466
* Copyright (c) 1992-2001 by David Flanagan.
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.
7473
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7474
! * Initial checkin.
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
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.
7488
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7489
! * Initial checkin.
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
7495
! * Revision 1.2 2001/06/12 16:25:28 andre
7496
! * *** empty log message ***
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
7507
* Motif Tools Library, Version 3.1
7510
* Written by David Flanagan.
7511
* Copyright (c) 1992-2001 by David Flanagan.
7514
* Motif Tools Library, Version 3.1
7517
* Written by David Flanagan.
7518
* Copyright (c) 1992-2001 by David Flanagan.
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.
7525
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7526
! * Initial checkin.
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
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.
7540
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7541
! * Initial checkin.
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
7547
! * Revision 1.2 2001/06/12 16:25:28 andre
7548
! * *** empty log message ***
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
7559
* Motif Tools Library, Version 3.1
7562
* Written by David Flanagan.
7563
* Copyright (c) 1992-2001 by David Flanagan.
7566
* Motif Tools Library, Version 3.1
7569
* Written by David Flanagan.
7570
* Copyright (c) 1992-2001 by David Flanagan.
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.
7577
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7578
! * Initial checkin.
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
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.
7592
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7593
! * Initial checkin.
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
7599
! * Revision 1.2 2001/06/12 16:25:28 andre
7600
! * *** empty log message ***
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
7611
* Motif Tools Library, Version 3.1
7614
* Written by David Flanagan.
7615
* Copyright (c) 1992-2001 by David Flanagan.
7618
* Motif Tools Library, Version 3.1
7621
* Written by David Flanagan.
7622
* Copyright (c) 1992-2001 by David Flanagan.
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.
7629
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7630
! * Initial checkin.
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
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.
7644
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7645
! * Initial checkin.
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
7651
! * Revision 1.2 2001/06/12 16:25:28 andre
7652
! * *** empty log message ***
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
7663
* Motif Tools Library, Version 3.1
7666
* Written by David Flanagan.
7667
* Copyright (c) 1992-2001 by David Flanagan.
7670
* Motif Tools Library, Version 3.1
7673
* Written by David Flanagan.
7674
* Copyright (c) 1992-2001 by David Flanagan.
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.
7681
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7682
! * Initial checkin.
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
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.
7696
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7697
! * Initial checkin.
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
7703
! * Revision 1.2 2001/06/12 16:25:28 andre
7704
! * *** empty log message ***
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
7715
* Motif Tools Library, Version 3.1
7718
* Written by David Flanagan.
7719
* Copyright (c) 1992-2001 by David Flanagan.
7722
* Motif Tools Library, Version 3.1
7725
* Written by David Flanagan.
7726
* Copyright (c) 1992-2001 by David Flanagan.
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.
7733
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7734
! * Initial checkin.
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
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.
7748
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7749
! * Initial checkin.
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
7755
! * Revision 1.2 2001/06/12 16:25:28 andre
7756
! * *** empty log message ***
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
7767
* Motif Tools Library, Version 3.1
7770
* Written by David Flanagan.
7771
* Copyright (c) 1992-2001 by David Flanagan.
7774
* Motif Tools Library, Version 3.1
7777
* Written by David Flanagan.
7778
* Copyright (c) 1992-2001 by David Flanagan.
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.
7785
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7786
! * Initial checkin.
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
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.
7800
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7801
! * Initial checkin.
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
7807
! * Revision 1.2 2001/06/12 16:25:28 andre
7808
! * *** empty log message ***
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
7819
* Motif Tools Library, Version 3.1
7822
* Written by David Flanagan.
7823
* Copyright (c) 1992-2001 by David Flanagan.
7826
* Motif Tools Library, Version 3.1
7829
* Written by David Flanagan.
7830
* Copyright (c) 1992-2001 by David Flanagan.
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.
7837
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7838
! * Initial checkin.
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
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.
7852
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7853
! * Initial checkin.
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
7859
! * Revision 1.2 2001/06/12 16:25:28 andre
7860
! * *** empty log message ***
7865
*************** void _XmtInitQuarks(void)
7867
void _XmtInitQuarks()
7870
! static inited = False;
7872
if (inited == False) {
7875
void _XmtInitQuarks()
7878
! static Boolean inited = False;
7880
if (inited == False) {
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
7888
* Motif Tools Library, Version 3.1
7891
* Written by David Flanagan.
7892
* Copyright (c) 1992-2001 by David Flanagan.
7895
* Motif Tools Library, Version 3.1
7898
* Written by David Flanagan.
7899
* Copyright (c) 1992-2001 by David Flanagan.
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.
7906
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7907
! * Initial checkin.
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
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.
7921
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7922
! * Initial checkin.
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
7928
! * Revision 1.2 2001/06/12 16:25:28 andre
7929
! * *** empty log message ***
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
7940
* Motif Tools Library, Version 3.1
7943
* Written by David Flanagan.
7944
* Copyright (c) 1992-2001 by David Flanagan.
7947
* Motif Tools Library, Version 3.1
7950
* Written by David Flanagan.
7951
* Copyright (c) 1992-2001 by David Flanagan.
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.
7958
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7959
! * Initial checkin.
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
7969
* RGB <--> HSL conversions were modified from code with the
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.
7975
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
7976
! * Initial checkin.
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
7982
! * Revision 1.2 2001/06/12 16:25:28 andre
7983
! * *** empty log message ***
7988
+ #include <Xmt/Xmt.h>
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
7998
* Motif Tools Library, Version 3.1
8001
* Written by David Flanagan.
8002
* Copyright (c) 1992-2001 by David Flanagan.
8005
* Motif Tools Library, Version 3.1
8008
* Written by David Flanagan.
8009
* Copyright (c) 1992-2001 by David Flanagan.
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.
8016
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8017
! * Initial checkin.
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
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.
8031
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8032
! * Initial checkin.
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
8038
! * Revision 1.2 2001/06/12 16:25:28 andre
8039
! * *** empty log message ***
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
8050
* Motif Tools Library, Version 3.1
8053
* Written by David Flanagan.
8054
* Copyright (c) 1992-2001 by David Flanagan.
8057
* Motif Tools Library, Version 3.1
8060
* Written by David Flanagan.
8061
* Copyright (c) 1992-2001 by David Flanagan.
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.
8068
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8069
! * Initial checkin.
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
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.
8083
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8084
! * Initial checkin.
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
8090
! * Revision 1.2 2001/06/12 16:25:28 andre
8091
! * *** empty log message ***
8096
*************** typedef struct {
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
8116
* Motif Tools Library, Version 3.1
8119
* Written by David Flanagan.
8120
* Copyright (c) 1992-2001 by David Flanagan.
8123
* Motif Tools Library, Version 3.1
8126
* Written by David Flanagan.
8127
* Copyright (c) 1992-2001 by David Flanagan.
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.
8134
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8135
! * Initial checkin.
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
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.
8149
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8150
! * Initial checkin.
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
8156
! * Revision 1.2 2001/06/12 16:25:28 andre
8157
! * *** empty log message ***
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
8168
* Motif Tools Library, Version 3.1
8171
* Written by David Flanagan.
8172
* Copyright (c) 1992-2001 by David Flanagan.
8175
* Motif Tools Library, Version 3.1
8178
* Written by David Flanagan.
8179
* Copyright (c) 1992-2001 by David Flanagan.
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.
8186
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8187
! * Initial checkin.
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
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.
8201
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8202
! * Initial checkin.
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
8208
! * Revision 1.2 2001/06/12 16:25:28 andre
8209
! * *** empty log message ***
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
8220
* Motif Tools Library, Version 3.1
8223
* Written by David Flanagan.
8224
* Copyright (c) 1992-2001 by David Flanagan.
8227
* Motif Tools Library, Version 3.1
8230
* Written by David Flanagan.
8231
* Copyright (c) 1992-2001 by David Flanagan.
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.
8238
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8239
! * Initial checkin.
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
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.
8253
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8254
! * Initial checkin.
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
8260
! * Revision 1.2 2001/06/12 16:25:28 andre
8261
! * *** empty log message ***
8266
*************** XtCallbackProc proc;
8271
! static Atom wm_delete_window;
8273
if (!wm_delete_window) {
8274
wm_delete_window = XmInternAtom(XtDisplay(shell),
8279
! static Atom wm_delete_window = 0;
8281
if (!wm_delete_window) {
8282
wm_delete_window = XmInternAtom(XtDisplay(shell),
8283
*************** typedef enum {
8285
#define XmtRFocusStyle "FocusStyle"
8287
static String focus_names[] = { "focus", "move", "none", "warp"};
8288
! static int focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
8290
static XtResource focus_resources[] = {
8291
{XmtNfocusStyle, XmtCFocusStyle, XmtRFocusStyle,
8293
#define XmtRFocusStyle "FocusStyle"
8295
static String focus_names[] = { "focus", "move", "none", "warp"};
8296
! static Cardinal focus_values[] = {FocusSetInput, FocusMove, FocusNone, FocusWarp};
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
8306
* Motif Tools Library, Version 3.1
8309
* Written by David Flanagan.
8310
* Copyright (c) 1992-2001 by David Flanagan.
8313
* Motif Tools Library, Version 3.1
8316
* Written by David Flanagan.
8317
* Copyright (c) 1992-2001 by David Flanagan.
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.
8324
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8325
! * Initial checkin.
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
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.
8339
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8340
! * Initial checkin.
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
8346
! * Revision 1.2 2001/06/12 16:25:28 andre
8347
! * *** empty log message ***
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
8358
* Motif Tools Library, Version 3.1
8361
* Written by David Flanagan.
8362
* Copyright (c) 1992-2001 by David Flanagan.
8365
* Motif Tools Library, Version 3.1
8368
* Written by David Flanagan.
8369
* Copyright (c) 1992-2001 by David Flanagan.
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.
8376
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8377
! * Initial checkin.
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
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.
8391
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8392
! * Initial checkin.
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
8398
! * Revision 1.2 2001/06/12 16:25:28 andre
8399
! * *** empty log message ***
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
8410
* Motif Tools Library, Version 3.1
8413
* Written by David Flanagan.
8414
* Copyright (c) 1992-2001 by David Flanagan.
8417
* Motif Tools Library, Version 3.1
8420
* Written by David Flanagan.
8421
* Copyright (c) 1992-2001 by David Flanagan.
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.
8428
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8429
! * Initial checkin.
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
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.
8443
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8444
! * Initial checkin.
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
8450
! * Revision 1.2 2001/06/12 16:25:28 andre
8451
! * *** empty log message ***
8459
#include <Xmt/QuarksP.h>
8460
#include <X11/IntrinsicP.h>
8462
+ #if NeedFunctionPrototypes
8463
+ void _XtCopyToArg(XtPointer, XtArgVal *, Cardinal);
8464
+ void _XtCopyFromArg(XtArgVal, XtPointer, Cardinal);
8466
+ void _XtCopyToArg();
8467
+ void _XtCopyFromArg();
8471
* values for the XmtSymbolRec mode field.
8473
*************** XtArgVal value;
8477
XmtSymbolCallbackRec *p;
8478
- extern void _XtCopyFromArg();
8483
*************** Cardinal size;
8486
XtArgVal converted_value;
8488
- extern void _XtCopyToArg();
8491
* if the types match, just call XmtSymbolSetValue().
8493
*************** XmtSymbol s;
8498
- extern void _XtCopyToArg();
8501
* Special case for XmtRBuffer type symbols.
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
8509
* Motif Tools Library, Version 3.1
8512
* Written by David Flanagan.
8513
* Copyright (c) 1992-2001 by David Flanagan.
8516
* Motif Tools Library, Version 3.1
8519
* Written by David Flanagan.
8520
* Copyright (c) 1992-2001 by David Flanagan.
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.
8527
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8528
! * Initial checkin.
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
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.
8542
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8543
! * Initial checkin.
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
8549
! * Revision 1.2 2001/06/12 16:25:28 andre
8550
! * *** empty log message ***
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
8561
* Motif Tools Library, Version 3.1
8564
* Written by David Flanagan.
8565
* Copyright (c) 1992-2001 by David Flanagan.
8568
* Motif Tools Library, Version 3.1
8571
* Written by David Flanagan.
8572
* Copyright (c) 1992-2001 by David Flanagan.
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.
8579
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8580
! * Initial checkin.
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
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.
8594
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8595
! * Initial checkin.
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
8601
! * Revision 1.2 2001/06/12 16:25:28 andre
8602
! * *** empty log message ***
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
8613
* Motif Tools Library, Version 3.1
8616
* Written by David Flanagan.
8617
* Copyright (c) 1992-2001 by David Flanagan.
8620
* Motif Tools Library, Version 3.1
8623
* Written by David Flanagan.
8624
* Copyright (c) 1992-2001 by David Flanagan.
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.
8631
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8632
! * Initial checkin.
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
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.
8646
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8647
! * Initial checkin.
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
8653
! * Revision 1.2 2001/06/12 16:25:28 andre
8654
! * *** empty log message ***
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
8665
* Motif Tools Library, Version 3.1
8668
* Written by David Flanagan.
8669
* Copyright (c) 1992-2001 by David Flanagan.
8672
* Motif Tools Library, Version 3.1
8675
* Written by David Flanagan.
8676
* Copyright (c) 1992-2001 by David Flanagan.
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.
8683
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8684
! * Initial checkin.
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
8694
#include <Xmt/Xmt.h>
8695
#include <Xmt/Procedures.h>
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.
8702
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8703
! * Initial checkin.
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
8709
! * Revision 1.2 2001/06/12 16:25:28 andre
8710
! * *** empty log message ***
8716
+ #include <X11/Xos.h>
8717
#include <Xmt/Xmt.h>
8718
#include <Xmt/Procedures.h>
8726
- /* these aren't declared in SunOS 4.1.1 */
8727
- extern int puts();
8728
- extern int system();
8731
static XmtProcedureInfo unix_procedures[] = {
8732
{"puts", (XmtProcedure)puts, {XtRString}},
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
8740
* Motif Tools Library, Version 3.1
8743
* Written by David Flanagan.
8744
* Copyright (c) 1992-2001 by David Flanagan.
8747
* Motif Tools Library, Version 3.1
8750
* Written by David Flanagan.
8751
* Copyright (c) 1992-2001 by David Flanagan.
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.
8758
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8759
! * Initial checkin.
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
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.
8773
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8774
! * Initial checkin.
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
8780
! * Revision 1.2 2001/06/12 16:25:28 andre
8781
! * *** empty log message ***
8786
*************** extern Widget XmtGetShell(Widget) gcc_co
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);
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();
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();
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
8832
* Motif Tools Library, Version 3.1
8835
* Written by David Flanagan.
8836
* Copyright (c) 1992-2001 by David Flanagan.
8839
* Motif Tools Library, Version 3.1
8842
* Written by David Flanagan.
8843
* Copyright (c) 1992-2001 by David Flanagan.
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.
8850
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8851
! * Initial checkin.
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
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.
8865
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8866
! * Initial checkin.
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
8872
! * Revision 1.2 2001/06/12 16:25:28 andre
8873
! * *** empty log message ***
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
8884
* Motif Tools Library, Version 3.1
8887
* Written by David Flanagan.
8888
* Copyright (c) 1992-2001 by David Flanagan.
8891
* Motif Tools Library, Version 3.1
8894
* Written by David Flanagan.
8895
* Copyright (c) 1992-2001 by David Flanagan.
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.
8902
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8903
! * Initial checkin.
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
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.
8917
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8918
! * Initial checkin.
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
8924
! * Revision 1.2 2001/06/12 16:25:28 andre
8925
! * *** empty log message ***
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
8936
* Motif Tools Library, Version 3.1
8939
* Written by David Flanagan.
8940
* Copyright (c) 1992-2001 by David Flanagan.
8943
* Motif Tools Library, Version 3.1
8946
* Written by David Flanagan.
8947
* Copyright (c) 1992-2001 by David Flanagan.
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.
8954
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8955
! * Initial checkin.
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
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.
8969
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
8970
! * Initial checkin.
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
8976
! * Revision 1.2 2001/06/12 16:25:28 andre
8977
! * *** empty log message ***
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
8988
* Motif Tools Library, Version 3.1
8991
* Written by David Flanagan.
8992
* Copyright (c) 1992-2001 by David Flanagan.
8995
* Motif Tools Library, Version 3.1
8998
* Written by David Flanagan.
8999
* Copyright (c) 1992-2001 by David Flanagan.
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.
9006
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9007
! * Initial checkin.
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
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.
9021
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9022
! * Initial checkin.
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
9028
! * Revision 1.2 2001/06/12 16:25:28 andre
9029
! * *** empty log message ***
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
9040
* Motif Tools Library, Version 3.1
9043
* Written by David Flanagan.
9044
* Copyright (c) 1992-2001 by David Flanagan.
9047
* Motif Tools Library, Version 3.1
9050
* Written by David Flanagan.
9051
* Copyright (c) 1992-2001 by David Flanagan.
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.
9058
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9059
! * Initial checkin.
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
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.
9073
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9074
! * Initial checkin.
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
9080
! * Revision 1.2 2001/06/12 16:25:28 andre
9081
! * *** empty log message ***
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
9092
* Motif Tools Library, Version 3.1
9095
* Written by David Flanagan.
9096
* Copyright (c) 1992-2001 by David Flanagan.
9099
* Motif Tools Library, Version 3.1
9102
* Written by David Flanagan.
9103
* Copyright (c) 1992-2001 by David Flanagan.
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.
9110
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9111
! * Initial checkin.
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
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.
9125
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9126
! * Initial checkin.
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
9132
! * Revision 1.2 2001/06/12 16:25:28 andre
9133
! * *** empty log message ***
9138
*************** extern void XmtRegisterXmScrolledText(vo
9141
extern void XmtRegisterXmTextField(void);
9142
extern void XmtRegisterXmToggleButton(void);
9143
extern void XmtRegisterXmScale(void);
9144
+ #if XmVersion >= 2000
9145
+ extern void XmtRegisterXmComboBox(void);
9148
extern void XmtRegisterWidgetClass();
9149
extern void XmtRegisterWidgetConstructor();
9150
*************** extern void XmtRegisterXmScrolledText();
9153
extern void XmtRegisterXmTextField();
9154
extern void XmtRegisterXmToggleButton();
9155
extern void XmtRegisterXmScale();
9157
+ #if XmVersion >= 2000
9158
+ extern void XmtRegisterXmComboBox();
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
9170
* Motif Tools Library, Version 3.1
9173
* Written by David Flanagan.
9174
* Copyright (c) 1992-2001 by David Flanagan.
9177
* Motif Tools Library, Version 3.1
9180
* Written by David Flanagan.
9181
* Copyright (c) 1992-2001 by David Flanagan.
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.
9188
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9189
! * Initial checkin.
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
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.
9203
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9204
! * Initial checkin.
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
9210
! * Revision 1.2 2001/06/12 16:25:28 andre
9211
! * *** empty log message ***
9216
*************** int show_button;
9218
data.title = default_title;
9221
! title = XmtCreateXmString(data.title);
9222
XtVaSetValues(info->working_dialog,
9223
XmtNmessage, data.message,
9224
XmtNscaleLabel, data.scale_label,
9226
data.title = default_title;
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
9239
* Motif Tools Library, Version 3.1
9242
* Written by David Flanagan.
9243
* Copyright (c) 1992-2001 by David Flanagan.
9246
* Motif Tools Library, Version 3.1
9249
* Written by David Flanagan.
9250
* Copyright (c) 1992-2001 by David Flanagan.
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.
9257
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9258
! * Initial checkin.
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
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.
9272
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9273
! * Initial checkin.
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
9279
! * Revision 1.2 2001/06/12 16:25:28 andre
9280
! * *** empty log message ***
9285
*************** Cardinal *num_args;
9288
* create the widgets
9290
! label = XmtCreateXmString(wd->working_box.message);
9291
pixmap = XtVaCreateManagedWidget("icon", xmtLayoutPixmapGadgetClass, init,
9292
XmtNpixmap, wd->working_box.icon,
9293
XmtNlayoutCaption, label,
9296
* create the widgets
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;
9305
XmStringFree(label);
9307
! label = XmtCreateXmString(wd->working_box.scale_label);
9308
scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
9309
XmNorientation, XmHORIZONTAL,
9313
XmStringFree(label);
9315
! label = XmtCreateLocalizedXmString((Widget)wd, wd->working_box.scale_label);
9316
scale = XtVaCreateWidget("scale", xmScaleWidgetClass, init,
9317
XmNorientation, XmHORIZONTAL,
9319
*************** Cardinal *num_args;
9321
xmtLayoutSeparatorGadgetClass, init,
9324
! label = XmtCreateXmString(wd->working_box.button_label);
9325
button = XtVaCreateWidget("button", xmPushButtonWidgetClass, init,
9326
XmNlabelString, label,
9327
XmtNlayoutJustification, XmtLayoutFlushRight,
9329
xmtLayoutSeparatorGadgetClass, init,
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;
9339
if (sw->working_box.message != empty_string) {
9340
if (sw->working_box.message)
9341
! label = XmtCreateXmString(sw->working_box.message);
9344
XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
9347
if (sw->working_box.message != empty_string) {
9348
if (sw->working_box.message)
9349
! label = XmtCreateLocalizedXmString((Widget)sw, sw->working_box.message);
9352
XtVaSetValues(sw->working_box.pixmap, XmtNlayoutCaption, label, NULL);
9353
*************** Cardinal *num_args;
9356
if (sw->working_box.scale_label != empty_string) {
9357
if (sw->working_box.scale_label)
9358
! label = XmtCreateXmString(sw->working_box.scale_label);
9361
XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
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);
9369
XtVaSetValues(sw->working_box.scale, XmtNlayoutCaption, label, NULL);
9370
*************** Cardinal *num_args;
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);
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);
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
9393
* Motif Tools Library, Version 3.1
9396
* Written by David Flanagan.
9397
* Copyright (c) 1992-2001 by David Flanagan.
9400
* Motif Tools Library, Version 3.1
9403
* Written by David Flanagan.
9404
* Copyright (c) 1992-2001 by David Flanagan.
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.
9411
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9412
! * Initial checkin.
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
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.
9426
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9427
! * Initial checkin.
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
9433
! * Revision 1.2 2001/06/12 16:25:28 andre
9434
! * *** empty log message ***
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
9445
* Motif Tools Library, Version 3.1
9448
* Written by David Flanagan.
9449
* Copyright (c) 1992-2001 by David Flanagan.
9452
* Motif Tools Library, Version 3.1
9455
* Written by David Flanagan.
9456
* Copyright (c) 1992-2001 by David Flanagan.
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.
9463
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9464
! * Initial checkin.
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
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.
9478
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9479
! * Initial checkin.
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
9485
! * Revision 1.2 2001/06/12 16:25:28 andre
9486
! * *** empty log message ***
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
9497
* Motif Tools Library, Version 3.1
9500
* Written by David Flanagan.
9501
* Copyright (c) 1992-2001 by David Flanagan.
9504
* Motif Tools Library, Version 3.1
9507
* Written by David Flanagan.
9508
* Copyright (c) 1992-2001 by David Flanagan.
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.
9515
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9516
! * Initial checkin.
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
9524
#include <X11/Intrinsic.h>
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.
9530
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9531
! * Initial checkin.
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
9537
! * Revision 1.2 2001/06/12 16:25:28 andre
9538
! * *** empty log message ***
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
9549
* Motif Tools Library, Version 3.1
9552
* Written by David Flanagan.
9553
* Copyright (c) 1992-2001 by David Flanagan.
9556
* Motif Tools Library, Version 3.1
9559
* Written by David Flanagan.
9560
* Copyright (c) 1992-2001 by David Flanagan.
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.
9567
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9568
! * Initial checkin.
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
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.
9582
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9583
! * Initial checkin.
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
9589
! * Revision 1.2 2001/06/12 16:25:28 andre
9590
! * *** empty log message ***
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
9601
* Motif Tools Library, Version 3.1
9604
* Written by David Flanagan.
9605
* Copyright (c) 1992-2001 by David Flanagan.
9608
* Motif Tools Library, Version 3.1
9611
* Written by David Flanagan.
9612
* Copyright (c) 1992-2001 by David Flanagan.
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.
9619
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9620
! * Initial checkin.
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
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.
9634
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9635
! * Initial checkin.
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
9641
! * Revision 1.2 2001/06/12 16:25:28 andre
9642
! * *** empty log message ***
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
9653
* Motif Tools Library, Version 3.1
9656
* Written by David Flanagan.
9657
* Copyright (c) 1992-2001 by David Flanagan.
9660
* Motif Tools Library, Version 3.1
9663
* Written by David Flanagan.
9664
* Copyright (c) 1992-2001 by David Flanagan.
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.
9671
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9672
! * Initial checkin.
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
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.
9686
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9687
! * Initial checkin.
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
9693
! * Revision 1.2 2001/06/12 16:25:28 andre
9694
! * *** empty log message ***
9699
*************** Cardinal size;
9702
if (type == XmtQString) {
9703
/* Convert the value to an XmString. */
9704
! xmString = XmtCreateXmString(*(String *)address);
9705
XmCSTextSetString(w, xmString);
9707
else if (type == XmtQBuffer) {
9708
/* Convert the value to an XmString. */
9709
! xmString = XmtCreateXmString((char *)address);
9710
XmCSTextSetString(w, xmString);
9715
if (type == XmtQString) {
9716
/* Convert the value to an XmString. */
9717
! xmString = XmtCreateLocalizedXmString(w, *(String *)address);
9718
XmCSTextSetString(w, xmString);
9720
else if (type == XmtQBuffer) {
9721
/* Convert the value to an XmString. */
9722
! xmString = XmtCreateLocalizedXmString(w, (char *)address);
9723
XmCSTextSetString(w, xmString);
9726
*************** Cardinal size;
9728
static XmtWidgetType cstext = {
9736
static XmtWidgetType cstext = {
9739
! (XmtWidgetConstructor) XmCreateCSText,
9743
*************** static XmtWidgetType cstext = {
9745
static XmtWidgetType scstext = {
9748
! XmCreateScrolledCSText,
9753
static XmtWidgetType scstext = {
9756
! (XmtWidgetConstructor) XmCreateScrolledCSText,
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
9766
* Motif Tools Library, Version 3.1
9769
* Written by David Flanagan.
9770
* Copyright (c) 1992-2001 by David Flanagan.
9773
* Motif Tools Library, Version 3.1
9776
* Written by David Flanagan.
9777
* Copyright (c) 1992-2001 by David Flanagan.
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.
9784
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9785
! * Initial checkin.
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
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.
9799
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9800
! * Initial checkin.
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
9806
! * Revision 1.2 2001/06/12 16:25:28 andre
9807
! * *** empty log message ***
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
9818
* Motif Tools Library, Version 3.1
9821
* Written by David Flanagan.
9822
* Copyright (c) 1992-2001 by David Flanagan.
9825
* Motif Tools Library, Version 3.1
9828
* Written by David Flanagan.
9829
* Copyright (c) 1992-2001 by David Flanagan.
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.
9836
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9837
! * Initial checkin.
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
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.
9851
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9852
! * Initial checkin.
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
9858
! * Revision 1.2 2001/06/12 16:25:28 andre
9859
! * *** empty log message ***
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
9870
* Motif Tools Library, Version 3.1
9873
* Written by David Flanagan.
9874
* Copyright (c) 1992-2001 by David Flanagan.
9877
* Motif Tools Library, Version 3.1
9880
* Written by David Flanagan.
9881
* Copyright (c) 1992-2001 by David Flanagan.
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.
9888
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9889
! * Initial checkin.
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
9898
#include <Xmt/Xmt.h>
9899
#include <Xmt/ConvertersP.h>
9901
! #if XmVersion >= 2000
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
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.
9910
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
9911
! * Initial checkin.
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
9917
! * Revision 1.2 2001/06/12 16:25:28 andre
9918
! * *** empty log message ***
9924
+ #include <stdlib.h>
9925
#include <Xmt/Xmt.h>
9926
#include <Xmt/ConvertersP.h>
9929
! /* #if XmVersion >= 2000 */
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;
9936
char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
9937
XmStringComponentType component_type;
9939
+ /* printf("...> '%s'\n", (char *) *text); */
9941
text_ptr = (char *) *text;
9942
start = s = XtNewString(*text);
9944
*************** XtPointer call_data;
9946
switch (component_type) {
9948
case XmSTRING_COMPONENT_UNKNOWN:
9949
! if ( indicator == '[' )
9950
XmtWarningMsg("XmtCreateXmString", "badlocale",
9951
! "'@[' locale indicator may occur only at beginning of string.");
9953
XmtWarningMsg("XmtCreateXmString", "unrecognized",
9954
"Unrecognized string escape sequence '@%c' will be treated as text.",
9956
switch (component_type) {
9958
case XmSTRING_COMPONENT_UNKNOWN:
9959
! if ( indicator == '{' )
9960
XmtWarningMsg("XmtCreateXmString", "badlocale",
9961
! "'@{' locale indicator may occur only at beginning of string.");
9963
XmtWarningMsg("XmtCreateXmString", "unrecognized",
9964
"Unrecognized string escape sequence '@%c' will be treated as text.",
9965
*************** StringConst str;
9967
static XmParseMapping parse_table[3];
9969
if (!parse_table_registered) {
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);
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++;
9985
static XmParseMapping parse_table[3];
9987
if (!parse_table_registered) {
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);
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;
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;
10016
parse_table_registered = True;
10019
! return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
10020
parse_table, XtNumber(parse_table),
10024
parse_table_registered = True;
10027
! return XmStringParseText((XtPointer) str, NULL, NULL, XmMULTIBYTE_TEXT,
10028
parse_table, XtNumber(parse_table),
10031
*************** char *charset;
10039
+ char *mtxt = NULL;
10043
+ wchar_t *ws = NULL;
10046
+ n = mbstowcs(NULL, txt, 0);
10048
+ ws = (wchar_t*)malloc(sizeof(wchar_t)*(n+1));
10051
+ mbstowcs(ws, txt, (n+1));
10053
+ for(s=t=ws; *s; s++, t++) {
10055
+ if ((*s == L'@') && (*(s+1) == L'@')) s++;
10057
+ *t = *s; /* copy the terminating '\0' */
10058
+ n = wcstombs(NULL, ws, 0);
10060
+ mtxt = (char*)malloc(sizeof(char)*(n+1));
10063
+ wcstombs(mtxt, ws, (n+1));
10066
+ mtxt = strdup(txt);
10068
+ XtFree((char*)ws);
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);
10083
*************** int fixup;
10092
#if NeedFunctionPrototypes
10093
*************** XmString XmtCreateXmString(str)
10101
#ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
10102
String charset = XmSTRING_DEFAULT_CHARSET;
10103
*************** StringConst str;
10109
+ if (s != t) result = appendstring(t, result, False, charset, fixup);
10117
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
10118
+ String charset = XmSTRING_DEFAULT_CHARSET;
10120
+ # if XmVersion < 1002
10121
+ String charset = XmSTRING_DEFAULT_CHARSET;
10123
+ String charset = XmFONTLIST_DEFAULT_TAG;
10126
+ char charset_buf[3];
10127
+ XmString result = NULL;
10128
+ Boolean fixup = False;
10130
+ if (!str) return NULL;
10132
+ return XmStringSegmentCreate((String)str, charset,
10133
+ XmSTRING_DIRECTION_L_TO_R, False);
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
10138
+ r = s = XtNewString(str);
10141
+ for(t = s; *s; s++) {
10144
+ *s = '\0'; /* null terminate the string */
10145
+ result = appendstring(t, result, True, charset, fixup);
10150
+ if ((*s == '@') && (*(s+1) == '@')) {
10151
+ /* set a flag to strip doubled escapes later */
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 */
10160
+ result = appendstring(t, result, False, charset, fixup);
10163
+ /* and now get the new charset */
10164
+ if (*(s+2) == '\0') break;
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 */
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;
10180
+ else if (*s) { /* charset is single current character */
10181
+ charset_buf[0] = *s;
10182
+ charset_buf[1] = '\0';
10183
+ charset = charset_buf;
10190
if (s != t) result = appendstring(t, result, False, charset, fixup);
10193
*************** StringConst str;
10195
if (s != t) result = appendstring(t, result, False, charset, fixup);
10201
#endif /* XmVersion >= 2000 */
10204
#if NeedFunctionPrototypes
10205
! Boolean XmtConvertStringToXmString(Display *dpy,
10206
! XrmValue *args, Cardinal *num_args,
10207
! XrmValue *from, XrmValue *to,
10208
! XtPointer *converter_data)
10210
! Boolean XmtConvertStringToXmString(dpy, args, num_args,
10211
! from, to, converter_data)
10214
! Cardinal *num_args;
10217
! XtPointer *converter_data;
10220
! String s = (String) from->addr;
10221
! Screen *screen = *(Screen **)args[0].addr;
10222
! String category, tag;
10223
String free_me = NULL;
10225
#if NeedFunctionPrototypes
10226
extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
10228
extern String _XmtLocalize();
10231
/* if this string has a tag, localize it first */
10232
! if ((s[0] == '@') && (s[1] == '[')) {
10233
! s = XtNewString(s);
10239
if (*s == '.' && !category) {
10251
if (!tag[0]) goto error;
10252
if (category && !category[0]) goto error;
10253
! s = _XmtLocalize(screen, s, category, tag);
10256
value = XmtCreateXmString(s);
10257
if (!value) goto error;
10258
if (free_me) XtFree(free_me);
10259
! done(XmString, value);
10262
if (free_me) XtFree(free_me);
10263
! XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
10269
if (s != t) result = appendstring(t, result, False, charset, fixup);
10275
+ /* return XmStringCreateLocalized(str); */
10278
#endif /* XmVersion >= 2000 */
10281
#if NeedFunctionPrototypes
10282
! static XmString XmtCreateLocalizedXmString_(Screen *screen, StringConst str)
10284
! static XmString XmtCreateLocalizedXmString_(screen, str)
10289
! XmString value = NULL;
10290
! String category, tag, defaultstr;
10291
String free_me = NULL;
10293
#if NeedFunctionPrototypes
10294
extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
10296
extern String _XmtLocalize();
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);
10308
+ /* printf("=-> '%s'\n", s); */
10313
if (*s == '.' && !category) {
10315
! category = defaultstr;
10316
! defaultstr = s+1;
10318
! if (*s == '.' && !tag) {
10320
! tag = defaultstr;
10321
! defaultstr = s+1;
10329
+ /* printf("-=> '%s'\n", free_me+2); */
10332
+ tag = defaultstr;
10333
if (!tag[0]) goto error;
10334
if (category && !category[0]) goto error;
10335
! s = _XmtLocalize(screen, defaultstr, category, tag);
10341
+ /* printf("--> '%s'\n", s); */
10343
value = XmtCreateXmString(s);
10345
if (!value) goto error;
10346
if (free_me) XtFree(free_me);
10351
if (free_me) XtFree(free_me);
10356
*************** Cardinal *num_args;
10359
XmStringFree(*((XmString *) to->addr));
10366
+ #if NeedFunctionPrototypes
10367
+ Boolean XmtConvertStringToXmString(Display *dpy,
10368
+ XrmValue *args, Cardinal *num_args,
10369
+ XrmValue *from, XrmValue *to,
10370
+ XtPointer *converter_data)
10372
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
10373
+ from, to, converter_data)
10376
+ Cardinal *num_args;
10379
+ XtPointer *converter_data;
10382
+ String s = (String) from->addr;
10383
+ Screen *screen = *(Screen **)args[0].addr;
10386
+ value = XmtCreateLocalizedXmString_(screen, s);
10387
+ if (!value) goto error;
10388
+ done(XmString, value);
10391
+ XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
10396
+ #if NeedFunctionPrototypes
10397
+ XmString XmtCreateLocalizedXmString(Widget w, StringConst s)
10399
+ XmString XmtCreateLocalizedXmString(w, s)
10404
+ return XmtCreateLocalizedXmString_(XtScreen(w), s);
10407
#if NeedFunctionPrototypes
10408
void XmtRegisterXmStringConverter(void)
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
10417
+ * Motif Tools Library, Version 3.1
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.
10427
+ * Revision 1.1.1.1 2001/07/18 11:06:01 root
10428
+ * Initial checkin.
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
10437
+ #include <Xmt/Xmt.h>
10438
+ #include <Xmt/ConvertersP.h>
10440
+ #if XmVersion >= 2000
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.
10446
+ * The following escape sequences are supported for strings in the
10447
+ * resource files:
10449
+ * @t tab (relative to a tab list)
10451
+ * @b[tag] begin rendition
10452
+ * @e[tag] end rendition
10454
+ * Keep in mind that renditions override font specifications.
10458
+ #if NeedFunctionPrototypes
10459
+ static XmIncludeStatus XmtConvertStringEscape(XtPointer *text,
10460
+ XtPointer text_end,
10462
+ XmStringTag string_tag,
10463
+ XmParseMapping entry,
10464
+ int pattern_length,
10465
+ XmString *str_include,
10466
+ XtPointer call_data)
10468
+ static XmIncludeStatus XmtConvertStringEscape(text, text_end, type, string_tag,
10469
+ entry, pattern_length,
10470
+ str_include, call_data)
10472
+ XtPointer text_end;
10474
+ XmStringTag string_tag;
10475
+ XmParseMapping entry;
10476
+ int pattern_length;
10477
+ XmString *str_include;
10478
+ XtPointer call_data;
10481
+ char *s, *start, *text_ptr, indicator, *tag, tag_buf[3];
10482
+ XmStringComponentType component_type;
10484
+ text_ptr = (char *) *text;
10485
+ start = s = XtNewString(*text);
10487
+ /* s[0] should be '@'. Bump pointer to following char */
10490
+ if (*s == '@') { /* Sequence is '@@' */
10491
+ *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT, 1, s);
10493
+ *text = text_ptr;
10500
+ component_type = XmSTRING_COMPONENT_TAB;
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.
10510
+ component_type = XmSTRING_COMPONENT_RENDITION_BEGIN;
10513
+ component_type = XmSTRING_COMPONENT_RENDITION_END;
10516
+ component_type = XmSTRING_COMPONENT_UNKNOWN;
10522
+ switch (component_type) {
10524
+ case XmSTRING_COMPONENT_UNKNOWN:
10525
+ if ( indicator == '[' )
10526
+ XmtWarningMsg("XmtCreateXmString", "badlocale",
10527
+ "'@[' locale indicator may occur only at beginning of string.");
10529
+ XmtWarningMsg("XmtCreateXmString", "unrecognized",
10530
+ "Unrecognized string escape sequence '@%c' will be treated as text.",
10534
+ *str_include = XmStringComponentCreate(XmSTRING_COMPONENT_TEXT,
10537
+ *text = text_ptr;
10542
+ case XmSTRING_COMPONENT_TAB:
10543
+ *str_include = XmStringComponentCreate(component_type, 0, NULL);
10545
+ text_ptr += s - start;
10546
+ *text = text_ptr;
10551
+ default: /* just drop through */
10555
+ s++; /* go past the component_type character */
10557
+ if (*s == '\0') {
10558
+ XmtWarningMsg("XmtCreateXmString", "syntax1",
10559
+ "Improper '@%c' syntax in string being converted.",
10562
+ return XmTERMINATE;
10566
+ * Now get the tag in '[ ]', after '(', or immediately
10567
+ * after the component_type indicator.
10572
+ while (*s && (*s != ']')) s++;
10573
+ if (*s == '\0') {
10574
+ XmtWarningMsg("XmtCreateXmString", "syntax3",
10575
+ "'@%c[%s' is missing ']' in string being converted",
10579
+ *s = '\0'; /* null terminate the tag string */
10584
+ if (!*(s+1) || !*(s+2)) {
10585
+ XmtWarningMsg("XmtCreateXmString", "syntax2",
10586
+ "Improper '@%c(' syntax in string being converted.",
10589
+ return XmTERMINATE;
10591
+ tag_buf[0] = *(s+1);
10592
+ tag_buf[1] = *(s+2);
10593
+ tag_buf[2] = '\0';
10600
+ tag_buf[1] = '\0';
10606
+ *str_include = XmStringComponentCreate(component_type, strlen(tag), tag);
10607
+ text_ptr += s - start;
10608
+ *text = text_ptr;
10615
+ #if NeedFunctionPrototypes
10616
+ XmString XmtCreateXmString(StringConst str)
10618
+ XmString XmtCreateXmString(str)
10622
+ static Boolean parse_table_registered = False;
10623
+ static XmParseMapping parse_table[3];
10625
+ if (!parse_table_registered) {
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);
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);
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);
10648
+ parse_table_registered = True;
10651
+ return XmStringParseText((XtPointer) str, NULL, NULL, XmCHARSET_TEXT,
10652
+ parse_table, XtNumber(parse_table),
10656
+ #else /* XmVersion < 2000 */
10658
+ #if NeedFunctionPrototypes
10659
+ static XmString appendstring(String txt, XmString to, int sep, char *charset,
10662
+ static XmString appendstring(txt, to, sep, charset, fixup)
10674
+ for(s=t=txt; *s; s++, t++) {
10676
+ if ((*s == '@') && (*(s+1) == '@')) s++;
10678
+ *t = *s; /* copy the terminating '\0' */
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);
10689
+ #if NeedFunctionPrototypes
10690
+ XmString XmtCreateXmString(StringConst str)
10692
+ XmString XmtCreateXmString(str)
10697
+ #ifdef XMSTRING_TO_COMPOUND_TEXT_BUG
10698
+ String charset = XmSTRING_DEFAULT_CHARSET;
10700
+ # if XmVersion < 1002
10701
+ String charset = XmSTRING_DEFAULT_CHARSET;
10703
+ String charset = XmFONTLIST_DEFAULT_TAG;
10706
+ char charset_buf[3];
10707
+ XmString result = NULL;
10708
+ Boolean fixup = False;
10710
+ if (!str) return NULL;
10712
+ return XmStringSegmentCreate((String)str, charset,
10713
+ XmSTRING_DIRECTION_L_TO_R, False);
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
10719
+ r = s = XtNewString(str);
10721
+ for(t = s; *s; s++) {
10724
+ *s = '\0'; /* null terminate the string */
10725
+ result = appendstring(t, result, True, charset, fixup);
10730
+ if ((*s == '@') && (*(s+1) == '@')) {
10731
+ /* set a flag to strip doubled escapes later */
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 */
10740
+ result = appendstring(t, result, False, charset, fixup);
10743
+ /* and now get the new charset */
10744
+ if (*(s+2) == '\0') break;
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 */
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;
10760
+ else if (*s) { /* charset is single current character */
10761
+ charset_buf[0] = *s;
10762
+ charset_buf[1] = '\0';
10763
+ charset = charset_buf;
10771
+ if (s != t) result = appendstring(t, result, False, charset, fixup);
10777
+ #endif /* XmVersion >= 2000 */
10780
+ #if NeedFunctionPrototypes
10781
+ Boolean XmtConvertStringToXmString(Display *dpy,
10782
+ XrmValue *args, Cardinal *num_args,
10783
+ XrmValue *from, XrmValue *to,
10784
+ XtPointer *converter_data)
10786
+ Boolean XmtConvertStringToXmString(dpy, args, num_args,
10787
+ from, to, converter_data)
10790
+ Cardinal *num_args;
10793
+ XtPointer *converter_data;
10796
+ String s = (String) from->addr;
10797
+ Screen *screen = *(Screen **)args[0].addr;
10798
+ String category, tag;
10799
+ String free_me = NULL;
10801
+ #if NeedFunctionPrototypes
10802
+ extern String _XmtLocalize(Screen *, StringConst,StringConst,StringConst);
10804
+ extern String _XmtLocalize();
10807
+ /* if this string has a tag, localize it first */
10808
+ if ((s[0] == '@') && (s[1] == '[')) {
10809
+ s = XtNewString(s);
10815
+ if (*s == '.' && !category) {
10827
+ if (!tag[0]) goto error;
10828
+ if (category && !category[0]) goto error;
10829
+ s = _XmtLocalize(screen, s, category, tag);
10832
+ value = XmtCreateXmString(s);
10833
+ if (!value) goto error;
10834
+ if (free_me) XtFree(free_me);
10835
+ done(XmString, value);
10838
+ if (free_me) XtFree(free_me);
10839
+ XtDisplayStringConversionWarning(dpy, (String)from->addr, XmRXmString);
10844
+ #if NeedFunctionPrototypes
10845
+ static void FreeConvertedXmString(XtAppContext app, XrmValue *to,
10846
+ XtPointer closure,
10847
+ XrmValue *args, Cardinal *num_args)
10849
+ static void FreeConvertedXmString(app, to, closure, args, num_args)
10850
+ XtAppContext app;
10852
+ XtPointer closure;
10854
+ Cardinal *num_args;
10857
+ XmStringFree(*((XmString *) to->addr));
10860
+ #if NeedFunctionPrototypes
10861
+ void XmtRegisterXmStringConverter(void)
10863
+ void XmtRegisterXmStringConverter()
10866
+ static Boolean registered = False;
10868
+ if (!registered) {
10869
+ XtSetTypeConverter(XtRString, XmRXmString,
10870
+ XmtConvertStringToXmString,
10871
+ (XtConvertArgRec *)screenConvertArg, (Cardinal) 1,
10872
+ XtCacheAll | XtCacheRefCount,
10873
+ FreeConvertedXmString);
10874
+ registered = True;
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
10884
* Motif Tools Library, Version 3.1
10887
* Written by David Flanagan.
10888
* Copyright (c) 1992-2001 by David Flanagan.
10891
* Motif Tools Library, Version 3.1
10894
* Written by David Flanagan.
10895
* Copyright (c) 1992-2001 by David Flanagan.
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.
10902
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10903
! * Initial checkin.
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
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.
10917
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10918
! * Initial checkin.
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
10924
! * Revision 1.2 2001/06/12 16:25:28 andre
10925
! * *** empty log message ***
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
10936
* Motif Tools Library, Version 3.1
10939
* Written by David Flanagan.
10940
* Copyright (c) 1992-2001 by David Flanagan.
10943
* Motif Tools Library, Version 3.1
10946
* Written by David Flanagan.
10947
* Copyright (c) 1992-2001 by David Flanagan.
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.
10954
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10955
! * Initial checkin.
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
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.
10969
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
10970
! * Initial checkin.
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
10976
! * Revision 1.2 2001/06/12 16:25:28 andre
10977
! * *** empty log message ***
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
10988
* Motif Tools Library, Version 3.1
10991
* Written by David Flanagan.
10992
* Copyright (c) 1992-2001 by David Flanagan.
10995
* Motif Tools Library, Version 3.1
10998
* Written by David Flanagan.
10999
* Copyright (c) 1992-2001 by David Flanagan.
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.
11006
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11007
! * Initial checkin.
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
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.
11021
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11022
! * Initial checkin.
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
11028
! * Revision 1.2 2001/06/12 16:25:28 andre
11029
! * *** empty log message ***
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
11040
* Motif Tools Library, Version 3.1
11043
* Written by David Flanagan.
11044
* Copyright (c) 1992-2001 by David Flanagan.
11047
* Motif Tools Library, Version 3.1
11050
* Written by David Flanagan.
11051
* Copyright (c) 1992-2001 by David Flanagan.
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.
11058
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11059
! * Initial checkin.
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
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.
11073
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11074
! * Initial checkin.
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
11080
! * Revision 1.2 2001/06/12 16:25:28 andre
11081
! * *** empty log message ***
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
11092
* Motif Tools Library, Version 3.1
11095
* Written by David Flanagan.
11096
* Copyright (c) 1992-2001 by David Flanagan.
11099
* Motif Tools Library, Version 3.1
11102
* Written by David Flanagan.
11103
* Copyright (c) 1992-2001 by David Flanagan.
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.
11110
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11111
! * Initial checkin.
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
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.
11125
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11126
! * Initial checkin.
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
11132
! * Revision 1.2 2001/06/12 16:25:28 andre
11133
! * *** empty log message ***
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
11144
* Motif Tools Library, Version 3.1
11147
* Written by David Flanagan.
11148
* Copyright (c) 1992-2001 by David Flanagan.
11151
* Motif Tools Library, Version 3.1
11154
* Written by David Flanagan.
11155
* Copyright (c) 1992-2001 by David Flanagan.
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.
11162
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11163
! * Initial checkin.
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
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.
11177
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11178
! * Initial checkin.
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
11184
! * Revision 1.2 2001/06/12 16:25:28 andre
11185
! * *** empty log message ***
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
11196
* Motif Tools Library, Version 3.1
11199
* Written by David Flanagan.
11200
* Copyright (c) 1992-2001 by David Flanagan.
11203
* Motif Tools Library, Version 3.1
11206
* Written by David Flanagan.
11207
* Copyright (c) 1992-2001 by David Flanagan.
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.
11214
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11215
! * Initial checkin.
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
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.
11229
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11230
! * Initial checkin.
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
11236
! * Revision 1.2 2001/06/12 16:25:28 andre
11237
! * *** empty log message ***
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
11248
* Motif Tools Library, Version 3.1
11251
* Written by David Flanagan.
11252
* Copyright (c) 1992-2001 by David Flanagan.
11255
* Motif Tools Library, Version 3.1
11258
* Written by David Flanagan.
11259
* Copyright (c) 1992-2001 by David Flanagan.
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.
11266
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11267
! * Initial checkin.
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
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.
11281
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11282
! * Initial checkin.
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
11288
! * Revision 1.2 2001/06/12 16:25:28 andre
11289
! * *** empty log message ***
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
11300
* Motif Tools Library, Version 3.1
11303
* Written by David Flanagan.
11304
* Copyright (c) 1992-2001 by David Flanagan.
11307
* Motif Tools Library, Version 3.1
11310
* Written by David Flanagan.
11311
* Copyright (c) 1992-2001 by David Flanagan.
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.
11318
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11319
! * Initial checkin.
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
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.
11333
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11334
! * Initial checkin.
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
11340
! * Revision 1.2 2001/06/12 16:25:28 andre
11341
! * *** empty log message ***
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
11352
* Motif Tools Library, Version 3.1
11355
* Written by David Flanagan.
11356
* Copyright (c) 1992-2001 by David Flanagan.
11359
* Motif Tools Library, Version 3.1
11362
* Written by David Flanagan.
11363
* Copyright (c) 1992-2001 by David Flanagan.
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.
11370
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11371
! * Initial checkin.
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
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.
11385
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11386
! * Initial checkin.
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
11392
! * Revision 1.2 2001/06/12 16:25:28 andre
11393
! * *** empty log message ***
11398
*************** typedef struct {
11401
static LexerTypeData lexer_types[] =
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
11412
static LexerTypeData lexer_types[] =
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}
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
11427
* Motif Tools Library, Version 3.1
11430
* Written by David Flanagan.
11431
* Copyright (c) 1992-2001 by David Flanagan.
11434
* Motif Tools Library, Version 3.1
11437
* Written by David Flanagan.
11438
* Copyright (c) 1992-2001 by David Flanagan.
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.
11445
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11446
! * Initial checkin.
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
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.
11460
! * Revision 1.1.1.1 2001/07/18 11:06:01 root
11461
! * Initial checkin.
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
11467
! * Revision 1.2 2001/06/12 16:25:28 andre
11468
! * *** empty log message ***