Skip to content

Commit fc7e088

Browse files
committed
first commit
1 parent 4dcb300 commit fc7e088

File tree

2,258 files changed

+512161
-674
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,258 files changed

+512161
-674
lines changed

.buildpath

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<buildpath>
3+
<buildpathentry kind="src" path="src"/>
4+
<buildpathentry kind="con" path="org.eclipse.dltk.launching.INTERPRETER_CONTAINER"/>
5+
</buildpath>

.cproject

Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<?fileVersion 4.0.0?>
3+
4+
<cproject>
5+
<storageModule moduleId="org.eclipse.cdt.core.settings">
6+
<cconfiguration id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1510318341">
7+
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
8+
<configuration artifactName="luci" buildProperties="" description="" id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1510318341" name="Preference Configuration" parent="org.eclipse.cdt.build.core.prefbase.cfg">
9+
<folderInfo id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1510318341." name="/" resourcePath="">
10+
<toolChain id="org.eclipse.cdt.build.core.prefbase.toolchain.407447051" name="No ToolChain" resourceTypeBasedDiscovery="false" superClass="org.eclipse.cdt.build.core.prefbase.toolchain">
11+
<targetPlatform id="org.eclipse.cdt.build.core.prefbase.toolchain.407447051.1470931541" name=""/>
12+
<builder id="org.eclipse.cdt.build.core.settings.default.builder.823611263" keepEnvironmentInBuildfile="false" name="Gnu Make Builder" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
13+
<tool id="org.eclipse.cdt.build.core.settings.holder.libs.1685234798" name="holder for library settings" superClass="org.eclipse.cdt.build.core.settings.holder.libs"/>
14+
<tool id="org.eclipse.cdt.build.core.settings.holder.570824141" name="Assembly" superClass="org.eclipse.cdt.build.core.settings.holder">
15+
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.491129717" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
16+
<listOptionValue builtIn="false" value="/usr/include/lua5.1"/>
17+
<listOptionValue builtIn="false" value="/usr/include"/>
18+
</option>
19+
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.858094059" languageId="org.eclipse.cdt.core.assembly" languageName="Assembly" sourceContentType="org.eclipse.cdt.core.asmSource" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
20+
</tool>
21+
<tool id="org.eclipse.cdt.build.core.settings.holder.344617955" name="GNU C++" superClass="org.eclipse.cdt.build.core.settings.holder">
22+
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.564526987" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
23+
<listOptionValue builtIn="false" value="/usr/include/lua5.1"/>
24+
<listOptionValue builtIn="false" value="/usr/include"/>
25+
</option>
26+
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.1426860237" languageId="org.eclipse.cdt.core.g++" languageName="GNU C++" sourceContentType="org.eclipse.cdt.core.cxxSource,org.eclipse.cdt.core.cxxHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
27+
</tool>
28+
<tool id="org.eclipse.cdt.build.core.settings.holder.869454750" name="GNU C" superClass="org.eclipse.cdt.build.core.settings.holder">
29+
<option id="org.eclipse.cdt.build.core.settings.holder.incpaths.838425449" name="Include Paths" superClass="org.eclipse.cdt.build.core.settings.holder.incpaths" valueType="includePath">
30+
<listOptionValue builtIn="false" value="/usr/include/lua5.1"/>
31+
<listOptionValue builtIn="false" value="/usr/include"/>
32+
</option>
33+
<inputType id="org.eclipse.cdt.build.core.settings.holder.inType.1755775295" languageId="org.eclipse.cdt.core.gcc" languageName="GNU C" sourceContentType="org.eclipse.cdt.core.cSource,org.eclipse.cdt.core.cHeader" superClass="org.eclipse.cdt.build.core.settings.holder.inType"/>
34+
</tool>
35+
</toolChain>
36+
</folderInfo>
37+
</configuration>
38+
</storageModule>
39+
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1510318341" moduleId="org.eclipse.cdt.core.settings" name="Preference Configuration">
40+
<externalSettings/>
41+
<extensions>
42+
<extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
43+
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
44+
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
45+
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
46+
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
47+
</extensions>
48+
</storageModule>
49+
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
50+
<storageModule moduleId="scannerConfiguration">
51+
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
52+
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
53+
<buildOutputProvider>
54+
<openAction enabled="true" filePath=""/>
55+
<parser enabled="true"/>
56+
</buildOutputProvider>
57+
<scannerInfoProvider id="specsFile">
58+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
59+
<parser enabled="true"/>
60+
</scannerInfoProvider>
61+
</profile>
62+
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
63+
<buildOutputProvider>
64+
<openAction enabled="true" filePath=""/>
65+
<parser enabled="true"/>
66+
</buildOutputProvider>
67+
<scannerInfoProvider id="makefileGenerator">
68+
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
69+
<parser enabled="true"/>
70+
</scannerInfoProvider>
71+
</profile>
72+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
73+
<buildOutputProvider>
74+
<openAction enabled="true" filePath=""/>
75+
<parser enabled="true"/>
76+
</buildOutputProvider>
77+
<scannerInfoProvider id="specsFile">
78+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
79+
<parser enabled="true"/>
80+
</scannerInfoProvider>
81+
</profile>
82+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
83+
<buildOutputProvider>
84+
<openAction enabled="true" filePath=""/>
85+
<parser enabled="true"/>
86+
</buildOutputProvider>
87+
<scannerInfoProvider id="specsFile">
88+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
89+
<parser enabled="true"/>
90+
</scannerInfoProvider>
91+
</profile>
92+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
93+
<buildOutputProvider>
94+
<openAction enabled="true" filePath=""/>
95+
<parser enabled="true"/>
96+
</buildOutputProvider>
97+
<scannerInfoProvider id="specsFile">
98+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
99+
<parser enabled="true"/>
100+
</scannerInfoProvider>
101+
</profile>
102+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
103+
<buildOutputProvider>
104+
<openAction enabled="true" filePath=""/>
105+
<parser enabled="true"/>
106+
</buildOutputProvider>
107+
<scannerInfoProvider id="specsFile">
108+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
109+
<parser enabled="true"/>
110+
</scannerInfoProvider>
111+
</profile>
112+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
113+
<buildOutputProvider>
114+
<openAction enabled="true" filePath=""/>
115+
<parser enabled="true"/>
116+
</buildOutputProvider>
117+
<scannerInfoProvider id="specsFile">
118+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
119+
<parser enabled="true"/>
120+
</scannerInfoProvider>
121+
</profile>
122+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
123+
<buildOutputProvider>
124+
<openAction enabled="true" filePath=""/>
125+
<parser enabled="true"/>
126+
</buildOutputProvider>
127+
<scannerInfoProvider id="specsFile">
128+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
129+
<parser enabled="true"/>
130+
</scannerInfoProvider>
131+
</profile>
132+
<scannerConfigBuildInfo instanceId="preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1510318341">
133+
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
134+
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
135+
<buildOutputProvider>
136+
<openAction enabled="true" filePath=""/>
137+
<parser enabled="true"/>
138+
</buildOutputProvider>
139+
<scannerInfoProvider id="specsFile">
140+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
141+
<parser enabled="true"/>
142+
</scannerInfoProvider>
143+
</profile>
144+
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
145+
<buildOutputProvider>
146+
<openAction enabled="true" filePath=""/>
147+
<parser enabled="true"/>
148+
</buildOutputProvider>
149+
<scannerInfoProvider id="makefileGenerator">
150+
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
151+
<parser enabled="true"/>
152+
</scannerInfoProvider>
153+
</profile>
154+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
155+
<buildOutputProvider>
156+
<openAction enabled="true" filePath=""/>
157+
<parser enabled="true"/>
158+
</buildOutputProvider>
159+
<scannerInfoProvider id="specsFile">
160+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
161+
<parser enabled="true"/>
162+
</scannerInfoProvider>
163+
</profile>
164+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
165+
<buildOutputProvider>
166+
<openAction enabled="true" filePath=""/>
167+
<parser enabled="true"/>
168+
</buildOutputProvider>
169+
<scannerInfoProvider id="specsFile">
170+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
171+
<parser enabled="true"/>
172+
</scannerInfoProvider>
173+
</profile>
174+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
175+
<buildOutputProvider>
176+
<openAction enabled="true" filePath=""/>
177+
<parser enabled="true"/>
178+
</buildOutputProvider>
179+
<scannerInfoProvider id="specsFile">
180+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
181+
<parser enabled="true"/>
182+
</scannerInfoProvider>
183+
</profile>
184+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
185+
<buildOutputProvider>
186+
<openAction enabled="true" filePath=""/>
187+
<parser enabled="true"/>
188+
</buildOutputProvider>
189+
<scannerInfoProvider id="specsFile">
190+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
191+
<parser enabled="true"/>
192+
</scannerInfoProvider>
193+
</profile>
194+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
195+
<buildOutputProvider>
196+
<openAction enabled="true" filePath=""/>
197+
<parser enabled="true"/>
198+
</buildOutputProvider>
199+
<scannerInfoProvider id="specsFile">
200+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
201+
<parser enabled="true"/>
202+
</scannerInfoProvider>
203+
</profile>
204+
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
205+
<buildOutputProvider>
206+
<openAction enabled="true" filePath=""/>
207+
<parser enabled="true"/>
208+
</buildOutputProvider>
209+
<scannerInfoProvider id="specsFile">
210+
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
211+
<parser enabled="true"/>
212+
</scannerInfoProvider>
213+
</profile>
214+
</scannerConfigBuildInfo>
215+
</storageModule>
216+
</cconfiguration>
217+
</storageModule>
218+
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
219+
<project id="luci.null.949486034" name="luci"/>
220+
</storageModule>
221+
</cproject>

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dist/
2+
/host
3+
*.o
4+
*.so
5+
*.swp
6+
*.po~
7+
/docs
8+
modules/luci-base/src/po2lmo

.project

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>luci</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
10+
<triggers>clean,full,incremental,</triggers>
11+
<arguments>
12+
<dictionary>
13+
<key>?name?</key>
14+
<value></value>
15+
</dictionary>
16+
<dictionary>
17+
<key>org.eclipse.cdt.make.core.append_environment</key>
18+
<value>true</value>
19+
</dictionary>
20+
<dictionary>
21+
<key>org.eclipse.cdt.make.core.autoBuildTarget</key>
22+
<value>all</value>
23+
</dictionary>
24+
<dictionary>
25+
<key>org.eclipse.cdt.make.core.buildArguments</key>
26+
<value></value>
27+
</dictionary>
28+
<dictionary>
29+
<key>org.eclipse.cdt.make.core.buildCommand</key>
30+
<value>make</value>
31+
</dictionary>
32+
<dictionary>
33+
<key>org.eclipse.cdt.make.core.cleanBuildTarget</key>
34+
<value>clean</value>
35+
</dictionary>
36+
<dictionary>
37+
<key>org.eclipse.cdt.make.core.contents</key>
38+
<value>org.eclipse.cdt.make.core.activeConfigSettings</value>
39+
</dictionary>
40+
<dictionary>
41+
<key>org.eclipse.cdt.make.core.enableAutoBuild</key>
42+
<value>false</value>
43+
</dictionary>
44+
<dictionary>
45+
<key>org.eclipse.cdt.make.core.enableCleanBuild</key>
46+
<value>true</value>
47+
</dictionary>
48+
<dictionary>
49+
<key>org.eclipse.cdt.make.core.enableFullBuild</key>
50+
<value>true</value>
51+
</dictionary>
52+
<dictionary>
53+
<key>org.eclipse.cdt.make.core.fullBuildTarget</key>
54+
<value>all</value>
55+
</dictionary>
56+
<dictionary>
57+
<key>org.eclipse.cdt.make.core.stopOnError</key>
58+
<value>true</value>
59+
</dictionary>
60+
<dictionary>
61+
<key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
62+
<value>true</value>
63+
</dictionary>
64+
</arguments>
65+
</buildCommand>
66+
<buildCommand>
67+
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
68+
<arguments>
69+
</arguments>
70+
</buildCommand>
71+
</buildSpec>
72+
<natures>
73+
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
74+
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
75+
<nature>org.eclipse.cdt.core.cnature</nature>
76+
<nature>org.eclipse.dltk.lua.core.nature</nature>
77+
</natures>
78+
</projectDescription>

CONTRIBUTING.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Contributing Guidelines
2+
3+
## Patches and Pull requests:
4+
5+
If you want to contribute a change to LuCI, please either send a patch using git send-email
6+
or open a "pull request" against the openwrt/luci repository.
7+
8+
Regardless of whether you send a patch or open a pull request, please try to follow these rules:
9+
10+
* Have a useful subject prefixed with the component name
11+
(E.g.: "luci-mod-admin-full: fix wifi channel selection on multiple STA networks")
12+
* Shortly explain the changes made and - if applicable - the reasoning behind them
13+
* Commit message of each commit should include a Signed-off-by line
14+
(See <https://dev.openwrt.org/wiki/SubmittingPatches#a10.Signyourwork>)
15+
16+
In case you like to send patches by mail, please use the [LuCI mailinglist](https://lists.subsignal.org/mailman/listinfo/luci)
17+
or the [OpenWrt Development List](https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel).
18+
19+
If you send via the OpenWrt list, include a "[luci]" tag in your subject line.
20+
For general information on patch submission, follow the [OpenWrt patch submission guideline](https://dev.openwrt.org/wiki/SubmittingPatches).
21+
22+
## Advice on pull requests:
23+
24+
Pull requests are the easiest way to contribute changes to git repos at Github. They are the preferred contribution method, as they offer a nice way for commenting and amending the proposed changes.
25+
26+
* You need a local "fork" of the Github repo.
27+
* Use a "feature branch" for your changes. That separates the changes in the pull request from your other changes and makes it easy to edit/amend commits in the pull request. Workflow using "feature_x" as the example:
28+
- Update your local git fork to the tip (of the master, usually)
29+
- Create the feature branch with `git checkout -b feature_x`
30+
- Edit changes and commit them locally
31+
- Push them to your Github fork by `git push -u origin feature_x`. That creates the "feature_x" branch at your Github fork and sets it as the remote of this branch
32+
- When you now visit Github, you should see a proposal to create a pull request
33+
34+
* If you later need to add new commits to the pull request, you can simply commit the changes to the local branch and then use `git push` to automatically update the pull request.
35+
36+
* If you need to change something in the existing pull request (e.g. to add a missing signed-off-by line to the commit message), you can use `git push -f` to overwrite the original commits. That is easy and safe when using a feature branch. Example workflow:
37+
- Checkout the feature branch by `git checkout feature_x`
38+
- Edit changes and commit them locally. If you are just updating the commit message in the last commit, you can use `git commit --amend` to do that
39+
- If you added several new commits or made other changes that require cleaning up, you can use `git rebase -i HEAD~X` (X = number of commits to edit) to possibly squash some commits
40+
- Push the changed commits to Github with `git push -f` to overwrite the original commits in the "feature_x" branch with the new ones. The pull request gets automatically updated
41+
42+
## If you have commit access:
43+
44+
* Do NOT use git push --force.
45+
* Use Pull Requests if you are unsure and to suggest changes to other developers.
46+
47+
## Gaining commit access:
48+
49+
* Commit access will be granted to responsible contributors who have made
50+
useful pull requests and / or feedback or patches to this repository or
51+
OpenWrt in general. Please include your request for commit access in your
52+
next pull request or ticket.
53+
54+
## Release Branches:
55+
56+
* Branches named "for-XX.YY" or "luci-X.Y" (e.g. "for-15.05") are release branches.
57+
* These branches are built with the respective OpenWrt release and are created
58+
during the release stabilisation phase.
59+
* Please ONLY cherry-pick or commit security and bug-fixes to these branches.
60+
* Do NOT add new packages and do NOT do major upgrades of packages here.
61+
* If you are unsure if your change is suitable, please use a pull request.
62+

0 commit comments

Comments
 (0)