-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
2153 lines (1464 loc) · 74.7 KB
/
ChangeLog
File metadata and controls
2153 lines (1464 loc) · 74.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit e7411e7e5299116604ff1f01d9415802607f1051
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu Apr 30 22:36:14 2015 -0700
libXt 1.1.5
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 0c2c7562426aec7bdf9b54a7d6993153e0bce489
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date: Sun Aug 10 12:44:26 2014 -0500
Fix _XtInherit on x86_64 Windows
As noted in Initialize.c, _XtInherit needs special treatment as it's both called
as a function, and used as a value to compare with.
We need to change this trickery for x86_64, as the symbols are no longer
underscore prefixed, and the address is 64 bits.
We also cannot place the trampoline in the .data section, as it may be marked
no-execute, so we use a special section for it instead.
v2: Uses of XtInherit must also be marked dllimport, so that they do not use a
thunk, but instead indirect via the __imp_XtInherit auto-import. This avoids
problems with an incorrect relocation being calculated in the case where libXt
and a library using it (e.g. libXaw/libXaw3d/libXm/etc.) are loaded more than
2GiB apart from each other.
This is enough to build a working libXt for Cygwin x86_64, because it uses the
LP64 data model. I believe that more patches are needed for libXt to work
correctly when built for the Windows LLP64 data model.
Signed-off-by: Yaakov Selkowitz <yselkowitz@cygwin.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
commit 171d82fa36bb601360da2cc519718c46f137c467
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Tue Apr 14 12:21:58 2015 +0100
Include unistd.h for getpid()
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: David Macek <david.macek.0@gmail.com>
commit af9c277491c9bdc37a6fc5ae5a6c6ca190bfa56c
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Tue Apr 14 12:19:07 2015 +0100
Include direct.h header for _getdrives() on Win32
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: David Macek <david.macek.0@gmail.com>
commit e7094ceaf95a15eae73819d0ffdb9b982075e0d2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sat Feb 14 14:10:21 2015 -0800
unifdef -UCRAY -UCRAY2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 33a6d9dc30188c02a3ec703153728b31d458ec1e
Author: Rob Clark <robdclark@gmail.com>
Date: Mon Jan 26 11:51:48 2015 -0500
asprintf needs _GNU_SOURCE on some platforms
Fixes a build break noticed on fedora 21 on arm (although I doubt that
is in any way arch specific).
http://tinderbox.x.org/builds/2015-01-26-0012/logs/libXt/#build
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit ca04f74887d53c75e794f643f7e860ba588c3a57
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Jan 18 11:21:45 2015 -0800
makestrs: Use asprintf() if available
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
commit fba83e45a8d5dc2ca920ec6c49446d2b54c2db5c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Jan 18 10:58:08 2015 -0800
makestrs: Replace strcpy()+strcat() calls with snprintf() calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
commit 47fa41960650dd0e97eb78de2af0f5fcd9323b35
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Jan 18 10:43:11 2015 -0800
makestrs: Replace malloc()+strcpy() calls with strdup() calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
commit f3e5903536f80cb42ee6841f85e013284eb4c2fc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Jan 18 10:27:42 2015 -0800
makestrs: use strchr() instead of index()
Besides being supported by more standards, strchr() has the important
characteristic of having a prototype included in <string.h> on Solaris
so that 64-bit compiles know it returns a pointer, not an integer.
(On Solaris, index() is only found in <strings.h>, for SunOS compatibility.)
Without this fix, makestrs segfaulted in 64-bit builds on Solaris after
commit f9baaf55ff8cbd4bf018a34f181eda30d03b20dc switched to <string.h>.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
commit aed2c4d3493cf3a06ad1240f317552fd8bfd687a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Jan 18 10:34:38 2015 -0800
If CFLAGS_FOR_BUILD is not set, include CWARNFLAGS in default value
Help catch errors like missing prototypes in makestrs sooner.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
commit f9baaf55ff8cbd4bf018a34f181eda30d03b20dc
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Thu Jan 8 09:18:16 2015 +0100
Use string.h instead of X11/Xos.h.
Long long ago, Xos.h was needed to choose between <string.h> &
<strings.h> depending on the OS in use.
Today we can rely on C89 & later providing <string.h> everywhere
for us.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 51d63a9d82dc4f2407862131bbf3e5d72b4505d3
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat Sep 21 12:52:15 2013 -0400
Use $(MKDIR_P) in Makefile.am for better code portability
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 8828fc21cb5b10f06294e460d15c38e234324960
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Jul 10 08:18:26 2013 -0700
Revert "Avoid shadowing variables."
This reverts commit 3919044bd7d3bcb85ce3425a43b8889a248a7542.
Breaks programs such as xcalc & xlogo on multiple platforms.
commit 9dc5fb0b9640b79a234b58e640e05d8276556beb
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Tue Jun 25 23:02:48 2013 +0200
Fix char vs. unsigned char warnings.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 3919044bd7d3bcb85ce3425a43b8889a248a7542
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Tue Jun 25 23:02:46 2013 +0200
Avoid shadowing variables.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit d395f487e659ee1091eb60c89c551ba1b61dfe51
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Tue Jun 25 23:02:50 2013 +0200
Ignore test-driver from automake-1.13.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 71c76a6c500761a2ca0091a55b8c106906fcb125
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Wed Jun 26 00:43:03 2013 +0200
Mark non-returning function with appropriate attribute.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit ce57783ea5b5c47f5dca172d36a76f91dd7704df
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Wed Jun 26 00:43:32 2013 +0200
Use appropriate variable type for vsnprintf return value.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 0bf255ce5f2aeacece0b685996491729f804fe94
Author: Thierry Reding <thierry.reding@avionic-design.de>
Date: Thu Jan 3 10:16:55 2013 +0100
Fix cross-compilation
When cross-compiling against a sysroot for instance, a --sysroot option
is typically passed via the CPPFLAGS variable. This can cause the build
to break in the util subdirectory which requires the CPPFLAGS to be set
for the build system.
Solve this by using the value of CPPFLAGS_FOR_BUILD for CPPFLAGS in the
util subdirectory. Cross-compile setups can override the variable when
calling the configure script.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 02fd80afd5d2416301e5166e202ff859902c7987
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Sun Jun 2 21:48:38 2013 +0200
Add missing comma to fix DEBUG build.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit e83d6d66ea28b0aaa7e574dd2471121a5250b934
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu May 30 18:13:27 2013 -0700
libXt 1.1.4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 1f4802b745aa172d375cb79403cb1e013e6aa4c0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sat Mar 9 13:33:20 2013 -0800
Remove old strtoul workaround for SunOS 4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 9264a21b688891dbdcee630ff72cf39aa75fc4e1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sat Mar 9 11:44:14 2013 -0800
unvalidated length in _XtResourceConfigurationEH [CVE-2013-2002]
The RCM_DATA property is expected to be in the format:
resource_length, resource, value
If the property contains a resource_length thats results in a pointer
outside the property string, memory corruption can occur.
Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit eae57493feec958bcf733ad0d334715107029f8b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sat Mar 9 11:29:21 2013 -0800
Unchecked return values of XGetWindowProperty [CVE-2013-2005]
Multiple functions in Selection.c assumed that XGetWindowProperty() would
always set the pointer to the property, but before libX11 1.6, it could
fail to do so in some cases, leading to libXt freeing or operating on an
uninitialized pointer value, so libXt should always initialize the pointers
and check for failure itself.
Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit ead50a9a274aa96bef94e57c4625be8e9288af4e
Author: Colin Walters <walters@verbum.org>
Date: Wed Jan 4 17:37:06 2012 -0500
autogen.sh: Implement GNOME Build API
http://people.gnome.org/~walters/docs/build-api.txt
Signed-off-by: Adam Jackson <ajax@redhat.com>
commit 8f5f3f7a3c36088d6faf0f13da4416596257bc58
Author: Adam Jackson <ajax@redhat.com>
Date: Tue Jan 15 14:28:48 2013 -0500
configure: Remove AM_MAINTAINER_MODE
Signed-off-by: Adam Jackson <ajax@redhat.com>
commit 6731c2c7e3c16ad17425acfb5024fa1501e94411
Author: Thierry Reding <thierry.reding@avionic-design.de>
Date: Thu Jan 3 10:16:56 2013 +0100
Use AM_CPPFLAGS instead of INCLUDES
Recent versions of automake deprecate the INCLUDES variable. The same
effect can be achieved by using AM_CPPFLAGS instead, which is also
automake's recommendation.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 97034e393cfa63a55e9cec2d795ac41e5872f5b5
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Jan 4 19:52:59 2013 -0800
unifdef -U__UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0033d063894d003b1cb6edb14107d6ef7e0f3fec
Author: Egbert Eich <eich@freedesktop.org>
Date: Thu Sep 8 16:40:27 2011 +0200
Add XtErrorDB directory to pkg-config file.
Should anyone ever desire to supply this file externally
it's location is specified in the pkg-config file.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Tested-by: Gaetan Nadon <memsize@videotron.ca>
commit 15d7f9cf9e089f5968a20f80529096e9a1d3551f
Author: Egbert Eich <eich@freedesktop.org>
Date: Thu May 19 18:18:52 2011 +0200
Install ErrorDB into a $datarootdir-path, not $libdir.
This lets Xt search for it's ErrorDB in the same location
as Xlib. These error databases are architecture independent
data files.
The XtErrorDB file neither exists in libXt nor has it ever
been supplied by any '3rd party' (at least Google didn't
turn up any results).
Therefore changing the location of this file (again) should
have no side effects on backward compatibility.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Tested-by: Gaetan Nadon <memsize@videotron.ca>
commit 690d6587e7e0ba29b70d2b1d6c5c6a128c5547a2
Author: Eric S. Raymond <esr@thyrsus.com>
Date: Thu Aug 23 11:43:42 2012 -0400
Remove unused macros that are temptations to presentation-level klugery.
Also, change .Ds/.De to use CW font, as what they're wrapping is code displays.
This may not be recognized on archaic Unixes, but .ft 1 isn't any too safe
either. The PostScript and DVI drivers both grok CW.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
commit 356b3e6235be4cdb51f13249cb68c581c0fc50c7
Author: Eric S. Raymond <esr@thyrsus.com>
Date: Thu Aug 23 11:30:47 2012 -0400
Eliminate use of tab stops.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
commit 1e5e04a80b391ea6827bb3c537be47533c6afe1e
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Wed Jul 18 16:45:19 2012 +0200
Fix DEBUG build (TMparse.c:376:1: error: overflow in implicit constant conversion)
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 1ab3a0dd5140489bc80edcfd940609fefaec81f1
Author: Thomas Klausner <wiz@NetBSD.org>
Date: Wed Jul 18 16:45:18 2012 +0200
Avoid referencing something that isn't defined. Bring in the definition from another manual page.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 6adb4655a15276973f5e74fd79f5c99d3d4b77a0
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Apr 23 20:08:34 2012 +0200
Add copyright notice and license from the X Consortium to COPYING
These appear in the Xt manpages.
Reported-by: Ansgar Burchardt
Signed-off-by: Julien Cristau <jcristau@debian.org>
commit 2d689ac861085d1d74bcbd05d1595bac0bf67d20
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu Mar 15 22:51:45 2012 -0700
libXt 1.1.3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 75bef5b488245467b6638e25cd22006b306e8536
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Mon Mar 12 18:36:52 2012 -0700
Revert "Treat unexpected returned events from poll as errors"
This commit caused regressions:
https://bugs.freedesktop.org/show_bug.cgi?id=47203
https://bugs.freedesktop.org/show_bug.cgi?id=47216
This reverts commit 70bb9e28d37fff4ead4d0a2c672af77059765fa4.
commit 8ab1833a80a18131d897f6d9965545c16acef921
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Mar 7 17:57:26 2012 -0800
libXt 1.1.2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit aa0f30641769968e0453a7d02f3f8e5955641336
Author: Matt Dew <marcoz@osource.org>
Date: Mon Jan 16 16:24:32 2012 -0700
informaltable cleanup
On certain tables, add top and bottom borders to table header
and a bottom border to the table. This matches what those
tables in the old pdfs looked like.
the <?dbfo keep-together='always'> prevents tables from
splitting across pages. Useful for tiny tables.
Converting the colwidth to a floating point, IE, 1* -> 1.0*
cleans up these build errors:
WARNING: table-layout="fixed" and column-width unspecified =>
falling back to proportional-column-width(1)
Signed-off-by: Matt Dew <marcoz@osource.org>
commit 70bb9e28d37fff4ead4d0a2c672af77059765fa4
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Wed Jan 4 10:33:29 2012 -0800
Treat unexpected returned events from poll as errors
Inspired by libxcb's f0565e8f06aadf760a9065a97b8cf5ab9cbd18de
Resolves https://bugs.freedesktop.org/show_bug.cgi?id=20048
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 6dd231d37c036d182e789f0af37ee5417792ad4e
Author: Stephen Turnbull <stephenjturnbull@gmail.com>
Date: Wed Jan 4 10:18:29 2012 -0800
Don't re-enter the WaitLoop if block is set to false
See: https://bugs.freedesktop.org/show_bug.cgi?id=20048
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 0d8ef503e2d51d727a912d6ef3cf017608e45b7f
Author: Gaetan Nadon <nadon@memsize.(none)>
Date: Sat Dec 31 09:03:39 2011 -0500
Add .gitignore for the newly added DocBook/XML generated files.
Signed-off-by: Gaetan Nadon <nadon@memsize.(none)>
commit 9cbf06b9f7b1378ce3424837c979c3241516bf9b
Author: Gaetan Nadon <nadon@memsize.(none)>
Date: Fri Dec 30 17:08:14 2011 -0500
docbook.am: embed css styles inside the HTML HEAD element
Rather than referring to the external xorg.css stylesheet, embed the content
of the file in the html output produced. This is accomplished by using
version 1.10 of xorg-xhtml.xsl.
This makes the whole html docs tree much more relocatable.
In addition, it eliminates xorg.css as a runtime file which makes
xorg-sgml-doctools a build time only package.
Signed-off-by: Gaetan Nadon <nadon@memsize.(none)>
commit 7aa5d801d3b17fc9a1af9d5f6bc0283e3762cca2
Author: Matt Dew <marcoz@osource.org>
Date: Wed Dec 28 21:17:53 2011 -0700
Remove old files.
commit b8818e1233b75c6bd47a6d2197fabf3a036a2119
Author: Matt Dew <marcoz@osource.org>
Date: Wed Dec 28 20:34:51 2011 -0700
Initial docbook conversion.
commit fd0da0d44a8501edaac3be7fac9449ad730d8bf4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Oct 7 19:45:21 2011 -0700
Add const attributes to TMparse typedefs to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit af9e4b75167c0e31ec02d5ababf204daa12f500d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Oct 7 19:32:08 2011 -0700
Add const attributes to slashDotXdefaults to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 682ca8daf29285ef5013751784a7ec98962b7cbb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Oct 7 19:30:11 2011 -0700
Make implementation_default_path return const char *
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit d3c2fbcd83ed9ae9b6cc8d765badca7f8d3261b2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Oct 7 19:23:37 2011 -0700
Make gravity strings const to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 94ffb37790ce33fdf49d07dd1ade60b6d8376aa7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Oct 7 19:21:10 2011 -0700
Convert ISOLatin1 functions to specify args as const char *
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 1f48cadaa88423a012613a0b456ec8795c8c0992
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Fri Oct 7 17:08:07 2011 -0700
Whitespace changes related to cleaning up previous patch
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 9e898aa4fd964e888044e2fa2d64089505331f62
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Fri Oct 7 17:01:34 2011 -0700
Don't pop elements from our array while we're itterating through it.
https://bugs.freedesktop.org/show_bug.cgi?id=22543
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit df2008411a5c6a735af2b0fced01df660bb6978a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Mon Sep 26 15:29:45 2011 -0700
makestrs: Add const attributes to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 9347b890ba24db41c7cb6c6e76564e4896bc8cac
Author: Olivier Fourdan <fourdan@xfce.org>
Date: Tue Sep 20 16:45:02 2011 -0700
Bug 40577 - Missing bound checking in FreeSelectionProperty()
https://bugs.freedesktop.org/show_bug.cgi?id=40577
FreeSelectionProperty() did not check for the count of items in array
and relied on a NULL terminated list, which can cause libXt to crash if
FreeSelectionProperty() follows a call to GetSelectionProperty() which
reallocates the array.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 5691187ced24b16a951e2b8308bcc2b65dd36eee
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Sep 16 22:54:05 2011 -0700
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 6c0b44caa9b424c7e05327e8ddc9273b87a0f81f
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Sun Oct 2 13:35:26 2011 -0700
LP64 fix for TypedArgToArg()
https://bugs.freedesktop.org/show_bug.cgi?id=12662
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 2c29b8b71575d73db6b9542b24fa3312a2cf2f86
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Wed Apr 27 12:32:39 2011 +0100
Only link with ws2_32 for mingw target
For the Cygwin target, we will be using the socket functions provided
by the Cygwin DLL, so linking with ws2_32 is unnecessary, even though
it may be present.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Cyril Brulebois <kibi@debian.org
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 4ee8867047eaff3b121478b7199201d669e2c85d
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue May 24 14:37:03 2011 -0400
Update README for documentation reference
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 5e299936489bf3476464f00ebf3ffa3fa893cc23
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Mar 18 19:36:05 2011 -0700
Add test case for XtCvtIntToPixmap fix in commit 16d9941f3aa38
Expanded from original Sun test case for Solaris bug 4163152.
Verified that with commit 16d9941f3aa38 reverted, this test case
fails on amd64, with it present, this test case passes.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 6fc14afa3fa98503248138f7f6984ee33a9bd889
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Mon Mar 14 19:07:12 2011 -0700
Add test case for XtAppMainLoop bug 34715
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
commit 4bf003a824577b5a46a59b3b3e91687b530ee48f
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu Mar 10 14:23:44 2011 -0800
Add test framework similar to xserver and use it to test XtAsprintf
Only two simple test cases to start with:
- compares the results of snprintf of a short string to a static buffer
with the new buffer returned by XtAsprintf.
- compare the results of using XtAsprintf to replicate a portion of a
very long string with the original string.
Uses malloc debugging flags for various platforms to try to catch errors
with uninitialized memory (such as the recently fixed failure to terminate
the string).
Requires xorg-macros 1.13 for XORG_ENABLE_UNIT_TESTS and XORG_WITH_GLIB.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
commit 42c611d9f8c80528f6e36ceb0ce245b06e8b1e8e
Author: Jordan Hayes <jordan@bitway.com>
Date: Sun Mar 6 11:35:47 2011 -0800
Bug 34715: XtAppMainLoop doesn't work without a Display
https://bugs.freedesktop.org/show_bug.cgi?id=34715
XtAppNextEvent() doesn't return until there's an actual XEvent to be
handled; it handles Xt-internal events (inputs, timers, signals)
itself, but doesn't return (because of course, those aren't XEvents).
Which means that the exit flag doesn't get a chance to break the loop
until/unless there's an actual XEvent.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit c16d3cc264c45601f0e59bdd29e438c7c9679721
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Mar 10 10:19:59 2011 +0100
Bump to 1.1.1
Signed-off-by: Julien Cristau <jcristau@debian.org>
commit fe2cf6e2b70e57624aad71f510ff8c6addaae196
Author: Cyril Brulebois <kibi@debian.org>
Date: Tue Mar 8 16:09:49 2011 +0100
XtAsprintf: Fix memory corruption.
Don't write the null terminator to a random place, this can trigger some
segfault in XtOpenDisplay() and other annoyances.
Debian Bug #617208 <http://bugs.debian.org/617208>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit f6c791b5f318d8805db4cb6c74b1bc2e91d6c15c
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sun Mar 6 13:43:46 2011 -0500
man: replace hard coded section number 3Xt with __libmansuffix__ #35050
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512130
The Xt manpages are installed in section 3 (and not 3Xt as upstream
would have it). But, internal cross-references (in particular, in the
SEE ALSO part) are left alone, and keep pointing at Foo(3Xt). The
result is that they can't be automatically followed from manpage
sanitizers such as dwww or emacs.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 9ccf14fddedc11bd17b3ae30612c6f70f4cd7e14
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Mar 4 16:31:59 2011 -0800
Don't need to use target-specific CFLAGS for makestrs
It's the only thing built in that directory, so we can use AM_CFLAGS
and drop the requirement for AM_PROG_CC_C_O in configure.ac
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Tested-by: Gaetan Nadon <memsize@videotron.ca>
commit 16d9941f3aa38dde115cbff639e131761c1b36d0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Fri Mar 4 15:43:43 2011 -0800
Incorrect cast in XtCvtIntToPixmap could cause bus error on 64-bit machines
Originally fixed by Leo Binchy for Sun Bug 4163152 to resolve bus error
on VSW5 (XTS) testing on 64-bit SPARC test run on Solaris 7.
( Testcase: XtCvtIntToPixmap, Purpose: 1)
Since we're converting from Int to Pixmap, need to access the argument
passed in as an int, not a Pixmap, which is consistent with the other
IntToXXX converters in this file.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
commit 994443524ade46bad03eea0acbd1410d561c591d
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Fri Mar 4 16:30:58 2011 -0800
configure: Bump version to 1.1.0 for release
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit c0a233895cc8270ec0ff0bd2abb88d3f6dd524c3
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Fri Mar 4 12:49:48 2011 -0800
darwin: Don't use poll() when expected to run on darwin10 and prior
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
commit abf6062715c7d1390e516261a31abde4ed7ea64e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Feb 2 23:29:46 2011 -0800
Shell.c: TopLevelSetValues ignores iconic state if shell not yet realized
Fix originally created by Leo Binchy for Sun to fix Solaris bug
1243761 The XmNiconic resource doesn't work
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit b1eaa18835ec7c3a11e580340625b35c18edf7ca
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Feb 2 23:21:02 2011 -0800
GetResources: protect against underflow when type conversion fails
Fix originally created by Leo Binchy for Sun to fix Solaris bug 1211553:
XtVaCreateManagedWidget with list of resources XtVaTypedArg cause core dump
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 21c1cc98d8210a3ce2a4bf62ecee9168fdd99dcb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Feb 2 22:42:13 2011 -0800
Remove unused #ifdef UNALIGNED version of Xt macros & functions
Trying to outsmart the compiler and libc is a losing battle, but
since UNALIGNED was never defined, we weren't even trying.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 19538f2b4553221b35831e13ec70ed9db436dd32
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Feb 2 11:43:44 2011 -0500
config: comment, minor upgrade, quote and layout configure.ac
Group statements per section as per Autoconf standard layout
Quote statements where appropriate.
Autoconf recommends not using dnl instead of # for comments
Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
Add AC_CONFIG_SRCDIR([Makefile.am])
This helps automated maintenance and release activities.
Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
commit 7fd1e98987967b23f66da4b18ebf9798a68cd370
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Jan 28 16:07:07 2011 -0500
config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
This silences an Automake warning.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 84e512a94295387bd0625ce619fc8bd381395c71
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Dec 22 10:49:42 2010 -0800
Convert ALLOCATE_LOCAL + sprintf to XtAsprintf
Now that we don't need to separately strlen the format string, put it
directly into the function call to clear gcc warnings of:
Initialize.c:397: warning: format not a string literal, argument types not checked
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit c80650fddec8596ef7278e37aa12ce2076c54e93
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu Dec 9 23:36:31 2010 -0800
Convert ResConfig.c to use XtAsprintf() instead of XtMalloc + sprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit ac07da253415ccb8b6322feedf7969967357050e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Jan 12 23:09:29 2011 -0800
Add XtAsprintf() as a new exported API
Like asprintf() but using XtMalloc() to tie into the Xt memory allocation
and error handling subsystems.
Bumps libXt version to 1.0.99.1 so that modules can set their pkg-config
dependency to libXt >= 1.0.99.1 to require XtAsprintf().
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 84f73c49db8071c06f27609ce7cc7a32a17351a9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu Dec 9 23:44:42 2010 -0800
Convert some sprintf calls to snprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 14145f3e87a039640cd8bdb2e2f4f30ca9b2a710
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Dec 5 01:21:06 2010 -0800
config: AC_PROG_CC is provided by XORG_DEFAULT_OPTIONS now
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit a73b8f06b95216083c8335fad45dd0de7f44a529
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Dec 5 01:19:10 2010 -0800
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Regroup AC statements under the Autoconf initialization section.
Regroup AM statements under the Automake initialization section.
Add missing AC_CONFIG_SRCDIR
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 2bf988d229d2b85208cc42094ce7202204d628af
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Dec 5 00:33:44 2010 -0800
Remove ancient #if defined(macII) hack for A/UX from makestrs.c
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 96508e1b9da790d4b824a42246d1e86379101733
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun Dec 5 00:19:30 2010 -0800
Remove non-USE_SNPRINTF case from src/Error.c
unifdef -DUSE_SNPRINTF src/Error.c
Plus manual removal of old #ifdef notyet section that said not enough
platforms had snprintf support yet. Welcome to the new millenium!
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 0b780f8cc8bc2606fc3173628c4d3065aae190f8
Author: walter harms <wharms@bfs.de>
Date: Sun Nov 7 18:51:19 2010 +0100
remove strcmp in src/ResConfig.c
Make remainder check like in the rest of code and replace strcmp()
Signed-off-by: walter harms <wharms@bfs.de>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 59598f20ba160fd92abcf88a30f0008425e7b1ec
Author: walter harms <wharms@bfs.de>
Date: Tue Oct 26 13:46:32 2010 +0200
QueryEventMask: fix NULL check
_XtGetPerWidgetInput may return NULL
avoid possible NULL references
Signed-off-by: walter harms <wharms@bfs.de>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 8572cba2b9094dcd8ee5b4c5bcf3c38f1f291918
Author: walter harms <wharms@bfs.de>
Date: Sat Oct 30 10:47:23 2010 +0200
src/Resource.c: Fix possible NULL access
Signed-off-by: walter harms <wharms@bfs.de>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 6c75b449f6436b787247e164bee03691af2a4f55
Author: walter harms <wharms@bfs.de>
Date: Fri Oct 29 17:24:48 2010 +0200
XtFree() can handle NULL , remove check
Signed-off-by: walter harms <wharms@bfs.de>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 0d29ca61b94cd34b04c5eedae443620a616d01c3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu Oct 28 12:03:25 2010 -0700
libXt 1.0.9
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 87d019acc715c5ab4a5b2431ec882a0f84946c20
Author: Jesse Adkins <jesserayadkins@gmail.com>
Date: Tue Sep 28 13:30:03 2010 -0700
Purge cvs tags.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit aa70c813f6eac2cad2944a98a1a444ea69dc024f
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Oct 5 09:07:30 2010 -0400
makestrs: Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 9d80fae6bc2cff26f320ff5b7b2ca7333ab3d677
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Oct 5 09:04:19 2010 -0400
makestrs: Use $(SED) from AC_PROG_SED supplied by XORG_DEFAULT_OPTIONS
Use the appropriate platform version of sed