-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog.pre-git
4082 lines (3161 loc) · 151 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>
* NEWS: version 2.26.1
2009-04-10 Vincent Untz <vuntz@gnome.org>
* gnome-session/main.c: (require_dbus_session): when relaunching with
dbus-launch, correctly copy arguments that were passed to
gnome-session over to the new call
Fix bug #574310.
2009-04-10 Vincent Untz <vuntz@gnome.org>
* tools/gnome-session-save.c: (main): make gnome-session-save --kill
--silent work as --force-logout (no inhibitor dialog).
Fix bug #574982.
2009-04-09 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-manager.c: (do_inhibit_dialog_action): remove
comment that is now wrong
(query_end_session_complete): pass the right action to the inhibit
dialog so that the button doesn't always tell "Log out anyway", but
"Shutdown anyway" when it's about shutting down.
2009-04-08 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.26.1
==================== 2.26.0.90 ====================
2009-04-08 Vincent Untz <vuntz@gnome.org>
* NEWS:
* configure.in: version 2.26.0.90
2009-04-08 Vincent Untz <vuntz@gnome.org>
Make reboot and shutdown leave the session properly, by letting apps
exit before doing the real reboot/shutdown.
Note that because of the ConsoleKit policies, the ways it's handled
when there are more than one user logged in or when the policy always
require a password might be a bit different:
- in the usual case (single user, no password required), everything
works as expected.
- in the multiple users case (password generally required once), we
ask for the password before trying to exit the session.
- if the password is required each time the ConsoleKit action is
called, then we'll ask for the password only once, after having made
all apps exit. If this doesn't work (wrong password), since the
session is killed anyway, we log out and ask gdm to do the action.
* gnome-session/gsm-marshal.list: add new signature that we need
* gnome-session/gsm-consolekit.[ch]: add new privileges-completed
signal
(gsm_consolekit_class_init): add new signal
(gsm_consolekit_get_result_for_action): new, split from
gsm_consolekit_can_do_action()
(gsm_consolekit_can_do_action): ensure that the CK connection works
here (instead of requiring callers to do it), and use
gsm_consolekit_get_result_for_action()
(gsm_consolekit_is_session_for_other_user): new, ask ConsoleKit if a
session object is for a different user than the current user (ignoring
the login sessions)
(gsm_consolekit_is_single_user): new, determine if there's only a
single user logged in on this machine
(obtain_privileges_cb): new, PolicyKit callback when the privileges
were obtained/denied, to send the privileges-completed signal
(gsm_consolekit_obtain_privileges_for_action): new, obtain the
PolicyKit privileges for a specific action
(gsm_consolekit_get_privileges_for_actions): new, to know if we have
privileges for a set of actions, and request the privileges if needed
(gsm_consolekit_get_restart_privileges): new, trivial
(gsm_consolekit_get_stop_privileges): new, trivial
(gsm_consolekit_can_restart): do not ensure that the CK connection
works here, it will be done in gsm_consolekit_can_do_action()
(gsm_consolekit_can_stop): ditto
* gnome-session/gsm-manager.c: we add a logout type variable that lets
us remember what should be done when gnome-session exits.
(quit_request_completed): new, callback that will make gnome-session
exit after the ConsoleKit call to Stop/Restart has been done. If the
ConsoleKit call wasn't successful, we fallback on gdm (since we're in
the EXIT phase, and all apps have quitted, there's no point in not
asking gdm to do that).
(gsm_manager_quit): new, to do the right thing to log out depending on
what the user wanted to achieve when logging out.
(end_phase): use gsm_manager_quit() instead of directly calling
gtk_main_quit()
(cancel_end_session): reset the logout type to none
(do_attempt_reboot), (do_attempt_shutdown), (manager_attempt_reboot),
(manager_attempt_shutdown): killed/merged in
request_reboot/request_shutdown
(do_inhibit_dialog_action): renamed from do_dialog_action(); for
shutdown and reboot, we just do like logout and end the phase.
(inhibit_dialog_response): s/do_dialog_action/do_inhibit_dialog_action
(query_end_session_complete): add a comment about
gsm_inhibit_dialog_new to make it clear that the
GSM_LOGOUT_ACTION_LOGOUT parameter is fine for shutdown and reboot too
(request_reboot_privileges_completed): new, handle the fact that we got
the privileges from ConsoleKit to do the reboot.
(request_reboot): ask ConsoleKit for the privileges to reboot, and if
it doesn't work (no ConsoleKit), just end the phase
(request_shutdown_privileges_completed), (request_shutdown): see above
changes for reboot functions
(request_logout): set the logout type
2009-04-08 Vincent Untz <vuntz@gnome.org>
Remove the 1-second delay to display the inhibit dialog when an
application is blocking logging out.
* gnome-session/gsm-manager.c: (query_end_session_complete): remove the
query timeout since it might still be running
(do_phase_query_end_session): do not remove the query timeout here:
it's the start of a phase, so there's no such timeout
(on_client_end_session_response): rework a bit to make sure we call
query_end_session_complete() if we are at the end of
GSM_MANAGER_PHASE_QUERY_END_SESSION
2009-04-08 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-manager.c: (do_phase_end_session),
(do_phase_exit): use GSM_MANAGER_PHASE_TIMEOUT instead of hard-coding
10 seconds everywhere.
2009-04-08 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-logout-dialog.c: (on_ck_request_completed): killed
(gsm_logout_dialog_init): don't connect to request-completed of the
consolekit object: we actually don't do anything in the callback
anyway...
2009-04-08 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-xsmp-client.c: (save_yourself_done_callback): only
call SmsSaveComplete() if we are still in a SaveYourself state. My
previous change about this didn't take into account the case where the
logout is cancelled, in which case SmsSaveComplete() shouldn't be
called.
2009-04-05 Matthias Clasen <mclasen@redhat.com>
* gnome-session/gs-idle-monitor.c (handle_alarm_notify_event): Ignore
XSyncAlarmDestroyed events, and don't spam .xsession-errors for these.
2009-03-25 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-manager.c: (end_phase): put the call that
potentially saves the session here, at the end of END_SESSION instead
of many random places
(do_phase_end_session),
(do_phase_end_session_part_2), (on_client_end_session_response): remove
calls to maybe_save_session()
2009-03-25 Vincent Untz <vuntz@gnome.org>
Remove the END_SESSION_LAST phase since it was considered to break the
design. Instead, just use a second step in the END_SESSION phase.
* gnome-session/gsm-manager.[ch]: (phase_num_to_name): remove
END_SESSION_LAST phase
(end_phase): always clean up next_query_clients, and remove
END_SESSION_LAST phase.
(on_phase_timeout): remove END_SESSION_LAST phase
(_client_end_session): change the function signature so that we can
merge this old function and _client_end_session_last
(_client_end_session_last): killed
(_client_end_session_helper): new, helper used for
do_phase_end_session() since _client_end_session() cannot be directly
used anymore
(do_phase_end_session): use _client_end_session_helper(), and save
session if there's nothing to do
(do_phase_end_session_last): renamed to...
(do_phase_end_session_part_2): ... this. Don't reset the phase timeout
since we're still in the END_SESSION phase. Clean up next_query_clients
after having used it.
(start_phase): always clean up next_query_clients, remove
END_SESSION_LAST phase
(maybe_save_session): s/END_SESSION_LAST/END_SESSION/
(on_client_end_session_response): only accept to end a client last if
we're in END_SESSION. Start the second step of END_SESSION if there's
no clients that haven't replied, no inhibitor and if there are clients
to end last. Note that we don't remove the phase timeout here since it
will either be needed in the second step or will be removed in
end_phase().
2009-03-25 Vincent Untz <vuntz@gnome.org>
Allow XSMP clients to interact only during the
GSM_MANAGER_PHASE_QUERY_END_SESSION phase. If they didn't interact
during this phase, too bad for them.
The idea is that GSM_MANAGER_PHASE_QUERY_END_SESSION is about letting
them save user data and interact if it's needed for saving user data,
while GSM_MANAGER_PHASE_END_SESSION is about telling them that they
really have to save data now if they need too.
Also if we have a queued SaveYourself, remember if it allowed
interaction or not.
* gnome-session/gsm-xsmp-client.c: (gsm_xsmp_client_init): initialize
next_save_yourself_allow_interact
(do_save_yourself): change forceful argument to allow_interact for
better clarity, and save it to next_save_yourself_allow_interact when
relevant
(xsmp_cancel_end_session): reset next_save_yourself_allow_interact
(xsmp_query_end_session): update for do_save_yourself() argument
change, and also enforce the fact that we don't save the state of the
client here
(xsmp_end_session): force the client to not interact here
(save_yourself_request_callback): update for do_save_yourself()
argument change
(save_yourself_done_callback): use next_save_yourself_allow_interact if
there was a queued SaveYourself.
2009-03-25 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-manager.c: (maybe_save_session): re-enable session
saving (revert the change that was committed just before 2.26.0).
2009-03-25 Vincent Untz <vuntz@gnome.org>
* tools/gnome-session-save.c: hide deprecated command-line options from
--help, but still accept them.
(main): return 0 instead of a variable that is always set to 0
2009-03-25 Vincent Untz <vuntz@gnome.org>
Create a END_SESSION_LAST phase during which we handle the clients
which wanted to be ended last.
For this, we need to keep a list of clients in that case.
* gnome-session/gsm-client.h: add a new
GSM_CLIENT_END_SESSION_FLAG_LAST flag, to tell the client it's running
last.
* gnome-session/gsm-manager.[ch]: (phase_num_to_name): handle new phase
(end_phase): empty the list of clients that wants to be ended last if
it's not a relevant phase. Also handle new phase.
(on_phase_timeout): handle new phase
(_client_end_session_last): new, to tell a client that the session is
being ended. Works like _client_end_session()
(do_phase_end_session_last): prepare the right flags to be used for
each clients via _client_end_session_last(). Note that we don't use all
clients in the session here, but the list of clients that wanted to be
ended last.
We use a 10 seconds timeout for that phase to not block on clients that
don't reply. Also, if there's no client in the session, then save the
session if auto-save is enabled.
(start_phase): empty the list of clients that wants to be ended last if
it's not a relevant phase. Also handle new phase.
(maybe_save_session): make this call valid in END_SESSION_LAST instead
of END_SESSION
(on_client_end_session_response): save the client in a specific list if
it wants to be ended last.
* gnome-session/gsm-xsmp-client.c: (xsmp_save_yourself_phase2):
uncomment
(xsmp_end_session): if the client is running last, then it means it's
phase2 of SaveYourself, so use xsmp_save_yourself_phase2()
2009-03-25 Vincent Untz <vuntz@gnome.org>
s/gdm_client_end_session_response/gsm_client_end_session_response/g
* gnome-session/gsm-client.c: (gsm_client_end_session_response):
* gnome-session/gsm-client.h:
* gnome-session/gsm-dbus-client.c: (handle_end_session_response):
* gnome-session/gsm-xsmp-client.c:
(save_yourself_phase2_request_callback),
(interact_request_callback), (interact_done_callback),
(save_yourself_done_callback):
2009-03-25 Vincent Untz <vuntz@gnome.org>
Allow clients to specify that they want to be ended last (this mainly
matches the Phase2 of SaveYourself in XSMP). The server doesn't use
this information yet.
* gnome-session/gsm-client.[ch]: (gsm_client_class_init): add new
do_last argument to END_SESSION_RESPONSE signal
(gdm_client_end_session_response): add do_last and use it
* gnome-session/gsm-marshal.list: updated for new signature
* gnome-session/gsm-manager.c: (on_client_end_session_response): add
do_last parameter, unused for now
* gnome-session/gsm-dbus-client.c: (handle_end_session_response): pass
FALSE as do_last
* gnome-session/gsm-xsmp-client.c:
(save_yourself_phase2_request_callback): pass TRUE as do_last since
that's what the phase2 is
(interact_request_callback): pass FALSE as do_last
(interact_done_callback): pass FALSE as do_last
(save_yourself_done_callback): pass FALSE as do_last
2009-03-25 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-manager.c: (do_phase_end_session),
(auto_save_is_enabled): coding style nit-picking
2009-03-25 Vincent Untz <vuntz@gnome.org>
Allow an interacting app to cancel the logout.
* gnome-session/gsm-client.[ch]: (gsm_client_class_init): add new
cancel argument to END_SESSION_RESPONSE signal
(gdm_client_end_session_response): add cancel and use it
* gnome-session/gsm-marshal.list: updated for new signature
* gnome-session/gsm-manager.c: (on_client_end_session_response): add
cancel paramter, and call cancel_end_session if cancel is TRUE
* gnome-session/gsm-dbus-client.c: (handle_end_session_response): pass
FALSE as cancel
* gnome-session/gsm-xsmp-client.c:
(save_yourself_phase2_request_callback): pass FALSE as cancel
(interact_request_callback): pass FALSE as cancel
(interact_done_callback): pass the value returned by the client as
cancel
(save_yourself_done_callback): pass FALSE as cancel
2009-03-25 Vincent Untz <vuntz@gnome.org>
Actually allow XSMP clients to interact during the logout. It works
quite well with the inhibitor infrastructure since a JIT inhibitor will
be created.
Note that the user will get two dialogs: eg, when gedit has an unsaved
document, the user will see the gedit save/cancel dialog and the
inhibit dialog. That's actually a good thing since the save/cancel
dialog from gedit might be in another workspace, and so the inhibit
dialog makes sure the user knows what's going on.
* gnome-session/gsm-xsmp-client.c: (xsmp_interact): uncomment
(interact_request_callback): stop cancelling the session when a client
wants to interact, and allow the client to interact.
2009-03-25 Vincent Untz <vuntz@gnome.org>
Make session saving works a bit better by telling client to not just
save the global state, but also the local state when relevant.
* gnome-session/gsm-client.h: add new GSM_CLIENT_END_SESSION_FLAG_SAVE
* gnome-session/gsm-manager.c: (do_phase_end_session): if the session
should be autosaved, then pass the GSM_CLIENT_END_SESSION_FLAG_SAVE
flag
(do_phase_query_end_session): add a comment explaining why we don't use
the GSM_CLIENT_END_SESSION_FLAG_SAVE flag
* gnome-session/gsm-xsmp-client.c: (xsmp_query_end_session),
(xsmp_end_session): depending on the presence of the
GSM_CLIENT_END_SESSION_FLAG_SAVE flag, use SmSaveBoth or SmSaveGlobal
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-xsmp-client.c: (do_save_yourself): just add some
paranoia code to make sure our state is consistent
(xsmp_cancel_end_session): reset the save_yourself state here since we
cancel the operation anyway
(save_yourself_phase2_request_callback): fix to not behave exactly like
SaveYourselfDone. This is wrong according to XSMP.
(save_yourself_done_callback): always call SmsSaveComplete() (it's
expected by XSMP), and ignore the success argument. It's actually
useless.
2009-03-24 Vincent Untz <vuntz@gnome.org>
Rework deeply the code that writes the saved session to desktop files:
we now properly discard a client when removing it; we also make sure we
save the current session before we completely remove the previously
saved session (to be on the safe side).
Note that we only discard a client when the new saved session doesn't
use the same discard command: for example, when metacity saves its
state, it will reuse the same discard command and so we can't discard
the old metacity client (it would discard the new client).
* gnome-session/gsm-util.[ch]: (gsm_util_get_empty_tmp_session_dir):
new function to get a temporary directory where to save the new
session, while we still keep the previously saved session. It also
makes sure the directory is empty.
* gnome-session/gsm-session-save.[ch]: (save_one_client): update to
make sure we remember the discard command from the client.
(gsm_session_save): rework to first save the session in the temporary
directory (and remember the discard commands from the saved clients),
and then clear the old session. We finish by renaming the temporary
directory to its final name.
(gsm_session_clear_one_client): new, to properly clear one client from
a saved session. We unlink the desktop file, but also run the discard
command if it's not used by any other client from the newly saved
session.
(gsm_session_clear_saved_session): change to clear a saved session in a
specified directory, and use gsm_session_clear_one_client() instead of
just unlinking the desktop file. Also add missing g_dir_close().
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-xsmp-client.c: (xsmp_save): just don't return a
keyfile if there's no restart command for this client (ie, we won't
save this client). Also make sure keyfile is properly initialized to
NULL to avoid an undefined return value in that case.
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-xsmp-client.c: (xsmp_get_discard_command):
uncomment
(xsmp_save): when saving the xsmp client to a desktop file, also save
the discard command since we'll want to use it at some point when
discarding the saved app.
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-manager.c: (cancel_end_session): ignore this if
we're not in a relevant phase. Also make sure the inhibit dialog is
destroyed before removing inhibitors (which would activate the
inhibit dialog)
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-util.c: (ensure_dir_exists): create the dir with
permission 0755.
(gsm_util_get_saved_session_dir): use ~/.config instead of ~/.gnome2.
It's a good time to start using the xdg folders before we actually
start putting data.
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-inhibit-dialog.c: (update_dialog_text): fix debug
string
* gnome-session/gsm-manager.c: (cancel_end_session): add debug string
(gsm_manager_shutdown): fix debug string
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): use
gsm_util_get_desktop_dirs() instead of just gsm_util_get_app_dirs().
Also try to handle desktop filenames that are an absolute path the best
way possible (this happens with OpenOffice.org).
* gnome-session/gsm-util.[ch]: (gsm_util_get_desktop_dirs): new
function, to return all the directories where we look up for the
desktop files.
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): handle NULL
errors instead of crashing, which can happen in some cases in
EggDesktopFile.
2009-03-24 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-inhibit-dialog.c: use a 32x32 icon size for icons,
looks better this way.
2009-03-24 Vincent Untz <vuntz@gnome.org>
Let all processes cleanly exit on exit.
* gnome-session/gsm-manager.c: (end_phase): rework with a switch so
that it's easy to see what's going on for which phases. We also don't
exit immediately when we reach the exit phase, and instead let
start_phase() do its work
(_client_stop): stop a client
(do_phase_exit): create a 10 second timeout that will force the end of
the phase, and tells each client to stop via _client_stop() so they can
have a chance to properly exit before we quit.
(start_phase): call do_phase_exit() on exit phase
2009-03-18 Vincent Untz <vuntz@gnome.org>
* configure.in:
* doc/man/*: rework the man pages so that they're up-to-date.
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>
* NEWS:
* configure.in: version 2.26.0
2009-03-16 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-manager.c: (maybe_save_session): disable session
saving with "#if 0" for the 2.26.0 release: it's not ready yet.
2009-03-14 Vincent Untz <vuntz@gnome.org>
* capplet/gsm-properties-dialog.c:
(gsm_properties_dialog_constructor): do not call gtk_widget_show_all on
the dialog, just gtk_widget_show
* data/session-properties.glade: hide the "save current session" button
since it doesn't do anything at the moment, so it's confusing to have
it there.
2009-03-08 Lucas Rocha <lucasr@gnome.org>
Bug 574399 – turn off debug spew
* gnome-session/main.c: ditto.
2009-03-03 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.26.0
==================== 2.25.92 ====================
2009-03-03 Vincent Untz <vuntz@gnome.org>
* NEWS:
* configure.in: version 2.25.92
2009-03-01 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-consolekit.c: add constant holding login window
session type value to be used in different places of the code.
* gnome-session/gsm-logout-dialog.c: use new consolekit constant for
login window session type.
* gnome-session/gsm-manager.c: don't save session if session type is
login window.
* gnome-session/main.c: don't load saved session if session type is
login window.
2009-02-26 Matthias Clasen <mclasen@redhat.com>
* gnome-session/gs-idle-monitor.c: Ask for AlertNotify in a way
that XSync understands. (#567958)
2009-02-26 Vincent Untz <vuntz@gnome.org>
* capplet/gsm-properties-dialog.c: (edit_app_dialog):
* tools/gnome-session-save.c: (display_error): use a Close button
instead of an Ok button in error dialogs. If considered an UI change,
then it's trivial and it doesn't affect documentation.
2009-02-25 Paolo Borelli <pborelli@katamail.com>
* gnome-session/gsm-client.c:
chain up finalize
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/Makefile.am, gnome-session/gsm-resumed-app.[ch]:
remove GsmResumedApp code as it's being used anymore.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/main.c, gnome-session/gsm-manager.c: remove code for
handling legacy session saving files as it won't be supported anymore.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
Bug 552387 – gnome-session doesn't save session anymore
* gnome-session/Makefile.am: add gsm-session-save.[ch] to the build.
* gnome-session/gsm-session-save.[ch]: session saving functions.
* gnome-session/gsm-autostart-app.c (load_desktop_file): check if the
desktop file has X-GNOME-Autostart-startup-id to define startup id of
the GsmAutostartApp.
* gnome-session/gsm-client.[ch] (gsm_client_save): add gsm_client_save
virtual method which should be implemented by each type of client.
* gnome-session/gsm-dbus-client.c, gnome-session/gsm-xsmp-client.c:
add respective gsm_client_save implementations. D-Bus clients still
don't implement saving.
* gnome-session/gsm-manager.c (auto_save_is_enabled,
maybe_save_session): save session state if auto save is enable before
finalizing the session.
* gnome-session/main.c (load_standard_apps): load GsmApps from the
saved session directory.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/main.c, gnome-session/gsm-util.[ch]: move
find_desktop_file_for_app_name to gsm-util so that we can use it in
other places.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-manager.c (user_logout): use gconf client from
GsmManager instead of getting a new one.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-xsmp-client.c (do_save_yourself): add comments on
SmsSaveYourself parameters for clarity.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-manager.c (on_xsmp_client_logout_request):
improve readability of conditional code.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-manager.c: wrap too long lines into 80 cols.
2009-02-23 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-manager.c: rename forceful attribute to
forceful_logout for clarity.
2009-02-22 Lucas Rocha <lucasr@gnome.org>
* capplet/gsm-properties-dialog.c: use G_KEY_FILE_DESKTOP_* constants
instead of hardcoded groups and key names.
2009-02-21 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-manager.c: coding style fixes from last commit.
2009-02-21 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-manager.c (gsm_manager_start, cancel_end_session):
always use gsm_manager_set_phase to set manager phase for consistency.
2009-02-21 Lucas Rocha <lucasr@gnome.org>
* gnome-session/gsm-manager.c: rename load_from_gconf to
load_idle_delay_from_gconf for clarity.
2009-02-21 Matthias Clasen <mclasen@redhat.com>
* gnome-session/gsm-inhibit-dialog.c: Use system-log-out as icon,
instead of gnome-logout, which doesn't exist.
2009-02-17 Frederic Crozat <fcrozat@mandriva.com>
* data/gsm-inhibit-dialog.glade:
Ensure treeview is included in a scrolled window with a shadow.
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>
* NEWS:
* configure.in: version 2.25.91
2009-02-13 Luca Ferretti <elle.uca@libero.it>
* data/gnome-session.schemas.in: better phrase for
"required_components_list" key, thanks to Dan Winship
2009-02-13 Luca Ferretti <elle.uca@libero.it>
reviewed by: Vincent Untz <vuntz@gnome.org>
* capplet/gsm-properties-dialog.c: (gsm_properties_dialog_init):
Use "Startup Applications Preference" as window title to mach
capplet launcher Name.
2009-02-13 Luca Ferretti <elle.uca@libero.it>
* data/gnome-session.schemas.in:
Removed obsolete "logout_option" key; fix and update long
description for "required_components_list" key.
2009-02-12 Lucas Rocha <lucasr@gnome.org>
Bug 570908 – capplet misnomer
* data/session-properties.desktop.in.in: change capplet name to
"Startup Applications" and the description to "Choose what
applications to start when you log in" to better match what the
capplet actually does nowadays.
2009-02-11 Lucas Rocha <lucasr@gnome.org>
Bug 556439 – improve logout/shutdown dialog messages
* gnome-session/gsm-consolekit.[ch]: add new
gsm_consolekit_get_current_session_type function to GsmConsolekit.
* gnome-session/gsm-logout-dialog.c (gsm_logout_dialog_timeout): only
message about logged user when using logout dialog from gdm.
Patch by Matthias Clasen.
2009-02-11 Lucas Rocha <lucasr@gnome.org>
Bug 565063 – Avoid restarting applications when shutting down
* gnome-session/gdm-signal-handler.[ch]
(gdm_signal_handler_set_fatal_func): redefine this function to receive
custom callback.
* gnome-session/gsm-manager.[ch]: added gsm_manager_set_phase
function.
* gnome-session/main.c: set session manager phase to
GSM_MANAGER_PHASE_EXIT when gnome-session process is shutting down.
Patch by Brian Cameron.
2009-02-07 Matthias Clasen <mclasen@redhat.com>
* gnome-session/gs-idle-monitor.c (_xsync_alarm_set): Fix a
copy-and-paste error in debug output.
2009-02-03 Vincent Untz <vuntz@gnome.org>
* configure.in: post-release bump to 2.25.91.
==================== 2.25.90 ====================
2009-02-03 Vincent Untz <vuntz@gnome.org>
* NEWS:
* configure.in: version 2.25.90
2009-01-28 Vincent Untz <vuntz@gnome.org>
* doc/dbus/spec-to-docbook.xsl:
* gnome-session/org.gnome.SessionManager.ClientPrivate.xml: fix
everything so that the dbus documentation is valid docbook.
Fix bug #569443.
2009-01-28 Vincent Untz <vuntz@gnome.org>
* gnome-session/gs-idle-monitor.c: (gs_idle_monitor_reset): fix build
when the XTest extension is not available.
2009-01-26 Richard Hughes <richard@hughsie.com>
* gnome-session/org.gnome.SessionManager.xml:
Fix up the documentation to mention the session bus, not the
system bus.
2009-01-23 Vincent Untz <vuntz@gnome.org>
* splash/splash-window.c: (layout_icon): fix a crash I had at some
point.
(gsm_splash_window_start): use 22x22 icons in the splash
2009-01-22 Vincent Untz <vuntz@gnome.org>
* compat/Makefile.am: install autostart desktop files in
/etc/xdg/autostart
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>
* NEWS:
* configure.in: version 2.25.5
2009-01-18 William Jon McCann <jmccann@redhat.com>
* gnome-session/gsm-presence.c (on_bus_name_owner_changed):
Compare the correct string for name owner changes.
2009-01-18 William Jon McCann <jmccann@redhat.com>
* gnome-session/gsm-manager.c (load_from_gconf),
(on_gconf_key_changed):
* gnome-session/gsm-presence.c (set_session_idle),
(on_idle_timeout), (reset_idle_watch),
(on_screensaver_active_changed), (on_screensaver_proxy_destroy),
(on_bus_name_owner_changed), (register_presence),
(gsm_presence_constructor):
Fix timeout scale. Disable idle detection while screensaver
is active.
2009-01-18 William Jon McCann <jmccann@redhat.com>
* gnome-session/gsm-presence.c (reset_idle_watch),
(gsm_presence_set_idle_enabled), (gsm_presence_set_idle_timeout):
Reset the idle watch when the timeout property changes.
2009-01-16 William Jon McCann <jmccann@redhat.com>
* gnome-session/gsm-consolekit.c (gsm_consolekit_set_session_idle):
* gnome-session/gsm-consolekit.h:
* gnome-session/gsm-manager.c (on_presence_status_changed),
(gsm_manager_init):
Inform CK that session idle status has changed.
2009-01-15 William Jon McCann <jmccann@redhat.com>
* gnome-session/org.gnome.SessionManager.xml:
Add docs for inhibit idle.
2009-01-15 William Jon McCann <jmccann@redhat.com>
* data/gnome-session.schemas.in:
* gnome-session/gsm-manager.c (gsm_manager_dispose),
(invalid_type_warning), (load_from_gconf), (on_gconf_key_changed),
(gsm_manager_init):
Add gconf key for idle delay.
2009-01-14 William Jon McCann <jmccann@redhat.com>
* gnome-session/gsm-presence.c:
* gnome-session/gsm-presence.h:
* gnome-session/org.gnome.SessionManager.Presence.xml:
Some changes based on comments from Robert McQueen.
Expose properties for status and status-text. Remove
getters.
2009-01-11 William Jon McCann <jmccann@redhat.com>
* gnome-session/gsm-presence.c (gsm_presence_set_status_text):
Add status text size limit.
2009-01-11 William Jon McCann <jmccann@redhat.com>
* configure.in:
* gnome-session/Makefile.am:
* gnome-session/gs-idle-monitor.c (_xsyncvalue_to_int64),
(_int64_to_xsyncvalue), (gs_idle_monitor_dispose), (_find_alarm),
(find_watch_for_alarm), (send_fake_event), (gs_idle_monitor_reset),
(handle_alarm_notify_event), (xevent_filter), (init_xsync),
(_init_xtest), (gs_idle_monitor_constructor),
(gs_idle_monitor_class_init), (get_next_watch_serial),
(idle_monitor_watch_new), (idle_monitor_watch_free),
(gs_idle_monitor_init), (gs_idle_monitor_finalize),
(gs_idle_monitor_new), (_xsync_alarm_set),
(gs_idle_monitor_add_watch), (gs_idle_monitor_remove_watch):
* gnome-session/gs-idle-monitor.h:
* gnome-session/gsm-inhibitor.h:
* gnome-session/gsm-manager.c (end_phase),
(gsm_manager_is_idle_inhibited), (update_idle), (start_phase),
(on_store_inhibitor_added), (on_store_inhibitor_removed),
(gsm_manager_dispose), (gsm_manager_init):
* gnome-session/gsm-presence.c (gsm_presence_error_quark),
(gsm_presence_error_get_type), (register_presence),
(gsm_presence_constructor), (gsm_presence_init),
(gsm_presence_get_status_text), (gsm_presence_get_status),
(on_idle_timeout), (gsm_presence_set_idle_enabled),
(gsm_presence_set_status_text), (gsm_presence_set_status),
(gsm_presence_set_idle_timeout), (gsm_presence_set_property),
(gsm_presence_get_property), (gsm_presence_finalize),
(gsm_presence_class_init), (gsm_presence_new):
* gnome-session/gsm-presence.h:
* gnome-session/org.gnome.SessionManager.Presence.xml:
Add presence API.
2009-01-09 Lucas Rocha <lucasr@gnome.org>
Bug 502944 – application icon gets tiny on desktop
* configure.in, data/icons/Makefile.am, data/icons/48x48/*: add icon
with 48x48 pixels.
2009-01-09 Lucas Rocha <lucasr@gnome.org>
550726 – Apps with an icon not existing in the icon theme displayed
with no icon
* capplet (append_app): check if defined icon name actually exists
in the icon theme. Use default icon otherwise.
2009-01-08 Lucas Rocha <lucasr@gnome.org>
Bug 554725 – resync gnome-session from libegg
egg/*: ditto. Patch by Dan Winship.
2009-01-08 Lucas Rocha <lucasr@gnome.org>
Bug 559145 – Double-click startup program entry to open edit dialog
* capplet/gsm-properties-dialog.c (setup_dialog, on_row_activated):
open the edit app dialog when activating the respective entry in the
view.
2009-01-08 Lucas Rocha <lucasr@gnome.org>
Bug 552218 – typo: "unable connect"
* gnome-session/gsm-util.c: fix typo.
2009-01-08 Lucas Rocha <lucasr@gnome.org>
Bug 551826 – Add NoDisplay=True to desktop files
* data/gnome-wm.desktop.in.in,
compat/gnome-settings-daemon-helper.desktop.in.in,
compat/at-spi-registryd-wrapper.desktop.in.in.in,
splash/gnome-session-splash.desktop.in.in.in:
define NoDisplay=true.
2009-01-08 Lucas Rocha <lucasr@gnome.org>
Bug 551766 – Automagic dependency on PolicyKit in configure.in
* configure.in: added support for explicit --enable-polkit and
--disable-polkit. The default (if nothing is specified) is auto.
Patch by Nirbheek Chauhan.
2009-01-08 Lucas Rocha <lucasr@gnome.org>
Bug 555369 – gnome-session-properties work improperly when key
X-GNOME-Autostart-enabled=false in .desktop
* capplet/gsm-properties-dialog.c (toggle_app, enable_app,
disable_app): move app enabling/disabling logic into toggle_app and
fix handling of X-GNOME-Autostart-enabled in .desktop files.
Patch by Halton Huo.
2009-01-08 Lucas Rocha <lucasr@gnome.org>
Bug 566858 – configure script does not check for sm package (needed to
check X11/SM/SMlib.h)
* configure.am, gnome-session/Makefile.am, egg/Makefile.am,
tools/Makefile.am: check for sm and ice libs through pkgconfig and use
it in the build.
2009-01-06 Lucas Rocha <lucasr@gnome.org>
Bug 557634 – gnome-session doesn't inspect $XDG_DATA_HOME/applications
* gnome-session/gsm-util.c (gsm_util_get_app_dirs): add
$XDG_DATA_HOME/applications to the list of app directories.
Patch by tuxce.
2009-01-06 Lucas Rocha <lucasr@gnome.org>
Bug 563640 – In all phases before APPLICATION, consider process
termination as completion
Most clients register using the session protocol. But it's perfectly
fine if a client simply exits upon completion, or forks and exits in
the parent when ready. This is indeed how we were treating phase
INITIALIZATION. There is no reason to not treat other non-APPLICATION
phases that way. The default clients for those phases (gnome-panel,
metacity, nautilus) register to the session, but for example,
libcanberra installed a script for phase DESKTOP to play login sound,
and since it doesn't connect to the session, gnome-session was
timeout'ing for that phase.
* gnome-session/gsm-manager.c (on_app_exited, _start_app): ditto.
Patch by Behdad Esfahbod.
2009-01-06 Lucas Rocha <lucasr@gnome.org>
Bug 563354 – gnome-session does not close ICE connection for qt3 apps
* gnome-session/gsm-xsmp-client.c (gsm_xsmp_client_disconnect):
disable shutdown negotiation before closing the ICE connection when
connection is known to be terminated.
Patch by Edward Sheldrake.
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>
* NEWS: version 2.25.3
2008-12-10 Vincent Untz <vuntz@gnome.org>
Kill libgnomeui dependency.
* configure.in: remove libgnomeui dep for splash, remove check for
libgnomeui for eggsmclient
* egg/Makefile.am: remove eggsmclient-libgnomeui.* stuff
* egg/eggsmclient-libgnomeui.[ch]: killed
* splash/Makefile.am: updated
* splash/gnome-session-splash.c: (load_pixbuf): changed to a helper
function
(load_pixbuf_relative_path): use g_get_system_data_dirs() instead of
gnome_program_locate_file()
(load_splash_pixbuf): updated
(setup_splash_window): don't unref the pixbuf if we didn't have a
pixbuf
(main): setup gettext, use GOption + gtk_init() instead of
gnome_program_init()
2008-12-10 Vincent Untz <vuntz@gnome.org>
* gnome-session/Makefile.am: fix build
2008-12-10 Vincent Untz <vuntz@gnome.org>
* configure.in:
* compat/Makefile.am:
* gnome-session/Makefile.am:
* splash/Makefile.am: try to sanitize things a bit so we can know which
part of gnome-session depends on which library
2008-12-10 Vincent Untz <vuntz@gnome.org>
* configure.in: remove TIME_UTILITY and GNOME_SESSION_TARBALL_* since
it's unused, use GNOME_COMPILE_WARNINGS instead of some custom stuff
to define compiler warning flags
* capplet/Makefile.am:
* compat/Makefile.am:
* egg/Makefile.am:
* gnome-session/Makefile.am:
* splash/Makefile.am:
* tools/Makefile.am: add WARN_CFLAGS/DISABLE_DEPRECATED_CFLAGS
* gnome-session/gsm-inhibit-dialog.c: (add_inhibitor): fix compilation
warning