Age | Commit message (Collapse) | Author |
|
|
|
This reverts commit d3f1ab78138a1f9256ec02842799ed6cd1e3ec1e.
The performance even on Linux is just too poor in many cases.
|
|
Fixes #2121
|
|
This should be slower but pango seems to be reasonably fast
on Unix though extremely slow on Windows.
https://bugzilla.redhat.com/show_bug.cgi?id=1536298
|
|
|
|
|
|
private) is left with the scrollbar at the bottom, and some new text arrives, and then we select again that tab, sometimes the scrollbar is not completely down and there is hidden text and we have to scroll manually to the bottom to show all text.
This was previously submitted as an issue in: https://github.com/hexchat/hexchat/issues/1948
Maybe it isn't the ideal way to solve it, but at least I tested it and it seems to work.
|
|
|
|
releasing button
This fixes the need to do pixel-perfect clicks to open links in chat
|
|
xtext keeps a static buffer and uses it for various things
and asserts that every text entry is < 4096. It does
this check on gtk_xtext_append*() except it does the check only on
the right half of text when indent is enabled.
This overflow caused corruption in the xtext struct
changing the url check functions making hovering
with the mouse do 'undefined' things.
In the long term this should be removed for a dynamically
allocated buffer so no arbitrary size limit exists and
text gets cut off.
Fixes #1465
Fixes #1186
Fixes #1206
|
|
Fix selection when part of the selected text is above/below a border.
Also, fix problems uncovered by static analysis.
Fixes #1261.
|
|
This fixes xtext re-rendering multiple times when the
indent width is not sufficient
Fixes #1364
Closes #1367
|
|
URLs to open them.
This reverts commit 8ca96d7ea3ec0281802eb08174ca2fdcbcc8263f.
|
|
Fixes #943
Closes #1293
|
|
- Output directly to rel\ instead of to bin\ and then copying files over.
- Deduped Win32 vs x64 configs
- Moved some common properties to hexchat.props
- All build intermediates (except htm's intermediates) are no longer emitted in the source directory
|
|
|
|
- Removes need to check for malloc failure
- Removes need for NULL checks on free
- Adds checks for integer overflows
- Removes some extra memset calls
- Removes chance of mixing libc and glib malloc/free
|
|
|
|
|
|
Fixes #1226
|
|
- ignoring const
- declarations after statements
- some C files didnt include own headers (risking them getting out of sync)
Closes #1064
|
|
Set buf->scrollbar_down conditionally when vertically resizing text window
If resize to enlarge appears to go to last line, set buf->scrollbar_down to be sure.
Fixes #1151
Closes #1171
|
|
Similar to a GtkTextView if you double click you enter word selection mode
and if you triple click you enter line selection mode.
Allowing you to drag and select more than a single character.
Closes #1108
|
|
|
|
Fixes #992.
|
|
|
|
Fixes #662.
|
|
Fixes #58
|
|
* Use utf8 functions for moving within string
* Fix memory leak
* Fix non-indent select problem
|
|
|
|
Used in maingui, fkeys, text events, rawlog
This also implements the set_scroll_adjustments signal in xtext
|
|
* Rework multiline logic to use a GSList, not an array
* Remove all multibyte booleans; everything is potentially multibyte
- Except for gtk_xtext_get_word(), which needs special attention
* Enhance pango work for bold and italics (attr_list -> attr_lists[4])
* Enhance gtk_xtext_strip_color () to save bold, italics info
* Involve emphasis information in all pixel-width calculations
* Rework find_x () to account for emphasis info in widths
Closes #891
Fixes #872
|
|
gtk_xtext_find_char() adjust negative y for int typecast
gtk_xtext_find_x() return out_of_bounds TRUE if line outside windodw
gtk_xtext_selection_draw() recognize TRUE out_of_bounds
|
|
Leftovers from 38cbabea
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Scrolling has issues i couldn't easily fix, will get back to
later but lets keep this usable
|
|
|
|
|
|
|
|
|
|
Xtext's transparency barely worked on windows, didn't work on any modern
linux wm and used fake transparency.
This uses gtk's built in window opacity that works on more systems and
is real transparency.
Text area only transparency may return with a transition to cairo, if it
works on Windows.
|