Nick Treleaven
650b5ae84a
Fix some more wrong uses of vte_info.load_vte instead of
...
vte_info.have_vte.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:16:57 +00:00
Nick Treleaven
554f1b0526
Don't change default build command entry color when cancelling
...
label editing.
Make dialogs_show_input() return NULL when cancelled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 17:51:15 +00:00
Nick Treleaven
63df228c08
Remove unnecessary gpointer casts.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 16:25:11 +00:00
Nick Treleaven
e24d4fbfa0
Re-focus Set Build Commands/Project dialogs after editing a build
...
command label.
Add 'parent' argument to some dialogs_show_input*() functions because
the dialog parent may not always be the main window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 16:15:10 +00:00
Nick Treleaven
c8c19697f9
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
2010-11-17 15:33:24 +00:00
Nick Treleaven
568f1853d2
Remove unnecessary uses of FILETYPE_ID() macro with
...
GeanyDocument::file_type.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 17:24:47 +00:00
Nick Treleaven
a6ca20ebbc
Use up/down icons for Previous/Next Error.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 11:19:27 +00:00
Frank Lanitz
6edf2111c2
Removed not needed NULL check
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 01:08:31 +00:00
Frank Lanitz
7313c3cbbf
Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the catch.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 00:42:19 +00:00
Nick Treleaven
97ea7fa620
Make TODO item clearer: Use intermediate pointers for common subexpressions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-26 12:05:50 +00:00
Nick Treleaven
b6a500dbdf
Fix broken editing of build menu labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 10:49:44 +00:00
Nick Treleaven
9add067c04
Remove the "Set build working directories" button from the project
...
properties dialog (patch by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 12:07:28 +00:00
Nick Treleaven
2b11aa9a3e
Remove buildcmd_* accessor functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 16:04:45 +00:00
Nick Treleaven
a4f51bd0bf
Add TODO items to tidy code for easier understanding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 15:56:39 +00:00
Nick Treleaven
7f572468e5
Replace GeanyBuildCommand::entries array with separate fields.
...
Similar to r5077 in the bs2 branch, but with less loop unrolling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 15:55:30 +00:00
Nick Treleaven
f528d36b58
Fix formatting in read_regex().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-17 13:51:59 +00:00
Nick Treleaven
afd1ce1a60
Fix memory leak in read_regex().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 17:02:45 +00:00
Nick Treleaven
3e282dea44
Fix saving non-project filetype error regex.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 16:54:59 +00:00
Lex Trotman
5be7577f1b
Fix build menu translation problems.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-11 03:20:25 +00:00
Nick Treleaven
598e7c91e2
Show the Project Properties build tab when choosing 'Set Build
...
Commands' for now to prevent confusion with non-project commands.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-07 12:04:28 +00:00
Nick Treleaven
ada3336bd8
Limit build error editor indicators to 50, but parse all errors in
...
the Compiler tab (fixes #3019823 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5081 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 17:08:00 +00:00
Lex Trotman
3d361d3c55
Make default dialog entries use GTK_STATE_INSENSITIVE color not
...
a fixed color (Suggestion by Ditmar Zhekov)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5064 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-24 06:39:24 +00:00
Nick Treleaven
6b4ba38e6d
Add API signal "build-start" (patch by Jiří Techet, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 17:15:28 +00:00
Nick Treleaven
38ce52e968
Make default Build dialog entries grey, not light grey (too hard to
...
read on a white background).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 12:12:37 +00:00
Nick Treleaven
3e87bf9ede
* Merge unstable branch:
...
- src/build.c:
Make build config entries light grey until set.
- src/keybindings.c, src/about.c, THANKS:
Fix the wrong file being put on top of the stack when switching tabs
too quickly (patch from Jiří Techet, thanks).
- src/templates.c, data/templates/gpl, data/templates/function,
data/templates/changelog, data/templates/bsd,
data/templates/fileheader, wscript, Makefile.am:
Move general templates from source code into files.
Load general templates from system path instead of creating them in
the user's config dir.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-16 15:22:19 +00:00
Lex Trotman
5c25d75ba8
Remove printf added for debugging
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-12 05:25:21 +00:00
Lex Trotman
d9e6534405
Make build config entries light grey until set.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-12 05:09:53 +00:00
Enrico Tröger
9742a3cef4
Explicitly try to localise build menu item labels with gettext to enforce getting default labels translated.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-03 11:09:20 +00:00
Enrico Tröger
84b27d23a3
Fix some labels which were marked as translatable but were not handled properly by gettext().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-29 18:52:00 +00:00
Enrico Tröger
fb919cad99
Fix some labels which were marked as translatable but were not handled properly by gettext().
...
Add a missing const.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-29 18:36:04 +00:00
Lex Trotman
15d6705252
Fix infinite loop reading build command output
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-23 08:27:20 +00:00
Enrico Tröger
853068491d
Fix Run toolbar item sensitivity after the last document has been closed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:39:27 +00:00
Nick Treleaven
16c632f579
Add Build prefix for TableFields, TableData.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 14:55:47 +00:00
Nick Treleaven
92c3140798
Make some ugly build.h global variables static.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 14:38:42 +00:00
Nick Treleaven
653a76b2f0
Fix marking some strings as translatable (cannot be done in the
...
ASSIGNIF macro).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4877 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-06 12:03:11 +00:00
Nick Treleaven
a04d999014
Move debug-only variable cl into printfcmds().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 15:43:07 +00:00
Nick Treleaven
8c7ccac2f4
Realign some macros.
...
Don't align local variable declarations.
Add blank line after variable declarations.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4870 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 15:31:11 +00:00
Enrico Tröger
8c963d2829
Make string arguments const where appropriate (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-25 17:43:39 +00:00
Enrico Tröger
17553f0ee6
Fix disabled compiler message tracking if using indicators to show build errors is disabled ( closes #2982834 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-07 21:09:56 +00:00
Lex Trotman
57aaf35b75
Fix using return value without checking return status, caused
...
incorrect sensitivity settings on build dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4767 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 04:34:33 +00:00
Nick Treleaven
9191764491
Make Build Commands dialog show menu item labels as a button (to
...
help show that menu labels don't normally need to be edited &
display the mnemonic correctly). Clicking shows an input dialog to
set a new menu item label.
Split dialogs_show_input() into 2 functions: one simple, one for
a persistent dialog.
Fix possible double-destroy of input dialog when closed by user.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4754 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 13:06:34 +00:00
Lex Trotman
ebe459f94f
Fix crash due to NULL in project build preferences ( thanks to
...
Wolfgang Ocker )
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 00:55:21 +00:00
Nick Treleaven
686b375954
Prevent possible segfault in get_build_group().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4536 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-22 16:23:12 +00:00
Enrico Tröger
7ba4a81181
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Enrico Tröger
83516e6f6e
Fix a compiler warning about an uninitialised variable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 22:20:49 +00:00
Enrico Tröger
519af90fd3
Again very minor formatting
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 22:15:27 +00:00
Enrico Tröger
8e2dae2516
Very minor formatting
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 22:14:08 +00:00
Nick Treleaven
29b8a57133
Move function doc-comments to build.c so they stay in sync. Note:
...
these functions are still not in the API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 14:59:47 +00:00
Lex Trotman
8c70e03ed8
Make non-project execute configuration save to filetypes not geany.conf.
...
Fix closing of project failing to remove build commands dialog entry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 09:19:30 +00:00
Lex Trotman
a231fa36d8
Include code for project filetype execute commands and fix bug in
...
saving project filetypes list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 00:46:54 +00:00