Kaydet (Commit) c8c19697 authored tarafından Nick Treleaven's avatar Nick Treleaven

Change 'Non-Filetype Commands' to 'Independent Commands' in the Set

Build Commands dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5411 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 7e932527
2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, doc/geany.txt, doc/geany.html:
Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
Build Commands dialog.
2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> 2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h: * src/keybindings.c, src/editor.c, src/editor.h:
......
...@@ -2895,28 +2895,21 @@ you can also change the label to match.</p> ...@@ -2895,28 +2895,21 @@ you can also change the label to match.</p>
<p>These settings are saved automatically when Geany is shut down.</p> <p>These settings are saved automatically when Geany is shut down.</p>
<p>The build menu is divided into four groups of items each with different <p>The build menu is divided into four groups of items each with different
behaviors:</p> behaviors:</p>
<ul> <ul class="simple">
<li><p class="first">File items - are configurable and depend on the filetype of the current <li>Filetype items - are configurable and depend on the filetype of the current
document; they capture output in the compiler tab and parse it for document; they capture output in the compiler tab and parse it for
errors.</p> errors.</li>
</li> <li>Filetype-independent items - are configurable and mostly don't depend on the
<li><p class="first">Non-file items - are configurable and mostly don't depend on the filetype filetype of the current document; they also capture output in the
of the current document; they also capture output in the compiler tab and compiler tab and parse it for errors.</li>
parse it for errors.</p> <li>Execute items - are configurable and intended for executing your
</li>
<li><p class="first">Execute items - are configurable and intended for executing your
program or other long running programs. The output is not parsed for errors program or other long running programs. The output is not parsed for errors
and is directed to the terminal selected in preferences.</p> and is directed to the terminal selected in preferences.</li>
</li> <li>Fixed items - these perform built-in actions:<ul>
<li><dl class="first docutils">
<dt>Fixed items - these perform built-in actions:</dt>
<dd><ul class="first last simple">
<li>Go to the next error.</li> <li>Go to the next error.</li>
<li>Go to the previous error.</li> <li>Go to the previous error.</li>
<li>Show the build menu commands dialog.</li> <li>Show the build menu commands dialog.</li>
</ul> </ul>
</dd>
</dl>
</li> </li>
</ul> </ul>
<p>The maximum numbers of items in each of the configurable groups can be <p>The maximum numbers of items in each of the configurable groups can be
...@@ -2971,7 +2964,8 @@ preferences left.</p> ...@@ -2971,7 +2964,8 @@ preferences left.</p>
</td> </td>
<td>None</td> <td>None</td>
</tr> </tr>
<tr><td>Non-Filetype</td> <tr><td>Filetype
Independent</td>
<td><p class="first">Loads From: project <td><p class="first">Loads From: project
file</p> file</p>
<p class="last">Saves To: project <p class="last">Saves To: project
...@@ -3040,11 +3034,11 @@ filetype file so that users can configure all other filetype preferences ...@@ -3040,11 +3034,11 @@ filetype file so that users can configure all other filetype preferences
as well. Projects can only configure menu items per filetype. Saving as well. Projects can only configure menu items per filetype. Saving
in the project file means that there is only one file per project not in the project file means that there is only one file per project not
a whole directory.</li> a whole directory.</li>
<li>(Non-Filetype, System Filetype) - although conceptually strange, defining <li>(Filetype-Independent, System Filetype) - although conceptually strange, defining
non-filetype commands in a filetype file, this provides the ability to filetype-independent commands in a filetype file, this provides the ability to
define filetype dependent default menu items.</li> define filetype dependent default menu items.</li>
<li>(Execute, Project File) and (Execute, Preferences) - the project filetype based execute <li>(Execute, Project File) and (Execute, Preferences) - the project filetype-based
configuration and preferences non-filetype based execute can only be set by hand editing the execute and preferences independent execute can only be set by hand editing the
appropriate file, see <a class="reference" href="#preferences-file-format">Preferences File Format</a> and <a class="reference" href="#project-file-format">Project File Format</a>.</li> appropriate file, see <a class="reference" href="#preferences-file-format">Preferences File Format</a> and <a class="reference" href="#project-file-format">Project File Format</a>.</li>
</ul> </ul>
</div> </div>
...@@ -3060,10 +3054,10 @@ dialog. Both use the same form shown below.</p> ...@@ -3060,10 +3054,10 @@ dialog. Both use the same form shown below.</p>
<ul class="simple"> <ul class="simple">
<li>Filetype menu items which will be selected based on the filetype of the <li>Filetype menu items which will be selected based on the filetype of the
currently open document.</li> currently open document.</li>
<li>Non-filetype menu items.</li> <li>Filetype-independent menu items.</li>
<li>Execute menu items.</li> <li>Execute menu items.</li>
</ul> </ul>
<p>The filetype and non-filetype sections also each contain a field for the regular <p>The filetype and independent sections also each contain a field for the regular
expression used for parsing command output for error and warning messages.</p> expression used for parsing command output for error and warning messages.</p>
<p>The columns in the first three sections allow setting of the label, command, <p>The columns in the first three sections allow setting of the label, command,
and working directory to run the command in.</p> and working directory to run the command in.</p>
...@@ -3105,7 +3099,7 @@ build menu.</p> ...@@ -3105,7 +3099,7 @@ build menu.</p>
<div class="section"> <div class="section">
<h4><a class="toc-backref" href="#id147" id="build-menu-keyboard-shortcuts" name="build-menu-keyboard-shortcuts">Build Menu Keyboard Shortcuts</a></h4> <h4><a class="toc-backref" href="#id147" id="build-menu-keyboard-shortcuts" name="build-menu-keyboard-shortcuts">Build Menu Keyboard Shortcuts</a></h4>
<p>Keyboard shortcuts can be defined for the first two filetype menu items, the first three <p>Keyboard shortcuts can be defined for the first two filetype menu items, the first three
non-filetype menu items, the first two execute menu items and the fixed menu items. independent menu items, the first two execute menu items and the fixed menu items.
In the keybindings configuration dialog (see <a class="reference" href="#keybinding-preferences">Keybinding preferences</a>) In the keybindings configuration dialog (see <a class="reference" href="#keybinding-preferences">Keybinding preferences</a>)
these items are identified by the default labels shown in the <a class="reference" href="#build-menu">Build Menu</a> section above.</p> these items are identified by the default labels shown in the <a class="reference" href="#build-menu">Build Menu</a> section above.</p>
<p>It is currently not possible to bind keyboard shortcuts to more than these menu items.</p> <p>It is currently not possible to bind keyboard shortcuts to more than these menu items.</p>
...@@ -4970,7 +4964,7 @@ filetype section of the Build menu.</td> ...@@ -4970,7 +4964,7 @@ filetype section of the Build menu.</td>
</tr> </tr>
<tr><td>number_non_ft_menu_items</td> <tr><td>number_non_ft_menu_items</td>
<td>The maximum number of menu items in the <td>The maximum number of menu items in the
non-filetype section of the Build menu.</td> independent section of the Build menu.</td>
<td>3</td> <td>3</td>
</tr> </tr>
<tr><td>number_exec_menu_items</td> <tr><td>number_exec_menu_items</td>
...@@ -4998,7 +4992,7 @@ is configured. The keys for these settings have the format:</p> ...@@ -4998,7 +4992,7 @@ is configured. The keys for these settings have the format:</p>
<ul class="simple"> <ul class="simple">
<li>GG - is the menu item group,<ul> <li>GG - is the menu item group,<ul>
<li>FT for filetype</li> <li>FT for filetype</li>
<li>NF for non-filetype</li> <li>NF for independent (non-filetype)</li>
<li>EX for execute</li> <li>EX for execute</li>
</ul> </ul>
</li> </li>
...@@ -6359,7 +6353,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p> ...@@ -6359,7 +6353,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p>
<div class="footer"> <div class="footer">
<hr class="footer" /> <hr class="footer" />
<a class="reference" href="geany.txt">View document source</a>. <a class="reference" href="geany.txt">View document source</a>.
Generated on: 2010-11-15 15:13 UTC. Generated on: 2010-11-17 15:28 UTC.
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div> </div>
......
...@@ -2663,16 +2663,17 @@ These settings are saved automatically when Geany is shut down. ...@@ -2663,16 +2663,17 @@ These settings are saved automatically when Geany is shut down.
The build menu is divided into four groups of items each with different The build menu is divided into four groups of items each with different
behaviors: behaviors:
* File items - are configurable and depend on the filetype of the current * Filetype items - are configurable and depend on the filetype of the current
document; they capture output in the compiler tab and parse it for document; they capture output in the compiler tab and parse it for
errors. errors.
* Non-file items - are configurable and mostly don't depend on the filetype * Filetype-independent items - are configurable and mostly don't depend on the
of the current document; they also capture output in the compiler tab and filetype of the current document; they also capture output in the
parse it for errors. compiler tab and parse it for errors.
* Execute items - are configurable and intended for executing your * Execute items - are configurable and intended for executing your
program or other long running programs. The output is not parsed for errors program or other long running programs. The output is not parsed for errors
and is directed to the terminal selected in preferences. and is directed to the terminal selected in preferences.
* Fixed items - these perform built-in actions: * Fixed items - these perform built-in actions:
* Go to the next error. * Go to the next error.
* Go to the previous error. * Go to the previous error.
* Show the build menu commands dialog. * Show the build menu commands dialog.
...@@ -2704,8 +2705,8 @@ is shown in the following table. ...@@ -2704,8 +2705,8 @@ is shown in the following table.
| | file | Saves to: as above, | Saves to: as user | | | | file | Saves to: as above, | Saves to: as user | |
| | | creating if needed. | preferences left. | | | | | creating if needed. | preferences left. | |
+--------------+---------------------+--------------------------+-------------------+-------------------------------+ +--------------+---------------------+--------------------------+-------------------+-------------------------------+
| Non-Filetype | Loads From: project | Loads From: | Loads From: | 1: | | Filetype | Loads From: project | Loads From: | Loads From: | 1: |
| | file | geany.conf file in | filetype.xxx in | Label: _Make | | Independent | file | geany.conf file in | filetype.xxx in | Label: _Make |
| | | ~/.config/geany | Geany install | Command: make | | | | ~/.config/geany | Geany install | Command: make |
| | Saves To: project | | | | | | Saves To: project | | | |
| | file | Saves to: as above, | Saves to: as user | 2: | | | file | Saves to: as above, | Saves to: as user | 2: |
...@@ -2741,12 +2742,12 @@ The following notes on the table reference cells by coordinate as (group,source) ...@@ -2741,12 +2742,12 @@ The following notes on the table reference cells by coordinate as (group,source)
in the project file means that there is only one file per project not in the project file means that there is only one file per project not
a whole directory. a whole directory.
* (Non-Filetype, System Filetype) - although conceptually strange, defining * (Filetype-Independent, System Filetype) - although conceptually strange, defining
non-filetype commands in a filetype file, this provides the ability to filetype-independent commands in a filetype file, this provides the ability to
define filetype dependent default menu items. define filetype dependent default menu items.
* (Execute, Project File) and (Execute, Preferences) - the project filetype based execute * (Execute, Project File) and (Execute, Preferences) - the project filetype-based
configuration and preferences non-filetype based execute can only be set by hand editing the execute and preferences independent execute can only be set by hand editing the
appropriate file, see `Preferences File Format`_ and `Project File Format`_. appropriate file, see `Preferences File Format`_ and `Project File Format`_.
Build Menu Commands Dialog Build Menu Commands Dialog
...@@ -2764,10 +2765,10 @@ The dialog is divided into three sections: ...@@ -2764,10 +2765,10 @@ The dialog is divided into three sections:
* Filetype menu items which will be selected based on the filetype of the * Filetype menu items which will be selected based on the filetype of the
currently open document. currently open document.
* Non-filetype menu items. * Filetype-independent menu items.
* Execute menu items. * Execute menu items.
The filetype and non-filetype sections also each contain a field for the regular The filetype and independent sections also each contain a field for the regular
expression used for parsing command output for error and warning messages. expression used for parsing command output for error and warning messages.
The columns in the first three sections allow setting of the label, command, The columns in the first three sections allow setting of the label, command,
...@@ -2816,7 +2817,7 @@ Build Menu Keyboard Shortcuts ...@@ -2816,7 +2817,7 @@ Build Menu Keyboard Shortcuts
````````````````````````````` `````````````````````````````
Keyboard shortcuts can be defined for the first two filetype menu items, the first three Keyboard shortcuts can be defined for the first two filetype menu items, the first three
non-filetype menu items, the first two execute menu items and the fixed menu items. independent menu items, the first two execute menu items and the fixed menu items.
In the keybindings configuration dialog (see `Keybinding preferences`_) In the keybindings configuration dialog (see `Keybinding preferences`_)
these items are identified by the default labels shown in the `Build Menu`_ section above. these items are identified by the default labels shown in the `Build Menu`_ section above.
...@@ -4217,7 +4218,7 @@ find_selection_type See `Find selection`_. 0 ...@@ -4217,7 +4218,7 @@ find_selection_type See `Find selection`_. 0
number_ft_menu_items The maximum number of menu items in the 2 number_ft_menu_items The maximum number of menu items in the 2
filetype section of the Build menu. filetype section of the Build menu.
number_non_ft_menu_items The maximum number of menu items in the 3 number_non_ft_menu_items The maximum number of menu items in the 3
non-filetype section of the Build menu. independent section of the Build menu.
number_exec_menu_items The maximum number of menu items in the 2 number_exec_menu_items The maximum number of menu items in the 2
execute section of the Build menu. execute section of the Build menu.
================================ =========================================== ================== ================================ =========================================== ==================
...@@ -4243,7 +4244,7 @@ where: ...@@ -4243,7 +4244,7 @@ where:
* GG - is the menu item group, * GG - is the menu item group,
- FT for filetype - FT for filetype
- NF for non-filetype - NF for independent (non-filetype)
- EX for execute - EX for execute
* NN - is a two decimal digit number of the item within the group, * NN - is a two decimal digit number of the item within the group,
......
...@@ -2005,7 +2005,7 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, BuildT ...@@ -2005,7 +2005,7 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, BuildT
gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND, gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
entry_x_padding, sep_padding); entry_x_padding, sep_padding);
++row; ++row;
label = ui_label_new_bold(_("Non-Filetype Commands")); label = ui_label_new_bold(_("Independent Commands"));
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5); gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
gtk_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND, gtk_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
entry_x_padding, entry_y_padding); entry_x_padding, entry_y_padding);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment