Commit graph

11704 commits

Author SHA1 Message Date
Dan Williams
2c7d63919a named-manager: update logging 2010-04-06 16:59:31 -07:00
Dan Williams
aa374d711a named-manager: whitespace cleanups 2010-04-06 16:55:50 -07:00
Dan Williams
893315ece6 logging: update VPN manager logging 2010-04-06 16:54:24 -07:00
Dan Williams
b7288577fe logging: update modem-manager logging 2010-04-06 16:41:12 -07:00
Dan Williams
dda5a3da40 logging: update default log domains 2010-04-06 16:32:23 -07:00
Dan Williams
a8c6175194 logging: update nm-udev-manager.c logging 2010-04-06 16:25:54 -07:00
Dan Williams
8faf8c91ef logging: add DEVICE logging domain 2010-04-06 16:25:42 -07:00
Dan Williams
28664e80fe logging: update nm-manager.c logging 2010-04-06 16:20:11 -07:00
Dan Williams
6e97fc4441 logging: tweak default log levels 2010-04-06 16:19:30 -07:00
Dan Williams
3e8a05d28e logging: allow logging control from the config file 2010-04-06 15:57:24 -07:00
Dan Williams
d03de42350 logging: one level at a time; levels are cumulative 2010-04-06 15:53:37 -07:00
Dan Williams
c0a455d344 core: clean up logging in main.c 2010-04-06 15:48:31 -07:00
Dan Williams
e0df501e0e logging: remove initial log level & facility message 2010-04-06 15:48:12 -07:00
Dan Williams
52c2422f72 logging: add log level helpers 2010-04-06 15:46:03 -07:00
Dan Williams
f46e1f6a43 logging: fix default log level and tweak info/warn output 2010-04-06 15:45:49 -07:00
Dan Williams
8e1ad97056 core: options help text cleanup 2010-04-06 15:28:33 -07:00
Dan Williams
e19bac4cd0 core: use fprintf before logging is set up 2010-04-06 15:27:35 -07:00
Dan Williams
32128b04ca logging: add basic logging capabilities 2010-04-06 15:23:08 -07:00
Dan Williams
043ce2c655 core: clear secrets on successful connection too
This ensures that the next time secrets are required, they will
be requested from the settings service.  Internally, NM shouldn't
be caching secrets; it should always request them from the settings
service so that the settings service can enforce policy about
password lifetime, if it wants to.
2010-04-06 12:48:53 -07:00
Jiří Klimeš
87bf00b3d7 cli: multiline mode is default for 'dev list' and 'con list id|uuid'
Option '--multiline' was replaced with '--mode tabular|multiline'.
It was neccessary to be able to switch to tabular output mode for
'dev list' and 'con list id|uuid' commands as they now print out
in multiline mode by default. All other commands are in tabular
mode by default.
2010-04-06 16:22:01 +02:00
Dan Williams
e9b7ecef53 doc: fix default value retrieval for settings specification generator 2010-04-06 00:45:45 -07:00
Dan Williams
a7e3d2acc2 olpc-mesh: fix companion device detection crash
The original OLPC mesh patch confused g_source_remove() with
g_signal_handler_disconnect(), so the signal handler that the
mesh device creates for the managers 'device-added' signal was
getting called after that mesh device instance was freed, which
is of course bad.
2010-04-06 02:02:06 -07:00
Amanpreet Singh Alam
d4c5930c0f po: updated Punjabi translation (bgo #614718) 2010-04-04 09:23:49 -07:00
Dan Williams
84f69ad65a po: fix Spanish translation
Missing \n on one item.
2010-04-02 10:34:11 -07:00
Francisco Javier F. Serrador
7940f8c42a po: update Spanish translation (bgo #614187) 2010-04-02 10:29:53 -07:00
Dan Williams
3ccd948f3a Merge remote branch 'origin/master' into cli-output 2010-04-01 07:46:19 -07:00
Jiří Klimeš
c8bfe2fcf4 cli: use own code to output connection details (settings)
nmcli uses its own code to dump connections' details instead of
libnm-util's nm_connection_dump(). It allows to structure output
and present values of the settings according to nmcli needs.
2010-03-31 17:14:35 +02:00
Jiří Klimeš
5225949974 libnm-util: fix dump of routes in 'ipv4' setting 2010-03-29 15:10:25 +02:00
Jiří Klimeš
c24d89ef80 libnm-util: fix a typo 2010-03-29 10:26:57 +02:00
Jiří Klimeš
07abcb60e7 libnm-util: add nm_setting_gsm_get_allowed_bands() to exported symbols 2010-03-29 10:06:51 +02:00
Dan Williams
fb5987df76 cli: fix uninitialized variable usage and clean up a bit 2010-03-25 13:39:49 -07:00
Dan Williams
f032e478d8 modem: consolidate common modem code into NMDeviceModem 2010-03-25 13:15:03 -07:00
Dan Williams
c45064ba36 modem: remove debugging printf 2010-03-25 12:21:01 -07:00
Dan Williams
9a1143b337 modem: fix modem type checking for various operations
After the DUN branch merge (I think?) a number of NM_IS_MODEM
calls were left around which now always return FALSE since
NMDeviceCdma and NMDeviceGsm aren't subclasses of NMModem anymore.
But we still need generic "is this a modem subclass" checks in
a few places, so add a modem base class that both the GSM and
CDMA device classes inherit from and use that.

Plus, we want to consolidate a ton of the common code in
nm-device-gsm.c and nm-device-cdma.c into the base class in the
future anyway.
2010-03-25 12:18:26 -07:00
Dan Williams
89af61f73c core: better matching of rfkill types
This also fixes a bug where WWAN devices were not correctly
recognized for enable/disable operations.
2010-03-25 11:36:19 -07:00
Jiří Klimeš
8b0b9c29c1 cli: Remove obsolete print_table_* functions 2010-03-24 23:36:50 +01:00
Jiří Klimeš
1e329c5c0c cli: Convert SSID to a printable form
If SSID is a UTF-8 string, it is printed as it is, but enclosed in quotes.
Otherwise the bytes are converted to hex string (in uppercase).
The added quotes for UTF-8 string allow to disambiguate the two forms.
2010-03-24 23:28:00 +01:00
Dan Williams
6773cc6a63 api: clarify Connection.Updated arguments 2010-03-24 14:10:34 -07:00
Jiří Klimeš
a91da03b65 cli: 'dev list' adjustments
Modifications are mainly for multiline mode to ease parsing - each
field name is prefixed with a section name.
'dev list' now also supports printing particular sections specifed via
'--fields' option.
2010-03-24 19:05:35 +01:00
Jiří Klimeš
31970798bc cli: add NMC_RESULT_ERROR_USER_INPUT code for bad invocation of nmcli 2010-03-24 13:42:47 +01:00
Jiří Klimeš
8846bd83ad cli: print_fields(): don't segfault when a value is not set 2010-03-24 12:47:53 +01:00
Ani Peter
88f68c10ff po: add Malayalam translation (bgo #613680) 2010-03-24 01:24:45 -07:00
Manoj Kumar Giri
cd52f2ea5a po: updated Oriya translation (bgo #610332) 2010-03-24 01:22:58 -07:00
Shankar Prasad
e5a66e2882 po: updated Kannada translation (bgo #609510) 2010-03-24 01:21:56 -07:00
Dan Williams
c8e23d36e3 core: add numeric reason codes for easier maintenance
Also makes it easier to keep the introspection and the C in sync.
2010-03-23 23:13:49 -07:00
Dan Williams
b95c390015 bluetooth: add timeout for bluetooth connection request 2010-03-23 23:07:17 -07:00
Dan Williams
35e5656e65 bluetooth: fix race condition causing NAP connections to fail (rh #572340)
The race would start DHCP before we had the BNEP interface from
bluez, causing the wrong interface name to be used.
2010-03-23 22:51:57 -07:00
Dan Williams
b7d21eba69 dhcp: print out DHCP client command strings 2010-03-23 18:50:32 -07:00
Dan Williams
c471bb4a03 po: add new translatable 2010-03-23 18:32:32 -07:00
Dan Williams
3012848759 rfkill: remove unused ignore_udev switch 2010-03-23 17:54:16 -07:00