summaryrefslogtreecommitdiff
path: root/examples/lua
Commit message (Collapse)AuthorAgeFilesLines
* all: SPDX header conversionLubomir Rintel2019-09-108-112/+8
| | | | | $ find * -type f |xargs perl contrib/scripts/spdx.pl $ git rm contrib/scripts/spdx.pl
* all: drop vim file variables from source filesThomas Haller2019-06-118-8/+0
| | | | sed '1,3 { /^\(#\|--\) *vim:/d }; 1 { /^\/\* *vim:.*\*\/$/ d}' -i $(git grep -l 'vim:')
* all: drop emacs file variables from source filesThomas Haller2019-06-118-8/+0
| | | | | | | | | | | | | | | | | | | | | | We no longer add these. If you use Emacs, configure it yourself. Also, due to our "smart-tab" usage the editor anyway does a subpar job handling our tabs. However, on the upside every user can choose whatever tab-width he/she prefers. If "smart-tabs" are used properly (like we do), every tab-width will work. No manual changes, just ran commands: F=($(git grep -l -e '-\*-')) sed '1 { /\/\* *-\*- *[mM]ode.*\*\/$/d }' -i "${F[@]}" sed '1,4 { /^\(#\|--\|dnl\) *-\*- [mM]ode/d }' -i "${F[@]}" Check remaining lines with: git grep -e '-\*-' The ultimate purpose of this is to cleanup our files and eventually use SPDX license identifiers. For that, first get rid of the boilerplate lines.
* docs: misc. typosluz.paz2018-09-152-2/+2
| | | | | | Found via `codespell -q 3 --skip="*.po"` https://github.com/NetworkManager/NetworkManager/pull/203
* build: merge "examples/Makefile.am" into toplevel Makefileth/non-recursive-make-bgo772985Thomas Haller2016-10-212-11/+0
|
* examples: add flags and mode parsing to show-wifi-networks.[lua|py]Jiří Klimeš2015-08-241-0/+43
|
* examples: add a Lua example deactivating connections by type (bgo #732826)Jiří Klimeš2015-03-052-1/+84
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=732826
* examples: add a Lua example setting user name for a VPN connectionJiří Klimeš2015-02-112-1/+87
|
* examples: add a Lua example getting IP configuration of a deviceJiří Klimeš2015-02-102-1/+162
| | | | | | Unfortunately, there is a bug in lgi library causing the incorrect values being returned and the example crashes. I am going to send a patch to lgi to fix the issues.
* examples: add a Lua example showing basic NetworkManager informationJiří Klimeš2015-02-092-1/+53
|
* examples: add a Lua example for getting Wi-Fi access pointsJiří Klimeš2015-02-092-1/+81
|
* examples: add some examples in Lua using lgi libraryJiří Klimeš2015-01-305-0/+218
[libnm] https://developer.gnome.org/libnm/1.0/ [lgi] https://github.com/pavouk/lgi [lgi-guide] https://github.com/pavouk/lgi/blob/master/docs/guide.md On most distribution just install lua-lgi. Note: There is a bug in lgi. It doesn't handle GPtrArray corectly. It results in crashing on list-devices.lua and list-connections.lua. I will send a patch to lgi to fix the issue.