This repository was archived by the owner on Dec 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathChangeLog
16802 lines (12060 loc) · 636 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
2010-06-03 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlanguages.c, gui/mdmsession.c, gui/mdmlogin.c,
gui/greeter/greeter.c: Switch buttons "Make Default" and
"Just For This Session" for better usability. Fixes bug #597661.
2010-06-02 Brian Cameron <brian.cameron@sun.com>
* vicious-extensions/ve-misc.c: Fix bug #571846. No longer print
invalid encoded strings since this can causemaster the user's
password to be logged in the syslog if it contains invalid characters
and if MDM debug is enabled.
2009-06-08 Brian Cameron <brian.cameron@sun.com>
* gui/mdmsetup.c: Fix call to g_markup_printf_escaped so that NULL
strings are not passed in.
2009-05-13 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlogin.c, gui/greeter/greeter.c: Fix the dialog that asks the
user if they want to change their default session when the one in the
user's .dmrc file is not installed on the system.
2009-04-24 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Now configure favors the Xfree Xinerama interfaces over
the obsolete Solaris specific interfaces. This ensures that Xinerama
works on OpenSolaris where Xfree should be used, and also on Solaris
10 where the Solaris specific interfaces should be used. Fixes bug
#580060. Also move DEFOPEN configure checks before Xinerama checks.
2009-03-19 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.10:
* configure.ac: Updated to new release version
* NEWS: Updated.
2009-03-19 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Make sure that gid/egid are set to 0 when running
the Init, PostLogin, PreSession, and PostSession scripts. This
ensures that all scripts are run with consistent permisions.
2009-03-14 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Do not print NULL strings when calling
mdm_child_exit.
2009-02-26 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c, daemon/misc.c: Ensure that the DISPLAY environment
variable is never cleared on changing language. Otherwise, it will
not be available for the PAM module to use, for example.
2009-02-26 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c, daemon/server.c: Provide better error reporting when
MDM is unable to parse the command. Another partial fix for bug
#530585.
2009-02-24 Brian Cameron <brian.cameron@sun.com>
* utils/mdm-ssh-session: Patch code so that the port value can be
entered when doing a remote ssh connection. Fixes bug #572052.
Patch by Thomas Bechtold <thomas@jpberlin.de>.
2009-02-24 Brian Cameron <brian.cameron@sun.com>
* gui/modules/keymouselistener.c: Using Xorg 1.5, the parse_line
function can fail to set the keycode if XKB is not initialized
when mdmlogin starts. This fix causes MDM to check if the keycode
failed to be initialized on keypress. If so, it sets it and
addresses the problem.
2009-02-11 Brian Cameron <brian.cameron@sun.com>
* config/Makefile.am, config/Xsession.common, config/Xsession.in
Backout change for bug #509141. This is no longer needed on
Solaris since the code was reworked to make use of more
general /etc/X11/xinit/xinitrc.d scripts. Better to keep distro
specific code out of the upstream MDM. Fixes bug #571319. Patch by
Takao Fujiwara <Takao.Fujiwara@sun.com>.
* config/Xsession.solaris, config/Xsession.common: Removed.
2009-02-05 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-xdmcp-manager.c: Remove double free and improve error
handling, patch by Chris Wilson (chris+gnome@aptivate.org). Also fix
how the host variable is freed in mdm_xdmcp_handle_message so it
is not freed before it is last used. This issue was noticed by
Giuseppe Lippolis (giuseppe.lippolis@thalesaleniaspace.com). Fixes
two issues noted in bug #530585, though I suspect it does not
resolve the main issue of the bug..
* daemon/server.c: Improve error handling.
2009-01-06 Brian Cameron <brian.cameron@sun.com>
* daemon/server.c, daemon/mdm-daemon-config.c: Set default
PRIO values appropriately.
2009-01-06 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Set PRIO_MIN and PRIO_MAX to the
correct values on Solaris.
2009-01-06 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c, daemon/auth.c, daemon/misc.c: Use g_remove instead
of g_unlink when removing directories, it is safer.
2009-01-05 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.[hc], daemon/verify-pam.c, daemon/server.c:
Update SDTLOGIN logic so that the "/var/dt" directory
gets created if it is missing.
* daemon/server.c, daemon/mdm-daemon-config.c: Use "#ifdef __sun"
instead of "#ifdef sun".
2009-01-05 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-pam.c: Make sure that pwent gets set before
calling audit_fail_login, otherwise the audit record is not
set properly.
2008-12-10 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.9:
* configure.ac: Updated to new release version
* NEWS: Updated.
2008-12-10 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c, gui/mdmsession.c: Conditionally show
multilabel session entires when using Trusted Solaris. Patch by
Stephen Browne <Stephen.Browne@sun.com>.
2008-12-10 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Use full path to chmod when setting ACL's with ZFS
filesystems.
2008-12-10 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-pam.c: Correct processing of CONSOLE and PASSREQ
/etc/default/login parameters so they are checked each time a
user logs in, and the latest value honored. The previous code
would not unset the setting even if you modified the
/etc/default/login file
2008-12-08 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Fix how MDM sets ACL's on Solaris so it also works
with ZFS filesystems. Now only set ACL's when a11y is turned on,
since they are not needed otherwise.
* config/Xsession.solaris: Correct setting of VTE_CJK_WIDTH when on
Solaris. Updated patch from Takao Fujiwara
<Takao.Fujiwara@sun.com>.
2008-12-07 Brian Cameron <brian.cameron@sun.com>
* config/Init.in: Fix underquoted strings, refer to bug #563550.
Patch by Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>
2008-11-14 Brian Cameron <brian.cameron@sun.com>
* daemon/misc.c: Modify the mdm_ensure_sanity function so that it
does nothing on Solaris. Solaris Trusted Extensions has different
assumptions about how sockets should be set up, and it's better for
MDM to not second-guess this.
2008-10-23 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c: Move call to mdm_final_cleanup after accessing
configuration options since mdm_final_cleanup will clear them.
An obvious error uncovered after looking at bug #502975.
2008-10-23 Brian Cameron <brian.cameron@sun.com>
* daemon/server.c: Fix fbconsole launching code so that if it fails
to run, the forked child just exits.
2008-09-29 Brian Cameron <brian.cameron@sun.com>
* daemon/display.h, daemon/server.c: Update the code which launches
fbconsole so that fbconsole is killed after the display is done being
used. This only affects Solaris, which uses fbconsole.
* daemon/server.[ch]: Remove unused mdm_server_reinit function.
2008-09-17 Brian Cameron <brian.cameron@sun.com>
* config/Xsession.solaris: Use bourne-shell syntax for setting
VTE_CJK_WIDTH. Just works better on Solaris.
2008-09-03 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.8:
* configure.ac: Updated to new release version
* NEWS: Updated.
2008-09-03 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c: Improve mdm_final_cleanup so that the slave daemon
exits after receiving a shutdown or reboot event, and after
completing all cleanup. This should fix all the remaining
issues in bug #517526. Patch by Josselin Mouette
<joss@malsain.org>
2008-09-03 Brian Cameron <brian.cameron@sun.com>
* acconfig.h, configure.ac: Rip out ctrun integration and instead
manage SMF so that when the slave daemon is forked, it is spawned
in a separate contract. This ensures that the user session, all
MDM GUI programs, and the PAM interaction all happen in the user
service contract. This helps to ensure that if the Xserver crashes,
it does not cause the MDM service to restart. This only affects
Solaris.
* gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c,
daemon/slave.c: Remove ctrun integration.
* daemon/display.c: Add logic so slave daemon is forked in a separate
SMF contract.
2008-08-25 Brian Cameron <brian.cameron@sun.com>
* daemon/server.c: Add -n argument to call to fbconsole so it
doesn't open a connection to the X display, to avoid race
conditions with XDMCP remote sessions.
2008-08-20 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Fix broken check for TCP Wrappers. Fixes bug
#548676. Patch by Stanislav Brabec <sbrabec@suse.cz> and
Brian Cameron <Brian.Cameron@sun.com>
* daemon/Makefile.am: Add LIBWRAP_LIBS to LDFLAGS when building
mdm-binary.
2008-08-20 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Fix memory leak in the SELinux code. Fixes bug
#548670. Patch by Josselin Mouette <joss@malsain.org> and
Julien Cristau.
2008-08-05 Brian Cameron <brian.cameron@sun.com>
* config/Xsession.solaris: Minor patch for data/Xsession.solaris
so that input methods work. Fixes bug #547549. Patch by Takao
Fujiwara <Takao.Fujiwara@sun.com>.
2008-08-05 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlanguages.c: Remove Kazakh to avoid breaking string freeze.
2008-08-05 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlanguages.c, config/locale.alias: Add Kazakh.
2008-07-31 Brian Cameron <brian.cameron@sun.com>
* gui/greeter/greeter_geometry.c: Prevent a negative value of
child_allocation.width when item_type is GREETER_ITEM_TYPE_SVG.
Fixes bug #546214. Patch provided by Pascal Brochart
<p.brochart@libertysurf.fr>.
2008-07-31 Brian Cameron <brian.cameron@sun.com>
* gui/mdmchooser.c: use g_strdup when copying strings to avoid
a crash. Reported by Matthias Drochner <M.Drochner@fz-juelich.de>
in bug #544730 with a proposed patch, which I modified slightly.
2008-07-28 Brian Cameron <brian.cameron@sun.com>
* gui/mdmchooser.c: Ignore ENXIO when processing ioctl since
some distros (FreeBSD) yields ENXIO for non-IP/non-configured
interfaces. Fixes bug #544790. Patch by Volker Stolz
(vs+gnome@FreeBSD.org).
2008-06-30 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.7:
* configure.ac: Updated to new release version
* NEWS: Updated.
2008-06-24 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Fix setting of variable so it is bourne-shell
compliant, so it does not cause an error running on Solaris.
2008-06-19 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Set default HOST_MDM_RBAC_SYSCMD_KEYS to also
include the RBAC key for Suspend, when building on Solaris.
Patch by Simon Zheng.
2008-06-16 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: When processing BaseXsession, only accept the
first word. Since the slave calls g_access with this value,
it will fail if there is more than one word or even trailing
space in this configuration value. Makes the code a bit more
robust.
2008-06-10 Brian Cameron <brian.cameron@sun.com>
* daemon/verify.h: Remove mdm_verify_check prototype since
this function does not exist anymore.
2008-06-10 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-pam.c: Clean up the libaudit calls so
that we just log the failed login attempt once in
the pamerr block rather than at each failure point.
Add libaudit logging when autologin is being used.
2008-06-03 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Free the pointer array via
g_free instead of g_ptr_array_free. Fixes an error where
an assertion was being triggered when MDM is exiting.
Further fix for bug #517526. Patch by Frederic Crozat
<fcrozat@mandriva.com>.
2008-05-22 Brian Cameron <brian.cameron@sun.com>
* daemon/getvt.c: Change 3rd argument of XInternAtom to True,
so that the XFree86_VT Atom is not created if it does not
exist.
2008-05-12 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.6:
* configure.ac: Updated to new release version
* NEWS: Updated.
2008-05-09 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c: Fix crash on logout caused by trying to read
configuration values in the mainloop_sig_callback function.
Redesigned so we only read configuration values when it is
appropriate (when dealing with SHUTDOWN, REBOOT, etc.).
Fixes another issue raised in bug #517526.
2008-05-03 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-xdmcp-manager.c: Move reading of configuration
from mdm_xdmcp_manager_init to mdm_xdmcp_manager_start
Otherwise the configuration values get over-ridden by the
deafult values set via properties. Fixes bug #515148.
2008-05-02 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: A better fix for the problem.
While investigating the crashing problem on exit, I noticed
that mdm_daemon_config_update_key was similarly crashing
when calling mdm_config_load and freeing the daemon_config
global. This crash would only happen occasionally, but I
was able to recreate it a few times. This indicates that
this function needs to be thread-safe, since if the deamon
recieves multiple UPDATE_KEY requests quickly, two requests
could be processed at the same time. This change fixes the
code so it doesn't reload the configuration, but instead
loads it into a temporary variable, and then updates just
the key requested. Thus avoiding the freeing of the global
and this should fix the crashing. This is more sensible
anyway, because some places in the code resets configuration
values to different values (e.g. resetting CONSOLE_NOTIFY to
false in mdm_config_parse if no displays were defined in the
configuration), so we lose such values if we reload the
entire configuration file. It's better to just reload the
specified key.
* daemon/mdm-daemon-config.c: I noticed that the key
"xservers/PARAMETERS" was not being processed in the
mdm_daemon_config_update_key, so that if you change Xserver
variables in mdmsetup, they weren't getting recognized by
the daemon. I fixed this, and thus fixed bug #450357.
2008-05-02 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Reverse last change. It seemed to
work when I first tested it, but I must have tested it wrong.
2008-05-02 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Remove call to mdm_config_load from
mdm_daemon_config_update_key. This function is only called when
the UPDATE_KEY message is passed to the daemon, which is typically
sent from mdmsetup when a specific configuration value has changed.
Calling mdm_config_load before processing the key will cause the
entire configuration to get reloaded since the datestamp on the
file will, of course, be newer than the last read. It is more
efficient to simply re-process the single key value requested via
the UPDATE_KEY command. This makes MDM behave more like it did
in MDM 2.18 and earlier.
2008-05-01 Brian Cameron <brian.cameron@sun.com>
* gui/mdmsession.c: If a MDM session desktop file is marked as
"Hidden=true" then do not show it in the session dialog.
2008-05-01 Brian Cameron <brian.cameron@sun.com>
* common/mdm-config.c: Similar fix to ensure that we do not free
the data structure twice when reloading. Similar issues as
with bug #517526.
2008-04-30 Brian Cameron <brian.cameron@sun.com>
* common/mdm-config.c: A new fix to address the crashing issue bug
#517526.
2008-04-30 Brian Cameron <brian.cameron@sun.com>
* common/mdm-config.c: Back-out the last change, it did not work
as I thought it did.
2008-04-30 Brian Cameron <brian.cameron@sun.com>
* common/mdm-config.c: Fix bug that was causing MDM to crash
when freeing memory in the keyfile code when exiting (such as when
shutting down the system). Fixes bug #517526.
2008-04-24 Brian Cameron <brian.cameron@sun.com>
* gui/mdmsetup.c: Fix the 24HourClock setting so that
we do not save translated strings as the configuration
option.
2008-04-24 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Fix reading of user's .dmrc
file so that if it does not exist, we avoid calling
gkeyfile functions. This avoids useless gkeyfile warning
messages about the file being NULL. The fix on 2007-09-20
mostly fixed this issue by making sure the file is
created before trying to read it. However, in some cases,
such as when the user's $HOME directory is not writable,
the read can happen when the file does not exist.
2008-04-24 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Add openbsd section to configure file.
to specify default halt, reboot, suspend commands.
Fixes bug #529686. Patch by Jasper Lievisse Adriaanse
<jasper@humppa.nl>.
2008-04-22 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Remove the broken logic which was trying
to append ${prefix}/bin to the DefaultPath and RootPath.
Users will need to use --with-post-path configure option
if they want to add their own directories to the
DefaultPath and RootPath. Fixes bug #510469.
2008-04-22 Brian Cameron <brian.cameron@sun.com>
* configure.ac, config/Xsession.in, config/Xsession.solaris,
config/Xsession.common, config/Makefile.am: Fix the way
Xsession is built so that distros can more easily add their
own logic to the Xsession script. Move Solaris specific
Xsession logic to the Xsession.solaris file. Get rid of
logic to normalize LC_ variables since this was causing
problems for some users, fixes bug #509141. Patch by
Takao Fujiwara <Takao.Fujiwara@sun.com>.
2008-04-11 Ray Strode <rstrode@redhat.com>
* gui/slave.c:
(mdm_slave_session_start): Sync to catch any XIO errors after session
exits (fixes bug 419301)
2008-04-07 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.5:
* configure.ac: Updated to new release version
* NEWS: Updated.
2008-03-27 Brian Cameron <brian.cameron@sun.com>
* gui/mdmdynamic.c, gui/modules/dwellmouselistener.c,
gui/modules/keymouselistener.c, daemon/slave.c,
daemon/mdm-daemon-config.[ch]: Correct copyright information for
Sun contributions to the code.
2008-03-19 Brian Cameron <brian.cameron@sun.com>
* gui/mdmwm.c: Use GDK functions to get the proper screen
resolution. Fixes bug #523403. Patch provided by Vincent
Untz <vincent@vuntz.net>.
2008-03-11 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.h, daemon/mdm-daemon-config-keys.h, po/POTFILES.in:
Move the default Welcome/RemoteWelcome strings from mdm.h to
mdm-daemon-config-keys.h. I noticed that we were defining the
#defines in two places. So now we just define them once.
2008-03-10 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.4:
* configure.ac: Updated to new release version
* NEWS: Updated.
2008-03-10 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.h, po/POTFILES.in: Mark the default local and remote
welcome message for translation more clearly. Fixes bug
#519528. Thanks to Wouter Bolsterlee <uws+gnome@xs4all.nl>
and Frederic Crozat <fcrozat@mandriva.com> for help with
this patch.
2008-03-07 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c: Get default locale from LC_MESSAGES rather than
from g_get_language_names. Fixes bug #517670. Patch by Ray
Strode <rstrode@redhat.com>.
2008-03-05 Brian Cameron <brian.cameron@sun.com>
* gui/mdmcommon.c: If the user uses the default remote welcome string
for local displays or vice-versa, then translate the string.
* gui/mdmflexiserver.c: Need to call gdk_init when running in
--command mode or the -a option fails when trying to call the
gdk function to get the display value. Patch by Frederic Crozat
<fcrozat@mandriva.com> and myself.
2008-03-01 Brian Cameron <brian.cameron@sun.com>
I got approval from the GNOME release team for these 3 changes.
* gui/mdmlogin.c, gui/mdmsetup.glade,
gui/greeter/greeter_canvas_item.c, gui/mdmsetup.c,
config/mdm.conf.in: Honor default password character rather than
hardcoding to '*'. Fixes bug #477881. Note this same fix was
committed and reverted on 2007-11-14 because I did not obtain string
freeze breakage approval at that time. Patch by Alexander "weej"
Jones <alex@weej.com>.
* docs/C/mdm.xml: Modify docs relating to above change, and
modify the Custom Widgetry section to explain the recent fixes
(in last commit).
* gui/greeter/greeter_canvas_item.c: Note the change on 2007-11-14
also fixed bug #389734. I intended to back this change out, but I
obviously forgot to revert it with the other changes. At any rate
there is now approval to break string freeze for this string, so
leaving this fix in. Patch provided by Roberto Sarrionandia
<rbs.tito@gmail.com>.
2008-02-28 Brian Cameron <brian.cameron@sun.com>
* gui/mdmcommon.c: Fix code so that saving custom widgetry values
works again. Now the files are saved in INI format with the
[GreeterInfo] group.
2008-02-18 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Get the environment value for XDG_DATA_DIRS
before calling ve_clearenv. This issue was noticed while
discussing bug #510358.
2008-01-23 Brian Cameron <brian.cameron@sun.com>
* gui/mdmsetup.c: Fix bug that was causing the Welcome message to not
get saved properly. Fixes bug #511018. Also removed the bad code
to delete translated strings if the user changes the value. If
user wants to change the translated strings, they should do it
manually.
2008-01-10 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Fix the setting of the custom command
NOTIFY key to avoid crashing problem when changing the label values
of a custom command in mdmsetup.
2008-01-09 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-crypt.c, daemon/verify-shadow.c: Add include of
mdm-log.h to fix compile issues. Fixes bug #508275. Thanks to
Simon Munton <simon-gnome@munton.demon.co.uk> for the patch.
2008-01-07 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.3:
* configure.ac: Updated to new release version
* NEWS: Updated.
2008-01-04 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Fix memory management for code
change I made on 2008-01-02. Thanks to Martin Weinberg for
pointing out the problem, though I wrote the fix.
2008-01-04 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-pam.c: I think I finally got the casting
cleaned up so it should compile on Linux and Solaris
with no further warnings.
2008-01-03 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-pam.c: Fix some more casting issues pointed
out by Larry Doolittle <ldoolitt@recycle.lbl.gov> via email.
2008-01-03 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-pam.c: Remove unnecessary casting pointed out
by Larry Doolittle <ldoolitt@recycle.lbl.gov> via email.
2008-01-02 Brian Cameron <brian.cameron@sun.com>
* common/mdm-config.h, common/mdm-config.c: Add function for
getting a list of server-foo sections from the configuration
files. Also fix bug that was causing the comparison of
STRING_ARRAY keys to not work. This was causing mdmsetup
to behave badly when changing the value of the
Halt/Shutdown/Reboot commands. Fixes bug #502074.
* daemon/mdm-daemon-config.c: Now use the above functions to
get the server-foo section names rather than just parsing the
ones used in the [server] section. This makes mdmsetup work
better and fixes bug #462613.
* daemon/mdm.c, daemon/mdm-daemon-config.c: Set debug as soon as
the configuration value is read, not after the configuration
file parsing is done. This is useful for debugging problems
while parsing.
2007-12-21 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c, daemon/slave.c: Fix some casting issues pointed out
by Larry Doolittle <ldoolitt@recycle.lbl.gov> via email.
2007-12-10 Brian Cameron <brian.cameron@sun.com>
* gui/mdmflexiserver.c: Revert to the old logic for handling
options. This uses g_option_context* rather than gtk_init.
Now we only call gtk_init when not handling the "--command"
argument. This fixes bug #438939. The problem here is that
you should be able to run mdmflexiserver with the --command
option even if running setuid or setgid, but the gtk_init
function doesn't allow this. So we need to use the g_option
functions instead.
2007-12-10 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlogin.c, gui/greeter/greeter.c: Now "Esc" key acts like the
"Start Again" button. Fixes enhancement request #482642. Patch by
Ray Strode <rstrode@redhat.com>.
2007-12-03 Brian Cameron <brian.cameron@sun.com>
* gui/mdmsetup.c: In mdm_load_displays, just return if keys
is NULL rather than crashing. Fixes bug #501010.
* gui/mdmXnestchooser.c, gui/mdmsetup.c: Include "mdm-log.h" to find
needed prototypes.
2007-11-30 Brian Cameron <brian.cameron@sun.com>
Thanks to George Lebl for noticing these issues.
* daemon/errorgui.c, daemon/mdmconsolekit.c, daemon/display.c,
daemon/mdm.c, daemon/filecheck.c, daemon/verify-shadow.c,
daemon/mdm-xdmcp-manager.c, daemon/verify-crypt.c, daemon/server.c,
daemon/slave.c, daemon/mdm-daemon-config.c, daemon/choose.c,
daemon/misc.c: Use mdm_debug instead of g_warning and g_debug.
* daemon/mdm-xdmcp-manager.c: Fix bug where WILLING script was
being read from the configuration file as an int rather than a
string.
2007-11-30 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c, daemon/slave.c: Fix Suspend configuration option
so it works. Fixes bug #500362. Patch by Philippe Troin
<phil@fifi.org>.
2007-11-27 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-xdmcp-manager.[ch]: Fix counting of number of
open sessions. Close the XDMCP socket in the finalize function.
Otherwise mdm-restart does not allow XDMCP connections.
Remove unused function mdm_xdmcp_manager_stop. Fixes bug
#495623. Patch by Andrew Ziem <ahziem1@mailbolt.com>
2007-11-26 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.2:
* configure.ac: Updated to new release version
* NEWS: Updated.
2007-11-26 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-xdmcp-manager.c: Fix so that the XDMCP configuration
options are read from the configuration file again.
Fixes bug #498277. Patch by Andrew Ziem <ahziem1@mailbolt.com>
2007-11-26 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c, daemon/server.c, daemon/mdm-daemon-config.[ch],
common/mdm-config.c, common/test-config.c, gui/mdmwm.c,
gui/mdmphotosetup.c, gui/mdmXnestchooser.c, gui/mdmcommon.c,
gui/mdmflexiserver.c: Fix leaks. Fixes bug #499445. Patch
by Andrew Ziem <ahziem1@mailbolt.com>
2007-11-26 Brian Cameron <brian.cameron@sun.com>
* gui/mdmXnestchooser.c: Set execvec by calling make_us_an_exec_vector
after setting indirect_host, since the function uses this variable.
Fixes bug #499389. Patch by Andrew Ziem <ahziem1@mailbolt.com>
2007-11-21 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm.c, daemon/slave.c: Fix so that we allow setting of
LC_CTYPE without setting LANG. Cleanup of how we set the
system locale. Fixes bug #485852. Patch by Sjoerd Simons
<sjoerd@luon.net> and Takao Fujiwara <Takao.Fujiwara@sun.com>.
2007-11-16 Brian Cameron <brian.cameron@sun.com>
* daemon/misc.c: Add back hinting, with a preference towards
IPv6. Patch by Ely Levy <nakeee@gmail.com>.
2007-11-14 Brian Cameron <brian.cameron@sun.com>
* Reversing last commit since it broke string freeze.
2007-11-14 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlogin.c, gui/greeter/greeter_canvas_item.c,
gui/mdmsetup.glade, gui/mdmsetup.c, config/mdm.conf.in,
docs/C/mdm.xml: No longer hardcode the password field to '*'.
Instead use the GTK+ default character for password fields. No
longer support the UseCirclesInEntry configuration option.
Addresses enhancement request #477881. Patch by Alex "weej"
Jones <alex@weej.com>.
2007-11-13 Brian Cameron <brian.cameron@sun.com>
* daemon/getvt.c: If mdm_get_current_vtnum is called with a NULL
display, just return -1.
2007-11-07 Brian Cameron <brian.cameron@sun.com>
* common/mdm-common.[ch], daemon/misc.c, daemon/mdm-xdmcp-manager.c:
Fix to better calculate sockaddr length. No longer set hints,
since the way we were doing it was broken. hints_ai_family is not
a bitmask. Patch by Robert Nelson <robertn@the-nelsons.org>.
Fixes bug #494817.
2007-10-31 Luca Ferretti <elle.uca@libero.it>
* data/icons/README: Added, with the list of currently installed
icons and some info if you need to provide new named icons.
2007-10-31 Luca Ferretti <elle.uca@libero.it>
* gui/mdmflexiserver.desktop.in: "flexiserver", not "flexyiserver"
2007-10-31 Luca Ferretti <elle.uca@libero.it>
* data/icons/32x32/apps/mdm-setup.png:
This should never be there, sorry. Deleted from svn.
2007-10-31 Luca Ferretti <elle.uca@libero.it>
* pixmaps/16x16/Makefile.am:
* pixmaps/32x32/Makefile.am:
* pixmaps/48x48/Makefile.am:
* pixmaps/Makefile.am:
Update the icon cache only when exiting from pixmaps/ dir,
plus remove old "mdm-setup" icon from build.
* pixmaps/48x48/mdm-setup.png
* pixmaps/32x32/mdm-setup.png
* pixmaps/24x24/mdm-setup.png
Deleted from svn; note that the 24x24 one wasn't used in build.
2007-10-31 Luca Ferretti <elle.uca@libero.it>
* gui/mdmflexiserver.desktop.in: Use new "mdmflexiserver" icon
in launcher
* gui/mdmsetup.desktop.in.in: Use new "mdmsetup" icon in
launcher
* gui/mdmsetup.c: (main): USe new "mdmsetup" icon as default
window icon (gtk_window_set_default_icon_name)
* gui/greeter/greeter_system.c: Use "mdmsetup" icon for
Configure Login Manager menu entry.
2007-10-31 Luca Ferretti <elle.uca@libero.it>
* Makefile.am: Added new data/ directory to SUBDIRS.
* configure.ac: Added new data/* directories to AC_OUTPUT.
2007-10-31 Luca Ferretti <elle.uca@libero.it>
* data/*: Added new data/ directory to svn, storing
by now icons/ directory with new named icons for mdm:
"mdmsetup" and "mdmflexiserver".
See bugs #477799 and #477983.
2007-10-15 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.1:
* configure.ac: Updated to new release version
* NEWS: Updated.
2007-10-15 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlogin.c, gui/greeter/mdmgreter_item_pam.c: Change
behavior of Tab so it acts like enter if the focus is on
the entry field. Ctrl-Tab can be used for changing focus.
This fixes bug #433495. Patch by Lo\357c Minier
<lool@dooz.org>.
2007-10-09 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-crypt.c, daemon/verify-shadow.c,
daemon/filecheck.c, daemon/mdm-xdmcp-manager.c: No longer
translate messages in debug.
2007-10-09 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-crypt.c, daemon/verify-shadow.c: No longer print
username in error messages in case the user accidently types
their password in the username entry. We should avoid logging
any passwords to syslog. Addresses some problems in bug
#484750.
2007-10-03 Brian Cameron <brian.cameron@sun.com>
* Decrease num_sessions when appropriate. Otherwise MDM incorrectly
thinks the maximum number of XDMCP connections has been reached.
Fixes bug #478441. Patch by Francis Giraldeau
<francis.giraldeau@revolutionlinux.com>.
2007-09-28 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlogin.c, gui/greeter/greeter.c: Send a response before
exiting to avoid a hang. Fixes bug #473480. Patch by Ray
Strode <rstrode@redhat.com>.
2007-09-21 Brian Cameron <brian.cameron@sun.com>
* gui/mdmXnestchooser.c, gui/mdmsetup.c: Turn off debug message
logging. Fixes bug #478318.
2007-09-21 Dave Fincher <finchair@yahoo.com>
Fixes bug #478805.
* gui/greeter/themes/happygnome/happygnome-list.xml: Updated
happygnome-list.xml so that all elements display on 800x600 and
larger screen resolutions and elements dynamically adjust size and
position based on the screen resolution.
* gui/greeter/themes/happygnome-list: Removed the options.png files
which is not used in the happygnome-list theme
* gui/greeter/themes/happygnome-list/Makefile.am:
Removed session.png file entry which is not used in the
happygnome-list theme.
2007-09-21 Dave Fincher <finchair@yahoo.com>
Fixes bug #478800.
* gui/greeter/themes/happygnome/happygnome.xml: Updated happygnome.xml
so that the bottom buttons and bar to display on 800x600 and larger
screen resolutions.
* gui/greeter/themes/happygnome: Removed the options.png files which
is not used in the happygnome theme
* gui/greeter/themes/circles/Makefile.am:
Removed session.png file entry which is not used in the circles theme.
2007-09-20 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Bump glib dependency to 2.12 since we now
use g_hash_table_remove_all.
2007-09-20 Dave Fincher <finchair@yahoo.com>
* gui/greeter/themes/circles/circles.xml: Updated circle.xml so that
the bottom buttons and bar to display on 800x600 and larger screen
resolutions.
* gui/greeter/themes/circles: Removed the options.png and help.png
files which are not used in the circles theme
* gui/greeter/themes/circles/Makefile.am:
Removed session.png and help.png file entries which were not used in
the circles theme.
* AUTHORS: Added self to authors file.
2007-09-20 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Fix so that if the .dmrc file does
not exist, it is created. Fixes bug #453916. Patch by Brady
Anderson <brady.anderson@gmail.com>.
2007-09-19 Brian Cameron <brian.cameron@sun.com>
* configure.ac, gui/Makefile.am: I discovered that MDM was getting
-lsocket and -lnsl from a different pc file, which is not
appropriate. Fix mdm so we list these explicitely. This is
needed on Solaris where we need to specify dependant libraries.
2007-09-18 Brian Cameron <brian.cameron@sun.com>
* gui/mdmcommon.c: Set stdout/stderr to DEV_NULL when spawning
at_spi_registryd and the prefetch program. This fixes a
hanging problem reported in bug #473480. Patch by
Huang Peng <shawn.p.huang@gmail.com>
2007-09-17 Brian Cameron <brian.cameron@sun.com>
* Release 2.20.0:
* configure.ac: Updated to new release version
* NEWS: Updated.
* gui/mdmcommon.c, gui/Makefile.am: Properly propegate the new
atspidir to the c-file. This fixes bug #471978.
2007-09-17 Brian Cameron <brian.cameron@sun.com>
* configure.ac, gui/mdmcommon.c: Now allow users to specify the
location of at-spi-registryd via the --with-atspi-dir configure
argument.
2007-09-12 Brian Cameron <brian.cameron@sun.com>
* gui/modules/dwellmouselistener.c: Fix casting so that it doesn't
generate warnings when you enter/leave various widgets. Fixes
bug #440948. Patch by Gerd Kohlberger <lowfi@chello.at>.
2007-09-12 Brian Cameron <brian.cameron@sun.com>
* gui/mdmlanguages.c: Fix Macedonian language so that the
language appears in the local language. Fixes bug #474530.
Patch by Arangel Angov <ufo@linux.net.mk>.
2007-09-12 Brian Cameron <brian.cameron@sun.com>
* gui/modules/keymouselistener.c: Improve checking for input
devices so it doesn't fail on Ubuntu, and we free memory
relating to the devices. Fixes bug #440948. Patch by
Gerd Kohlberger <lowfi@chello.at>.
2007-09-12 Brian Cameron <brian.cameron@sun.com>
* daemon/auth.c, common/mdm-common.c: Fix bug with IPv6 logic. Fixes
bug reported in bug #376010. Patch by Jacob Berkman
<jacob@gnome.org>.
2007-09-06 Brian Cameron <brian.cameron@sun.com>
* Release 2.19.8:
* configure.ac: Updated to new release version
* NEWS: Updated.
2007-09-06 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Add support for /usr/X11/bin/Xorg when
setting X_PATH, etc. Patch by Laszlo Peter
<Laszlo.Peter@sun.com>.
2007-09-01 Brian Cameron <brian.cameron@sun.com>
* daemon/mdm-daemon-config.c: Fix bug #470390 where MDM was not
properly executing a custom start script. This relates to my
previous fix for bug #462613, which didn't fix this part.
2007-08-31 Brian Cameron <brian.cameron@sun.com>
* MAINTAINERS: Update so it is in the right format.
* configure.ac: Fix bug from the last commit that caused the
HALT_COMMAND to no longer get set.
2007-08-29 Brian Cameron <brian.cameron@sun.com>
* configure.ac: Make it possible to configure system dependant
options by setting environment variables before running
configure. Patch by Laszlo Peter <Laszlo.Peter@sun.com>
2007-08-29 Brian Cameron <brian.cameron@sun.com>
* daemon/slave.c: Fix bug with ConsoleKit that occurs when
the session is going to migrate. Previous code was failing
to send the notification when the greeter is not TYPE_FLEXI.
Fixes bug #461056. Patch by Ian Jackson <iwj@ubuntu.com>
2007-08-28 Brian Cameron <brian.cameron@sun.com>
* gui/greeter/greeter_canvas_item.c: Set invisible character to '*' if
the configuration file does not specify to use invisible or circles.
This change was already fixed for mdmlogin, refer to 2007-06-04
entry. Fixes bug #439089 for mdmgreeter. Patch by Sebastien Bacher
<seb128@debian.org>.
2007-08-27 Brian Cameron <brian.cameron@sun.com>
* daemon/verify-pam.c: When using mdm_verify_standalone_pam_conv
we need to send echo to FALSE when PAM_PROMPT_ECHO_OFF is
handled. Fixes bug #470728.
2007-08-27 Brian Cameron <brian.cameron@sun.com>
* Release 2.19.7:
* configure.ac: Updated to new release version
* NEWS: Updated.
2007-08-25 Brian Cameron <brian.cameron@sun.com>
* gui/greeter/greeter.dtd: Fix bug #469759. Patch by Dave
Fincher <finchair@yahoo.com>.