1161 Commits

Author SHA1 Message Date
Enrico Tröger
693649f955 Add new filetypes CSharp and FreeBasic.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1635 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-22 17:34:31 +00:00
Nick Treleaven
51418fb982 Prevent segfault when using Goto Tag from an untitled file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1633 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-20 12:42:06 +00:00
Nick Treleaven
3f69767f4b Hopefully fix gtk_widget_set_sensitive assertion failed warning on
Windows.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1632 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-19 17:11:46 +00:00
Nick Treleaven
1e41e97499 Added 'About this file' and links for some Windows developer tools.
Added notes on adding a source file to src/ and brief notes on adding
a filetype.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-19 16:50:33 +00:00
Enrico Tröger
dede8715a2 Fix mem leak in auto completion and prevent completion of words with trailing spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1630 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-18 13:22:15 +00:00
Enrico Tröger
35089da654 Updated Scintilla to version 1.74.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1629 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-18 13:02:34 +00:00
Enrico Tröger
464a45d6b4 Add new command line option --ft-names to get a list of supported filetype names.
Complete rewrite of auto completion to make it user-definable and much more flexible.	    


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1628 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-17 17:56:48 +00:00
Enrico Tröger
0fdff2eb50 Apply patch from Alexander Rodin to improve the class builder code(thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-17 15:14:04 +00:00
Enrico Tröger
b496302508 Fix sanity checks in utils_str_replace().
Fix several memleaks.
Avoid using broken functions g_strdown() and g_strup().
Only create header and source files if filename is not empty.	   


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1625 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-15 17:16:06 +00:00
Frank Lanitz
18383e5eaa Update of credits dialog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1623 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-15 16:10:35 +00:00
Enrico Tröger
72dbd1c0cb Fix bug when reopening the Insert special characters dialog after it was closed by a delete event.
Fix creation of class files with an empty name and some code reformatting.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1622 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-15 15:37:59 +00:00
Enrico Tröger
c40c49e6f9 Fixed spelling of GTK.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1621 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-15 13:33:01 +00:00
Frank Lanitz
72fe75c980 Fixed a small typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1619 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-14 18:47:08 +00:00
Enrico Tröger
eedb6a42a1 Avoid creation of unwanted undo action when opening a saved-as file in a new tab.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1617 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-14 15:47:09 +00:00
Nick Treleaven
363690e9d4 Apply class builder patch from Alexander Rodin (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1616 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-14 13:10:51 +00:00
Nick Treleaven
c2667f0a33 Fix segfault when attempting to rename a new file from the Save As
dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1614 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-13 12:14:58 +00:00
Nick Treleaven
8de4662f63 Use g_io_channel_win32_new_fd() as recommended in GLib docs for
utils_set_up_io_channel() on Windows. (Unlikely to change behaviour
though).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1613 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-13 12:00:23 +00:00
Enrico Tröger
6680f847ea Add "Open file in a new tab" and "Rename file" to the "Save as" dialog for more control over saved file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1612 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-12 16:45:24 +00:00
Nick Treleaven
05cbc77bab Rename some menubar widget names.
Use indentation spelling in variable names.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1611 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-12 15:16:17 +00:00
Enrico Tröger
8cae1cc3ee Add auto focus (to auto focus widgets below mouse cursor).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-11 08:58:37 +00:00
Enrico Tröger
59bf5cd136 Fix broken help menu item on Windows. Add additional directory separator to generated READMEs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1608 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-10 20:09:22 +00:00
Enrico Tröger
64fa4a6388 Hide Next Error menu item and unnecessary separator from build menu on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1607 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-10 19:28:50 +00:00
Enrico Tröger
0cf4d764ec Prevent double jump to line when clicking on a symbol list item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1606 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-10 11:28:54 +00:00
Enrico Tröger
1aab870724 Prevent hang if searching for a regular expression fails (closes #1733676).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1605 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-09 12:57:04 +00:00
Enrico Tröger
2fe5873901 Change PHP short open tag to the full open tag.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1604 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-09 12:17:18 +00:00
Enrico Tröger
fbd6af9919 Apply from François Cami and Guillaume Duviol to improve replacement of tabs by spaces (thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1603 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-09 12:11:18 +00:00
Frank Lanitz
2b427f8906 Update of pt_BR translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1601 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-08 19:02:41 +00:00
Enrico Tröger
ef6c95d18b Replace malloc() by g_malloc().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 16:51:53 +00:00
Enrico Tröger
167723236f Improved code to avoid hiding the messages window (caused by last commit).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1599 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 16:12:58 +00:00
Enrico Tröger
38d45d2549 Removed unneeded function destroyapp.
Re-maximize the main window on startup when closed in maximized state (closes #1730369).	  


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 15:37:11 +00:00
Enrico Tröger
b766e9c4d8 Add navqueue.c to POTFILES.in.
Add revision time to the output.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1597 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 14:58:12 +00:00
Enrico Tröger
56cbbea656 Add rpl_malloc() for better compatibility with non-GNU systems (thanks to Harri Koskinen for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1596 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 13:22:43 +00:00
Enrico Tröger
3503c9c012 Add $Id$ keyword and short file description.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1594 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-03 16:15:53 +00:00
Enrico Tröger
a42f1f93c5 Add keybindings for forward/back code navigation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1593 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-03 16:03:46 +00:00
Enrico Tröger
cc0a3ee49b Add Haskell to make_comment_block().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1588 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-31 13:55:00 +00:00
Nick Treleaven
4193196248 Move MyApp::pref_editor_* to editor.h, using editor_prefs struct.
Move INDENT_* enums to editor.h.
Move utils_get_whitespace() to editor.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1587 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-29 16:30:54 +00:00
Enrico Tröger
8914c384da Updated TODO.
Removed app_small entity.
Added description for global configuration file.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1585 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-29 12:35:28 +00:00
Nick Treleaven
fdaa689bff Rename sci_cb.[hc] editor.[hc].
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-28 16:07:30 +00:00
Nick Treleaven
4bbc65c449 Force debug mode for a SVN working copy.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1583 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-28 15:28:30 +00:00
Nick Treleaven
b4dc6feabc Show current project name in window title.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1582 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-28 15:24:21 +00:00
Enrico Tröger
3ea503f62c Use current locale as default encoding for new files.
Don't keep comments in configuration file to work around a bug in newer GLib versions.
If config file doesn't exist, try to load a global one from $prefix/share/geany/.
Don't create an empty geany.conf as write test, use access() instead.		   


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1579 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-26 15:09:06 +00:00
Nick Treleaven
58e151698e Replace filetype::has_tags member with filetype_has_tags().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1578 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-26 12:13:53 +00:00
Enrico Tröger
375026cd00 Ignore case of filename extensions on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1576 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-26 09:03:02 +00:00
Nick Treleaven
6bbce18c71 Show SVN revision as '>=' because 'svn up' may not have caused a
re-run of configure.
Show build date as 'on or after' compilation of about.o.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1574 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 16:00:13 +00:00
Enrico Tröger
6e630eb8ae Add shebank-like detection for XML files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1573 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 15:19:23 +00:00
Enrico Tröger
39dbad8829 Improve sensitivity of recent files sub menus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1572 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 14:42:43 +00:00
Enrico Tröger
db9271df29 Add *.ash and *.bash as filetype entensions for filetype SH.
Add ash and wish to the shebang patterns.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 13:08:17 +00:00
Nick Treleaven
a849585ac1 Add support for %e, %f in project run command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1570 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 12:03:35 +00:00
Nick Treleaven
3af3268247 Use get_build_executable() in prepare_run_script().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1568 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-24 16:12:12 +00:00
Nick Treleaven
b7e499529d Add setptr() macro to free data and reassign to the same pointer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1567 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-24 16:00:48 +00:00