forked from aszeszo/nwam-manager
-
Notifications
You must be signed in to change notification settings - Fork 8
/
ChangeLog
9680 lines (8577 loc) · 402 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
2023-11-27 Andreas Wacknitz <a.wacknitz@gmx.de>
* configure.in: Look in 64 bit folder for libdladm
2011-07-18 Lin Ma <lin.ma@oracle.com>
* data/nwam-manager-properties: Fixed 7066511 [nwam] user with
Network Manage profiles needs root password to launch
nwam-manager-properties
2010-10-09 Lin Ma <Lin.Ma@Sun.COM>
* configure.in: Bump to 1.151.0
* daemon/status_icon.c (daemon_switch_loc_manually_changed): fixed
17192 the location switch mode in the location submenu of panel
icon pop ups doesn't update correctly
2010-09-13 Lin Ma <Lin.Ma@Sun.COM>
* common/libnwamui.c (nwamui_util_ncp_init_acquired_ip),
(nwamui_util_get_interface_address): Fixed build issue on nv147
due to 'struct ifaddrs' changes.
* ui/nwam-manager-properties.ui: Fixed some demo numbers are
marked as translation needed.
2010-07-29 Lin Ma <Lin.Ma@Sun.COM>
* configure.in: Bump to 1.146.0
2010-07-21 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_profile_dialog.c (nwam_connection_cell_func): Fixed
16600 [NWAM] Show Wired/Wireless in Edit Connections dialog
2010-07-21 Lin Ma <Lin.Ma@Sun.COM>
* capplet/main.c:
* common/nwamui_daemon.c (nwam_loc_walker_cb),
(nwam_enm_walker_cb), (nwam_ncp_walker_cb),
(nwam_known_wlan_walker_cb):
* common/nwamui_enm.c (nwamui_enm_class_init), (nwamui_enm_new),
(nwamui_enm_new_with_handle), (nwamui_object_real_open),
(nwamui_object_real_reload):
* common/nwamui_env.c (nwamui_env_class_init), (nwamui_env_new),
(nwamui_env_new_with_handle), (nwamui_object_real_open),
(nwamui_object_real_reload):
* common/nwamui_known_wlan.c (nwamui_known_wlan_class_init),
(nwamui_object_real_reload), (nwamui_known_wifi_new),
(nwamui_known_wlan_new_with_handle), (nwamui_object_real_open):
* common/nwamui_ncp.c (nwamui_ncp_class_init), (nwamui_ncp_new),
(nwamui_ncp_new_with_handle), (nwamui_object_real_reload),
(nwamui_object_real_open):
* common/nwamui_ncu.c (nwamui_ncu_class_init),
(nwamui_ncu_new_with_handle), (nwamui_object_real_reload),
(nwamui_object_real_open):
* common/nwamui_object.c (nwamui_object_open),
(nwamui_object_event), (nwamui_object_add), (nwamui_object_remove):
* common/nwamui_object.h: Clean some code. Probably fixed 6968008
core.i86pc.nwam-manager excessive core file generation on snv_142
2010-06-29 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_wireless_dialog.c
(nwam_wireless_dialog_set_key_index),
(nwam_wireless_dialog_get_key_index):
* capplet/nwam_wireless_dialog.h: Fixed 16390 [osol_142]
nwam-manager cores when joining a unlisted wireless network with
WEP security
2010-06-04 Lin Ma <Lin.Ma@Sun.COM>
* configure.in: Bump to 1.142.0
2010-06-02 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_profile_panel.c (nwamui_ncp_name_cell_edited),
(on_button_clicked): Fixed can't update widgets in cloning NCP.
* common/nwamui_daemon.c (nwamui_object_real_reload),
(nwam_known_wlan_walker_cb): Clean code.
* common/nwamui_env.c (nwamui_object_real_clone),
(nwamui_object_real_reload): Clean code.
* common/nwamui_known_wlan.c (nwamui_object_real_commit):
* common/nwamui_ncu.c (nwamui_ncu_add_acquired):
* common/nwamui_ncu.h:
* common/nwamui_object.c (default_nwamui_object_set_nwam_state):
Clean code.
* daemon/status_icon.c (ncu_notify_nwam_state),
(connect_nwam_object_signals): Fixed show NCU connected
notification on disconnecting.
2010-05-28 Lin Ma <Lin.Ma@Sun.COM>
* capplet/capplet-utils.c
(capplet_tree_model_foreach_nwamui_object_reload),
(capplet_tree_model_foreach_nwamui_object_commit):
* capplet/capplet-utils.h: Common reload/commit useful for tree
view. Note current not all the nwamui object subclass implemented
_has_modifications, _validate, _reload and _commit.
* capplet/nwam_conn_conf_ip_panel.c (nwam_conf_ip_panel_init),
(apply), (daemon_add_object), (daemon_remove_object),
(wireless_tab_add_button_clicked_cb),
(wireless_tab_remove_button_clicked_cb),
(wireless_tab_edit_button_clicked_cb): Monitor daemon_add/remove
events, make sure an object is successfully committed also be
added in order to reuse the object and refect the info on the GUI.
* capplet/nwam_env_pref_dialog.c (apply): Use common object
_validate function.
* capplet/nwam_location_dialog.c (cancel), (apply),
(on_button_clicked): Clean code, use common tree view commit
function.
* capplet/nwam_pref_dialog.c (nwam_capplet_dialog_init), (apply),
(show_changed_cb), (daemon_add_object), (daemon_remove_object):
Monitor daemon_add/remove events instead of daemon_info event
which has been deleted.
* capplet/nwam_profile_dialog.c (apply), (foreach_set_group_mode),
(connections_edit_btn_clicked), (ncp_add_ncu), (ncp_remove_ncu),
(edit_profile_changed), (ncu_pri_treeview_add): Monitor
daemon_add/remove events, make sure an object is successfully
committed also be added in order to reuse the object and refect
the info on the GUI.
* capplet/nwam_profile_panel.c (nwam_compose_tree_view), (cancel),
(apply), (nwamui_ncp_name_cell_edited),
(nwam_treeview_update_widget_cb), (on_button_clicked): Make sure
an object is successfully committed also be added in order to
reuse the object and refect the info on the GUI. Always allow
rename NCP, even the NCP is created(which is already
committed). Rename the committed NCP is to first clone it with the
new name, then delete the old one, and replace the corresponding
row data to the new one.
* capplet/nwam_vpn_pref_dialog.c (cancel), (apply),
(vpn_pref_clicked_cb), (nwam_vpn_pre_selection_validate): Make
sure an object is successfully committed also be added in order to
reuse the object and refect the info on the GUI, e.g. start/stop a
new created ENM. And use the tree view common commit function.
* capplet/nwam_wireless_chooser.c (nwam_wireless_chooser_init),
(daemon_add_object), (daemon_remove_object): Monitor
daemon_add/remove events instead of daemon_info.
* capplet/nwam_wireless_dialog.c (nwam_wireless_dialog_init),
(nwam_wireless_dialog_set_property), (set_purpose),
(nwam_wireless_dialog_get_wifi_net),
(nwam_wireless_dialog_set_wifi_net), (apply), (cancel),
(dialog_run), (validate_information), (key_entry_focus_in_cb):
Clean code. Make the logic simple. Updated the code for the new
subclass NwamuiKnownWlan.
* common/Makefile.am: Added NwamuiKnownWlan source files.
* common/libnwamui.c (debug_g_type_name): For debug usage.
* common/libnwamui.h:
* common/nwamui_daemon.c (nwamui_daemon_class_init),
(nwamui_daemon_init), (nwamui_object_real_reload),
(nwamui_daemon_set_property), (nwamui_daemon_get_property),
(nwamui_daemon_finalize), (nwamui_daemon_get_ncp_by_name),
(nwamui_daemon_get_env_by_name), (nwamui_daemon_get_enm_by_name),
(nwamui_ncp_get_first_wireless_ncu_from_active_ncp),
(nwamui_object_real_event), (find_compare_wifi_net_by_prio),
(nwamui_object_real_add), (nwamui_object_real_remove),
(nwamui_daemon_find_fav_wifi_net_by_name),
(nwamui_object_real_validate), (nwamui_object_real_commit),
(foreach_wifi_in_ncu_emit),
(dispatch_scan_results_from_wlan_array),
(nwamui_daemon_populate_wifi_fav_list), (wep_key_timeout_handler),
(nwamui_daemon_setup_dhcp_or_wep_key_timeout),
(nwamd_event_handler), (nwamui_daemon_update_status),
(nwamui_daemon_handle_object_action_event), (nwam_loc_walker_cb),
(nwam_enm_walker_cb), (nwam_ncp_walker_cb),
(nwam_known_wlan_walker_cb), (nwamui_daemon_foreach_fav_wifi),
(nwamui_daemon_find_fav_wifi):
* common/nwamui_daemon.h: Clean code. Clean signals. Unify
add/remove objects. Unify _reload/_commit to reload/commit all
children. Make signals compatible like GtkContainer. Removed
useless properties. Rework and fix bug of wlan_connection_report
event, wlan need key event. Unify nwam object walker behavior.
* common/nwamui_enm.c (nwamui_enm_class_init),
(nwamui_object_real_set_name), (nwamui_object_real_open),
(nwamui_object_real_set_handle), (nwamui_object_real_clone),
(nwamui_object_real_validate):
* common/nwamui_enm.h: Fix bugs. Clone object don't automatically
add it to daemon. _validate becomes a virtual function.
* common/nwamui_env.c (nwamui_env_class_init),
(nwamui_object_real_set_name), (nwamui_object_real_clone),
(nwamui_object_real_open), (nwamui_object_real_destroy),
(nwamui_object_real_validate):
* common/nwamui_env.h: Fix bugs. Clone object don't automatically
add it to daemon. _validate becomes a virtual function. Fix
destroy handle doesn't clean handle pointer.
* common/nwamui_ip.c (nwamui_object_real_sort): Sort IP by
name(essid).
* common/nwamui_known_wlan.c (nwamui_known_wlan_class_init),
(nwamui_known_wlan_init), (nwamui_known_wlan_set_property),
(nwamui_known_wlan_get_property), (nwamui_object_real_reload),
(nwamui_known_wlan_finalize), (nwamui_known_wifi_new),
(nwamui_known_wlan_update_from_wlan_t),
(nwamui_known_wlan_new_with_handle), (nwamui_object_real_sort),
(nwamui_object_real_destroy), (nwamui_object_real_validate),
(nwamui_object_real_commit), (nwamui_object_real_can_rename),
(nwamui_object_real_set_name), (nwamui_object_real_open),
(nwamui_object_real_set_handle), (nwamui_known_wlan_get_essid),
(nwamui_known_wlan_real_set_bssid_list),
(nwamui_known_wlan_real_get_bssid_list),
(get_nwam_known_wlan_string_prop),
(set_nwam_known_wlan_string_prop),
(get_nwam_known_wlan_string_array_prop),
(set_nwam_known_wlan_string_array_prop),
(get_nwam_known_wlan_boolean_prop),
(get_nwam_known_wlan_uint64_prop),
(set_nwam_known_wlan_uint64_prop),
(get_nwam_known_wlan_uint64_array_prop),
(set_nwam_known_wlan_uint64_array_prop),
(nwamui_object_real_has_modifications):
* common/nwamui_known_wlan.h: New subclass from NwamuiWifiNet.
* common/nwamui_ncp.c (nwamui_ncp_class_init),
(nwamui_object_real_clone), (nwamui_object_real_reload),
(nwamui_object_real_open), (nwamui_object_real_set_name),
(nwamui_object_real_has_modifications), (check_ncu_online),
(nwamui_ncp_all_ncus_online), (nwamui_object_real_remove),
(nwamui_object_real_add), (nwamui_object_real_validate),
(nwamui_object_real_commit), (nwam_ncu_walker_cb):
* common/nwamui_ncp.h: Clean code. Clean signals. Unify add/remove
objects. Unify _reload/_commit to reload/commit all children, do
not maintain new added/removed list. Make signals compatible like
GtkContainer. Removed useless properties. Unify nwam object walker
behavior.
* common/nwamui_ncu.c (nwamui_ncu_class_init),
(nwamui_ncu_set_property), (nwamui_ncu_get_property),
(nwamui_ncu_sync_handle_with_ip_data),
(nwam_ncu_handle_clone_each_prop), (nwamui_object_real_clone),
(nwamui_object_real_event), (nwamui_object_real_is_modifiable),
(nwamui_object_real_reload),
(nwamui_object_real_has_modifications), (nwamui_object_real_sort),
(nwamui_object_real_validate), (nwamui_object_real_commit),
(nwamui_object_real_destroy), (nwamui_object_real_open),
(nwamui_object_real_set_handle), (nwamui_ncu_set_vanity_name),
(nwamui_object_real_set_active),
(nwamui_object_real_set_activation_mode),
(nwamui_object_real_get_activation_mode),
(nwamui_ncu_wifi_hash_lookup_by_essid),
(nwamui_ncu_wifi_hash_insert_or_update_from_wlan_t),
(nwamui_ncu_finalize), (nwamui_ncu_get_interface_nwam_state),
(nwamui_ncu_get_link_nwam_state), (nwamui_ncu_add_acquired),
(nwamui_ncu_clean_acquired), (nwamui_ncu_acquired_all),
(set_modified_flag), (set_enabled_flag),
(nwamui_ncu_has_dhcp_configured),
(nwamui_ncu_get_connection_state_string):
* common/nwamui_ncu.h: Clean code. Clean signals. Unify
_reload/_commit. Unify _open/_set_handle functions like other
objects. Always use loop to loop all NWAM NCU classes/types if
possible. Removed useless properties.
* common/nwamui_object.c (default_nwamui_object_get_name),
(default_nwamui_object_can_rename),
(default_nwamui_object_set_name),
(default_nwamui_object_set_conditions),
(default_nwamui_object_get_conditions),
(default_nwamui_object_get_activation_mode),
(default_nwamui_object_set_activation_mode),
(default_nwamui_object_get_active),
(default_nwamui_object_set_active),
(default_nwamui_object_get_enabled),
(default_nwamui_object_set_enabled),
(default_nwamui_object_is_modifiable),
(default_nwamui_object_has_modifications),
(default_nwamui_object_event), (default_nwamui_object_add),
(default_nwamui_object_remove), (default_nwamui_object_modified),
(default_nwamui_object_validate), (default_nwamui_object_commit),
(default_nwamui_object_reload), (default_nwamui_object_destroy),
(nwamui_object_class_init), (nwamui_object_can_rename),
(nwamui_object_set_name), (nwamui_object_validate),
(nwamui_object_commit), (nwamui_object_event), (nwamui_object_add),
(nwamui_object_remove), (nwamui_object_modified):
* common/nwamui_object.h: New _add/_remove virtual
functions. Unify events, signals.
* common/nwamui_wifi_net.c (nwamui_wifi_net_class_init),
(nwamui_wifi_net_init), (nwamui_wifi_net_set_property),
(nwamui_wifi_net_get_property), (nwamui_wifi_net_finalize),
(nwamui_wifi_net_new), (nwamui_wifi_net_update_from_wlan_t),
(nwamui_wifi_net_new_from_wlan_t), (nwamui_object_real_sort),
(nwamui_wifi_net_store_key), (nwamui_wifi_net_connect),
(nwamui_object_real_can_rename), (nwamui_object_real_set_name),
(nwamui_wifi_net_real_set_bssid_list),
(nwamui_wifi_net_real_get_bssid_list),
(nwamui_wifi_net_set_bssid_list), (nwamui_wifi_net_get_bssid_list):
* common/nwamui_wifi_net.h: Divide NwamuiKnownWlan code from
this. Node some properties are overwriten by NwamuiKnownWlan, so
make sure for those properties use g_object_get to get the correct
info, esspecially for the function nwamui_wifi_net_store_key.
* daemon/notify.c (nwam_notification_msg_new),
(nwam_notification_show_ncu_connected):
* daemon/notify.h: Changes for 15544 NWAM GUI only shows the 0th
address. Need more work.
* daemon/nwam-menu.c (menu_section_get_children): Clean code,
correct comments.
* daemon/nwam-wifi-item.c (on_nwam_wifi_toggled),
(menu_wifi_item_compare): Clean code.
* daemon/status_icon.c (daemon_add_object), (daemon_remove_object),
(daemon_event), (ncu_notify_nwam_state), (ncu_notify_enabled),
(ncu_event), (ncp_remove_ncu), (daemon_active_ncp_changed),
(connect_nwam_object_signals), (initial_notify_nwam_object),
(nwam_menu_update_wifi_section), (nwam_status_icon_run),
(nwam_status_icon_move_menu_items_to_cache): Clean code, monitor
_add/_remove signals. Fixed bugs.
* tests/main.c (main), (process_ncp), (process_known_wlan),
(wlans_changed): Update code.
2010-05-17 Lin Ma <Lin.Ma@Sun.COM>
* capplet/capplet-utils.c:
* capplet/capplet-utils.h:
* common/libnwamui.c (capplet_tree_model_foreach),
(capplet_model_foreach_find_object), (capplet_model_find_object),
(capplet_model_find_object_with_parent), (capplet_model_foreach),
(capplet_model_1_level_foreach):
* common/libnwamui.h: Moved some functions to libnwamui because
common code will use them.
* common/nwamui_ip.c (nwamui_ip_get_display_name):
* common/nwamui_ncu.c (nwamui_ncu_init): Fixed inactive DHCP NCUs
can't show all zero address. DHCP/Static mixed configured NCUs
show static address on DHCP entry.
2010-05-13 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_conn_conf_ip_panel.c (multi_line_add_cb):
* common/libnwamui.c (nwamui_util_split_address_prefix): Fixed mem
leak.
* common/nwamui_daemon.c (nwamui_daemon_set_property),
(nwamui_daemon_get_property), (nwamd_event_handler),
(nwamui_daemon_handle_object_action_event), (nwam_ncp_walker_cb):
Fixed a potential deref NULL. Clean code.
* common/nwamui_env.c (nwamui_object_real_get_active):
* common/nwamui_ip.c (nwamui_ip_class_init),
(nwamui_ip_set_property), (nwamui_ip_get_property),
(nwamui_ip_new): Remove code for dup flags DHCP/STATIC.
* common/nwamui_ip.h:
* common/nwamui_ncu.c (nwamui_ncu_init), (nwamui_ncu_set_property),
(populate_ip_ncu_data):
* common/nwamui_ncu.h: Clean code. Fixing 15544 NWAM GUI only
shows the 0th address. Fixed can't show the only DHCP address in
tooltip and capplet. Fixed some mem leaks.
* common/nwamui_prof.c (user_has_autoconf_auth): Fixed a mem leak.
* daemon/nwam-env-item.c (nwam_env_item_init),
(nwam_env_item_finalize):
* daemon/status_icon.c (daemon_switch_loc_manually_changed),
(connect_nwam_object_signals), (location_model_menuitems):
Reworked auto/manually activate loc since it was broken.
2010-05-12 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_vpn_pref_dialog.c (nwam_vpn_pref_dialog_init),
(nwam_update_obj), (dialog_run), (refresh), (cancel), (apply),
(response_cb), (command_entry_changed), (vpn_pref_clicked_cb),
(nwam_vpn_pre_selection_validate), (nwam_vpn_selection_changed),
(conditional_toggled_cb), (on_radio_button_toggled): Found many
problems when fixing 15855 [NWAM] could not add network
modifier. Since prv->cur_obj always point to the new/editting
object, so it's forced to finish the modifications of cur_obj
before click either apply or cancel button to avoid problems. I
also added editing a start/stop/fmri command and verify the
content in realtime, then set sensitive of start/stop buttons.
* common/libnwamui.c (nwamui_util_ncp_init_acquired_ip):
* common/libnwamui.h: Added a new function to get initial IP
address only for active NCUs of active NCP on starting up
NWAMUI. I do that because I think for any other NCU changes can
get the proper info from nwamd IF_STATE event.
* common/nwamui_daemon.c (nwamui_daemon_class_init),
(nwamui_daemon_init), (nwamui_object_real_reload),
(nwamd_event_handler), (nwamui_daemon_handle_object_state_event),
(nwam_loc_walker_cb), (nwam_enm_walker_cb), (nwam_ncp_walker_cb):
Rename nwamui_daemon_init_lists to nwamui_object_real_reload for
compatible. Clean code and use nwamui_util_ncp_init_acquired_ip on
populating NCP info.
* common/nwamui_enm.c (nwamui_enm_new), (nwamui_object_real_open),
(nwamui_object_real_commit): Fixes which I think should be
correct.
* common/nwamui_env.c (nwamui_object_real_open): ditto.
* common/nwamui_ip.c (nwamui_ip_class_init),
(nwamui_ip_set_property), (nwamui_ip_get_property),
(nwamui_object_real_sort), (nwamui_ip_set_subnet_prefix),
(nwamui_ip_get_display_name):
* common/nwamui_ip.h:
* common/nwamui_ncp.c (nwamui_object_real_open),
(nwamui_object_real_get_active): Clean code.
* common/nwamui_ncu.c (nwamui_ncu_get_property):
* common/nwamui_ncu.h: Fixing 15544 NWAM GUI only shows the 0th
address. Still has problems.
* help/C/nwam-manager.xml: Merge Nita's final fix.
2010-04-22 Lin Ma <Lin.Ma@Sun.COM>
* capplet/Makefile.am:
* common/nwamui_daemon.c (nwamd_event_handler):
* configure.in:
* daemon/Makefile.am:
* tests/Makefile.am: Removed libinetcfg from makefiles.
2010-04-19 Lin Ma <Lin.Ma@Sun.COM>
* help/C/nwam-manager.xml: Merge Nita's fix.
2010-04-16 Lin Ma <Lin.Ma@Sun.COM>
* Makefile.am: Removed unused headers.
* common/libnwamui.c
(nwamui_util_convert_prefixlen_to_netmask_str),
(nwamui_util_convert_netmask_str_to_prefixlen),
(nwamui_util_get_interface_address): Rework mask2plen and
plen2mask related functions.
* common/nwamui_daemon.c (nwamd_event_handler):
* common/nwamui_ncp.c (nwamui_ncp_get_ncu_by_device_name):
* common/nwamui_ncu.c (nwamui_ncu_set_property),
(nwamui_ncu_get_property):
* common/nwamui_ncu.h: Add some code for refresh address on
getting nwamd events, not finished.
* nwam_core/copy_onnv_headers.sh:
* nwam_core/libnwam.h:
* nwam_core/usr/include/libdladm.h:
* nwam_core/usr/include/libdladm_impl.h:
* nwam_core/usr/include/libdlaggr.h:
* nwam_core/usr/include/libdlether.h:
* nwam_core/usr/include/libdlflow.h:
* nwam_core/usr/include/libdlflow_impl.h:
* nwam_core/usr/include/libdllink.h:
* nwam_core/usr/include/libdlmgmt.h:
* nwam_core/usr/include/libdlstat.h:
* nwam_core/usr/include/libdlvlan.h:
* nwam_core/usr/include/libdlvnic.h:
* nwam_core/usr/include/libdlwlan_impl.h:
* nwam_core/usr/include/sys/dld.h:
* nwam_core/usr/include/sys/dls_mgmt.h:
* nwam_core/usr/include/sys/mac.h:
* nwam_core/usr/include/sys/mac_flow.h: Removed unused headers.
2010-04-14 Lin Ma <Lin.Ma@Sun.COM>
* Makefile.am:
* common/libnwamui.c (plen2mask), (mask2plen),
(nwamui_util_get_interface_address),
(nwamui_util_window_title_append_hostname):
* common/nwamui_ncu.c:
* nwam_core/copy_onnv_headers.sh:
* nwam_core/usr/include/inetcfg.h: Remove inetcfg related code,
use getifsaddrs instead. Copy mask2plen and plen2mask from
libinetutil.
2010-04-12 Lin Ma <Lin.Ma@Sun.COM>
* configure.in: version 1.138.0
2010-04-12 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_conn_stat_panel.c (env_clicked_cb),
(vpn_clicked_cb):
* capplet/nwam_vpn_pref_dialog.c
(capplet_tree_model_row_changed_func), (refresh),
(vpn_pref_clicked_cb), (nwam_vpn_pre_selection_validate),
(nwam_vpn_selection_changed): Fixed 14850 [nwam-133] settings in
network modifiers are not restored until nwam-manager-properties
is relaunched. Fixed 14258 [132] nwam error when adding second VPN
2010-04-09 Lin Ma <Lin.Ma@Sun.COM>
* capplet/capplet-utils.c (capplet_tree_model_foreach),
(capplet_model_foreach):
* capplet/capplet-utils.h: Add a new tree model foreach func.
* capplet/nwam_pref_dialog.c (nwam_capplet_dialog_init),
(daemon_info), (ncp_add_ncu), (ncp_remove_ncu),
(nwamui_util_foreach_nwam_object_add_to_tree_store),
(show_combo_add), (show_combo_remove), (combo_find_proper_pos):
* capplet/nwam_profile_dialog.c (net_conf_set_property): Fixed
15314 [NWAM] Force refresh after editing network profile?
* common/libnwamui.c:
* common/libnwamui.h: Remomve unused code.
* common/nwamui_ncp.c (nwamui_ncp_class_init):
* common/nwamui_ncp.h: Clean code. Change some signal slightly,
for adding a container object lately.
* common/nwamui_ncu.c: Clean code.
* daemon/main.c (init_wait_for_embedding_idle),
(init_wait_for_embedding): Fixed 15524 nwam-manager shouldn't run
gtk_status_icon_is_embedded in idle
* daemon/status_icon.c (connect_nwam_object_signals): Signals
changed.
* help/C/nwam-manager.xml: Updated OLH due to 15136 Remove
'Network Locations' menu-item
2010-03-25 Lin Ma <Lin.Ma@Sun.COM>
* data/Makefile.am:
* data/nwam-manager-properties.desktop.in:
* data/nwam-manager.desktop.in.in:
* data/nwam-network.desktop.in:
* data/nwam-network.desktop.in.in:
Fixed remove 'Network Locations'
2010-03-23 Lin Ma <Lin.Ma@Sun.COM>
* configure.in: bump to 1.0.1
* Makefile.am: Clean removed files.
* common/nwamui_env.c (nwamui_env_set_property),
(nwamui_env_get_property), (set_nwam_loc_string_prop),
(nwamui_env_set_nameservices), (nwamui_env_get_nameservices),
(nwamui_env_set_nameservices_config_file),
(nwamui_env_get_nameservices_config_file),
(nwamui_env_set_default_domainname),
(nwamui_env_get_default_domainname),
(nwamui_env_set_dns_nameservice_domain),
(nwamui_env_get_dns_nameservice_domain),
(nwamui_env_set_dns_nameservice_config_source),
(nwamui_env_get_dns_nameservice_config_source),
(nwamui_env_set_dns_nameservice_servers),
(nwamui_env_get_dns_nameservice_servers),
(nwamui_env_set_dns_nameservice_search),
(nwamui_env_get_dns_nameservice_search),
(nwamui_env_set_nis_nameservice_config_source),
(nwamui_env_get_nis_nameservice_config_source),
(nwamui_env_set_nis_nameservice_servers),
(nwamui_env_get_nis_nameservice_servers),
(nwamui_env_set_ldap_nameservice_config_source),
(nwamui_env_get_ldap_nameservice_config_source),
(nwamui_env_set_ldap_nameservice_servers),
(nwamui_env_get_ldap_nameservice_servers),
(nwamui_env_set_hosts_file), (nwamui_env_get_hosts_file),
(nwamui_env_set_nfsv4_domain), (nwamui_env_get_nfsv4_domain),
(nwamui_env_set_ipfilter_config_file),
(nwamui_env_get_ipfilter_config_file),
(nwamui_env_set_ipfilter_v6_config_file),
(nwamui_env_get_ipfilter_v6_config_file),
(nwamui_env_set_ipnat_config_file),
(nwamui_env_get_ipnat_config_file),
(nwamui_env_set_ippool_config_file),
(nwamui_env_get_ippool_config_file),
(nwamui_env_set_ike_config_file), (nwamui_env_get_ike_config_file),
(nwamui_env_set_ipsecpolicy_config_file),
(nwamui_env_get_ipsecpolicy_config_file): Fixed 15298 [nwam] can't
clear settings (e.g. dncp domain) in Location Properties dialog
2010-03-23 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_location_dialog.c (cancel), (apply),
(nwam_location_connection_enabled_toggled_cb), (on_button_clicked),
(location_switch_loc_cb_toggled): cancel dialog forgot clear
toggled-env, which caused the next show time would show the wrong
active env. Clean the code for auto/manually activate env. Fixed
that when apply changes check the modifications first. Fixed
remove to-be-toggled object will lose the toggle flag.
* capplet/nwam_profile_panel.c (nwam_profile_panel_is_toggled_row),
(on_button_clicked), (nwam_object_toggled_cell_sensitive_func):
Removed unused code. Fixed remove to-be-toggled object will lose
the toggle flag.
* capplet/nwam_wireless_chooser.c
(foreach_wifi_in_ncu_add_to_list_store):
* common/nwamui_daemon.c (nwamui_daemon_set_property),
(find_enabled_env), (nwamui_daemon_env_selection_is_manual),
(set_env_disabled):
* common/nwamui_daemon.h:
* common/nwamui_env.c:
* daemon/nwam-env-item.c (on_nwam_env_toggled): Clean the code for
auto/manually activate env.
* daemon/nwam-menu.c (menu_section_get_children):
* daemon/nwam-ncu-item.c (on_nwam_ncu_notify): Changed g_message
to g_debug
* daemon/status_icon.c (daemon_active_env_changed),
(location_model_menuitems): Clean the code for auto/manually
activate env.
2010-03-22 Lin Ma <Lin.Ma@Sun.COM>
* nwam_core/copy_onnv_headers.sh: copy system libnwam.h instead of
repos.
* nwam_core/libnwam.h: move this header out of build include path,
because we use the sysetem one. Keep this to check the header
changes.
* nwam_core/usr/include/libdladm.h:
* nwam_core/usr/include/libdladm_impl.h:
* nwam_core/usr/include/libdllink.h:
* nwam_core/usr/include/libdlstat.h:
* nwam_core/usr/include/libdlvnic.h:
* nwam_core/usr/include/libnwam.h:
* nwam_core/usr/include/sys/dld.h:
* nwam_core/usr/include/sys/mac.h:
* nwam_core/usr/include/sys/mac_flow.h: Update from onnv gate.
2010-03-22 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_conn_stat_panel.c (nwam_conn_status_panel_init),
(refresh), (daemon_active_ncp_notify_cb),
(daemon_active_env_notify_cb): Fixed active profile label isn't
updated on changing.
* common/nwamui_enm.c (nwamui_enm_class_init), (nwamui_enm_new),
(nwamui_object_real_set_name), (nwamui_object_real_open),
(nwamui_object_real_set_handle), (nwamui_object_real_reload),
(nwamui_object_real_clone):
* common/nwamui_env.c (nwamui_env_class_init), (nwamui_env_new),
(nwamui_object_real_set_name), (nwamui_object_real_clone),
(nwamui_object_real_open), (nwamui_object_real_set_handle),
(nwamui_object_real_reload):
* common/nwamui_ncp.c (nwamui_ncp_class_init), (nwamui_ncp_new),
(nwamui_object_real_clone), (nwamui_object_real_reload),
(nwamui_object_real_open), (nwamui_object_real_set_handle),
(nwamui_object_real_set_name):
* common/nwamui_object.c (nwamui_object_open):
* common/nwamui_object.h: Fixed copy 14847 [nwam-133] copy of
location does does not copy settings. Rework part of code for that
fix. Now we cleary call nwamui_object_open to create a handle or
open a handle. Update NCP, LOC, ENM code for that. But we still
need update NCU and WLAN code.
* common/nwamui_prof.c (user_has_autoconf_auth): Remove auth
message.
* nwam_core/lib/i386/libnwam.so:
* nwam_core/lib/i386/libnwam.so.1:
* nwam_core/lib/sparc/libnwam.so:
* nwam_core/lib/sparc/libnwam.so.1: Do not keep private libs
because we have integrated.
2010-03-16 Lin Ma <Lin.Ma@Sun.COM>
* data/nwam-network.desktop.in: Forgot StartupNotify=true, thanks Calum.
2010-03-08 Lin Ma <Lin.Ma@Sun.COM>
* help/C/nwam-manager.xml: Fixed 15032 NWAM OLH files have to
update with Oracle branding
2010-03-01 Lin Ma <Lin.Ma@Sun.COM>
* data/nwam-manager-properties: Fixed a nit since network-admin
is moved to /usr/bin
2010-02-26 Lin Ma <Lin.Ma@Sun.COM>
* capplet/main.c (main):
* capplet/nwam_pref_dialog.c (nwam_capplet_dialog_init),
(response_cb), (nwam_capplet_dialog_select_tab):
* capplet/nwam_pref_dialog.h: Fixed 9522 [gnome2.26] connection
profile launches network preferences showing incorrect combo box
* capplet/nwam_profile_dialog.c (help):
* capplet/nwam_profile_panel.c (help):
* common/help_refs.h: Fixed 14630 [nwam-133] incorrect help page
launches in network profile view
* configure.in: Bump to 1.0.0
* daemon/status_icon.c (daemon_wifi_selection_needed): Fixed
14549 [nwam-133] if no favorites available, do nothing - launches
wireless network chooser
* data/nwam-manager-properties:
* data/nwam-network.desktop.in: Fixed 14886 [nwam-133] determine
correct action from network locations menu item
* nwam_core/lib/i386/libnwam.so.1:
* nwam_core/lib/sparc/libnwam.so.1:
* nwam_core/usr/include/sys/mac.h: Sync to nwam1_134.final-nd.
2010-02-12 Calum Benson <Calum.Benson@Sun.COM>
* common/nwamui_prof.c: (nwamui_prof_get_no_fav_action_string):
Change wording of dropdown list item to match UI spec.
2010-02-12 Lin Ma <Lin.Ma@Sun.COM>
* capplet/Makefile.am:
* data/Makefile.am:
* data/nwam-manager-properties:
* data/nwam-manager-properties.desktop.in:
* data/nwam-network.desktop.in: Fixed 14234 [132] two 'Network
Locations' window can be opened.
* help/C/graphics/connection-properties-ipv4.png:
* help/C/graphics/connection-properties-wireless.png:
* help/C/graphics/connection-status.png:
* help/C/graphics/locationprefs-dialog.png:
* help/C/graphics/network-profile-view.png:
* help/C/graphics/nwprofile-auto.png:
* help/C/graphics/nwprofile-user.png:
* help/C/graphics/nwstatus-context-menu.png:
* help/C/graphics/vpn-dialog.png:
* help/C/graphics/wireless-chooser-dlg.png:
* help/C/graphics/wireless-chooser.png:
* help/C/nwam-manager.xml:
* help/Makefile.am: Updated OLH. And fixed 14522 [nwam133] Network
Modifier help is set to VPN Applications
2010-02-11 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_prof.c:
* common/nwamui_prof.h: Fixed for the coming change of doo 14499
New: remove solaris.network.autoconf.refresh authorization
* configure.in: Bump to 0.99.99.2
* nwam_core/lib/i386/libnwam.so.1:
* nwam_core/lib/sparc/libnwam.so.1: Sync with nwam1_133.2
2010-02-10 Calum Benson <set EMAIL_ADDRESS environment variable>
* capplet/nwam_vpn_pref_dialog.c: (nwam_compose_tree_view):
Change 'Application Name' column header to 'Modifier Name'
* daemon/status_icon.c: (nwam_menu_create_static_menuitems):
Change 'Connection Profile' menu item to 'Network Profile', to
match preferences dialog and online help.
2010-02-10 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_daemon.c (dispatch_scan_results_from_wlan_array):
When wlan_scan_report get 0 wlans, there is no choice to tell gui
the dead wlans.
2010-02-10 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_object.c (nwamui_object_init): Disable debug info,
fixed build warnings.
* configure.in: Bump to 0.99.99.1
2010-02-10 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_vpn_pref_dialog.c
(capplet_tree_model_row_changed_func),
(nwam_vpn_selection_changed): Fixed all widgets are enabled even
there is no ENMs in the view. Fixed conditional toggle buttun
never sensitive.
* common/nwamui_daemon.c
(nwamui_daemon_handle_object_action_event): Reload ENMs on action
enabled/disabled/refresh.
* common/nwamui_enm.c (nwamui_enm_class_init),
(nwamui_enm_set_property), (nwamui_enm_new),
(nwamui_enm_new_with_handle), (nwamui_object_real_set_name),
(nwamui_object_real_set_handle), (nwamui_object_real_set_active),
(nwamui_object_real_set_enabled), (nwamui_enm_set_start_command),
(nwamui_enm_set_stop_command), (nwamui_enm_set_smf_fmri),
(nwamui_object_real_set_activation_mode),
(nwamui_object_real_set_conditions), (nwamui_object_real_commit):
Fixed enable ENMs from panel pop up doesn't work due to it has
modification by default after new the object.
* common/nwamui_env.c (nwamui_env_class_init),
(nwamui_env_set_property):
* common/nwamui_ncp.c (nwamui_ncp_class_init),
(nwamui_ncp_set_property): Removed the properties "nwam_xxx",
since they may cause problems like ENM, and actually no one use
them.
* common/nwamui_object.c (default_nwamui_object_set_nwam_state),
(nwamui_object_init), (nwamui_object_set_activation_mode),
(nwamui_object_get_nwam_state):
Clean code.
2010-02-09 Lin Ma <Lin.Ma@Sun.COM>
* configure.in: Bump to 0.99.99
* nwam_core/lib/i386/libnwam.so.1:
* nwam_core/lib/sparc/libnwam.so.1: Sync with 14427 nightly build
2010-02-09 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_daemon.c
(nwamui_daemon_handle_object_action_event): Reload NCP once it is
enabled, so it may fix the problem - attach a wusb.
* common/nwamui_ncu.c: Clean code.
2010-02-09 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_daemon.c
(nwamui_daemon_handle_object_action_event): When add a new wusb,
nwamd has a bug that add object happens on a NCP, after add a
known wlan, the NCU refresh event happens on another. This is a
workaround since ncu maybe NULL. Work around it.
2010-02-09 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_profile_dialog.c (nwam_connection_cell_func):
2010-01-20 commit allows selected_ncp to be NULL, so fix the crash
in cell_func.
* common/nwamui_ncu.c:
* daemon/notify.c (nwam_notification_show_ncu_dup_address):
* daemon/notify.h:
* daemon/status_icon.c (ncu_notify_active): Fixed 14427 UI needs
to alert users for "Duplicate address detected" case when this
problem occurs
2010-02-09 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_ncp.c (nwamui_ncp_set_property):
* common/nwamui_ncu.c (nwamui_ncu_set_property):
* common/nwamui_wifi_net.c (nwamui_object_real_set_handle):
Review and change some g_error to g_warning.
2010-02-09 Lin Ma <Lin.Ma@Sun.COM>
* data/nwam-network.desktop.in: Use preferences-system-network.png
2010-02-08 Lin Ma <Lin.Ma@Sun.COM>
* data/Makefile.am:
* data/nwam-network.desktop.in: Fixed 14419 System>Administration>
Network would open the NWAM Network Preferences dialog.
2010-02-05 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_daemon.c (dispatch_scan_results_from_wlan_array):
* common/nwamui_wifi_net.c (nwamui_wifi_net_get_status): Fixed
multiple bssid wlan connection only one bssid has the connected
flag, so it may be set to disconnect when handle others.
* nwam_core/lib/i386/libnwam.so.1: Sync with nwamd_133 x86.
2010-02-04 Calum Benson <calum.benson@sun.com>
* capplet/main.c:
* common/libnwamui.h:
* daemon/status_icon.c: (nwam_menu_create_static_menuitems):
Tweak new panel menu wording slightly to match online help
(s/Network Modifier Applications/ Network Modifiers),
and change command line options from -v/--vpn-pref-dialog to
-m/--nm-pref-dialog.
2010-02-03 Calum Benson <calum.benson@sun.com>
* capplet/main.c:
* capplet/nwam_conn_stat_panel.c: (vpn_clicked_cb):
* capplet/nwam_vpn_pref_dialog.c: (vpn_pref_clicked_cb),
(nwam_vpn_pre_selection_validate):
* common/nwamui_cond.c: (nwamui_cond_field_to_str):
* daemon/nwam-tooltip-widget.c: (nwam_object_notify):
* daemon/status_icon.c: (nwam_menu_create_static_menuitems):
* daemon/status_icon_tooltip.c: (nwam_tooltip_widget_update_enm):
* tests/main.c:
* ui/nwam-manager-properties.ui:
Change all user-visible occurrences of 'VPN Application' and
related variations, to 'Network Modifier' or equivalent variation.
Per agreement on nwam-dev mailing list:
http://mail.opensolaris.org/pipermail/nwam-dev/2010-February/005821.html
2010-02-01 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_vpn_pref_dialog.c (nwam_vpn_selection_changed):
Fixed 14261 [132] nwam VPN when Editing start/stop rules SMF
service is unselected
2010-01-29 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_ncp.c (nwamui_ncp_init), (nwamui_ncp_get_property),
(nwamui_ncp_finalize), (nwamui_object_real_reload),
(nwamui_ncp_remove_ncu), (nwamui_ncp_add_ncu),
(nwam_ncu_walker_cb), (ncu_notify_cb), (row_deleted_cb),
(row_inserted_cb), (rows_reordered_cb):
* common/nwamui_ncp.h: Clean unused code.
* common/nwamui_prof.c:
* common/nwamui_prof.h: Fixed 14232 [132] nwam gui unavailable to
non root users.
2010-01-27 Lin Ma <Lin.Ma@Sun.COM>
* common/nwamui_daemon.c (nwamd_event_handler):
* common/nwamui_ncu.c:
* common/nwamui_wifi_net.c (nwamui_wifi_net_finalize): Fixed 14183
wlan_connection_report (failed report) doesn't contain a valid
ESSID causes UI daemon crash
2010-01-26 Lin Ma <Lin.Ma@Sun.COM>
* daemon/status_icon.c (nwam_menuitem_notify_sensitive),
(nwam_status_icon_run), (nwam_menu_create_static_menuitems),
(prof_ui_auth): Fixed the required ui-auth of each preference
dialog, and implement prof_ui_auth.
2010-01-26 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_conn_conf_ip_panel.c (nwam_compose_wifi_fav_view),
(apply), (wireless_tab_add_button_clicked_cb): Fixed add fav wlan
dialog does not have a wlan list.
* capplet/nwam_profile_panel.c
(nwam_profile_panel_set_toggled_row), (refresh),
(nwam_object_activate_toggled_cb): Hide/show the whole view when
toggle a row to force the last one toggle off.
* capplet/nwam_wireless_chooser.c (daemon_info): Updated due to
seperating wlan added/removed/updated events from object events.
* capplet/nwam_wireless_dialog.c (nwam_wireless_dialog_class_init),
(nwam_wireless_dialog_set_property),
(nwam_wireless_dialog_get_property),
(nwam_wireless_dialog_set_wifi_net): To compatible with
NwamWifiNet.
* common/libnwamui.c (nwamui_util_strv_to_glist): Filter out empty
"" string, basically for bssid list which will add an empty row on
nwam_wireless_dialog.
* common/nwamui_daemon.c (nwamui_daemon_remove_wifi_fav),
(nwamui_daemon_set_fav_wifi_networks), (foreach_wifi_in_ncu_emit),
(dispatch_scan_results_from_wlan_array),
(nwamui_daemon_populate_wifi_fav_list), (nwamd_event_handler),
(nwamui_daemon_handle_object_action_event),
(nwam_known_wlan_walker_cb):
* common/nwamui_daemon.h: Seperate wlan added/removed/updated
events from object events and update all references. Clean
code. Fixed unref NULL in wlan_need_key, etc. Fixed ref/unref
wrong in merge known wlans. IMPORTANT, do not mix normal wlans and
known wlans.
* common/nwamui_ncu.c: Only set life_state to modified when its
previous state is dead.
* common/nwamui_wifi_net.c (nwamui_wifi_net_class_init),
(nwamui_wifi_net_get_property), (nwamui_object_real_reload),
(nwamui_object_real_set_enabled), (nwamui_object_real_get_enabled),
(nwamui_wifi_net_connect), (nwamui_wifi_net_delete_favourite),
(nwamui_object_real_set_handle),
(nwamui_wifi_net_set_wep_key_index),
(nwamui_wifi_net_get_wep_key_index),
(nwamui_wifi_net_get_bssid_list):
* common/nwamui_wifi_net.h: Move reload code to set_handle like
other objects. If wireless NCU is in inactive mode, connect a wlan
will fail, ignore that now. Plan to add "enabled" to fix that, but
currently I don't see it's necessary.
* configure.in: Bump to 0.99.98
* daemon/nwam-wifi-item.c (on_nwam_wifi_toggled),
(wifi_net_notify): GConf also controls when user try to connect a
wlan from popup menu.
* daemon/status_icon.c (daemon_info): Seperate wlan
added/removed/updated events from object events and update all
references.
* nwam_core/lib/i386/libnwam.so.1:
* nwam_core/lib/sparc/libnwam.so.1: Migrated to nwam_132-nd
* tests/main.c (main), (test_enm_gobject), (process_known_wlan),
(process_wlan), (wlans_changed): Fixed for the latest code.
2010-01-25 Calum Benson <Calum.Benson@Sun.COM>
* daemon/notify.c: (nwam_notification_show_ncp_changed),
(nwam_notification_show_location_changed):
Minor capitalisation fixes in status notification messages,
to match UI spec.
2010-01-25 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_profile_panel.c (nwam_treeview_update_widget_cb):
Active ncp shouldn't enable remove button.
* capplet/nwam_wireless_chooser.c (nwam_compose_wifi_chooser_view),
(nwam_wireless_chooser_init),
(foreach_wifi_in_ncu_add_to_list_store), (populate_panel),
(nwam_wifi_selection_changed), (daemon_status_changed),
(daemon_active_ncp_changed), (daemon_info): Fixed some places
forgot to unref wifi_net. Recreate wlan list on daemon status
change or active ncp change events. Filter out non wifi_net object
added/removed events.
* common/nwamui_daemon.c (nwamui_daemon_find_fav_wifi_net_by_name),
(dispatch_scan_results_from_wlan_array),
(dispatch_scan_results_if_wireless), (nwamd_event_handler),
(nwamui_daemon_handle_object_action_event),
(nwam_known_wlan_walker_cb): Clean code.
* common/nwamui_ncp.c (foreach_wireless_ncu_foreach_wifi_net),
(nwamui_ncp_foreach_ncu_foreach_wifi_info):
* common/nwamui_ncp.h: Added two convenient functions to foreach
wlans.
* common/nwamui_ncu.c: Only set life_state to modified when its
previous state is dead to avoid the wlan with multiple BSSID is
marked as modified in the second querying.
* common/nwamui_wifi_net.c (nwamui_wifi_net_set_life_state): Added
debug info.
* daemon/status_icon.c (daemon_info),
(connect_nwam_object_signals), (nwam_menu_update_wifi_section),
(on_ncp_notify_many_wireless), (nwam_menu_recreate_ncu_menuitems),
(nwam_status_icon_create_menu_item),
(nwam_status_icon_delete_menu_item): Clean code. Filter out ncp
object added/removed events.
2010-01-24 Lin Ma <Lin.Ma@Sun.COM>
* capplet/nwam_conn_conf_ip_panel.c (ncu_changed_notify_cb):
Dialog doesn't care about object changed notifications.
* capplet/nwam_wireless_chooser.c (nwam_wireless_chooser_init),
(foreach_wifi_in_ncu_add_to_list_store),
(foreach_wireless_foreach_wifi_net), (populate_panel),
(dialog_run), (refresh_btn_clicked), (nwam_wifi_chooser_cell_cb),
(presistant_cb), (daemon_info): Click refresh button to rescan
wifi only instead of refresh the dialog. Before show dialog, we
need refresh it to get the latest wlan list. Initially sync wlans.
* capplet/nwam_wireless_dialog.c (nwam_wireless_dialog_init),
(foreach_wifi_in_ncu_add_to_list_store), (populate_essid_combo),
(set_purpose): Initially sync wlans. And don't care wlans changes.
* common/nwamui_daemon.c (nwamui_daemon_class_init),
(nwamui_daemon_init), (nwamui_daemon_finalize),
(foreach_wireless_trigger_scan), (nwamui_daemon_wifi_start_scan),
(nwamui_daemon_append_object), (nwamui_daemon_remove_object),
(nwamui_object_real_commit), (foreach_wifi_in_ncu_emit),
(dispatch_scan_results_from_wlan_array),
(nwamui_daemon_dispatch_wifi_scan_events_from_cache),
(nwamui_daemon_populate_wifi_fav_list), (nwamd_event_handler),
(nwamui_daemon_handle_object_action_event): Remove wifi_start_scan
and result signals. Only send added/removed wlans, callees have to
sync wlans first (make sure ignore DEAD wlans) and then monitor
dameon_info signals.
* common/nwamui_daemon.h:
* common/nwamui_ncp.c (nwamui_object_real_commit): Fixed 14031
Network connection modifications can not be saved.
* common/nwamui_ncu.c:
* common/nwamui_ncu.h: Manage wlans life state in order to send
added/removed wlan signals.
* common/nwamui_wifi_net.c (nwamui_wifi_net_init),
(nwamui_wifi_net_set_property),
(nwamui_wifi_net_get_display_string), (nwamui_wifi_net_set_status),
(nwamui_wifi_net_set_life_state), (nwamui_wifi_net_get_life_state):
* common/nwamui_wifi_net.h: Manage wlan life state.
* daemon/status_icon.c (daemon_info), (daemon_active_ncp_changed),
(connect_nwam_object_signals),
(foreach_wifi_in_ncu_add_to_menuitem),
(foreach_wireless_foreach_wifi_net),
(nwam_menu_update_wifi_section), (show_wireless_chooser),
(nwam_status_icon_run), (nwam_menu_recreate_wifi_menuitems):
Initially sync wlans. Ignore env-list and enm-list notifications,
use object added/removed to mantain env/enm list.
2010-01-20 Lin Ma <Lin.Ma@Sun.COM>
* capplet/capplet-utils.c
(capplet_list_foreach_merge_to_list_store),