- 05 Kas, 2011 2 kayıt (commit)
-
-
Colomban Wendling yazdı
Closes #3432760.
-
Matthew Brush yazdı
Not every filetype for a specific lexer implements type keywords even if the lexer supports it.
-
- 03 Kas, 2011 8 kayıt (commit)
-
-
Colomban Wendling yazdı
This prevents GTK of trying to fetch the necessary information like MIME-type itself, which leads to a significant speedup (> 30%), as well as using the real MIME-type we use rather than the GIO-guessed one.
-
Colomban Wendling yazdı
Use foreach_document() in a few places where appropriate and make some code more consistent.
-
Nick Treleaven yazdı
-
Nick Treleaven yazdı
-
Nick Treleaven yazdı
These add noise to the code with little real benefit.
-
Matthew Brush yazdı
This function was only used from document_create() and most of this code is not needed since the memset() and g_new0() calls set the memory to all 0's, which in this case should suffice to (re)set all the members to 0/NULL/FALSE. Refactor so all the resetting to defaults code is done in remove_page() only and then only do the required non-FALSE/NULL initialization in document_create(). Move the remove_page() prototype to the top of the file and various other minor changes in remove_page().
-
Matthew Brush yazdı
-
Matthew Brush yazdı
It was used only in one place in document_update_type_keywords() which already did a similar check using the file type before calling this function. Update HACKING file and very minor cleanup of other code in document_update_type_keywords().
-
- 02 Kas, 2011 3 kayıt (commit)
-
-
Nick Treleaven yazdı
Previously an error message was shown if doc->file_name is NULL. The Save As dialog is now shown if the document does not have an absolute path. This is because the user should confirm where to save the document in this case. Although this changes plugin API behaviour, it seems the best way to ensure the Save As dialog is always shown when needed so the user knows where the document has been saved.
-
Nick Treleaven yazdı
-
Nick Treleaven yazdı
Also fixes a doxygen warning.
-
- 01 Kas, 2011 3 kayıt (commit)
-
-
Nick Treleaven yazdı
Fix correctly checking result of editor_lexer_get_type_keyword_idx(). Do not check IS_SCINTILLA unnecessarily (this is covered by DOC_VALID). Do not use G_[UN]LIKELY macros as this complicates code without any real benefit (unless in a tight loop).
-
Nick Treleaven yazdı
Unix path separators can occur e.g. when using MSYS. Windows does not allow filenames to contain Unix path separators so this should be safe.
-
Nick Treleaven yazdı
Finding paths in the tree was not case-insensitive either.
-
- 31 Eki, 2011 3 kayıt (commit)
-
-
Nick Treleaven yazdı
-
Nick Treleaven yazdı
Use case-insensitive matching for project base path and home directory in document filenames.
-
Nick Treleaven yazdı
-
- 30 Eki, 2011 8 kayıt (commit)
-
-
Colomban Wendling yazdı
This is useful if one have many open files from different directories and wants to see the files from only one or another.
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
This makes the code more readable, potentially more future-proof (if the actual string changes) and better style (catches possible typos at build-time).
-
Frank Lanitz yazdı
-
Frank Lanitz yazdı
-
Frank Lanitz yazdı
-
Frank Lanitz yazdı
-
Frank Lanitz yazdı
-
- 28 Eki, 2011 3 kayıt (commit)
-
-
Matthew Brush yazdı
-
Matthew Brush yazdı
-
Matthew Brush yazdı
Use two spaces instead of tabs, spaces between function and opening argument bracket, and various minor changes. Add dummy gpointer to private struct so the class can be compiled without modification.
-
- 27 Eki, 2011 1 kayıt (commit)
-
-
Frank Lanitz yazdı
On most systems Geany is running inside an GTK/GNOME environment. As a matter of this fact we can assume evince is the default PDF-viewer.
-
- 23 Eki, 2011 6 kayıt (commit)
-
-
Matthew Brush yazdı
-
Enrico Trger yazdı
This way, Geany's standard out and error can be read if started in verbose mode until a key is pressed which makes debugging of command line actions easier.
-
Enrico Tröger yazdı
This enables us to wait for input in the debug console window and so keep it open if necessary until there is some input of the user.
-
Enrico Tröger yazdı
-
Matthew Brush yazdı
-
Lex Trotman yazdı
Fixes bug #3425969. Replace Geany escaping of session filepaths with g_uri_escape_string (available now in 2.16) allowing any punctuation characters in the path.
-
- 22 Eki, 2011 3 kayıt (commit)
-
-
Colomban Wendling yazdı
-
Lex Trotman yazdı
Adds the ability to set filetype on open by extracting it from the file using a regex on the first few lines (default 2).
-
Colomban Wendling yazdı
-