617 Commits

Author SHA1 Message Date
Enrico Tröger
85d8dcaa39 Moved some default values to geany.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 15:04:41 +00:00
Enrico Tröger
d6102046a4 Deiconify the main window when a new file is opened from the named pipe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 14:47:08 +00:00
Enrico Tröger
424bfd32ca Added shortcut for Select All.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@517 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 14:12:05 +00:00
Nick Treleaven
cee4ebf37c Fix a segfault on Go to tag defn/decl if no files have tags. Add utils_find_tm_tag
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 13:16:52 +00:00
Nick Treleaven
2aa7ae45a2 Add utils_get_current_time_string and fix getting the time string
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@515 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 12:02:30 +00:00
Nick Treleaven
e1f43a4db0 Prevent a segfault if the VTE has not been loaded
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 10:44:15 +00:00
Nick Treleaven
be9461a4d2 Don't prevent notebook tab focus because this disables the notebook arrows
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@513 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 10:22:54 +00:00
Enrico Tröger
dc996405a1 Forgot to commit this file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@512 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 00:25:34 +00:00
Enrico Tröger
7c9d6df76e Improved settings for the long line marker, it can now be easily disabled or set to highlight the background of too long lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@511 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 14:28:32 +00:00
Enrico Tröger
22ab86a40b Added "Select All" menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 13:42:53 +00:00
Enrico Tröger
df49ea7888 Finally fixed the second call of the switch_page callback.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@509 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-30 12:56:09 +00:00
Enrico Tröger
1451d8f72d Change the path in the VTE widget when switching between files according to the path of the current file.
Process the switch_page callback only once.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 23:51:32 +00:00
Enrico Tröger
3366665030 Create a new tm_source_file object if a file is renamed, otherwise tagmanager won't work correctly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 19:08:21 +00:00
Enrico Tröger
805bdf9675 Added function is_opening_brace().
Use is_opening_brace() for better handling of calltips.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 18:22:11 +00:00
Enrico Tröger
b3dd894a5e Implemented simple printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:14:52 +00:00
Enrico Tröger
cc511a78d8 Ignore SIGPIPE to prevent crashes when running external programs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:10:17 +00:00
Nick Treleaven
42a206085e Apply fonts in Preferences when they are set and only if they have changed. Rename utils_set_font to utils_set_editor_font. Remove an old comment in document_open_file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 16:55:29 +00:00
Enrico Tröger
852624b60e Renamed tools settings from build_* in tools_*.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 14:00:09 +00:00
Enrico Tröger
5ffa222e4f Fixed a small typo.
Skip converting from UTF-8 in UTF-8 when saving.
Show an error messages dialog if the conversion into an encoding failed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@501 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-28 19:27:19 +00:00
Enrico Tröger
3e54b8798e Fixed weird behaviour of the recent files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@500 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-28 15:18:23 +00:00
Frank Lanitz
0be04e9c2a Update because of some trouble with make update-po
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@499 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 22:15:12 +00:00
Frank Lanitz
43afc1c31e Minor updates and "bugfixes"
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@498 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 22:01:08 +00:00
Enrico Tröger
3284ca94e3 Fixed a crash when auto completion or call tips are used if no filetype was set. Added some sanity checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 20:43:04 +00:00
Nick Treleaven
756c47bc97 Make Status messages override the document statistics using utils_set_statusbar; don't use a fixed buffer for statistics
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 17:07:22 +00:00
Enrico Tröger
f6752778f4 Add support for parsing compiler output for LaTeX with latex's --file-line-error-style command line argument.
Removed unneeded function utils_free_ptr_array().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:31:32 +00:00
Enrico Tröger
99bb4a9977 Parse stdout of compiler output too.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:29:33 +00:00
Nick Treleaven
38f92379da Add recent files items in the same order as they were saved. Remove app->recent_files and use g_strfreev in keyfile.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:24:39 +00:00
Enrico Tröger
8823f2dbe5 Some small tagmanager fixes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@492 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 17:48:27 +00:00
Enrico Tröger
f741c89b4f Fixed bug which prevented tag creation for the first opened file.
Removed unused code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@491 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 17:44:18 +00:00
Enrico Tröger
590974e3ba Add mk pattern for Makefile.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@490 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:22:37 +00:00
Enrico Tröger
2269d3d47e Reload also the symbol list when reloading a file.
Changed some titles to plural. Added own definitions for filetype Python.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@489 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:19:28 +00:00
Enrico Tröger
3188cf2d56 Fixed broken auto completion for switch().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@488 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:17:57 +00:00
Nick Treleaven
add773c88c Fix a possible segfault on quitting caused by processing GTK messages before status messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@487 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 15:49:07 +00:00
Frank Lanitz
5b4f2b5280 Minor update of ru.po
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@486 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 20:30:33 +00:00
Nick Treleaven
8e5e2ec065 Add clipboard functionality for Scribble widget
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 20:18:24 +00:00
Nick Treleaven
d4405d5856 Add clipboard functionality for find and go to line widgets
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@484 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 19:57:07 +00:00
Enrico Tröger
3606119da8 Fixed wrong line numbers for found tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@483 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:50:34 +00:00
Enrico Tröger
4a8efb4d80 Remember the active page when toggling the sidebar. Simplified code for toggling messages window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@482 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 17:02:27 +00:00
Enrico Tröger
3659643917 Added license notice Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@481 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 14:43:09 +00:00
Nick Treleaven
93a9a2bd8a Fix close tab button bug introduced in last commit
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 12:48:38 +00:00
Nick Treleaven
efe658834e Enable drag reordering of tabs for GTK+2.8, and a temporary workaround for GTK+2.6. Add notebook_new_tab and update document_create_new_sci to use it; also remove on_tab_close_clicked
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 12:13:35 +00:00
Enrico Tröger
96329e53a5 Added Scintilla license file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 19:37:43 +00:00
Enrico Tröger
378d614885 Added some sanity checks to prevent crashes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@477 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:46:08 +00:00
Enrico Tröger
01ace30125 Removed URL highlighting code(useless feature, never was enabled).
Set policy settings for the scolledwindow.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@476 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 18:43:56 +00:00
Enrico Tröger
570793a6ef Added global auto completion tags for PHP and LaTeX.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@475 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:42:56 +00:00
Enrico Tröger
3a435bf29e Replaced 'blank' by 'include "..."'. Fixed a bug in utils_brace_match() which prevents correctly matching.
Made auto completion work only for the current filetype (i.e. it hides symbols from other filetypes).
Removed unneeded code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:36:35 +00:00
Nick Treleaven
a16fabec77 Add a timestamp to messages in the Status window (closes request #1509908)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-23 14:00:22 +00:00
Enrico Tröger
b66243f1e1 Reorganised C include file items, added C++ headers.
Insert include statements and comment templates at mouse pointer position instead of cursor position.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-22 14:29:55 +00:00
Enrico Tröger
1ae59a6f9a Updated Scintilla to version 1.70.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 23:15:54 +00:00
Enrico Tröger
f375a6be68 Added missing shortcut for "Close".
Added option in the preferences dialog to replace tabs by spaces when saving a file.
Added option for default encoding for new files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 18:54:07 +00:00