- 02 Feb, 2019 1 commit
-
-
Balázs Úr authored
-
- 26 Jan, 2019 1 commit
-
- 14 Dec, 2018 38 commits
-
-
Sébastien Wilmet authored
No longer needed, the purpose was to merge the old Git repo into the new one, to have the full history.
-
Sébastien Wilmet authored
All the files are in old-repository/ so there are no conflicts. The first versions were written in C, but the code was quite ugly (even if it worked fine). I was a beginner, and there was a lack of good documentation on how to architect a GTK+ app in C. Anyway, it's better to have the full history in one Git repo.
-
Sébastien Wilmet authored
A new Git repository was created for the rewrite in Vala, but it was a mistake. I'll now merge the old repository into the new one to have the full history.
-
Sébastien Wilmet authored
-
Tanguy Ortolo authored
Install latexila.desktop and the icons in several sizes to the standard XDG directories.
-
Tanguy Ortolo authored
The manpage source is written in DocBook V5.0 format. It can be compiled to the usual roff manpage format with a DocBook-XSL stylesheet. For convenience, the manpage is provided in compiled roff format: though compiled, it is a human-readable format. It is this version that gets installed with CMake.
-
Sébastien Wilmet authored
The encoding must be UTF-8, so the field is deprecated.
-
Sébastien Wilmet authored
Although it is possible to show the libraries's version, it's useless.
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
For the next release, there will be a huge restructuration of the code! The current code is not very beautiful and maintainable. The biggest problem is the extern global variable "latexila". It's better to create custom widgets.
-
Sébastien Wilmet authored
It seems that the "foreground-set" and "background-set" properties of GtkCellRendererText have no effect. So if we want to use the default value of the "foreground" or "background" property, we set it to NULL instead of setting fg-set or bg-set to FALSE.
-
Sébastien Wilmet authored
There is a new column COL_TEMPLATE_ICON_ID in the list stores, so we identify the icon by a string ("article", "report", etc). The rc file stores the icons id of the personnal templates. If the key "icons" doesn't exist, the default icon is "article".
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
We use g_timeout_add_seconds() to create timeouts. There is an option in the preferences, with a spin button to choose the minutes (between 1 and 100). By default the option is disabled.
-
Sébastien Wilmet authored
There is a new variable in document_t: backup_made. backup_made is FALSE when a document is created or opened. When a document is saved, and if the option in the preferences is enabled (by default, yes), before erasing the file, we rename the file with a name like "file~". When we save as a document, backup_made is reset to FALSE.
-
Sébastien Wilmet authored
For the indentation we use simply a text cell renderer with spaces (two spaces for one level).
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
The use of the extern variable was useless here.
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
init_templates() were called after cb_new().
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
For each GtkTreeModel which contain errors or warnings or badboxes, there is an index which contains the rows numbers for each category of messages. The index is a messages_index_t structure. This structure is created when print_output_stats() is called (because we must know the numbers of errors/warnings/... to allocate memory). And the index is filled when print_output_exit_code() is called. So with the index it's easier and faster for setting the sensitivities of the actions.
-
Sébastien Wilmet authored
With three columns, when a line is selected (when the background change), we see that there is three columns. With one column and three cell renderers, the result is better.
-
Sébastien Wilmet authored
-
Sébastien Wilmet authored
If the user click on a row, output_row_selection_func() will be called, but no row will be selected (the function return FALSE everytime). Instead, if the row can be "selected" (if the message type is an error, a warning or a badbox, and if the filename is not empty), the background and foreground colors are inverted. The GtkTreePath of the row selected is stored as a data in the GtkTreeModel (with g_object_set_data()).
-
Sébastien Wilmet authored
In detect_other(), we try to detect the line "Output written on...", which contain the file size in bytes. We convert this file size in a human readable format.
-
Sébastien Wilmet authored
There is a vertical toolbar at the right of the output log view.
-
Sébastien Wilmet authored
It takes the text label of the document tab.
-
Sébastien Wilmet authored
The full path of the filename is set as a tooltip of the label in document tabs. The only two places where we set it, is where a new document is created: in create_document_in_new_tab(). And when the path of the document change: in save_as_dialog(). There is a new string in the document_t structure: basename. Because we often need it.
-
Sébastien Wilmet authored
And cleaning of the code.
-
Sébastien Wilmet authored
We can now click on a message and go to the file and the line specified. Certain row can not be selected, only those with a real filename. If the line number is not specified, simply go to the file (but not change the cursor position). There are also some fixes for memory leaks, that's why a lot of files are modified ;)
-
Sébastien Wilmet authored
It's so beautiful! Three columns are showed: filename, line number, and the message. All stuff about the log zone is now in log.c. There is two global variables: history_view and output_view (the two GtkTreeView's).
-
Sébastien Wilmet authored
For gettext, locale.h and libintl.h are included in main.h. <gtksourceview/gtksourceview.h> is also included in main.h.
-
Sébastien Wilmet authored
The output filter is now almost the same as in Kile. The output of the compilation is filtered so only usefull messages are showed. A message can be an error, a warning, a badbox or an other thing. Later, this messages will be displayed in different colors. Now, to distinguish the messages, a symbol between [ ] is showed ("[x]" for an error, "[+]" for a warning, etc). The informations extracted are the files that TeX is processing, the line and obviously the message. There are statistics about how many errors, warnings and badboxes occured during the compilation.
-
Sébastien Wilmet authored
There are two new options in the preferences, for the document compilation. We can show all the output, without filtering the lines, and set -interaction=nonstopmode.
-