480 Commits

Author SHA1 Message Date
Nick Treleaven
0bd427bd05 Remove filetypes.h and Scintilla includes from geany.h; Add VALID_DOC_IDX macro
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 20:39:59 +00:00
Enrico Tröger
d79e82f633 Moved prototype for geany_debug() to main.h.
Moved declaration of document struct to document.h.
Keep selection when commenting and uncommenting code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 15:47:18 +00:00
Nick Treleaven
38bba30628 Moved HAVE_FIFO MyApp fields to fifo_info struct in src/main.c; Prevent unnecessary 'does not look like a filename' debug messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 12:33:09 +00:00
Nick Treleaven
f93babed2f Fix opening more than one file from the command-line (with fifo)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@747 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 11:40:09 +00:00
Nick Treleaven
ac3d928453 Remember the VTE current directory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 15:07:11 +00:00
Enrico Tröger
3d4aea448b Comment already commented lines, too (re-closes #1521714).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@745 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 14:46:04 +00:00
Enrico Tröger
312579d70a Added menu items to insert configurable date/time strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 12:56:30 +00:00
Nick Treleaven
4a1f8ca2d3 Fix a segfault at startup if terminal follow path setting is enabled
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 10:00:21 +00:00
Nick Treleaven
967dc341f2 Merged tagmanager/d.c with tagmanager/c.c, which also adds user function calltips support for D
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 19:57:02 +00:00
Enrico Tröger
0f82b3d47c Use codepage SC_CP_UTF8 because we use always GTK even under Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 17:44:46 +00:00
Nick Treleaven
90047be4d7 Use Reload button for reload dialog; Share on_reload_as_activate code for reloading
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@738 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 17:24:44 +00:00
Nick Treleaven
bcb4c07971 Fix building on win32 - thanks to Củ Văn Chuối
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 16:17:38 +00:00
Nick Treleaven
6275b82cb3 Change Don't save button icon and add mnemonic
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 11:46:35 +00:00
Nick Treleaven
d111296683 Fix a small memory leak in configuration_load
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 11:23:58 +00:00
Nick Treleaven
2da8a11118 ensure FIF dir is set
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 20:38:09 +00:00
Nick Treleaven
35423691cc Fix Show messages window checkbox state when -m used
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 16:12:04 +00:00
Nick Treleaven
cf943b9324 Reorder widget lookup
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 16:08:25 +00:00
Nick Treleaven
cf4fc1da1d Move signal_cb to main.c; Move main_init command line settings to parse_command_line_options; Use setup_paths, locale_init, parse_command_line_options, setup_config_dir in main()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 14:40:43 +00:00
Nick Treleaven
725a2b7de0 Return to showing calltips after successful autocompletion; Use separate functions for html and tag autocompletion
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 21:00:43 +00:00
Enrico Tröger
8d581d1552 Added new filetype Fortran 77 (not yet finished).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 17:57:41 +00:00
Enrico Tröger
57f0d45e9c Improved HTML "<table>" auto completion to use the indentation better.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 15:53:18 +00:00
Nick Treleaven
55c6eca9c8 Backported calltips workspace support for C-like user files from Anjuta
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@720 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 12:32:27 +00:00
Enrico Tröger
f8b96977ed Use the filetype's default style(SCE_*_DEFAULT) as the main default style(STYLE_DEFAULT).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@717 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 11:38:38 +00:00
Enrico Tröger
711be1602f Fixed "while" and "switch" autocompletion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 09:01:47 +00:00
Enrico Tröger
7d6c540195 Made increase/decrease indentation working with selections.
Keep the old cursor position when working on a single line (do not jump to line start).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@715 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 08:51:48 +00:00
Nick Treleaven
7ebb187b26 Store build information instead of using app->cur_idx; Assume C-like warning messages when running make when the current file is a Makefile; Moved some msgwin setup and cleanup code to msgwindow.c; Moved utils_parse_compiler_error_line to msgwindow.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-14 15:02:52 +00:00
Enrico Tröger
e87b87b015 Added colour values for indentation guides and white space.
Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option in the preferences dialog.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 15:04:30 +00:00
Enrico Tröger
0dcbacec1f Use utf8/locale encoding wrappers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 09:07:10 +00:00
Enrico Tröger
c308b37049 Added the GTK IM menu items to the VTE popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 08:45:59 +00:00
Enrico Tröger
6b1d4c2b2d Use wrappers for converting between utf8 and locale encoding.
Fixed small memory leak.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@709 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 08:36:52 +00:00
Nick Treleaven
ec66530ba6 Add select directory button for Find in files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 21:38:36 +00:00
Enrico Tröger
3f05121478 Applied patch from Fryderyk Dziarmagowski to fix build problem with linker flag "-Wl,--as-needed" (closes #1539239).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@706 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 17:27:09 +00:00
Enrico Tröger
d7dcd5474c Removed unnecessary code in document_replace_tabs().
Really take tab width when replacing instead of using width = 4.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 16:24:29 +00:00
Nick Treleaven
d68ffee4be Use hbox packing in Find and Find in files dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@702 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 12:51:56 +00:00
Nick Treleaven
303d2ada70 Enable case sensitive when regex search enabled; Some label text changes for the dialogs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 12:04:14 +00:00
Nick Treleaven
f75fd1402a Group search related code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 21:12:49 +00:00
Enrico Tröger
e35efa87b3 Fixed segfault when try to (un)comment some code and no filetype is set(reported by John Gabriele).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 18:16:28 +00:00
Enrico Tröger
e52b0bc822 Fixed wrong classification of local functions as methods(thanks to Sebastian Koch).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@696 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 18:01:02 +00:00
Enrico Tröger
58f2a195ad Fixed possible segfault when replacing tabs by spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 17:19:16 +00:00
Enrico Tröger
2239933a6a Updated for Geany 0.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-09 18:03:25 +00:00
Enrico Tröger
3313e63f55 Removed section about global ctags, the information were obsolete.
Added section about file encodings and the Unicode Byte-Order-Mark.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-09 17:15:34 +00:00
Nick Treleaven
0a4e1ff7da Use native tab DnD reordering on GTK+ 2.10; closes #1519650
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-09 11:14:02 +00:00
Nick Treleaven
354d422637 Add startup debug message showing GTK+ runtime version
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-09 11:06:51 +00:00
Nick Treleaven
7d8637f549 Fixed all sign comparison warnings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-08 13:01:50 +00:00
Nick Treleaven
58af613d59 Fixed GTK 2.6 workaround for DnD tab reordering so it works on the first attempt
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-08 10:39:18 +00:00
Enrico Tröger
3df2f233d0 Applied patch to re-enable XIM support. Thanks!
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 15:05:21 +00:00
Nick Treleaven
795fc85083 Move recent file item to the top when it is clicked on
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 14:53:58 +00:00
Nick Treleaven
92a3f0a4b8 Place the cursor in "" for insert blank include
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 11:11:05 +00:00
Nick Treleaven
d39510f44d Allow Find even when the replace text is the same
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 10:02:11 +00:00
Nick Treleaven
e76a10f56c Added Filetype extensions section; Grouped configuration file sections into a chapter
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-06 21:49:16 +00:00