121 Commits

Author SHA1 Message Date
Nick Treleaven
3d9bac808d Add plugin signals project-dialog-create and
project-dialog-confirmed so plugins can append a Project Properties
notebook tab (patch by Jiří Techet, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5235 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 15:14:09 +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
d59fcdd506 Make the Properties dialog filename a label and put it first (patch
by Jiří Techet, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 11:41:56 +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
Enrico Tröger
48064120f8 Small improvements to speed up quit process with many open documents.
Avoid calling gtk_notebook_remove_page() on exit as it takes a lot of time.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4921 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:43:24 +00:00
Enrico Tröger
6724917764 win32.h can be included unconditionally.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:42:58 +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
1b51823339 Hide 'Tabs and Spaces: Hard tab width' preference - it should
always be 8. (Hidden setting kept in case users have modified it).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4866 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-28 13:08:15 +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
Nick Treleaven
5f8f0b9f81 Use 'while' instead of 'goto'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 13:39:33 +00:00
Nick Treleaven
201b595b51 Rename Stash data types to be independently named from Geany (so
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 17:04:17 +00:00
Nick Treleaven
034504dd90 Make Long Line Marker settings for existing projects default to
general settings instead of 0 (thanks to Eugene Arshinov).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4756 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 15:09:48 +00:00
Nick Treleaven
7c27b1e009 Apply patch from Eugene Arshinov to add project long line marker
customisation (thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-10 16:20: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
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
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
Nick Treleaven
f4620698ae Set border width for project properties build table.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-21 11:59:33 +00:00
Nick Treleaven
b2cdf67d51 Edit label.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-21 11:31:58 +00:00
Nick Treleaven
cf35a8a495 Revert r4301 - utils_free_pointers() taking 4 arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4321 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 16:15:28 +00:00
Nick Treleaven
f36c9024a3 Make utils_free_pointers() take 4 arguments, add to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4301 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-12 16:03:10 +00:00
Nick Treleaven
caec1ec7c3 Rename treeviews.[hc] -> sidebar.[hc].
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 11:16:59 +00:00
Nick Treleaven
bc2b6829c5 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 16:46:16 +00:00
Nick Treleaven
1986d915cc Run ./scripts/fix-alignment.pl -w src/*.[hc] plugins/*.[hc] (skipping generated files).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 14:13:38 +00:00
Enrico Tröger
245ebd1234 Use NZV() macro instead of strlen() to check for empty strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 16:50:34 +00:00
Enrico Tröger
210fa0018a Adjust coding style (no code changes).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4159 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 16:50:20 +00:00
Nick Treleaven
931f14d2ae Use build_ prefix for 3 functions in build.h; add a static modifier.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-26 17:25:28 +00:00
Lex Trotman
8a4b302d7f Make build API symbols prefixed GEANY_
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 02:04:08 +00:00
Lex Trotman
cdd5240978 Remove unused project structure fields and erroneous usage
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4040 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-29 02:28:26 +00:00
Lex Trotman
2cfa55eb0c Remove unused project_get_make_dir function
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 02:03:08 +00:00
Lex Trotman
6108436176 Fix warnings, build API and execute toolbutton
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 01:38:41 +00:00
Nick Treleaven
e3b1c92aa8 Fix some gcc warnings with '-Wall -W -ansi' enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 16:37:23 +00:00
Lex Trotman
2f207ca919 Fixed crashes and warnings in project open and close
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-25 05:24:48 +00:00
Lex Trotman
4af6c2fd62 Added Plugin interface for Build menu functionality
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-22 03:04:17 +00:00
Lex Trotman
9d348018c7 Build commands & project dialog improvements
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-19 09:20:37 +00:00
Lex Trotman
3bc23327f5 Fix many warnings, remove make cmd preference
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-17 00:23:38 +00:00
Lex Trotman
bc8f9f771e added dialog support for error regexes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 07:15:31 +00:00
Lex Trotman
8837c077b3 Fixed filetype priorities with project menu items
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-11 12:46:17 +00:00
Lex Trotman
e345d180d2 Fixed load/save filetypes build config, implemented Build Commands Dialog clear button
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 09:00:37 +00:00
Lex Trotman
1726e57092 Configurable Build Menu Alpha
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 06:49:42 +00:00
Enrico Tröger
801d9f831b Fix wrong initialisation of the default project path button callback in the preferences dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-26 19:49:18 +00:00
Enrico Tröger
ef87bbe5b7 Fix passing wrong pointer to the File Open dialog for the Run command in the Project Properties dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3755 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-30 17:17:28 +00:00
Enrico Tröger
63801f6e60 Add a recent project item after creating a new project.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:31:06 +00:00
Enrico Tröger
1c1306341b When a project is loaded, replace the project base path with the project name in the Documents sidebar for parent items (closes #2723679).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-16 17:55:42 +00:00
Enrico Tröger
30494fa2ad Add some missing 'void's in function definitions.
If the project base path is './', just use the path of the project config file instead of appending './'.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3709 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-16 17:55:26 +00:00
Enrico Tröger
ba4002e502 Fix duplicating the recent files and projects lists when closing a project.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3707 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-15 22:46:13 +00:00
Enrico Tröger
7065a92232 Fix Windows build (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-06 13:39:33 +00:00
Enrico Tröger
9a0c567918 Add "Recent Projects" menu to the Project menu (#2728630, patch by Elias Pschernig, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 14:14:29 +00:00
Enrico Tröger
4ffd7f2ed9 Add a clear icon to the used text entries all over the place (will be available with GTK >= 2.16).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3570 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-10 21:10:50 +00:00
Nick Treleaven
b98069855b Prevent type-punned pointer warnings with gcc 4.1.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-16 20:34:34 +00:00