forked from gnustep/libs-back
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog
6128 lines (4330 loc) · 208 KB
/
ChangeLog
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
2015-11-23 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m : Allow the Escape key to go through
while still blocking other keys during a capture mouse sequence.
2014-07-09 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m : Fix process_key_event to set
keys and ukeys correctly when control key is down so key
equivalents like Ctrl-(Shift)-+ will be recognized.
2013-10-21 Frank Le Grand <[email protected]>
* Source/win32/WIN32Server.m
* Source/win32/WIN32Server.h
* Source/win32/win32_general.m: Reset the cursors stack
when we are on a non-client area of a window. This is
a workaround for an issue where we're not getting enough
mouse move events when the mouse is moving very fast,
and therefore occasionally find ourselves stuck with a
cursor set for a rectangle that we've left.
2013-10-03 Frank Le Grand <[email protected]>
* Source/win32/WIN32Server.m
* Source/win32/WIN32Server.h
* Source/win32/win32_general.m: Fixed processing of
WM_SETCURSOR: We now mark the event as handled in our
NSCursor stack is not empty, indicating that we're in a cursor
rectangle and we don't want Windows to set the cursor.
2013-08-18 Frank Le Grand <[email protected]>
* Source/win32/WIN32Server.m : We're now processing the Windows
event WM_SETCURSOR to prevent Windows from resetting the mouse
cursor after a mouse move.
2013-08-08 Frank Le Grand <[email protected]>
Merged changes from Trunk (since rev 35217) to TestPlant branch.
Some files were partially merged to pull changes from Trunk and
remain with large numbers of diffs (Source/win32/WIN32Server.m,
Source/cairo/Win32CairoSurface.m, Source/cairo/CairoContext.m)
2013-01-10 Doug Simons <[email protected]>
* Source/win32/w32_general.m : Fix a bug that could cause a modal run loop to
lock up if the modal window is closed by clicking the close button.
2012-10-24 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m : Fix findWindowAt:windowRef:excluding:
to skip windows with the ignoresMouseEvents property set.
2012-10-10 Jonathan Gillaspie <[email protected]>
* Source/win32/WIN32Server.m : Fix for fatal exceptions when a nil mouse event tried to post
2012-08-08 Marcian Lytwyn <[email protected]>
*** Modifications/fixes for cairo support on win32 ***
* Headers/win32/Win32CairoGState.h - NEW
* Source/win32/Win32CairoGState.m - NEW
* Headers/win32/WIN32Server.h
* Source/gsc/GSGState.m: Fix compiler warnings
* Source/win32/WIN32Server.m
* Source/win32/w32_create.m
* Source/win32/Win32CairoSurface.m
* Source/cairo/GNUmakefile
* Source/cairo/CairoContext.m
* configure
* configure.ac
2012-06-27 Marcian Lytwyn <[email protected]>
*** Modifications to Win32 server backend to support multiple
monitors.
* Headers/win32/WIN32Server.h - Added a mutable array for storing
multiple screen information from GDI screen lookup
* Source/win32/WIN32Server.m - Added startup sequence to invoke
GDI functions to look up multiple screen/monitor information
2012-05-14 Quentin Mathe <[email protected]>
* Source/gsc/GSContext.m (+initialize): Protected +initialize from being
called multiple times because of subclasses. As a result, this
eliminates a gtable memory leak (e.g. +initialize sent to both GSContext
and CairoContext at backend initialization time), and prevents the
gstate stack to be reset while still in use (e.g. the program enumerates
classes at runtime and sends messages to them... +initialize might be
sent to GSStreamContext in such a case).
2012-05-12 Eric Wasylishen <[email protected]>
* Source/x11/XIMInputServer.m: Remove the locale setting code.
Use the correct #ifdef check for Xutf8LookupString, and use
that function if available; otherwise use XLookupString.
Interpret the return value of XLookupString as Latin-1.
2012-03-22 Eric Wasylishen <[email protected]>
* Source/x11/XGServerEvent.m: Make the GSModifiersAreKeys
default to YES, by renaming the default to GSModifiersAreNotKeys.
This should fix bug 25659; for example, in Ink you can now
open the color panel with <Shift>+<Alt>+c or <Alt>+<Shift>+c.
* Documentation/Back/DefaultsSummary.gsdoc: Update docs for
GSModifiersAreNotKeys.
2012-02-20 Fred Kiefer <[email protected]>
* Source/cairo/CairoGState.m: Set the filter to BILINEAR for all
patterns we use.
2012-02-19 Wolfgang Lux <[email protected]>
* Source/gsc/GSGState.m (-GSSetFillColor:, -GSSetStrokeColor:):
Fix potentially uninitialized color space element when setting
fill and stroke colors.
2012-02-19 Fred Kiefer <[email protected]>
* Source/cairo/CairoGState.m (-compositerect:op:): Use difference
operator only for cairo version >= 1.9.4.
2012-02-18 Fred Kiefer <[email protected]>
* Source/winlib/WIN32GState.m
* Source/art/composite.m
* Source/xlib/XGGState.m
* Source/xdps/NSDPSContextOps.m: Replace NSCompositeHighlight with
GSCompositeHighlight and map NSCompositeHighlight onto
NSCompositeSourceOver.
* Source/cairo/CairoGState.m (-compositerect:op:): Implement
GSCompositeHighlight with the difference operator.
2012-02-09 Richard Frith-Macdonald <[email protected]>
* Tools/gbps.m: Add lots of debug information (have objects describe
themselves and where they are in the data sturcture).
Simplify code by removing cached information about which owners
respond to which selectors (probably not needed on modern systems,
and we could re-add this more simply if it turns out I'm wrong).
2012-02-03 Adam Fedor <[email protected]>
* Bump version
2012-02-03 Adam Fedor <[email protected]>
* Version 0.22.0
* Update release notes
2012-01-23 Eric Wasylishen <[email protected]>
* Source/cairo/CairoFontInfo.m (-setupAttributes):
use CAIRO_HINT_METRICS_ON instead of CAIRO_HINT_METRICS_OFF,
otherwise some text is cut of (e.g. quit Ink with unsaved
changes, the "t" in "Quit" in the dialog is cut off)
2012-01-23 Eric Wasylishen <[email protected]>
* Source/cairo/CairoFontInfo.m (-setupAttributes):
We must not leave the hinting settings as their defaults,
because if we did, that would mean using the surface defaults
which might or might not use hinting (xlib does by default.)
Since we make measurements outside of the context of a surface
(-advancementForGlyph:), we need to ensure that the same
hinting settings are used there as when we draw. For now,
just force hinting to be off.
2012-01-19 Wolfgang Lux <[email protected]>
* Source/x11/XGServerWindow.m (-orderwindow:::): Introduce new
user defaults to respectively make app icons and mini windows
sticky (aka omnipresent).
2012-01-11 Fred Kiefer <[email protected]>
* Source/winlib/WIN32FontEnumerator.m: Add missing include.
2012-01-11 Fred Kiefer <[email protected]>
* Source/winlib/WIN32FontEnumerator.m,
* Source/cairo/CairoFontEnumerator.m,
* Source/xlib/GSXftFontInfo.m,
* Source/xlib/XGFont.m: Use NSDebugLLog instead of NSDebugLog to
reduce amount of default output.
2012-01-02 Eric Wasylishen <[email protected]>
* Source/cairo/CairoGState.m (-GSShowGlyphsWithAdvances:):
Update the current point after drawing text. Should not affect
anything in gui right now, but will be useful later.
2011-12-24 Eric Wasylishen <[email protected]>
* Source/cairo/CairoContext.m (-beginPrologueBBox:...):
Add a hack to get landscape printing working. Comment in the source
reproduced here:
FIXME: This is confusing... When an 8.5x11 page is set to
landscape, NSPrintInfo also swaps the paperSize to be 11x8.5,
but gui also adds a 90 degree rotation as if it will
be drawing on a 8.5x11 page. So, swap 11x8.5 back to 8.5x11 here.
2011-12-23 Eric Wasylishen <[email protected]>
* Source/cairo/CairoContext.m (-beginPrologueBBox:...): Use
paper size from print info to set the cairo page size, instead
of using the bounding box (which is usually smaller than the
paper size, and was causing cairo print output to be wrong
compared to GNUstep's built-in PostScript writer.)
2011-11-28 Fred Kiefer <[email protected]>
* Source/x11/XGServerEvent.m (initialize_keyboard): Don't use
XK_ISO_Level3_Shift as second alternate key.
* Documentation/Back/DefaultsSummary.gsdoc: Document this mapping.
2011-11-07 Fred Kiefer <[email protected]>
* Source/x11/XGGLFormat.m (-assembleGLXAttributes:): Use
GLX_BUFFER_SIZE for NSOpenGLPFAColorSize instead of setting all
the single colour sizes, which was wrong.
2011-11-07 Fred Kiefer <[email protected]>
* Source/x11/XGServerEvent.m (initialize_keyboard): Use
XK_ISO_Level3_Shift as second alternate key.
* Documentation/Back/DefaultsSummary.gsdoc: Document this mapping.
2011-11-04 Eric Wasylishen <[email protected]>
* Source/x11/context.c: check for NULL from XRenderFindVisualFormat
2011-10-25 Eric Wasylishen <[email protected]>
* Source/gsc/GSStreamContext.m:
* Source/gsc/GSContext.m:
* Source/gsc/GSGState.m:
* Headers/gsc/GSGStateOps.h: Change type for -GSSetFillColor: and
-GSSetStrokeColor: from float to CGFloat
2011-10-20 Fred Kiefer <[email protected]>
* Source/cairo/CairoFontEnumerator.m: Define FC_WEIGHT_ULTRABLACK
for old versions of fontconfig.
Patch by Richard Frith-Macdonald <[email protected]>
2011-10-20 Fred Kiefer <[email protected]>
* Headers/x11/XWindowBuffer.h: Bracket even more usage of shm in
conditional compilation.
2011-10-18 Fred Kiefer <[email protected]>
* Headers/x11/XWindowBuffer.h: Protect the usage of shm.
2011-10-17 Fred Kiefer <[email protected]>
* configure.ac: Test for X shape extension
* configure: Regenerate
* config.h.in: Regenerate
* Source/x11/XGServerWindow.m (-restrictWindow:toImage:),
* Source/x11/XWindowBuffer.m (-_exposeRect:): Protect usage of
shape extension.
Should fix bug #34552.
2011-10-13 Eric Wasylishen <[email protected]>
* Source/cairo/GNUmakefile:
* Source/cairo/CairoContext.m:
* Source/cairo/CairoSurface.m:
* Source/cairo/XGCairoModernSurface.m:
* Headers/cairo/XGCairoModernSurface.h:
* Headers/cairo/CairoSurface.h: New cairo surface which uses
cairo_surface_create_similar to create a back buffer which
has an alpha channel, even if the X server doesn't support
surfaces with alpha. This new surface is also made the default
since this seems to be the recommended way to double buffer
with cairo.
2011-09-18 Eric Wasylishen <[email protected]>
* Source/cairo/CairoContext.m: revert the last change for now
2011-09-16 Eric Wasylishen <[email protected]>
* Source/cairo/CairoContext.m: Switch to XGCairoSurface by default,
because it fixes the corrupted display problem reported by Riccardo
on 16-bit displays.
2011-09-12 Fred Kiefer <[email protected]>
* Source/cairo/CairoGState.m (-saveClip, -restoreClip:,
-drawGradient:...): Check that the _ct isnt NULL.
* Source/cairo/CairoGState.m (doubleFromUserSpace,
floatToUserSpace): Use correct types in these helper functions.
2011-09-12 Fred Kiefer <[email protected]>
* Source/x11/XGDragView.m (GSActionForDragOperation,
GSDragOperationForAction): Corrected drag type conversion.
Patch by Andreas Schick <[email protected]>
2011-09-11 Eric Wasylishen <[email protected]>
* Source/cairo/CairoGState.m (-drawGState:...): Check that the source
context is non-NULL before calling cairo_get_target on it. Log a warning
when either the source context or target context is NULL.
2011-08-16 Eric Wasylishen <[email protected]>
* Source/cairo/CairoGState.m (-drawGState:...): Use CAIRO_EXTEND_PAD
on the pattern to prevent blurred edges when scaling up.
2011-08-15 Eric Wasylishen <[email protected]>
* Source/cairo/CairoGState.m (-DPSstroke:): If the line width is
0, temporarily set it to 1 unit wide (in device space.) This
is an attempt at matching the behaviour of the setlinewidth
PostScript operator, which is supposed to interpret 0 as meaning
the thinnest line that the output device can draw.
Note that Quartz (and cairo) draw nothing with a line width of 0.
2011-08-07 Eric Wasylishen <[email protected]>
* Tools/xpbs.m: Add some more comments
2011-08-07 Eric Wasylishen <[email protected]>
* configure.ac: Test for Xfixes
* configure: Regenerate
* config.h.in: Regenerate
* Tools/xpbs.m: If Xfixes is available, use it to receive notifications when the
owner of an X11 selection changes.
In the future we should invalidate the list of cached pasteboard types when this
happens, so, e.g. copying text from gnome-terminal, the general pasteboard will only
have the text type, but subsequently copying text from OpenOffice.org, the general
pasteboard will have plain text and RTF types (currently we don't do this, so
you can't paste RTF contents unless it is in the clipboard when gpbs starts.)
The above problem is also why DND from X to GNUstep doesn't work - the dragging
pasteboard types are never updated.
2011-08-04 Eric Wasylishen <[email protected]>
* Tools/xpbs.m: Get copy and paste of rich text from OpenOffice.org
to Ink working.
- OOo uses the MIME type "text/richtext", so make that another alias for RTF
- Fix an obscure bug in measuring the size of the return buffer of
XGetWindowProperty. When an array of Atom's is returned xlib will claim
that they are 32-bit when in fact they may be 64-bit. This was causing
xpbs to miss half of the available types for a clipboard on 64-bit systems.
- Don't use 'True' for the delete paramater of XGetWindowProperty. I'm not sure
why we were deleting window properties before. gtk doesn't do that.
2011-08-01 Eric Wasylishen <[email protected]>
* configure.ac: Add a configure test for Xcursor
* configure: regenerate
* config.h.in: regernate
2011-07-30 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m (-resolutionForScreen:):
Scale the result by 0.75 so the Windows default of 96 DPI is
mapped to the GNUstep default of 72 DPI. While this sounds wrong,
72 and 96 are just "virtual" DPI's; both mean 1 point = 1 pixel,
so it's actually the right thing to do.
* Source/x11/XGServerWindow.m (-resolutionForScreen:):
Comment out the implementation and just return 72 for now,
because I'm not sure if we can trust the value the X server
gives us.
NOTE: Currently -gui ignores these methods and only looks at the
GSScaleFactor user default. I'm going to make -gui use the server
values now, because it's safe to do so on Windows (the system
DPI is set by the user, and affects all applications.)
NOTE: We might consider refactoring these methods to be called
scaleFactorForScreen: to make it clearer what they do.
2011-07-18 Eric Wasylishen <[email protected]>
* Source/winlib/WIN32GState.m (GSCreateBitmap): Add support for
(8 bit-greyscale, 8-bit alpha) format. This fixes various default
images not showing (menu arrows, scroller arrows, etc.)
2011-07-15 Eric Wasylishen <[email protected]>
* Source/x11/XGServerWindow.m: Add Xcursor support (for RGBA
imagecursor support.) configure test is still TODO, so it isn't
compiled in at the moment.
2011-07-13 Eric Wasylishen <[email protected]>
* Headers/x11/XGGeneric.h
* Source/x11/XGServerWindow.m: Add new netwm window state atoms
2011-07-14 Fred Kiefer <[email protected]>
* Tools/win32pbs.m: Add include needed for Cygwin.
2011-07-08 Eric Wasylishen <[email protected]>
* Headers/cairo/CairoGState.h:
* Source/cairo/CairoGState.m: Remove most of the rounding code and
implementation of DPSstrokeadjust.
2011-07-03 Eric Wasylishen <[email protected]>
* Source/cairo/XGCairoSurface.m (-contentsOfScreen:inRect:):
Use the passed rect properly.
2011-07-03 Eric Wasylishen <[email protected]>
* Source/cairo/XGCairoSurface.m: Implementation of
-[GSDisplayServer contentsOfScreen:inRect:] for x11/cairo
2011-06-22 Fred Kiefer <[email protected]>
* Headers/x11/XGServer.h: Add #include of config.h.
2011-06-15 Fred Kiefer <[email protected]>
* Source/cairo/CairoContext.m (-supportsDrawGState),
* Headers/cairo/CairoGState.h (-supportsDrawGState)
* Source/cairo/CairoGState.m (-supportsDrawGState): Revert last
change as gui is fixed now.
2011-06-13 Fred Kiefer <[email protected]>
* Source/cairo/CairoContext.m (-supportsDrawGState): Delegate to gstate.
* Headers/cairo/CairoGState.h (-supportsDrawGState): Declare this method.
* Source/cairo/CairoGState.m (-supportsDrawGState): Only allow the
faster drawing operation when the clip can be represented as a
list of rectangles.
* Source/cairo/CairoGState.m (-copyWithZone:): Always free the
clip rectangle list.
2011-06-01 Wolfgang Lux <[email protected]>
* Headers/x11/XGServerWindow.h (GSMaxWMProtocols, _gswindow_device_t):
Enlarge protocol array to make space for the _NET_WM_SYNC_REQUEST
protocol atom.
* Source/x11/XGServerWindow.m (_setSupportedWMProtocols:): Add
assertion to catch out of bounds errors in the future.
2011-05-27 13:53 David Chisnall <[email protected]>
* libs/back/trunk/Source/x11/XGServerWindow.m: Call NSZoneFree() on
pointer allocated with NSAllocateCollectable(), not free(). This
is a no-op in GC mode, and will free the memory in non-GC mode.
2011-05-25 Eric Wasylishen <[email protected]>
* Source/winlib/WIN32GState.m:
* Source/art/ARTGState.m:
* Source/cairo/CairoGState.m:
* Source/xlib/XGGState.m:
* Source/gsc/GSContext.m:
* Source/gsc/GSGState.m:
* Headers/gsc/GSGStateOps.h:
Add a new interface, GSShowGlyphsWithAdvances, which replaces
GSShowGlyphs as the primitive text drawing method.
None of the backends implement it properly yet; I simply renamed
the existing -GSShowGlyphs:: methods to -GSShowGlyphsWithAdvances:::,
so they currently ignore the glyph advances.
2011-05-19 Fred Kiefer <[email protected]>
* Headers/cairo/CairoFontEnumerator.h,
* Headers/cairo/CairoFaceInfo.h: Protect the name id.
* Source/cairo/CairoGState.m: Reorder variable declarations before
GS_BEGINITEMBUF as some compilers may complain.
Patch by Sebastian Reitenbach <[email protected]>
2011-05-15 Eric Wasylishen <[email protected]>
* Source/x11/XGServerWindow.m:
* Source/x11/XGServer.m:
* Source/x11/XGServerEvent.m:
* Headers/x11/XGGeneric.h:
* Headers/x11/XGServerWindow.h:
* Headers/x11/XGServer.h:
Implement the _NET_WM_SYNC_REQUEST protocol described here:
http://standards.freedesktop.org/wm-spec/1.3/ar01s06.html
This is supposed to make window resizing smoother when dragging
a resize handle provided by the window manager, by waiting to
change the window manager's frame until the GNUstep window is
finished repainting.
2011-05-05 Eric Wasylishen <[email protected]>
* Undo the previous change and try a different approach..
just cache the character set in CairoFaceInfo, but load them
as needed as we were doing before.
2011-05-05 Eric Wasylishen <[email protected]>
* Source/cairo/CairoFontEnumerator.m:
* Source/cairo/CairoFaceInfo (-characterSet): Remove the call to
FcFontMatch in -characterSet which was a big performace
bottleneck.
Instead load the character set data when enumerating all fonts in
CairoFontEnumerator.
2011-04-17 Eric Wasylishen <[email protected]>
* Source/cairo/CairoFontEnumerator.m: Remove declarations after
statements for c89 compatability
2011-04-17 Eric Wasylishen <[email protected]>
* Source/cairo/CairoFontEnumerator.m: Replace
-handleKey:selector:valueClass: and -handleKey:selector:
methods with macros.
2011-04-17 Eric Wasylishen <[email protected]>
* configure.ac: Copy the -Wdeclaration-after-statement test from
base. Also adds -Wall.
2011-04-14 Eric Wasylishen <[email protected]>
* Source/cairo/CairoFontEnumerator.m:
* Headers/cairo/CairoFontEnumerator.h: Override
-matchingFontDescriptorsFor: to delegate the matching to Fontconfig
This uses two utility classes which map Fontconfig patterns
to and from NSFontDescriptor attributes dictionaries, preserving
as much detail as possible.
2011-04-14 Adam Fedor <[email protected]>
* Version: Bump version
2011-04-14 Adam Fedor <[email protected]>
* Version 0.20.0
2011-04-09 Fred Kiefer <[email protected]>
* Source/gsc/GSFunction.m (-initWith:): Correct printf format.
* Source/x11/XGServerEvent.m (-XGErrorHandler::,
-_XPointToOSPoint:for:, -processEvent:,
-_handleTakeFocusAtom:forContext:, process_key_event): Correct printf format.
* Source/x11/XGServerWindow.m (setNormalHints, -_OSFrameToXFrame:for:,
-_OSFrameToXHints:for:, -_XFrameToOSFrame:for:, -_checkStyle:,
-nativeWindow:...:, -styleoffsets:...:, -placewindow::,
-setinputfocus:, -_DPSsetcursor::): Correct printf format.
* Source/x11/XGServerWindow.m (-orderwindow): Remove misplaced semicolon.
* Source/x11/XGDragView.m (-_resetDragTypesForWindow:): Correct printf format.
* Source/x11/XIMInputServer.m (-ximStyleInit, -ximFocusICWindow:): Correct printf format.
* Source/x11/XWindowBuffer.m: Correct printf format.
* Source/GSBackend.m: Replace objc_get_class with NSClassFromString.
* Tools/xpbs.m (-xSelectionNotify:): Correct printf format.
Fixes warnings reported by clang.
2011-03-27 Eric Wasylishen <[email protected]>
* Source/cairo/CairoFontEnumerator.m:
* Source/cairo/CairoFaceInfo.m:
* Source/cairo/CairoFontInfo.m:
* Headers/cairo/CairoFontEnumerator.h:
* Headers/cairo/CairoFaceInfo.h: Set the coveredCharacterSet ivar
of CairoFontInfo. The character set is obtained from Fontconfig.
There is an NSCharacterSet subclass which wraps the FcCharSet
structure from fontconfig, so there is no need for a slow conversion
from one character set format to another.
This has the effect of enabling glyph substitution when using
the cairo backend.
2011-03-23 Fred Kiefer <[email protected]>
* Tools/xpbs.m (-pasteboard:provideDataForType:, -availableTypes)
(-xSelectionNotify:): Better handling of plain text data types.
2011-03-18 Fred Kiefer <[email protected]>
* Source/x11/XGServerWindow.m: Extract the bitmap conversion into
a local function and use it througout the file.
2011-03-13 Eric Wasylishen <[email protected]>
* configure.ac: Check for the X extention libraries (Xext, Xt, Xmu)
using pkg-config if they aren't found with the default test
2011-03-07 Fred Kiefer <[email protected]>
* Source/win32/WIN32Server.m,
* Source/x11/XGServerWindow.m: Change the way the image for the cursor
gets passed on to the backend. The old way could only work for 8
bit data.
2011-03-05 Wolfgang Lux <[email protected]>
* Tools/xpbs.m (+xEvent:, +receivedEvent:type:extra:,
-requestData:, -xTimeByAppending): Fix race condition where gpbs
could time out waiting for a property change notification from the
X server, which is already present in the X event queue.
2011-02-15 Fred Kiefer <[email protected]>
* Source/win32/WIN32Server.m,
* Source/x11/XGServerWindow.m: New methods for cursor
handling. Requires corresponding gui change.
2011-02-14 Wolfgang Lux <[email protected]>
* Source/x11/XGServerWindow.m (-orderwindow:::): Omit app icons
and mini windows from the pager and task bar even when they are
displayed at normal window level.
2010-12-11 Fred Kiefer <[email protected]>
* Source/winlib/WIN32GState.m: Remove a few compiler warnings.
2010-12-11 Fred Kiefer <[email protected]>
* Source/winlib/WIN32GState.m (GSCreateBitmap, -DPSImage:::...:):
Better error detection.
2010-12-08 Jonathan Gillaspie <[email protected]>
* Source/win32/WIN32Server.m: Added better logging on Window create and destroy errors.
Added a secondary call to get current mouse position if the first call fails.
* Source/win32/w32_text_focus.m: Cast parameter to appropriate (HWND) type.
2010-11-18 Eric Wasylishen <[email protected]>
* Source/winlib/WIN32FontInfo.m:
* Source/winlib/WIN32GState.m:
* Source/cairo/CairoFontInfo.m:
* Source/cairo/CairoGState.m:
* Source/win32/w32_general.m:
* Source/win32/w32_create.m:
* Source/x11/XGServerWindow.m:
* Source/gsc/GSGState.m: Replace objc_malloc with malloc and
objc_free with free
2010-09-11 Fred Kiefer <[email protected]>
* Source/x11/convert.c (image2StandardPseudoColor): Small change
to keep static code analyser happy.
* Source/x11/XGServerEvent.m (process_key_event): Don't process
the event if we don't have a key window.
* Source/x11/XGServerWindow.m (_computeDepth): Test for unknown
visual class.
* Tools/gpbs.m: Rename newDataWithVersion: into dataWithVersion to
follwo the Objective_c naming convention.
2010-09-10 Eric Wasylishen <[email protected]>
* Source/win32/w32_activate.m: Revert the change to call
-[NSApp deactivate].. more investigation needed
2010-08-30 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m: Only show taskbar buttons for windows
which satisfy both:
- style mask isn't NSBorderlessWindowMask
- style mask don't have NSUtilityWindowMask set
Should fix bug 30911
2010-08-29 Eric Wasylishen <[email protected]>
* Source/win32/w32_activate.m: Call -[NSApp deactivate] in response
to a WM_ACTIVEAPPP message reporting that the app lost focus.
This delivers NSApplicationWillResignActiveNotification
and NSApplicationDidResignActiveNotification, hides panels, etc.
2010-08-24 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m: Handle Page Down and Page Up keys,
as well as adding a few others.
2010-08-24 Eric Wasylishen <[email protected]>
* Headers/win32/WIN32Server.h:
* Source/win32/WIN32Server.m:
* Source/win32/w32_movesize.m:
Fix a rather serious error where the extra window data was allocated
in two places (allocated with objc_malloc in the WM_CREATE handler,
and also allocated by Windows using the cbWndExtra field of the window
class structure). Sometimes the window level was accessed from one
memory area and sometimes from the other.
This is a quick fix that leaves the level and ordered properties
in the cbWndExtra area, and the rest is left in the WIN_INTERN
structure.
This fixes the problem where window ordering was broken when running
apps in gdb.
2010-08-24 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m (-setmaxsize::):
Remove the maximize box when a maximum size is set on a window.
2010-08-10 Fred Kiefer <[email protected]>
* Source/cairo/CairoFontEnumerator.m,
* Source/xlib/GSXftFontInfo.m: Also request spacing information.
Patch by Derek Fawcus <[email protected]>.
2010-08-03 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m:
Only look at NSUtilityWindowMask to decide whether to use a thin-
style title bar (WS_EX_TOOLWINDOW).
2010-07-28 Fred Kiefer <[email protected]>
* Source/gsc/GSGState.m (-fillRect:withPattern:): Don't use an
autoreleased bezier path.
* Source/art/path.m (-DPSrectfill::::),
* Source/xlib/XGGState.m (-DPSrectfill::::): Use
-fillPath:withPattern: not -fillRect:withPattern: as the rect needs
to be converted first.
2010-07-26 Fred Kiefer <[email protected]>
* Source/win32/WIN32Server.m,
* Source/x11/XGServerEvent.m: Use NSDeleteCharacter instead of
NSBackSpaceCharacter for the backspace key. This is what Cocoa and
OpenStep have been doing all the time.
Also use NSBackTabCharacter on X11 when XK_ISO_Left_Tab is
pressed, but don't convert shift-tab into NSBackTabCharacter.
Patch by Derek Fawcus <[email protected]>.
2010-07-25 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m:
Fix accidental integer division intended to be float division when
setting the timestamp on events. This was causing all timestamps
to be rounded to the nearest second.
2010-07-25 Eric Wasylishen <[email protected]>
* Source/win32/w32_GLContext.m:
* Source/x11/XGGLContext.m:
Apply fix for bug 29705: OpenGL subwindow positioning error
(OpenGL subwindow position was incorrectly calculated when
the window content view was flipped)
2010-07-25 Fred Kiefer <[email protected]>
* Source/x11/XGServerEvent.m:
Treat Shift modifiers in the same manner as other modifiers.
This fixes the value of the shift bit (NSShiftKeyMask) in
the modifierFlags passed to a -flagsChanged: method call.
Without it the shift bit is inverted, as explained in
the source comments, as X reports the modifier bits in
force before the key was pressed/released.
Patch by Derek Fawcus <[email protected]>.
2010-07-25 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m:
When ordering out a window, use the SWP_NOACTIVATE flag on SetWindowPos
so Windows doesn't activate/deactivate any windows when hiding a window.
This fixes the bug where when a tooltip disappeared, it would deactivate
the window the tooltip was over.
2010-07-07 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m:
* Source/win32/w32_movesize.m:
Fix for bug #29709: Windows: Maximize button in a window title bar is
always grayed out
2010-07-06 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m: Tweak the conditions for incrementing the
clickCount when handling mouse clicks: (i.e. double click detection)
- Require a click to be within a distance (retrieved from Windows)
of the last click to count (previously there was no proximity check)
- Allow clicks separated by the Windows double click time interval
to count (e.g. if the Windows double click time interval is n,
clicking at times 0, n, 2n, 3n would produce events with click counts
1, 2, 3, and 4. This matches OS X behaviour. Previously, all clicks
had to be within the windows double click time interval to count as
one group.)
2010-06-23 Quentin Mathe <[email protected]>
Fixed Windows backend issues introduced with r30523 where images are
drawn at the wrong location by -[NSImage drawXXX] methods.
See bug report #30069
Images are also now drawn correctly with these methods in a
rotated/scaled context unlike previously (but alpha blending still
doesn't work properly).
* Source/winlib/WIN32Context.m (-supportsDrawGState): Added.
* Headers/winlib/WIN32GState.m: Added oldWorldTransform ivar.
* Source/winlib/WIN32GState.m:
(-setUpAppKitBaseCoordinatesForHDC:, -restoreGDIBaseCoordinatesForHDC:,
drawGState:fromRect:toPoint:op:fraction:): Added.
2010-06-06 Fred Kiefer <[email protected]>
* Source/cairo/CairoGState.m
(-compositeGState:fromRect:toPoint:op:fraction:): Move the usage
of _ct and source->_ct after the check whether they are set.
2010-06-01 Quentin Mathe <[email protected]>
Fixed composite operator to behave correctly and added a new draw
operator to get -[NSImage drawXXX] methods work exactly as Cocoa and
improve the drawing performance in some cases.
Eliminated all flipping checks in the backend to ensure the flipping
remains an high-level AppKit concept.
* Source/gsc/GSContext.m:
(-GSdraw:toPoint:fromRect:operation:fraction:): Added.
This method calls -drawGState:fromRect:toPoint:op:fraction:.
* Headers/gsc/GSGState.h (-drawGState:fromRect:toPoint:op:): Added
as an informal protocol which can be implemented by subclasses
* Source/cairo/CairoContext.m (-supportsDrawGState): Added overriden
implementation that enables -drawGState:fromRect:toPoint:op:fraction:.
* Source/cairo/CairoGState.m:
(-drawOrientationMarkersIn:): Added.
(-DPSimage::::::): Removed flipping check.
(-compositeGState:fromRect:toPoint:op:fraction:): Fixed to precisely
implement the PostScript behavior which is to ignore rotation and
scaling effect for the content but not for the destination point.
Also documented in details since this code is complex.
(-drawGState:fromRect:toPoint:op:fraction:): Added.
2010-05-25 Riccardo Mottola <[email protected]>
* Source/x11/XGDragView.m
* Source/gsc/GSGState.m
Added missing imports.
2010-05-16 17:39-EDT Gregory John Casamento <[email protected]>
* Headers/win32/WIN32Server.h
* Source/win32/w32_general.m
* Source/win32/WIN32Server.m: Added code to re-activate the
theme when the theme changes on Windows.
2010-05-11 Fred Kiefer <[email protected]>
* configure.ac: Make cairo the default backend. Fall back to art
and xlib gracefully.
* configure: Regenerate.
2010-05-10 Adam Fedor <[email protected]>
* Fix release documentation
2010-05-09 Adam Fedor <[email protected]>
* Version 0.19.0 Unstable release
2010-05-09 Adam Fedor <[email protected]>
* Version 0.18.0
2010-04-20 Doug Simons <[email protected]>
* Source/winlib/WIN32GState.m:
Fix problem with display location for some composited images.
2010-04-20 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m:
Fix problem with key events going to window other than the key window.
Block callbacks while setting the foreground window to prevent key/main
window changes from cascading in a feedback loop.
2010-04-18 Eric Wasylishen <[email protected]>
* Source/winlib/WIN32FontInfo.m:
Use DEFAULT_QUALITY for fonts instead of ANTIALISED_QUALITY.
ANTIALISED_QUALITY forces small text to be non-antialised,
which looks out of place compared with most Windows apps.
2010-04-15 Eric Wasylishen <[email protected]>
* Source/win32/w32_create.m:
Use the default icon size when loading the app ico file
Otherwise, the first icon in the file would be used.
2010-04-14 Jonathan Gillaspie <[email protected]>
* Source/win32/WIN32Server.m: Have non-key, non-main windows
that order front not become active. Also don't bring windows
that are ordering out to the foreground first.
2010-03-25 Fred Kiefer <[email protected]>
* Source/art/ftfont.m,
* Source/art/ftfont-old.m,
* Source/xlib/XGGState.m: Add more missing imports.
2010-03-25 Riccardo Mottola <[email protected]>
* Source/gsc/GSGState.m: import NSValue, include -> import
* Source/xlib/XGGState.m: added missing imports
2010-03-24 Doug Simons <[email protected]>
* Source/winlib/WIN32FontInfo.m: Include NSDebug.h for
definition of NSDebugLLog().
2010-03-24 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m: Ignore duplicate mouse down
events generated by first click in a window.
2010-03-19 Eric Wasylishen <[email protected]>
* Headers/win32/w32_movesize.h:
* Source/win32/w32_movesize.m:
* Source/win32/WIN32Server.m: Call displayIfNeeded on
the window when WM_SIZING is recieved so windows redraw
while being resized.
2010-03-19 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m: Report deltaX and deltaY
for mouse move events, like OS X does.
2010-03-19 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m: Process WM_SYSKEYDOWN
and WM_SYSKEYUP messages - these are delivered instead
of normal WM_KEYDOWN and WM_KEYUP messages when the
ALT key is presesd. (and also F10).
This fixes NSAlternateKeyMask not being set.
2010-03-13 Eric Wasylishen <[email protected]>
* Source/win32/w32_GLcontext.m: Set the WS_DISABLED flag
on the OpenGL subwindow so mouse/keyboard events get
redirected to the parent window.
Previously mouse/keyboard events were being eaten by
the OpenGL subwindow - now they work as expected.
2010-03-13 Eric Wasylishen <[email protected]>
* Source/win32/w32_GLcontext.m:
Make more than one NSOpenGLView in an application work.
Win32GLContext was using the hDC stored in the pixel format
object in a few places, instead of getting it from the
Win32Subwindow object.
2010-03-13 Eric Wasylishen <[email protected]>
* Headers/win32/WIN32Server.h:
* Source/win32/WIN32Server.m: Add support for horizontal
mousewheel scrolling
010-03-13 Eric Wasylishen <[email protected]>
* Source/win32/WIN32Server.m: Fix handling of mousewheel events.
The WM_MOUSEWHEEL message uses screen coordinates, so convert
them to client coordinates.
2010-03-13 Fred Kiefer <[email protected]>
* Source/gsc/GSContext.m (-GSDrawImage::):
Bug fix by Anibal Rindisbacher <[email protected]>
2010-03-12 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m: Capture the mouse to get mouse
moved events outside of a window while a button is down.
2010-03-11 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m: Prevent generating spurious
NSMouseMoved events when the mouse hasn't actually moved.
2010-03-08 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m: Oops, I don't know how the
extra 'u' got in there... fixed.
2010-03-08 Doug Simons <[email protected]>
* Source/win32/WIN32Server.m: When the shift key is down,
charactersIgnoringModifiers should be uppercase (this is
consistent with Cocoa and the x11 backend.
2010-03-07 Fred Kiefer <[email protected]>