gnome-shell/js/misc
Aleksander Morgado 70736be4eb mobile-providers: new country-specific type to gather providers
shell_mobile_providers_parse() was returning the country information split
into a hash table with providers and a hash table with country names. This
patch merges both outputs into a single per-country object, so the parse()
method now returns a GHashTable with the following element-type:
   (element-type utf8 ShellCountryMobileProvider>)
This also avoids more complex setups like returning lists inside of hash tables,
which was actually breaking either g-i or gtk-doc.

shell_mobile_providers_parse() was also modified to allow inputting the paths
of the country codes and provider list files to use. If paths are not given, the
default ones will be used. This helps us to provide test files during unit
tests.

Both the findProviderForMCCMNC() and findProviderForSid() methods are exported
out of the GSM and CDMA specific classes, and new unit tests for them are
implemented. Tests can be run manually with:
    $> ./tests/run-test.sh tests/unit/mobileProviders.js

https://bugzilla.gnome.org/show_bug.cgi?id=687356.
2012-11-05 22:20:08 +01:00
..
config.js.in shell: Remove ContactSystem 2012-06-29 11:21:50 +02:00
extensionUtils.js extensionUtils: Don't warn about missing url 2012-10-05 20:35:07 +02:00
fileUtils.js extensionDownloader: Add update/blacklist support for extensions 2012-07-10 14:36:41 -04:00
gnomeSession.js UserMenu: show "Install Updates & Restart" when appropriate 2012-07-07 18:21:35 +02:00
history.js history: Allow events to bubble up when arrowing past the first/last item 2012-09-18 16:44:08 +02:00
jsParse.js lookingGlass: Add tab-completion 2011-11-05 13:05:11 -04:00
loginManager.js loginManager: Add support for suspend() 2012-10-23 21:14:10 +02:00
modemManager.js mobile-providers: new country-specific type to gather providers 2012-11-05 22:20:08 +01:00
params.js *.js: Make emacs modelines consistent 2011-10-11 08:05:12 -04:00
util.js util: Don't pass too many arguments to GLib.spawn_async 2012-08-07 15:09:28 -03:00