Michael Drake
c26611b32b
Merge from Paul Blokus' selectscroll branch. Fixes text input scrollbar behaviour.
...
svn path=/trunk/netsurf/; revision=9306
2009-08-14 23:10:53 +00:00
Michael Drake
13afa0ff4c
Merge Paul Blokus' selectscroll branch. Adds core select menu widget for forms and core scrollbar widget.
...
svn path=/trunk/netsurf/; revision=9289
2009-08-14 10:37:33 +00:00
Michael Drake
3549846a9a
Make textarea widget unaware of its global position. Credit: paulblokus.
...
svn path=/trunk/netsurf/; revision=9274
2009-08-13 22:10:36 +00:00
John Mark Bell
43941c53e8
C89.
...
svn path=/trunk/netsurf/; revision=9000
2009-08-02 21:51:24 +00:00
John Mark Bell
0665611cc2
Port to modified libcss API.
...
svn path=/trunk/netsurf/; revision=8997
2009-08-02 19:19:43 +00:00
Michael Drake
623808380a
Remove line that was removed in the other branch.
...
svn path=/trunk/netsurf/; revision=8887
2009-07-29 11:26:04 +00:00
Michael Drake
39546fd504
Merged revisions 8808,8862-8863 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r8808 | paulblokus | 2009-07-26 22:52:53 +0100 (Sun, 26 Jul 2009) | 2 lines
don't recalculate height already aviable
........
r8862 | paulblokus | 2009-07-28 21:39:06 +0100 (Tue, 28 Jul 2009) | 2 lines
added css.c and css.h files which caused svn errors after using svnmerge
........
r8863 | paulblokus | 2009-07-28 21:43:53 +0100 (Tue, 28 Jul 2009) | 3 lines
changed textarea redraw logic
little fix of KEY_DELETE_LINE_START jandling
........
svn path=/trunk/netsurf/; revision=8886
2009-07-29 11:03:34 +00:00
John Mark Bell
3be8193500
Port r8808 to trunk.
...
svn path=/trunk/netsurf/; revision=8825
2009-07-27 14:58:06 +00:00
John Mark Bell
b5d55eb295
Consider stylesheet media types
...
svn path=/trunk/netsurf/; revision=8820
2009-07-27 13:49:10 +00:00
John Mark Bell
4af04582ad
Fix textarea line height.
...
svn path=/trunk/netsurf/; revision=8766
2009-07-24 01:03:17 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
Michael Drake
f1eb054b87
Merged revisions 8663 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r8663 | paulblokus | 2009-07-22 00:46:29 +0100 (Wed, 22 Jul 2009) | 2 lines
added getter for textarea dimensions
........
svn path=/trunk/netsurf/; revision=8695
2009-07-22 15:59:25 +00:00
John Mark Bell
6e13c2fb0a
Scale font sizes, for better accuracy.
...
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
John Mark Bell
2565a37a52
Refactor text plotter and other font functions to remove dependency on CSS.
...
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Michael Drake
1299c213ea
Revert accidental commit.
...
svn path=/trunk/netsurf/; revision=8529
2009-07-14 16:53:39 +00:00
Michael Drake
3bfba0f584
mouse_track
...
svn path=/trunk/netsurf/; revision=8528
2009-07-14 16:51:42 +00:00
Michael Drake
f18904ca67
Indicate activity with the progress pointer for a second after you click a link and as the "auto" pointer while stuff is loading.
...
svn path=/trunk/netsurf/; revision=8525
2009-07-14 15:53:12 +00:00
Michael Drake
2d95b8aa57
Rename debug outline plot styles and make them const.
...
svn path=/trunk/netsurf/; revision=8518
2009-07-14 12:42:02 +00:00
Michael Drake
8365d46eb7
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
...
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
Vincent Sanders
86232d72a6
next round of plotter refactor
...
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00
Michael Drake
e0a4b50e87
Move colour blend routine from html_redraw to plot_style and make it a define.
...
svn path=/trunk/netsurf/; revision=8451
2009-07-10 19:53:30 +00:00
Vincent Sanders
680298e61c
plotters line refactor
...
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
John Mark Bell
5feb7018c5
Replace parent_url with a pointer to the parent content.
...
svn path=/trunk/netsurf/; revision=8428
2009-07-10 00:26:37 +00:00
Vincent Sanders
f9ecd56f62
ploter refactor of rectangle handling
...
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +00:00
John Mark Bell
68aeb65cdf
Merged revisions 8059-8359 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r8337 | paulblokus | 2009-07-06 00:38:21 +0100 (Mon, 06 Jul 2009) | 2 lines
added textarea_set_position
........
svn path=/trunk/netsurf/; revision=8360
2009-07-06 23:47:50 +00:00
Michael Drake
d98ec423b1
Style guide indentation.
...
svn path=/trunk/netsurf/; revision=8346
2009-07-06 10:46:15 +00:00
Vincent Sanders
0ade453958
Refactor fill plotter to take a style
...
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +00:00
Vincent Sanders
1165edf662
remove redundant clg call
...
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00
Michael Drake
ce70652694
Update plotters documentation for merged bitmap plotter.
...
svn path=/trunk/netsurf/; revision=8198
2009-06-30 13:45:08 +00:00
Vincent Sanders
aa26843411
Improve bitmap plotter API
...
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +00:00
Vincent Sanders
36b5deef09
Make framebuffer port use libnsfb
...
svn path=/trunk/netsurf/; revision=8122
2009-06-28 18:32:47 +00:00
John Mark Bell
ca96353d9f
Merged revisions 7764-7977,7979-8058 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r7769 | paulblokus | 2009-06-11 22:26:16 +0100 (Thu, 11 Jun 2009) | 4 lines
replace global history window with an empty window for future tests
add the necessary files
first lines ported
........
r7771 | paulblokus | 2009-06-11 23:51:46 +0100 (Thu, 11 Jun 2009) | 1 line
more functions
........
r7772 | paulblokus | 2009-06-12 02:07:36 +0100 (Fri, 12 Jun 2009) | 1 line
redraw working
........
r7777 | paulblokus | 2009-06-12 11:35:45 +0100 (Fri, 12 Jun 2009) | 3 lines
plotter fix
make use of the provided clipping rectangle
........
r7781 | paulblokus | 2009-06-12 16:26:51 +0100 (Fri, 12 Jun 2009) | 3 lines
callbacks for taxtarea to request a [caret]redraw
basic caret handling drawing
........
r7782 | paulblokus | 2009-06-12 22:36:50 +0100 (Fri, 12 Jun 2009) | 1 line
single character insertion
........
r7783 | paulblokus | 2009-06-12 22:41:37 +0100 (Fri, 12 Jun 2009) | 1 line
single character insertion
........
r7784 | paulblokus | 2009-06-12 23:55:40 +0100 (Fri, 12 Jun 2009) | 3 lines
fixed caret clipping
arrows, delete and backspace
........
r7812 | paulblokus | 2009-06-16 14:55:41 +0100 (Tue, 16 Jun 2009) | 1 line
remove bug causing NS hang on \n in textarea
........
r7816 | paulblokus | 2009-06-16 16:29:48 +0100 (Tue, 16 Jun 2009) | 1 line
Enter, Home, End keys
........
r7817 | paulblokus | 2009-06-16 16:56:16 +0100 (Tue, 16 Jun 2009) | 1 line
Ctrl + Home/End
........
r7818 | paulblokus | 2009-06-16 17:16:51 +0100 (Tue, 16 Jun 2009) | 1 line
redraw caret only on caret moves
........
r7821 | paulblokus | 2009-06-16 20:18:30 +0100 (Tue, 16 Jun 2009) | 1 line
line end/start delete
........
r7822 | paulblokus | 2009-06-16 23:43:42 +0100 (Tue, 16 Jun 2009) | 1 line
selection drawing + select all
........
r7823 | paulblokus | 2009-06-17 02:31:07 +0100 (Wed, 17 Jun 2009) | 3 lines
auto scrolling on caret moves
clear selection
........
r7845 | paulblokus | 2009-06-18 17:35:03 +0100 (Thu, 18 Jun 2009) | 1 line
page up/down
........
r7846 | paulblokus | 2009-06-18 17:38:45 +0100 (Thu, 18 Jun 2009) | 1 line
remove unnecessary fix
........
r7847 | paulblokus | 2009-06-18 18:00:16 +0100 (Thu, 18 Jun 2009) | 1 line
clipping fixes
........
r7849 | paulblokus | 2009-06-18 18:21:02 +0100 (Thu, 18 Jun 2009) | 1 line
scroll fix
........
r7850 | paulblokus | 2009-06-18 18:45:13 +0100 (Thu, 18 Jun 2009) | 1 line
simplified redraw request logic
........
r7855 | paulblokus | 2009-06-18 19:56:24 +0100 (Thu, 18 Jun 2009) | 1 line
front end passing mouse events
........
r7858 | paulblokus | 2009-06-18 22:18:39 +0100 (Thu, 18 Jun 2009) | 3 lines
drag selection
bug fixes
........
r7860 | paulblokus | 2009-06-18 23:32:39 +0100 (Thu, 18 Jun 2009) | 3 lines
take selection into account on keypress of different types
a few bugs fixed
........
r7876 | paulblokus | 2009-06-19 13:43:07 +0100 (Fri, 19 Jun 2009) | 3 lines
pango nsfont_split fix
a few textarea fixes
........
r7879 | paulblokus | 2009-06-19 17:33:10 +0100 (Fri, 19 Jun 2009) | 4 lines
newline handling seems to work this way
clear selection on mouse click
more bug fixes
........
r7880 | paulblokus | 2009-06-19 18:16:27 +0100 (Fri, 19 Jun 2009) | 3 lines
no caret option
selection follows drag
........
r7883 | paulblokus | 2009-06-19 19:08:44 +0100 (Fri, 19 Jun 2009) | 3 lines
o width selection bug fix
caret at correct side of drag selection
........
r7918 | paulblokus | 2009-06-22 21:01:28 +0100 (Mon, 22 Jun 2009) | 3 lines
fix caret positioning at line end
CR removal in input methods
........
r7919 | paulblokus | 2009-06-22 21:34:39 +0100 (Mon, 22 Jun 2009) | 1 line
fix crash on 0 length text
........
r7926 | paulblokus | 2009-06-23 09:53:56 +0100 (Tue, 23 Jun 2009) | 3 lines
change LF into spaces for single line widget
text normalisation at one place
........
r7931 | paulblokus | 2009-06-23 10:51:25 +0100 (Tue, 23 Jun 2009) | 1 line
cleanup
........
r7933 | paulblokus | 2009-06-23 11:17:22 +0100 (Tue, 23 Jun 2009) | 1 line
fix selection draw
........
r7935 | paulblokus | 2009-06-23 11:41:30 +0100 (Tue, 23 Jun 2009) | 1 line
guard readonly
........
r7942 | paulblokus | 2009-06-24 08:19:39 +0100 (Wed, 24 Jun 2009) | 1 line
applied changes suggested by jmb
........
r7943 | paulblokus | 2009-06-24 09:04:49 +0100 (Wed, 24 Jun 2009) | 1 line
little fixes
........
r7945 | paulblokus | 2009-06-24 12:50:14 +0100 (Wed, 24 Jun 2009) | 1 line
correct line length and wrapping
........
r7947 | paulblokus | 2009-06-24 14:32:36 +0100 (Wed, 24 Jun 2009) | 3 lines
fixed page up/down broken in last commit
changed logic for caret positioning on soft breaks
........
r7949 | paulblokus | 2009-06-24 16:31:42 +0100 (Wed, 24 Jun 2009) | 1 line
remove temporary/test code
........
r7975 | paulblokus | 2009-06-25 16:00:46 +0100 (Thu, 25 Jun 2009) | 1 line
changes suggested by jmb
........
r7976 | paulblokus | 2009-06-25 16:33:23 +0100 (Thu, 25 Jun 2009) | 1 line
added ro_ prefix to RISC OS textarea code
........
svn path=/trunk/netsurf/; revision=8060
2009-06-27 13:59:25 +00:00
John Mark Bell
a070f24913
Lose more redundancy
...
svn path=/trunk/netsurf/; revision=7613
2009-05-28 16:38:17 +00:00
John Mark Bell
73a89e8a0f
Lose redundant variable.
...
Ensure name_t is used in tree_delete_node_internal()
svn path=/trunk/netsurf/; revision=7609
2009-05-28 16:16:16 +00:00
John Mark Bell
2730814c27
Remove redundant statements
...
svn path=/trunk/netsurf/; revision=7608
2009-05-28 16:13:02 +00:00
John Mark Bell
abc3603feb
And again
...
svn path=/trunk/netsurf/; revision=7607
2009-05-28 16:05:17 +00:00
John Mark Bell
e9e3649648
Make some vague attempt at detecting failure to write output.
...
svn path=/trunk/netsurf/; revision=7606
2009-05-28 16:03:48 +00:00
Michael Drake
666506689f
Remove redundant assign, and make case indentation style guide complient.
...
svn path=/trunk/netsurf/; revision=7605
2009-05-28 15:59:02 +00:00
John Mark Bell
07c557a25d
Report memory exhaustion -- the whole tree loading stuff needs an overhaul as it's pretty lax about dealing with memory exhaustion.
...
svn path=/trunk/netsurf/; revision=7604
2009-05-28 15:57:54 +00:00
John Mark Bell
d81a949cdd
Remove unused code
...
svn path=/trunk/netsurf/; revision=7603
2009-05-28 15:51:03 +00:00
John Mark Bell
dda592c870
Remove redundant code from browser_window_mouse_action_html().
...
Tidy up browser_window_mouse_track().
svn path=/trunk/netsurf/; revision=7602
2009-05-28 14:35:12 +00:00
John Mark Bell
243c1ba03f
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
...
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
John Mark Bell
d66ffb6e85
It's probably about time we stopped claiming to be 2.0
...
svn path=/trunk/netsurf/; revision=7411
2009-05-06 23:52:12 +00:00
Rob Kendrick
ec034af671
Apply contributions from Mark Benjamin and Chris Tarnowski, with some reworking from me. Beware; glade nastyness ahead.
...
svn path=/trunk/netsurf/; revision=7136
2009-04-20 20:31:13 +00:00
Michael Drake
d1b5c38883
Possibly fix links opened in current window not being scrolled to top.
...
svn path=/trunk/netsurf/; revision=7065
2009-04-08 11:07:30 +00:00
John Mark Bell
2531079866
Revert r6973. Apparently, it causes loads of problems.
...
svn path=/trunk/netsurf/; revision=7047
2009-04-05 19:17:24 +00:00
Michael Drake
ef5089e629
Add some incomplete documentation for path plotter. Better documentation of rectangle and fill plotters.plotters.h
...
svn path=/trunk/netsurf/; revision=7016
2009-03-31 15:17:08 +00:00
Michael Drake
08331f781e
Use tabs for indentation.
...
svn path=/trunk/netsurf/; revision=7008
2009-03-31 12:55:23 +00:00
Daniel Silverstone
1664683fa9
Tidy browser_window_refresh_url_bar a bit, ensure the sizes all make sense, that we don't allocate unnecessarily, etc.
...
svn path=/trunk/netsurf/; revision=7007
2009-03-31 12:23:12 +00:00
Michael Drake
1b25b44922
Use fragment instead of #fragment in the comment because it does not include the #.
...
svn path=/trunk/netsurf/; revision=7006
2009-03-31 11:12:36 +00:00
Michael Drake
4dc9a59409
Comment browser_window_refresh_url_bar() and fix some wrap.
...
svn path=/trunk/netsurf/; revision=7005
2009-03-31 11:06:09 +00:00
Chris Young
28cfe681db
Ensure buffer is big enough for the extra character.
...
svn path=/trunk/netsurf/; revision=7003
2009-03-31 06:39:32 +00:00
Chris Young
bab30e4f1d
Stop URL bar losing characters on every refresh
...
svn path=/trunk/netsurf/; revision=7001
2009-03-30 18:10:16 +00:00
John Mark Bell
b230423267
Change URL bar contents when switching tabs in GTK frontend.
...
Remove fixed-size buffer from core URL string handling.
Credit: Mark Benjamin.
svn path=/trunk/netsurf/; revision=6998
2009-03-30 15:46:26 +00:00
John Mark Bell
118036d27b
Use <> for library headers.
...
svn path=/trunk/netsurf/; revision=6919
2009-03-27 01:59:16 +00:00
Michael Drake
0a7e10819b
Add functions for checking if back/forward/stop/reload actions are currently available for a given browser window.
...
svn path=/trunk/netsurf/; revision=6827
2009-03-23 22:22:30 +00:00
John Mark Bell
58cd142338
Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus)
...
svn path=/trunk/netsurf/; revision=6793
2009-03-17 12:26:41 +00:00
John Mark Bell
2aa7f5c7f1
Improve previous commit.
...
svn path=/trunk/netsurf/; revision=6752
2009-03-10 09:14:25 +00:00
John Mark Bell
2ace72c587
Treat short meta refreshes in top-level browser windows as if they were HTTP redirects for the purposes of verifiability.
...
svn path=/trunk/netsurf/; revision=6751
2009-03-10 09:10:43 +00:00
Chris Young
2014dac36d
Add ability to render part of a local history window.
...
This is achieved through new function history_redraw_rectangle.
It takes the co-ordinates of the history area to plot as parameters 2-5
and the co-ordinates of the top-left position to draw this area as params 6,7
Added local history scrolling to Amiga port using the above function.
svn path=/trunk/netsurf/; revision=6740
2009-03-08 23:08:27 +00:00
Rob Kendrick
c72b3cf71a
OpenBSD 4.4 compilation fixes. Does not deal with lack of -Wextra or -Wstrict-aliasing for lpu or hubbub.
...
svn path=/trunk/netsurf/; revision=6673
2009-03-02 19:26:11 +00:00
Michael Drake
656c0a0dcb
Fix cursor on textarea scrollbars.
...
svn path=/trunk/netsurf/; revision=6664
2009-03-02 12:48:20 +00:00
John Mark Bell
c2a773b049
Only attempt to find the next character in a string if we're not already at the end of the string.
...
svn path=/trunk/netsurf/; revision=6606
2009-02-22 23:30:27 +00:00
John Mark Bell
b98f105b24
Purge WITH_AUTH
...
svn path=/trunk/netsurf/; revision=6600
2009-02-22 15:13:10 +00:00
John Mark Bell
847b776285
Purge NETSURF_USE_SSL and WITH_SSL
...
svn path=/trunk/netsurf/; revision=6599
2009-02-22 15:07:50 +00:00
Michael Drake
997b982500
More plotters commenting. Text and bitmap plotters.
...
svn path=/trunk/netsurf/; revision=6594
2009-02-21 17:12:15 +00:00
Michael Drake
de7a20499a
Fix button hover assert.
...
svn path=/trunk/netsurf/; revision=6585
2009-02-20 20:48:30 +00:00
Michael Drake
dd6031d297
Fix imagemap cursors.
...
svn path=/trunk/netsurf/; revision=6584
2009-02-20 19:34:40 +00:00
Michael Drake
8bebcb5ca9
Fix handling of URLs on float boxes (which have no style).
...
svn path=/trunk/netsurf/; revision=6574
2009-02-20 12:12:32 +00:00
John Mark Bell
cc1094f0ac
Utilise hubbub's form association callback.
...
Please can we dispense with the libxml binding? It's causing much #ifdef mess.
Fix encoding of <input type=image> names -- previously were output as raw utf-8, rather than in the submission charset.
Actually bother to destroy forms in a document, and the controls associated with them. We still leak non form-associated controls, but that's too much effort to fix right now.
svn path=/trunk/netsurf/; revision=6573
2009-02-20 11:39:25 +00:00
Michael Drake
856c3bca25
Implement 'auto' value for CSS cursor property.
...
Allow cursor type to be user set for links and form stuff.
svn path=/trunk/netsurf/; revision=6564
2009-02-18 15:57:08 +00:00
John Mark Bell
ae781b4fd8
Destroy bitmap if thumbnailing fails.
...
Make amiga port's thumbnail_create() actually return something
svn path=/trunk/netsurf/; revision=6560
2009-02-18 13:25:57 +00:00
John Mark Bell
ee986e1d0a
Divorce PDF export and printing.
...
At some point, the RISC OS printing code should be ported to the core page-based output engine.
svn path=/trunk/netsurf/; revision=6544
2009-02-17 16:37:51 +00:00
Vincent Sanders
cbf07e1bc3
make schedule_run return if it has active jobs to schedule
...
svn path=/trunk/netsurf/; revision=6447
2009-02-11 22:33:55 +00:00
Adrian Lees
ac6b80c988
Obvious fix for text start/end problem; missing something?
...
svn path=/trunk/netsurf/; revision=6396
2009-02-08 04:25:42 +00:00
John Mark Bell
961be4593b
Ensure hotlist URLs are normalised before using them.
...
Squash a bunch of memory leaks.
svn path=/trunk/netsurf/; revision=6370
2009-02-06 02:04:25 +00:00
John Tytgat
d76712a150
pdf_plot_fill(): fixed wrong change made in r6363.
...
svn path=/trunk/netsurf/; revision=6368
2009-02-06 01:09:08 +00:00
John Tytgat
403376e890
- desktop/save_pdf/pdf_plotters.c:
...
- Have a set of libharu gstate update related wrapper routines which minimizes the gstate updates in the PDF file
resulting in smaller PDF file size.
- Colour values were wrongly scaled (was dividing by 256 instead of by 255).
- pdf_plot_polygon(): last (closing) lineto wasn't needed, a fill operation will do that automatically.
- pdf_scale/pdf_set_scale(): moved to desktop/save_pdf/font_haru.c as pdf_text_scale/haru_nsfont_set_scale().
- desktop/save_pdf/pdf_plotters.c(pdf_set_scale): moved to desktop/save_pdf/font_haru.h as haru_nsfont_set_scale().
- desktop/save_pdf/font_haru.c:
- moved pdf_scale variable from pdf_plotters.c to here.
- haru_nsfont_set_scale(): was pdf_set_scale from pdf_plotters.c
- haru_nsfont_apply_style(): always calculate font size and pass it on to caller when requested.
- desktop/save_pdf/font_haru.h:
- haru_nsfont_set_scale(): declare.
- haru_nsfont_apply_style(): add font size parameter
- gtk/gtk_scaffolding.c(MENUHANDLER(export_pdf)): call haru_nsfont_set_scale() instead of pdf_set_scale().
svn path=/trunk/netsurf/; revision=6363
2009-02-05 02:31:19 +00:00
John Tytgat
fbf6d4cd41
- Constify parameters of struct plotter_table::polygon and struct plotter_table::path
...
- riscos/save_draw.c(ro_save_draw_plotters): Make it static.
- desktop/save_pdf/pdf_plotters.c(pdf_plot_path): fix broken implementation (coordinates path were wrong, no clip/text mode update, transformation matrix was overwritten); only update fill and/or
stroke color when fill and/or stroke is done.
(pdf_begin): disable compression when PDF_DEBUG is set
svn path=/trunk/netsurf/; revision=6361
2009-02-03 01:27:54 +00:00
John Tytgat
9a17510206
- apply_clip_and_mode(): pass text mode selection as parameter instead of using global variable text_mode_request.
...
- pdf_next_page()/pdf_end: fix possible gstate unbalance by using apply_clip_and_mode().
svn path=/trunk/netsurf/; revision=6360
2009-02-02 23:25:36 +00:00
John Tytgat
57124b7f92
Unexport pdf_scale variable (use pdf_set_scale to set it) and initialize it to DEFAULT_EXPORT_SCALE.
...
svn path=/trunk/netsurf/; revision=6350
2009-02-02 00:22:44 +00:00
Adrian Lees
15e8ba0270
Selection menu and save/download tweaks
...
svn path=/trunk/netsurf/; revision=6349
2009-02-02 00:06:31 +00:00
John Tytgat
1047428df5
Hook in our own libharu copy in the build.
...
svn path=/trunk/netsurf/; revision=6343
2009-02-01 22:05:56 +00:00
Adrian Lees
f46dd78718
Next batch of menu changes; clarify some key presses
...
svn path=/trunk/netsurf/; revision=6327
2009-02-01 02:19:01 +00:00
Adrian Lees
34fdcf3aec
And these files too, please
...
svn path=/trunk/netsurf/; revision=6297
2009-01-30 05:07:07 +00:00
Adrian Lees
77972a5056
Improve pasting into password boxes
...
svn path=/trunk/netsurf/; revision=5946
2008-12-30 06:27:12 +00:00
Michael Drake
0bdff38416
Move tab opening logic to same place as new window opening. Make option for "Tabbed browsing", which is enabled by default. Someone who knows how to work glade could add the "Tabbed browsing" option to the choices dialogue. When a link is opened in a new tab, don't change tab.
...
svn path=/trunk/netsurf/; revision=5816
2008-11-29 00:24:09 +00:00
François Revel
e4407cd7e9
Had to split main() into parts to have netsurf_init() called from one thread, and the loop in another to avoid a deadlock in replicants... hope nobody minds.
...
svn path=/trunk/netsurf/; revision=5586
2008-10-16 20:49:12 +00:00
François Revel
6330f8e475
Have netsurf_main() do the real work and main() call it. This allows ports to call it from elsewhere to embed NetSurf in another application.
...
The netsurf_embedded bool remembers it for later (like, we shouldn't probably save the hotlist and preferences in that case).
svn path=/trunk/netsurf/; revision=5579
2008-10-16 11:10:43 +00:00
John Mark Bell
6c49f1fcd5
r4153 was mostly right. It does help, however, if you actually force the locale to "C" in the first place. The issues listed in the commit log for r4153 still apply. This should fix the core's parsing of floats in locales that use something other than '.' as the decimal separator.
...
svn path=/trunk/netsurf/; revision=5568
2008-10-13 23:32:21 +00:00
François Revel
4463070f1c
Fix selection in plain text files, check if s->defined first, and check s->root just in case.
...
svn path=/trunk/netsurf/; revision=5537
2008-10-11 16:47:25 +00:00
Michael Drake
b1a6125578
Comment flush plotter.
...
svn path=/trunk/netsurf/; revision=5488
2008-10-05 20:55:45 +00:00
John Tytgat
9c36d71ab8
* desktop/save_pdf/pdf_plotters.c:
...
- save_pdf(): constify path parameter and routine no longer frees it.
Follow latter change in pdf_end(), nsgtk_PDF_set_pass() and nsgtk_PDF_no_pass()
- pdf_printer: constify
- last_clip_x0, last_clip_y0, last_clip_x1, last_clip_y1, in_text_mode, text_mode_request: make static
- pdf_doc: free previous PDF document if previous save attempt failed.
- set PDF Creator entry based on our user_agent_string().
* other minor changes.
svn path=/trunk/netsurf/; revision=5452
2008-09-28 13:40:06 +00:00
Daniel Silverstone
3f5d902edd
Merged revisions 5309-5406,5409-5422 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/vince/netsurf-fb
........
r5309 | vince | 2008-09-13 10:59:10 +0100 (Sat, 13 Sep 2008) | 2 lines
first stab at framebuffer frontend
........
r5313 | vince | 2008-09-14 15:08:52 +0100 (Sun, 14 Sep 2008) | 2 lines
add line plotters
........
r5314 | vince | 2008-09-14 15:28:12 +0100 (Sun, 14 Sep 2008) | 2 lines
add rectangle plot to 16bpp plotters
........
r5315 | vince | 2008-09-14 19:58:57 +0100 (Sun, 14 Sep 2008) | 2 lines
improve 16bpp image plot
........
r5316 | vince | 2008-09-15 00:35:32 +0100 (Mon, 15 Sep 2008) | 2 lines
abstract the os specific framebuffer init
........
r5317 | vince | 2008-09-15 11:18:51 +0100 (Mon, 15 Sep 2008) | 2 lines
first cut of linux frontend
........
r5318 | vince | 2008-09-15 12:01:00 +0100 (Mon, 15 Sep 2008) | 2 lines
remove junk includes
........
r5319 | vince | 2008-09-15 12:09:02 +0100 (Mon, 15 Sep 2008) | 2 lines
make plotters OS agnostic again
........
r5322 | vince | 2008-09-15 15:55:01 +0100 (Mon, 15 Sep 2008) | 2 lines
Linux frontend operates
........
r5323 | vince | 2008-09-15 16:32:47 +0100 (Mon, 15 Sep 2008) | 2 lines
abstract out OS specific input
........
r5326 | vince | 2008-09-15 19:21:01 +0100 (Mon, 15 Sep 2008) | 2 lines
Improve linux mode setting
........
r5329 | vince | 2008-09-15 21:13:33 +0100 (Mon, 15 Sep 2008) | 2 lines
improve text clipping
........
r5339 | vince | 2008-09-16 00:07:57 +0100 (Tue, 16 Sep 2008) | 2 lines
possibly fix text clipping issue
........
r5342 | vince | 2008-09-16 00:39:36 +0100 (Tue, 16 Sep 2008) | 2 lines
consolidate polygon plotters
........
r5344 | dsilvers | 2008-09-16 10:21:06 +0100 (Tue, 16 Sep 2008) | 1 line
Fix up the framebuffer target makefile a bit more, add some config options for it
........
r5345 | dsilvers | 2008-09-16 10:22:19 +0100 (Tue, 16 Sep 2008) | 1 line
Ensure the appropriate frontend is selected when building framebuffer
........
r5346 | dsilvers | 2008-09-16 10:27:16 +0100 (Tue, 16 Sep 2008) | 1 line
Update build system to support targetting separate framebuffer frontends in different build trees, update executable to be nsfb-blah
........
r5350 | vince | 2008-09-16 17:15:04 +0100 (Tue, 16 Sep 2008) | 1 line
Add -g to provide symbols for framebuffer link
........
r5351 | vince | 2008-09-16 17:17:09 +0100 (Tue, 16 Sep 2008) | 1 line
framebuffer scheduler now works, plotters tweaked, gui tracks window redraw requirements better, keypresses not duplicated under linux fb
........
r5352 | dsilvers | 2008-09-16 17:38:53 +0100 (Tue, 16 Sep 2008) | 1 line
Ensure we only allow one fetcher at a time
........
r5361 | vince | 2008-09-17 11:48:44 +0100 (Wed, 17 Sep 2008) | 2 lines
initial cursor support
........
r5362 | vince | 2008-09-17 13:56:47 +0100 (Wed, 17 Sep 2008) | 2 lines
add mouse handling
........
r5363 | vince | 2008-09-17 14:14:44 +0100 (Wed, 17 Sep 2008) | 2 lines
add framebuffer resources
........
r5364 | vince | 2008-09-17 17:12:21 +0100 (Wed, 17 Sep 2008) | 2 lines
add reasonable pointer
........
r5366 | vince | 2008-09-17 17:17:25 +0100 (Wed, 17 Sep 2008) | 2 lines
fix pointer alpha
........
r5370 | vince | 2008-09-18 13:43:53 +0100 (Thu, 18 Sep 2008) | 2 lines
warning squash and cleanup ready for trunk merge
........
r5375 | vince | 2008-09-19 14:58:43 +0100 (Fri, 19 Sep 2008) | 2 lines
Working mouse navigation
........
r5377 | vince | 2008-09-20 14:06:22 +0100 (Sat, 20 Sep 2008) | 2 lines
Improve scrolling
........
r5378 | vince | 2008-09-20 14:46:46 +0100 (Sat, 20 Sep 2008) | 2 lines
fix redraw issues with scrolling
........
r5380 | vince | 2008-09-20 17:08:43 +0100 (Sat, 20 Sep 2008) | 3 lines
Alter panning to use its own flag so it doesnt cause invalid redraw
operations
........
r5381 | vince | 2008-09-20 21:52:45 +0100 (Sat, 20 Sep 2008) | 2 lines
add dummy framebuffer
........
r5383 | vince | 2008-09-21 00:00:15 +0100 (Sun, 21 Sep 2008) | 2 lines
fix segfault when cursor is off teh bottom of teh screen
........
r5384 | vince | 2008-09-21 00:06:08 +0100 (Sun, 21 Sep 2008) | 2 lines
fix off by one in pointer fix
........
r5385 | vince | 2008-09-21 00:25:09 +0100 (Sun, 21 Sep 2008) | 2 lines
when fixing bloody silly off by one errors remember to fix *both* references
........
r5387 | vince | 2008-09-21 00:38:13 +0100 (Sun, 21 Sep 2008) | 2 lines
last try at stopping the pointer segfault
........
r5388 | vince | 2008-09-21 16:24:18 +0100 (Sun, 21 Sep 2008) | 2 lines
improve vertical text clipping
........
r5392 | vince | 2008-09-21 23:11:51 +0100 (Sun, 21 Sep 2008) | 2 lines
Improve text plotters
........
r5393 | vince | 2008-09-21 23:34:38 +0100 (Sun, 21 Sep 2008) | 2 lines
fix 32bpp line plotting
........
r5394 | vince | 2008-09-22 00:00:03 +0100 (Mon, 22 Sep 2008) | 2 lines
Fix off by one error in line plotting clipping
........
r5397 | vince | 2008-09-22 13:46:22 +0100 (Mon, 22 Sep 2008) | 2 lines
Fix bitmap tileing
........
r5398 | vince | 2008-09-22 17:46:02 +0100 (Mon, 22 Sep 2008) | 2 lines
enable knockout renderer
........
r5399 | vince | 2008-09-22 18:43:48 +0100 (Mon, 22 Sep 2008) | 2 lines
ensure clipping region lies within window, caused by knockout renderer
........
r5400 | vince | 2008-09-22 19:20:25 +0100 (Mon, 22 Sep 2008) | 2 lines
update cursor to one swiped from X windows
........
r5405 | vince | 2008-09-23 09:09:05 +0100 (Tue, 23 Sep 2008) | 2 lines
fix vertical scroll limit
........
r5412 | dsilvers | 2008-09-23 10:53:14 +0100 (Tue, 23 Sep 2008) | 1 line
Revert noisy fetcher patch
........
r5413 | dsilvers | 2008-09-23 10:58:00 +0100 (Tue, 23 Sep 2008) | 1 line
Add header guards
........
r5414 | dsilvers | 2008-09-23 11:31:31 +0100 (Tue, 23 Sep 2008) | 1 line
Tidy the region clipping slightly
........
r5416 | dsilvers | 2008-09-23 12:05:00 +0100 (Tue, 23 Sep 2008) | 1 line
Rationalise how the framebuffer frontend finds resources and options
........
r5418 | dsilvers | 2008-09-23 13:59:00 +0100 (Tue, 23 Sep 2008) | 1 line
Ensure options are overridden after load, and squash an fb_gui.c warning
........
r5419 | dsilvers | 2008-09-23 14:20:07 +0100 (Tue, 23 Sep 2008) | 1 line
Support fb_mode and fb_device options
........
r5420 | dsilvers | 2008-09-23 14:21:48 +0100 (Tue, 23 Sep 2008) | 1 line
Support option_fb_device in the able frontend
........
r5421 | dsilvers | 2008-09-23 14:25:17 +0100 (Tue, 23 Sep 2008) | 1 line
Ensure target_blank is disabled
........
r5422 | dsilvers | 2008-09-23 14:39:00 +0100 (Tue, 23 Sep 2008) | 1 line
Rework linux fb frontend to support scanning and opening all event devices for input
........
svn path=/trunk/netsurf/; revision=5423
2008-09-23 14:00:40 +00:00
Michael Drake
01240caa26
Fix diagram to be fill -- not sure what happens with lines.
...
svn path=/trunk/netsurf/; revision=5368
2008-09-17 22:19:44 +00:00
Michael Drake
03fdf02272
Fix warnings.
...
svn path=/trunk/netsurf/; revision=5349
2008-09-16 13:45:59 +00:00
Michael Drake
f2d6c62d7b
Comment group plotters.
...
svn path=/trunk/netsurf/; revision=5331
2008-09-15 20:31:09 +00:00
Michael Drake
caafa2704e
Add general comment on knockout rendering.
...
svn path=/trunk/netsurf/; revision=5327
2008-09-15 18:47:37 +00:00
Michael Drake
7447ca1d4c
Oops - commit the latest version.
...
svn path=/trunk/netsurf/; revision=5325
2008-09-15 18:19:13 +00:00
Michael Drake
7719e36c28
Start commenting plotter functions.
...
svn path=/trunk/netsurf/; revision=5324
2008-09-15 18:14:08 +00:00