* gnome/applet/applet.c:
* gnome/applet/applet.h:
Desensitize the 'Connection Information' menu item when there is
no active connection.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1035 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
two seconds -- tries is updated every 1/10 of a second, not every
second..
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1033 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Move scanning code into NetworkManager rather than use iwlib's
iw_scan() function, so that we can figure out AP capabilities.
* NetworkManager.h
- Add AP capability bits
* src/NetworkManagerAP.[ch]
- Add capability field to NMAccessPoint structure
- Add WPA & RSN Information Element fields and accessor
functions to NMAccessPoint
* src/NetworkManagerDevice.c
- Remove usage of iw_scan
- Add scanning code to NetworkManager rather than use
iw_scan() from iwlib
* src/NetworkManagerUtils.[ch]
- (nm_dispose_scan_results): remove, unused
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1023 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet.c:
Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
every 1000ms. It will unconditionally call nmwa_update_state which
kills the existing animation timeout and registers a new one with a
callback to draw a new frame every 100ms. There are 11 connecting
icon frames, so the last 2 frames kept getting dropped. Only reset
the animation timeout if we aren't animating.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1020 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-devices.c
- (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
We want to grab the product & vendor from net.physical_dev
rather than info.parent.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1018 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.c
- Use the driver's WE version for scanning rather than
the WE version NM was compiled with. Fixes random
crashes in iw_scan () in iwlib.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1017 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet-dbus-info.c
- (nmi_dbus_get_network_key): hide the menu when putting up
the keyring dialog. (not sure if the code is right...)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1012 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Replace the "driver support level" stuff with capabilities. The
capability field is a bitfield that is more flexible than the
old driver support level thing. It's mostly so we can easily
figure out what supports WPA and what doesn't, but should be
quite useful later.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1007 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* test/nmtest.c
- Removed
* test/nm-tool.c
test/Makefile.am
- Added new "nm-tool" tool that gives quite a bit more
information
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1006 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* configure.in: Change our compile flags for the betterment of mankind.
Remove "-Wno-strict-aliasing" because we should not be doing bad
aliasing or type punning that throws off optimizations (this is esp.
important in gcc 4.1). Add "-Wstrict-prototypes" because we comply
anyhow and missing a prototype is very bad on 64-bit platforms as
types default to int but sizeof(int) != sizeof(long), add
"-Wmissing-prototypes" and "-Wmissing-declarations" to warn if we
define an exported function but fail to put it in a header.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1002 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerWireless.c: remove stale, unused function, who goes
by the name nm_update_device_wireless_timeouts() and once tried,
without success, to steal my pet turtle.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1000 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Cleanup prototypes: put some functions in header files and mark
others as 'static' -- feel free to invert
* src/vpn-manager/nm-dbus-vpn.c: remove prototype of
nm_vpn_manager_vpn_connection_list_copy()
* src/vpn-manager/nm-vpn-act-request.c: remove prototype of
nm_vpn_service_get_dbus_connection()
* src/vpn-manager/nm-vpn-manager.h: add prototypes for
nm_vpn_manager_vpn_connection_list_copy()
* src/vpn-manager/nm-vpn-service.c: Make
nm_vpn_service_act_request_failed() and
nm_vpn_service_stage2_daemon_wait() static.
* src/vpn-manager/nm-vpn-service.h: add prototype for
nm_vpn_service_get_dbus_connection()
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@999 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* gnome/applet/applet.c:
* gnome/applet/applet.h:
* gnome/applet/icons/Makefile.am:
Convey information about the current connection stage in the
icons themselves instead of creating a separate progress bar.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@998 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
convert an ether_addr structure's MAC into a string, because the
latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
versus 07:3B:04, while the former will not.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@993 4912f4e0-d625-0410-9fb7-b9a5a253dbdc