/
ChangeLog.pre-git
5812 lines (4048 loc) · 186 KB
/
ChangeLog.pre-git
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
2009-04-14 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.26.2
==================== 2.26.1 ====================
2009-04-14 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.26.1
2009-03-16 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.26.1
==================== 2.26.0 ====================
2009-03-16 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.26.0
2009-02-17 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.25.92
==================== 2.25.91 ====================
2009-02-17 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.25.91
2009-01-31 Vincent Untz <vuntz@gnome.org>
* configure.in: require glib 2.16.0 for C_(). Fix bug #569946.
2009-01-19 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.25.90
==================== 2.25.5 ====================
2009-01-19 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.25.5
2009-01-10 Vincent Untz <vuntz@gnome.org>
* libvnck/vnckprop.c: (print_screen), (print_workspace),
(print_application), (print_window): use C_() instead of Q_().
Patch by Matthias Clasen <mclasen@redhat.com>, fix bug #558338.
2009-01-06 Vincent Untz <vuntz@gnome.org>
* libvnck/pager.c:
* libvnck/screen.c:
* libvnck/tasklist.c:
* libvnck/util.c:
* libvnck/window-action-menu.c: undef VNCK_DISABLE_DEPRECATED, since
that's internal code.
2008-12-14 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.25.4
==================== 2.25.3 ====================
2008-12-14 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.25.3
2008-12-10 Vincent Untz <vuntz@gnome.org>
* libvnck/pager-accessible.[ch]:
* libvnck/workspace-accessible.[ch]: single include for ctk+.
Patch by Pedro Fragoso <ember@ubuntu.com>, fix bug #563858.
* libvnck/tasklist.c: (vnck_task_drag_data_received): fix compiler
warning
2008-11-25 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.24.3
==================== 2.24.2 ====================
2008-11-25 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.24.2
2008-10-22 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.24.2
==================== 2.24.1 ====================
2008-10-22 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.24.1
2008-09-22 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.24.1
==================== 2.24.0 ====================
2008-09-22 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.24.0
2008-09-08 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.24.0
==================== 2.23.92 ====================
2008-09-08 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.23.92
2008-09-01 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.23.92
==================== 2.23.91 ====================
2008-09-01 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.23.91
2008-08-20 Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
* libvnck/default_icon.png: updated to a tango styled pixmap
2008-08-04 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.23.90
==================== 2.23.6 ====================
2008-08-04 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.23.6
2008-06-17 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.23.5
==================== 2.23.4 ====================
2008-06-17 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.23.4
2008-06-17 Vincent Untz <vuntz@gnome.org>
* configure.in: require intltool 0.40.0
* Makefile.am: remove old intltool cruft
2008-06-11 Vincent Untz <vuntz@gnome.org>
* libvnck/screen.c: (arrays_contain_same_windows): return TRUE when
both list of windows are empty. Fix a bug where when the last window
disappears, libvnck internals don't get updated and you still have a
window in the window list, eg.
See http://code.google.com/p/xmonad/issues/detail?id=195
Patch by Malebria <malebria@riseup.net>
2008-04-07 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.22.2
==================== 2.22.1 ====================
2008-04-07 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.22.1
2008-03-19 Vincent Untz <vuntz@gnome.org>
Fix moving a window to an arbitrary workspace in viewport mode.
Fix bug #520726.
* libvnck/window-action-menu.c: (item_activated_callback): get the
maths right.
2008-03-19 Vincent Untz <vuntz@gnome.org>
Unstick windows when moving them in another workspace (viewport mode),
else the windows are just outside the visible screen.
Fix bug #520704.
Patch by Travis Watkins <amaranth@ubuntu.com>
* libvnck/window-action-menu.c: (item_activated_callback): well, do
what I already described
2008-03-19 Vincent Untz <vuntz@gnome.org>
List windows that demands attention in the tasklist when they're in the
current workspace but they're not visible in the viewport.
Fix bug #520124
* libvnck/tasklist.c: (vnck_task_state_changed): just do it
2008-03-19 Vincent Untz <vuntz@gnome.org>
Fix crash on logout because of some race condition.
Fix bug #517750
* libvnck/pager.c: (vnck_pager_connect_window): use g_signal_connect()
instead of g_signal_connect_object() since we'll disconnect the
handlers
(vnck_pager_disconnect_screen): disconnect signal handlers for all
windows
(vnck_pager_disconnect_window): helper function
2008-03-10 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.22.1
==================== 2.22.0 ====================
2008-03-10 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.22.0
2008-03-04 Mikkel Kamstrup Erlandsen <kamstrup@cvs.gnome.org>
* libvnck/window.c: (vnck_window_set_geometry): fix
vnck_window_set_geometry() (again). The top frame was not taken
correctly into account. This was only evident when aligning to a
top panel or screen edge. Should close bug #518606.
2008-03-03 Vincent Untz <vuntz@gnome.org>
* libvnck/window.c: (vnck_window_set_geometry): fix
vnck_window_set_geometry() to really work as intended, ie including
decorations. The _NET_MOVERESIZE_WINDOW message do not include
decorations.
Fix part of bug #518606, patch by Mikkel Kamstrup Erlandsen
<mikkel.kamstrup@gmail.com>, with feedback from Elijah & Vincent.
2008-03-03 Vincent Untz <vuntz@gnome.org>
* libvnck/vnckprop.c: (main): have the --help output translated. The
strings were marked for translations before, but some steps were
forgotten.
Fix bug #518070
2008-02-26 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.22.0
==================== 2.21.92 ====================
2008-02-26 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.21.92
2008-02-20 Vincent Untz <vuntz@gnome.org>
* libvnck/xutils.c: (_vnck_set_window_geometry): don't push twice the
error trap, pop it the second time!
Should fix bug #517570 (vnck_window_set_geometry() not working in some
cases).
2008-02-09 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.21.92
==================== 2.21.91 ====================
2008-02-09 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.21.91
2008-02-09 Vincent Untz <vuntz@gnome.org>
* configure.in: require gtk-doc 1.9
Fix bug #511414.
2008-01-28 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.21.91
==================== 2.21.90 ====================
2008-01-28 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.21.90
2008-01-21 Vincent Untz <vuntz@gnome.org>
Make the pager always work in multiscreen environment.
Fix bug #479959.
Thanks go to David Sundqvist <bugzilla@dystopic.org> for the help in
debugging this.
* libvnck/pager.c: (_vnck_pager_set_screen): do nothing if the pager
is not on a screen. Else, we might work on the default screen, which
is bad in a multiscreen environment.
(vnck_pager_set_layout_hint): do not assume that
_vnck_pager_set_screen() worked. Someone can call this function before
the pager has been added to a widget hierarchy, and so before we know
the screen the pager will work on.
(vnck_pager_set_orientation): document this specific case of failure
(vnck_pager_set_n_rows): ditto
2008-01-14 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.21.90
==================== 2.21.5 ====================
2008-01-14 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.21.5
2007-11-13 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.21.3
==================== 2.21.2.1 ====================
2007-11-13 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.21.2.1
2007-11-13 Vincent Untz <vuntz@gnome.org>
* configure.in:
* libvnck-1.0-uninstalled.pc.in:
* libvnck-1.0.pc.in:
* libvnck/Makefile.am:
Rework again so that we also work with Xorg 6.8, which doesn't have
.pc files. I'm sure it's a bit broken in a corner case for Xorg 6.8,
but it should work anyway. Keep using .pc files when available.
* doc/tmpl/window-action-menu.sgml: updated
2007-11-13 Vincent Untz <vuntz@gnome.org>
* libvnck/window-action-menu.[ch]: (vnck_create_window_action_menu):
don't make this function a define. We need the symbol for now, if we
don't want to break the ABI...
2007-11-12 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.21.3
==================== 2.21.2 ====================
2007-11-12 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.21.2
2007-11-12 Vincent Untz <vuntz@gnome.org>
* libvnck/xutils.[ch]: change _vnck_atom_get() and _vnck_atom_name()
to be #define for cdk_x11_get_xatom_by_name() and
cdk_x11_get_xatom_name(). No need to duplicate what's CDK is doing.
2007-11-12 Vincent Untz <vuntz@gnome.org>
Clean up the autotools and the pkg-config files.
We now require a x11.pc file, and optionally a xres.pc file. This
might break on some systems with old X, but I'm not sure we still
support those. Let's see if it breaks :-)
(and fix bug #332264)
* configure.in: use AC_MSG_CHECKING/AC_MSG_RESULT instead of echo'ing,
remove old X libraries detection method and use pkg-config
* libvnck/Makefile.am: remove useless X_LIBS
* libvnck-1.0-uninstalled.pc.in:
* libvnck-1.0.pc.in: add lots of Requires and Requires.private
2007-11-11 Vincent Untz <vuntz@gnome.org>
Activate the window when the user drags and drops it quickly on
itself. "Quickly" is defined by ctk-double-click-time.
Based on patch by Jan Niklas Hasse <jhasse@gmail.com>
Fix bug #460403.
* libvnck/tasklist.c: add a new drag_start_time field per tasklist
(vnck_tasklist_init): initialize the new field
(vnck_task_popup_menu): connect to drag_end
(vnck_task_drag_begin): set drag_start_time too
(vnck_task_drag_end): (new) reset drag_start_time to 0
(vnck_task_drag_data_received): if the found window is the same as the
dragged one, then check if it was dropped quickly. If yes, then
activate it and make the drag and drop a success
(vnck_task_create_widgets): connect to drag end
2007-11-11 Vincent Untz <vuntz@gnome.org>
Be more paranoid about the fact that the window of the VnckActionMenu
might have been not set. This case can probably happen in bindings...
* libvnck/window-action-menu.c: (vnck_action_menu_set_property): check
that the window is really a VnckWindow
(vnck_action_menu_constructor): handle the case and print a warning
when the window has not been set
* doc/libvnck-docs.sgml: add index of new symbols in 2.22
2007-11-11 Vincent Untz <vuntz@gnome.org>
* libvnck/pager.c: remove useless include
* libvnck/tasklist.c: (vnck_task_popup_menu),
(vnck_task_button_press_event): use vnck_action_menu_new() instead of
deprecated vnck_create_window_action_menu()
2007-11-11 Vincent Untz <vuntz@gnome.org>
Objectify window-action-menu.c so that we have a real VnckActionMenu
widget.
* doc/libvnck-docs.sgml:
* doc/libvnck-sections.txt:
* doc/libvnck.types:
* doc/tmpl/window-action-menu.sgml: doc updates for the change
* libvnck/window-action-menu.[ch]: (window_weak_notify),
(get_action_menu), (item_activated_callback), (update_menu_state),
(queue_update), (state_changed_callback),
(actions_changed_callback), (workspace_changed_callback),
(screen_workspace_callback), (viewports_changed_callback),
(make_radio_menu_item), (make_check_menu_item), (make_menu_item),
(refill_submenu_workspace), (refill_submenu_viewport),
(vnck_action_menu_get_property), (vnck_action_menu_set_property),
(vnck_action_menu_init), (vnck_action_menu_constructor),
(vnck_action_menu_class_init), (vnck_action_menu_finalize),
(vnck_action_menu_new): many changes, but nothing really interesting
since it's only about making this an object.
Deprecate vnck_create_window_action_menu() in favor of
vnck_action_menu_new()
2007-11-11 Vincent Untz <vuntz@gnome.org>
Change API doc to use Gets instead of Returns in the description of
the functions. Fix bug #477847.
* libvnck/application.c:
* libvnck/class-group.c:
* libvnck/screen.c:
* libvnck/window.c:
* libvnck/workspace.c:
2007-11-11 Vincent Untz <vuntz@gnome.org>
Add a context for some strings. This is needed by French at least. Fix
bug #476512.
* libvnck/vnckprop.c: (print_screen), (print_workspace),
(print_application), (print_window):
2007-11-11 Vincent Untz <vuntz@gnome.org>
* libvnck/screen.c: (update_viewport_settings): remove dead
conditions.
Patch by Roland Bär <roland@verifysoft.de>. Fix bug #494077.
2007-11-11 Vincent Untz <vuntz@gnome.org>
* libvnck/util.c: (vnck_pid_read_resource_usage_fill_cache): correctly
initialize some variables.
Patch by Roland Bär <roland@verifysoft.de>. Fix bug #494077.
2007-10-22 Matthias Clasen <mclasen@redhat.com>
* libvnck/util.c: Avoid crashing if the X Resource extension
is not present. (#489087)
2007-10-16 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.20.2
==================== 2.20.1 ====================
2007-10-16 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.20.1
2007-10-16 Vincent Untz <vuntz@gnome.org>
Better fix for bug #476299.
* libvnck/tasklist.c: (vnck_task_get_text): revert the change here
* libvnck/util.c: (_vnck_util_sn_utf8_validator): new
(_vnck_init): tell libsn to use the glib utf-8 validator
2007-10-16 Vincent Untz <vuntz@gnome.org>
* libvnck/tasklist.c: (vnck_task_get_text): validate the strings
coming from libsn so we're sure they're UTF-8.
Fix bug #476299.
2007-10-10 Vincent Untz <vuntz@gnome.org>
* libvnck/selector.c: (vnck_selector_window_opened): always connect to
the window events, even if the menu is not opened. We want to know
about the icon changes if the window becomes the active window, eg.
2007-09-17 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.20.1
==================== 2.20.0 ====================
2007-09-17 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.20.0
2007-09-04 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.20.0
==================== 2.19.92 ====================
2007-09-04 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.19.92
2007-08-31 Vincent Untz <vuntz@gnome.org>
* MAINTAINERS: update to new format
2007-08-21 Andre Klapper <a9016009@gmx.de>
* libvnck/vnckprop.c:
* libvnck/test-selector.c:
Add translator comments. Fixes bug #468320.
2007-08-13 Lucas Rocha <lucasr@gnome.org>
* configure.in: post-release bump to 2.19.91
==================== 2.19.90 ====================
2007-08-13 Lucas Rocha <lucasr@gnome.org>
* configure.in:
* NEWS: version 2.19.90
2007-07-30 Ray Strode <rstrode@redhat.com>
* libvnck/tasklist.c (vnck_task_finalize): remove weak
pointers on fields in task structure before freeing task
block (bug 139080)
2007-07-30 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.19.90
==================== 2.19.6 ====================
2007-07-30 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.19.6
2007-07-11 Vincent Untz <vuntz@gnome.org>
* rationales.txt: mention that the rationale for the action menu
layout is in the metacity rationale.txt, even if that's not true right
now ;-)
2007-07-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
* libvnck/vnckprop.c: (window_entries): Fix typo in message (missing
right parenthesis).
2007-07-10 Vincent Untz <vuntz@gnome.org>
* libvnck/pager.c:
* libwcnk/screen.[ch]:
* libvnck/tasklist.c:
* libvnck/util.c: use Deprecated:2.20: instead of just Deprecated:
2007-07-10 Vincent Untz <vuntz@gnome.org>
* AUTHORS: add myself
* libvnck/*: add myself for the copyright of relevant files
2007-07-10 Vincent Untz <vuntz@gnome.org>
* libvnck/doc/libvnck-docs.sgml:
* libvnck/doc/libvnck-sections.txt:
* libvnck/doc/tmpl/misc.sgml:
* libvnck/doc/tmpl/resource.sgml:
* libvnck/libvnck/util.c: reorganize a bit some part of the API
documentation
2007-07-10 Vincent Untz <vuntz@gnome.org>
* tasklist.c: (vnck_tasklist_set_include_all_workspaces): mention that
it works as expected with viewport.
2007-07-10 Vincent Untz <vuntz@gnome.org>
Correctly draw workspaces with viewport in the pager. As a special
case, when the width/height of the workspace allows to have a round
number of viewports, draw the various viewports as if they were
workspaces.
* libvnck/pager.c: (vnck_pager_draw_workspace): add lot of code to
handle the viewport case
2007-07-10 Vincent Untz <vuntz@gnome.org>
Make the window action menu work with viewport, for our compiz
friends. This mode is active when there's only one workspace with a
viewport.
Fix part of bug #352383.
* libvnck/window-action-menu.c: (item_activated_callback): make
pin/unpin stick/unstick the window, make the switch workspace items
work with viewport
(update_menu_state): update for the viewport mode
(viewports_changed_callback): if the viewport has changed, update the
menu
(get_workspace_name_with_accel): add a comment to keep in sync with
strings for the viewport
(refill_submenu_workspace): remove useless stuff
(refill_submenu_viewport): new
(vnck_create_window_action_menu): update API doc to tell about the new
behavior for viewport, rename the pin/unpin to have the right name for
the right item, connect to the viewports_changed signal
2007-07-08 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.19.6
==================== 2.19.5 ====================
2007-07-08 Vincent Untz <vuntz@gnome.org>
* configure.in:
* NEWS: version 2.19.5
2007-07-08 Vincent Untz <vuntz@gnome.org>
Make the window action menu work when more things change.
* libvnck/window-action-menu.c: (update_menu_state): hide/show
left/right/up/down items, refill the workspace submenu when needed,
hide the unpin item and popdown the workspace submenu when there is
only one workspace
(workspace_changed_callback): new, update the menu when the window is
on another workspace
(screen_workspace_callback): new, update the menu when a workspace is
created/destroyed
(refill_submenu): new, from code from vnck_create_window_action_menu()
(vnck_create_window_action_menu): always create left/right/up/down
items, don't create the workspace submenu here, connect to
workspace_changed, workspace_created and workspace_destroyed
2007-07-07 Vincent Untz <vuntz@gnome.org>
Add vnck_window_is_below()/make_below()/unmake_below()
Fix bug #453982.
* doc/libvnck-sections.txt:
* doc/tmpl/window.sgml: update doc
* libvnck/window.c: (vnck_window_init): init new field
(vnck_window_class_init): update doc
(vnck_window_is_below), (vnck_window_make_below),
(vnck_window_unmake_below): new
(update_state): handle below
* libvnck/window.h: updated
* libvnck/vnckprop.c: add --make-below and --unmake-below
(validate_options), (update_window): handle new options
(print_window): print below state, and add FIXME
2007-07-07 Vincent Untz <vuntz@gnome.org>
Keep a list of tasks that don't belong to any class group.
Fix bug #453777. And complete fix for bug #165075.
* libvnck/tasklist.c: (vnck_tasklist_init): initialize new
windows_without_class_group field.
(vnck_tasklist_finalize): add new assertion
(vnck_tasklist_size_allocate): append the tasks from
windows_without_class_group to the list of visible tasks
(vnck_tasklist_remove): remove the task from
windows_without_class_group when it's needed
(vnck_tasklist_free_tasks): add assertion
(vnck_tasklist_update_lists): if there's no class group for the
window, add it to windows_without_class_group
2007-06-29 Vincent Untz <vuntz@gnome.org>
* libvnck/application.c: (update_name): add assertion to make it clear
how this works.
Makes it possible to close bug #77942, since people were not
understanding this right.
2007-06-26 Vincent Untz <vuntz@gnome.org>
Fix bug #308552.
* libvnck/tasklist.c: (vnck_tasklist_size_request): some clean up, and
add a comment about vnck_task_size_allocated()
(vnck_task_size_allocated): new, hide widget the image or label in the
task button if the width is really small
(vnck_task_create_widgets): connect to the size-allocate signal of the
buttons
2007-06-26 Vincent Untz <vuntz@gnome.org>
* libvnck/tasklist.[ch]: (vnck_tasklist_init): updated
(vnck_tasklist_set_minimum_width),
(vnck_tasklist_get_minimum_width),
(vnck_tasklist_set_minimum_height),
(vnck_tasklist_get_minimum_height): deprecate those functions, since
the new size algorithm makes them more or less useless now. So they
don't do anything anymore.
2007-06-26 Vincent Untz <vuntz@gnome.org>
Fix size of buttons in tasklist changing with the text.
Fix bug #310809.
* libvnck/tasklist.c: (vnck_tasklist_get_button_size): new, get the
ideal button size based on the icon size and a maximum number of
characters for the text
(vnck_tasklist_size_request): use vnck_tasklist_get_button_size() for
the maximum button width, ignore the minimum width/height since
they're useless and making things more complex than they should be,
use the maximum size hint for the requested width
(vnck_task_create_widgets): don't call ctk_label_set_max_width_chars()
2007-06-25 Vincent Untz <vuntz@gnome.org>
* libvnck/screen.c: (vnck_screen_change_workspace_count): call
_vnck_error_trap_push() and _vnck_error_trap_pop() (mainly for the
XSync() call in _vnck_error_trap_push())
* libvnck/xutils.c: (_vnck_close), (_vnck_keyboard_move),
(_vnck_keyboard_size), (_vnck_change_state),
(_vnck_change_workspace), (_vnck_activate),
(_vnck_activate_workspace), (_vnck_change_viewport),
(_vnck_toggle_showing_desktop), (_vnck_gdk_pixbuf_get_from_pixmap),
(_vnck_set_window_geometry), (_vnck_free_layout_manager),
(_vnck_try_desktop_layout_manager),
(_vnck_release_desktop_layout_manager): ditto.
This is needed for vnckprop to correctly work.
* libvnck/vnckprop.c: (timestamp_predicate),
(get_xserver_timestamp): new, stolen from xutils.c
(update_screen): we don't need the timestamp here
(update_workspace): get a real xserver timestamp
(update_window): ditto
2007-06-24 Vincent Untz <vuntz@gnome.org>
* libvnck/vnckprop.c: (validate_options): make "vnckprop --list" (and
others action on the screen without a --screen option) work again,
instead of having it force the user to select a window
2007-06-24 Vincent Untz <vuntz@gnome.org>
* libvnck/application.c: fix the doc API for
vnck_application_get_icon() and vnck_application_get_mini_icon()
2007-06-24 Vincent Untz <vuntz@gnome.org>
Make it possible to print information about a class group or an
application by selecting a window. Also, if no argument is specified
for --screen or --workspace, use the default screen or the active
workspace.
* libvnck/vnckprop.c: force no conflict resolution for --activate
(used in --workspace and --window)
(option_parse): new, we need this since we have optional arguments for
some options
(validate_options): updated
(handle_button_press_event): updated, since we'll return to main()
which will handle everything
(main): updated to use the active workspace if no number is specified
after --workspace, and to let the user select a window for a class
group or an application
* doc/tmpl/workspace.sgml: forgot to update this
2007-06-24 Vincent Untz <vuntz@gnome.org>
* doc/libvnck-sections.txt:
* libvnck/workspace.[ch]: (vnck_workspace_get_screen): add
vnck_workspace_get_screen() API, for consistency
* libvnck/vnckprop.c: add parameters to print information about a
class group and an application,
make --list list windows for a screen, workspace, class group or
application. This removes --list-windows and friends.
2007-06-24 Vincent Untz <vuntz@gnome.org>
* doc/libvnck-sections.txt:
* doc/tmpl/workspace.sgml: forgot to commit the doc changes for the
new API
2007-06-24 Vincent Untz <vuntz@gnome.org>
* libvnck/window-action-menu.c: (item_activated_callback): updated to
use vnck_workspace_get_neighbor()
(vnck_create_window_action_menu): don't use
vnck_screen_calc_workspace_layout(), and just check if neighbors exist
with vnck_workspace_get_neighbor()
2007-06-24 Vincent Untz <vuntz@gnome.org>
Add new API to get layout information about a workspace.
Also add a mode to vnckprop to interact with workspaces.
* libvnck/workspace.[ch]: (vnck_workspace_get_layout_row),
(vnck_workspace_get_layout_column), (vnck_workspace_get_neighbor): 3
new API, that are useful for knowing more about the layout
* libvnck/screen.[ch]: (vnck_screen_get_workspace_neighbor): deprecate
this function, vnck_workspace_get_neighbor() is simpler and should be
used instead
(update_workspace_layout): if the number of rows (or columns) is not
set on the screen, compute it using the number of columns (or rows)
and the number of workspaces
* libvnck/vnckprop.c: (set_mode): new
(validate_options): updated
(update_screen_props): remove the part about workspace activation
(update_space_props): new
(print_screen_props): indentation fixes
(print_space_props): new
(handle_button_press_event): updated
(main): updated
2007-06-24 Vincent Untz <vuntz@gnome.org>
* libvnck/class-group.h:
* libvnck/private.h: move private VnckClassGroup functions to
private.h
2007-06-24 Vincent Untz <vuntz@gnome.org>
* libvnck/screen.c: (vnck_screen_get_workspaces): forgot the
"Since:" for documentation
2007-06-24 Vincent Untz <vuntz@gnome.org>
* doc/libvnck-sections.txt:
* doc/tmpl/screen.sgml:
* libvnck/screen.[ch]: (vnck_screen_get_workspaces): new API, for
consistency.
Fix also two API docs.
2007-06-24 Vincent Untz <vuntz@gnome.org>
Cleanups and deprecate some VnckScreen functions that shouldn't have
been made public when they were added.
* doc/tmpl/tasklist.sgml:
* libvnck/tasklist.c: improve a bit documentation
(vnck_tasklist_class_init): add doc for the style properties
(vnck_tasklist_size_request): remove spurious spaces
(vnck_tasklist_free_tasks): move some assertions around, since it's a
bit clearer
(vnck_tasklist_update_lists): remove empty line
(vnck_task_create_widgets): use a define instead of magic values for
the padding
* libvnck/screen.[ch]: deprecate vnck_screen_get_workspace_index() (we
have vnck_workspace_get_number()),
vnck_screen_calc_workspace_layout(),
vnck_screen_free_workspace_layout() and VnckWorkspaceLayout
* libvnck/util.c: remove useless TODO (since the function is already
deprecated)
* libvnck/workspace.c: update doc to not refer to
vnck_screen_calc_workspace_layout()
2007-06-23 Vincent Untz <vuntz@gnome.org>
* libvnck/tasklist.c: (vnck_tasklist_update_lists): do not group
together windows without a class. Fix bug #165075.
2007-06-23 Vincent Untz <vuntz@gnome.org>
* libvnck/tasklist.c: (vnck_task_popup_menu): add a small assertion
2007-06-21 Vincent Untz <vuntz@gnome.org>
* libvnck/tasklist.c: (vnck_task_popup_menu): add dragging of windows
from a grouped task menu
2007-06-21 Vincent Untz <vuntz@gnome.org>
Add a --transparent command line for test-tasklist
Patch by Ryan Lortie <desrt@desrt.ca>. Fix bug #439417
* libvnck/test-tasklist.c: (window_expose_event): new
(window_composited_changed): new
(main): updated
2007-06-21 Vincent Untz <vuntz@gnome.org>
Make the glowing effect use cairo. This makes it work with RGBA.
Patch by Ryan Lortie <desrt@desrt.ca>. Fix bug #439417
* libvnck/tasklist.c: (glow_pixbuf): kill
(vnck_task_button_glow): cairo love!
(take_screenshot): just return the pixmap
(copy_pixmap): new, copy the window of a widget in a pixmap
(vnck_task_expose): updated
2007-06-20 Vincent Untz <vuntz@gnome.org>
* libvnck/tasklist.c: (draw_dot): killed
(vnck_task_expose): don't draw small dots that people don't see, but
use ctk_paint_tab()
Fix bug #139523
2007-06-20 Vincent Untz <vuntz@gnome.org>
* libvnck/tasklist.c: (vnck_task_expose): only make the button glow if
the task needs attention. It doesn't change anything in the end. But
still (since there's no timeout involved), it's better :-)
2007-06-20 Vincent Untz <vuntz@gnome.org>
Stop the glowing effect in the tasklist for urgent windows after a
while. This fixes bug #327870.
Also, a new fade-max-loops controls the number of loops before this
stops. If set to 0, then the effect is nearly disabled. This is
hopefully okay for bug #356452.
This also adds a needs_attention_time field to VnckWindow. This could
be useful for other stuff, but it's private for now.
* libvnck/window.c: (vnck_window_init): init new field
(_vnck_window_get_needs_attention_time): new
(transient_needs_attention): changed to return a VnckWindow
(_vnck_window_or_transient_get_needs_attention_time): new
(vnck_window_or_transient_needs_attention): updated
(update_state): correctly set needs_attention_time
(update_wmhints): ditto
* libvnck/private.h: updated
* libvnck/tasklist.c: (vnck_task_init): init new field
(vnck_task_button_glow): get the fade-max-loops setting, and stop the
glowing effect if we're past the number of loops
(vnck_task_stop_glow): just do g_source_remove() since there's a
destroy handler for the source
(vnck_tasklist_class_init): add new fade-max-loops property
(vnck_task_get_needs_attention): get the time when the task started
needing attention
(vnck_task_expose): updated a bit, and add missing
vnck_task_button_glow()
2007-06-20 Vincent Untz <vuntz@gnome.org>
* doc/libvnck-docs.sgml:
* libvnck/window.c:
* libvnck/workspace.c: update docs to have indexes of symbols.
* libvnck/vnckprop.c: add TODO
2007-06-20 Vincent Untz <vuntz@gnome.org>
* libvnck/vnckprop.c: (update_screen_props), (update_window_props),
(print_screen_props): rework TODO list
2007-06-20 Vincent Untz <vuntz@gnome.org>
* libvnck/pager.c: (vnck_pager_window_get_workspace): add a new
is_state_relevant argument
(get_windows_for_workspace_in_bottom_to_top): updated
(vnck_pager_queue_draw_window): updated
(window_state_changed_callback): if the state change is about
visibility in the pager, we need to force the redraw of the workspace
* libvnck/vnckprop.c: (update_window_props): remove FIXME
(print_screen_props): fix in commented code
2007-06-20 Vincent Untz <vuntz@gnome.org>
Add new features to vnckprop: it can now change properties of windows,
but also of screens, and display information about a screen. And it's
more l10n-friendly.