aboutsummaryrefslogtreecommitdiff
path: root/src/plain.cc
AgeCommit message (Collapse)Author
2024-12-28Support line fragments in plain text filesRodrigo Arias Mallo
Line numbers can be referenced using the fragment L + line number. For example, file://foo/bar.txt#L42 will cause Dillo to scroll to line 42. Fixes: https://github.com/dillo-browser/dillo/issues/330
2024-06-25Add support for zoom factorRodrigo Arias Mallo
Allows zooming in and out of pages by changing the size of all elements, including font size, images and tables. The initial zoom is specified in the "zoom_factor" option of dillorc. Use the new shortcuts Ctrl+ and Ctrl- to adjust the zoom of the current page and Ctrl 0 to reset it to 100%. When a new tab or window is opened, the current zoom factor is inherited. Each tab retains its own zoom factor. Fixes: https://github.com/dillo-browser/dillo/issues/21
2024-03-09Use Doxygen comments for C filesRodrigo Arias Mallo
2014-04-02fix crash and use proper requester URL for CSS imagesJohannes Hofmann
2014-04-01resolve CSS background-image URLs relative to styleheet URLJohannes Hofmann
2013-09-20Added BrowserWindow and DilloURL (base URL) to StyleEngine::apply and related.Sebastian Geerken
2012-12-10fix warningcorvid
2012-12-10fix valgrind errors with plain filesJohannes Hofmann
2012-11-14Cleaned up preferences.Sebastian Geerken
2012-11-08Making hyphen penalties configurable.Sebastian Geerken
2009-12-04add dummy word for empty lines in plain.ccJohannes Hofmann
2009-11-29respect UTF-8 when splitting long lines in plain.cc (noticed by corvid)Johannes Hofmann
When splitting long lines in plain text to avoid X11 coordinate overflows we need to make sure that multibyte UTF-8 chars are not split. Additionally combining chars like accents should stay together with their base char.
2009-11-22split up long lines in plain.cc to avoid X11 coordinate overflowsJohannes Hofmann
2009-10-29use link receiver for text/plain as wellcorvid
2009-06-22remove system includescorvid
2009-06-06Removed unused DilloUrl from DilloPlaincorvid
2009-05-29remove test code in plain.cc which slipped in accidentallyJohannes Hofmann
2009-05-29styleJohannes Hofmann
2009-04-30_MSG out some MSGscorvid
2009-03-06remove bg_color dillorc optionJohannes Hofmann
To set a custom background color add a line like: body {background-color: white} to your ~/.dillo/style.css file. This also works for plain text display and image viewing.
2009-02-17[mq]: view-stylesheetsJorge Arellano Cid
2009-02-09whitespace cleanup: 's/ +$//g'Jorge Arellano Cid
2009-02-08Switched load images on/off feature to the Tools menucorvid
2009-01-27Implemented the tools button with CSS options. Also removed nav.h from html.ccJorge Arellano Cid
2009-01-26adapt font-family preferences to match CSSJohannes Hofmann
CSS 2.1 uses the following predefined font names: 'serif', 'sans-serif', 'cursive', 'fantasy', 'monospace'. Add preferences so that the user can set real font names for these. Basically the new "font_sans_serif" option is what "vw_fontame" used to be and "font_monospace" is equivalent to "fw_fontname". The other two options are new.
2008-12-11always use shaded colorsJohannes Hofmann
This makes things much simpler and improves sharing of colors. If computing two more shades really proves to be a performance issue, we can shade on demand without exposing this optimization to the interface.
2008-09-27- Added a workaround for segfaulting popup menus.jcid
2008-09-17 - Fixed a memory leak in plain.cc.jcid
2008-09-14- Extended Page size meter to include images.jcid
2008-09-10- removed the unused "asap" parameter.jcid
2008-09-08- Adjusted internal font sizes so the default font_factor is 1.0jcid
2008-06-02- Moved charset decoding into cache.jcid
2008-05-29- Hooked a decoder for text/plain with charset.jcid
2008-02-08- added flush for bare images and plain text pages.jcid
2008-02-04!- testing: dramatic reduction of FltkViewBase::queueDrawTotal calls.jcid
2008-01-02Enabled limit_text_width in preferences.jcid
2007-12-31Implemented the SELECT element in FORMS!jcid
2007-11-14Implemented "Load Images" in the page menu and cleaned up html.hh.jcid
2007-11-10Reimplemented html.cc using a class, removed the linkblock,jcid
and hooked memory-release to dw destruction.
2007-11-05Added the DW2TB macro to plain.cc (same as in html.cc)jcid
2007-11-05Updated copyright linesjcid
2007-11-05Minor changes in dillorc2jcid
2007-11-03 - Reimplemented plain.cc using a class, and hooked memory-release.jcid
2007-10-29 - Hooked "Activate" to the form_receiver.jcid
- Connected the plain page context menu. - Added code for the image menu (not hooked yet though). - Added a image-loading toggle button to the UI (not functional yet).
2007-10-24Implemented a new scheme of scroll-position remembering. This is one perjcid
visited page intead of one per url (this is more standard).
2007-10-11+- Connected signals to <li> elements (fixes links within lists).jcid
- Enabled text and background color-choice in preferences. - Enabled clicking over image links. Patches: place +- Fixed a va_list-related SEGFAULT on 64bit-arch in dStr_vsprintfa(). Patch: Vincent Thomasset +- Fixed void to int conversions for 64bit-arch. Patch: Jorge Arellano, higuita +- Added a strndup() replacement in dw2 Patch: Alexander Becher, Johannes Hofmann, Jorge Arellano +- Fixed calcHashValue() to only return non-negative numbers (was SEGFAULT). - Improved scrolling performance on large pages by copying screen data instead of rendering. Patches: Johannes Hofmann
2007-10-07Initial revisionjcid