summary refs log tree commit diff stats
path: root/src/fe-gtk/xtext.c
AgeCommit message (Collapse)Author
2014-09-01xtext: Add word and line selection modesFarow
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
2014-06-04win32: Use config.h instead of config-win32.hTingPing
2014-05-31Rework gtk_xtext_selection_draw(), simplify calls to _selection_render()RichardHitt
Fixes #992.
2014-05-22Fixes #959. In xtext.c:find_x() return offset to hidden text if appropriate.RichardHitt
2014-04-02Add marker-line functionality for scrollback, instant seek.RichardHitt
Fixes #662.
2014-03-19Correctly scroll down autojoined channelsRichardHitt
Fixes #58
2014-03-19Fix three miscellaneous bugs in gtk_xtext_get_word()RichardHitt
* Use utf8 functions for moving within string * Fix memory leak * Fix non-indent select problem
2014-02-06Use a single marshal file for entire projectTingPing
2014-02-06Use a standard GtkScrolledWindow with xtextTingPing
Used in maingui, fkeys, text events, rawlog This also implements the set_scroll_adjustments signal in xtext
2014-02-04Fix many many problems in xtext.c related to character width.RichardHitt
* 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
2014-01-29Fixes #881 Fix two bugs --RichardHitt
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
2014-01-20Fix warningTingPing
Leftovers from 38cbabea
2014-01-18Revert GtkObject removal until Gtk3TingPing
2014-01-18Update most deprecated gtk functionsTingPing
2014-01-18Update most deprecated gdk functionsTingPing
2014-01-14Don't use SCROLL_HACK on osxTingPing
2013-11-14Fixes #836. Move to line boundary in _scroll{down,up}_timeout() not _scroll().RichardHitt
2013-11-12Fixes #837. Rewrite gtk_xtext_scroll{down,up}_timeout().RichardHitt
2013-11-11Fixes #836. In gtk_xtext_scroll() always force line integral line boundary.RichardHitt
2013-10-26xtext: Get proper text width with attributesTingPing
2013-10-22fix some warningsTingPing
2013-10-10xtext: store palette as GdkColorsTingPing
2013-10-09Revert 2d5cb3ec7bc62e5c4e7b550ecade22bb53efd9f6TingPing
Scrolling has issues i couldn't easily fix, will get back to later but lets keep this usable
2013-10-08Round 3 of Gtk accessor functions: xtextTingPing
2013-09-28Use Pango Attributes for bold and italicsTingPing
2013-09-27Revert fast scrolling with background imageTingPing
2013-09-27Remove overdrawTingPing
2013-09-27Replace xtext's transparency with full window transparencyTingPing
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.
2013-09-26Remove useless definesTingPing
- HEXCHAT - USE_DB - SCROLL_HACK - MOTION_MONITOR - ITALIC - COLOR_HILIGHT
2013-09-26Remove XFT, SHM, and MMXTingPing
2013-09-18Improve text repositioning when searchbar string is modified.Richard Hitt
2013-09-15Fix xtext crash in rawlog/text events windowTingPing
Closes #740
2013-08-17Make formatting more consistentTingPing
#719
2013-08-16Improve cursor behaviorFarow
- The cursor doesn't turn into a hand for non-url parts of a word - Removal of unneeded variable str
2013-08-13Channel url and cursor fixFarow
- Allow colons in channel urls - Only add the channel part in the context menu - Fix cursor not changing between separator and url
2013-06-20Fixed indent: spaces -> tabs.Diogo Sousa
2013-06-15Fix Fedora-19 Segmentation fault, bugid 968817.Richard Hitt
2013-06-07Take two at fixing xtext copying to secondary clipboardTingPing
2013-06-04copy xtext selection to all clipboardsTingPing
2013-05-16Merge pull request #594 from Tux/masterTingPing
Allow the special colors 32..41 in %Cfg,bg
2013-05-13Allow the special colors 32..41 in %Cfg,bgH.Merijn Brand
Text events allow %Cfg,bg as decribed in "Theming" on https://hexchat.readthedocs.org/en/latest/appearance.html?#theming That section describes mIRC colors 0-15 and local colors 16-31, but when selecting background colors, the 9 special internal colors are extremely useful, like %C20,33 will do bright red on the selected text background color. As the documentation is on-line, this patch has no doc-change. Ideally, the color-codes should show in the colored squares in the preferences color-dialog just as with colors 0-31 Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
2013-05-11GtkComboBoxText requires GTK+ 2.24, dump code for older versionsBerke Viktor
2013-04-02Only include top level includes from GTK+, GLib and GDK-PixBufBerke Viktor
2013-03-03Change the is_del() macro to not regard ATTR_BOLD nor ATTR_RESET as delimiters.RichardHitt
Remove old iffed-out version of is_del() as well, as a cleanup step; that change was for not regarding left and right parens as delimiters. With this change, mousing over a nickname will underline it even if it contains embedded formatting data; it used to work with all formatting data but bold and reset; now it works for all.
2013-01-19Correct almost all compiler warning issuesRichardHitt
2013-01-02Fix FSF address to be Franklin StreetRichardHitt
2013-01-02overhauling of URL detection, including channel, nick, etc 'words'RichardHitt
2012-12-23fix incorrect FSF addressDan Mashal
2012-11-25Fix for issue #289, autocopy though no text selectedRichard Hitt
2012-11-10Eliminate some unused stuffBerke Viktor