Commits

Show all
Author Commit Message Labels Comments Date
equalsraf
Replaced QMenu::exec with QMenu::popup - Since the calling method returns no value there is no reason to call the menu synchronously.
Branches
tb-issue68
equalsraf
Fix event loop timer late execution - When calling processEvents we setup a single shot timer to call QCoreApplication::quit(), in order to enforece the max waiting time. The problem was that it was possible for the timer to be triggered after that particular execution of the event loop - in +ractice this broke all modal dialogs, since it was causing the following call to the event loop to exit prematurely. - To fix the …
Branches
tb-issue68
equalsraf
Refactor painting and input event handling - Stop using a pixmap as canvas to paint the widget instead paint directly on the widget - Keep a event queue for calls to some functions in VimWrapper - this prevents some events from being passed to Vim when we only want to process input pending events, even if they are not input. - QVimShell now inherits from VimWrapper. - VimWrapper now has processEvents() method that implements the …
Branches
tb-issue68
head7
Add blinking cursor support
equalsraf
MapBlock was missing by one vertical pixel
equalsraf
Add qt/colortable.cpp to CMakeLists.txt
equalsraf
Refactor: Move colortable out of QVimShell - Up until now the color table was accessible in the QVimShell::color() method. This comit removes the colortable code from the QVimShell and moves it into a new ColorTable class. - This unclutters the QVimShell class and in additiona allows to compile the color table without compiler optimizations(-O2) this is important for some compilers where large source files cause the compiler to f…
equalsraf
Update README
equalsraf
Add includes for QFile and QMetaType * Issue#73
equalsraf
Fix light red/magenta colors * Issue#71
equalsraf
Refactor: change Qt header includes - Replace general Qt includes (like QtGui, QtCore) with per class include. This should help in migrating to Qt5, since we wont have to set version checks.
equalsraf
Support fullscreen mode - This commit adds support for fullscreen mode as in MacVim/Writeroom mode. When the window is placed in this mode, the shell widget can be resized(lines/columns) and it will remain centered in the window. - Enable fullscreen with :set (no)fu - Added 'fuoptions' option - currently does nothing - Good support is dependant on the Window Manager, some X11 window managers are known to ignore t…
head7
Support keyboard modifiers in mouse events
head7
Support the filter argument in gui_mch_browse - The :browse dialog accepts a filter parameter, to filter acceptable file name patterns - a list of description and patterns - that has to be converted into a valid filter for the Qt dialog. * Issue#43
equalsraf
Fix file browse for "Save as" command - Our current implementation of the browse dialog did not respect the 'saving' argument and used an open FileDialog instead of a save FileDialog causing all 'save as' commands via the browse dialog to fail, because a new file could not exist. - This issue is not visible in KDE where the open file dialog seems to work either way. * Issue #67
equalsraf
Fix string conversion and refactor VimWrapper::convertTo - We neglected to properly convert several strings from Vim. The end result is that some text shows up corrupted in those dialogs (wrong encoding). - Added missing string conversions for: + Title and message for popup dialog + Font names + Color names + initdir argument for the :browse command - Additionally I ended up refactoring the VimWrapper::convertTo to make it easier to spot …
equalsraf
Merge branch 'master' into merge-upstream
equalsraf
Import default 3577:bda6f7203606
equalsraf
Add mingw32 cross compiler toolchain
equalsraf
Remove scrollarea.cpp
equalsraf
Add missing functions to proto header
equalsraf
Use builtin icon id to set toolbar icon - Currently we used the menu name as identifier to map toolbar icons. - The problem is that when running with MULTI_LANG/translated menu names, are different(#52). - While we could just use the non-translated names to fix the issue we might as well do the right thing and start using Vim's buildIn icon IDs. - This commit stores a mapping table in VimAction for the icon names and removes t…
equalsraf
Keep focus in the shell when tab key is pressed - When the Tab/Backtab key is pressed Qt moves the focus to other widgets in the focus chain, the exceptions are widgets that must keep focus or interpret those keys in a special way - such as text editors. - The QVimShell alloed the focus to move when one of those keys were press, and additionally it would skip the key press events. - A particular case of this issue was issue#51, wher…
equalsraf
Multiple fixes to text drawing This commit refactors most of the text drawing code in vim-qt: - Force text drawing at the baseline - Add support for undercurl, independent of the drawing branch + Using a dotted dash line at the same location as the underline. + Disable underline if undercurl is active. - Add new struct gui_T member (char_ul_pos) to store the underline location. - Increase char_height if descent is too sma…
Tomas Pospichal
Fontdialog improvements: show style/script info * Issue#60
equalsraf
Refactor: remove scrollarea, and menubar parenting - This commit removes part of the unused scrollarea code and changes the QMenuBar parent.
equalsraf
Fix early window resizing - If the window is not visible then loosely resize the window instead - Don't enforce the size on window open
equalsraf
Add support for linespace - This commit adds support for the linespace option. This option adds space above and bellow the text in a line. 1. On font init the linespace is added to the font height and ascent values 2. On linespace adjustment the metrics are updated 3. The text drawing rect is now different from the fill rect - the upper linespace is not available for painting text. - Use QFontMetrics…
equalsraf
Set ForceIntegerMetrics flag for all fonts * Issue#57
equalsraf
Respect Vim window size - Call gui_set_shellsize() to set the window size when opening th Vim window - Set window position on window open - Don't handle resize operations if the widget is not visible - Don't restore window size on restart * Issue#53
  1. Prev
  2. Next