Commit Graph

4002 Commits

Author SHA1 Message Date
Vincent Sanders
53f5a9ab4d stop SDL frontend consuming all available CPU when idel
svn path=/trunk/netsurf/; revision=6448
2009-02-11 22:36:07 +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
Vincent Sanders
5060882795 Fix SDL frontend input
svn path=/trunk/netsurf/; revision=6446
2009-02-11 20:55:50 +00:00
Rob Kendrick
7875677123 Add limits.h to fb_gui.c for INT_MAX
svn path=/trunk/netsurf/; revision=6429
2009-02-11 13:48:56 +00:00
Vincent Sanders
dccf2836b6 fix double free
svn path=/trunk/netsurf/; revision=6428
2009-02-11 13:48:44 +00:00
Michael Drake
233d5ff333 List SDL option.
svn path=/trunk/netsurf/; revision=6427
2009-02-11 13:37:11 +00:00
Vincent Sanders
2b41eceafe add SDL frontend for framebuffer port
svn path=/trunk/netsurf/; revision=6415
2009-02-11 00:20:02 +00:00
Chris Young
b3bc3eb896 Don't bother trying to render things that are completely off the screen
svn path=/trunk/netsurf/; revision=6412
2009-02-10 18:53:17 +00:00
John Mark Bell
72b8a67660 Ensure URLs are normalized prior to fetching.
Squash memory leaks.

svn path=/trunk/netsurf/; revision=6411
2009-02-10 18:35:56 +00:00
Chris Young
876c92e58e Fix assert when there is no hotlist file
svn path=/trunk/netsurf/; revision=6398
2009-02-08 23:23:46 +00:00
Chris Young
e1133726c9 Fix animated GIF display
svn path=/trunk/netsurf/; revision=6397
2009-02-08 10:12:27 +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
Chris Young
2c78e54298 Really stop overwriting window borders (also fix fast scrolling down, and break fast
scrolling up)

svn path=/trunk/netsurf/; revision=6394
2009-02-07 16:40:56 +00:00
Chris Young
a588aa92c9 Enable/disable caching of native bitmaps in gfx board mem
svn path=/trunk/netsurf/; revision=6393
2009-02-07 10:45:58 +00:00
John Mark Bell
19321017a9 Document the assumption that all URLs passed into urldb are already normalised. Violate this precondition at your peril.
svn path=/trunk/netsurf/; revision=6371
2009-02-06 02:08:00 +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 Mark Bell
0ccdff104f Blah.
svn path=/trunk/netsurf/; revision=6366
2009-02-05 15:07:19 +00:00
Chris Young
146e26a403 Some attempt at faster scrolling - can be enabled with option faster_scroll:1
svn path=/trunk/netsurf/; revision=6364
2009-02-05 12:20:23 +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
Chris Young
73b761ecf5 Try to stop rendering of things that can't be seen
svn path=/trunk/netsurf/; revision=6362
2009-02-04 18:10:10 +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
Adrian Lees
7f4f1c80ef Fix object save
svn path=/trunk/netsurf/; revision=6359
2009-02-02 23:20:20 +00:00
Adrian Lees
9984ea5f11 Protect NS from DrawFiles it generated
svn path=/trunk/netsurf/; revision=6358
2009-02-02 23:17:41 +00:00
Michael Drake
2138d4f327 Give iframes an initial size.
svn path=/trunk/netsurf/; revision=6357
2009-02-02 22:07:24 +00:00
Adrian Lees
1f6d4f4a42 Appease tlsa
svn path=/trunk/netsurf/; revision=6356
2009-02-02 21:44:54 +00:00
Michael Drake
c1439ae4e7 Comment content_redraw.
svn path=/trunk/netsurf/; revision=6355
2009-02-02 14:06:51 +00:00
Michael Drake
f1c7c7f072 Remove unused line_height stuff for now.
svn path=/trunk/netsurf/; revision=6354
2009-02-02 13:54:48 +00:00
Michael Drake
3cffe17cc7 More commenting of what we do with clip rectangle.
svn path=/trunk/netsurf/; revision=6353
2009-02-02 12:57:30 +00:00
Michael Drake
b2182b8c50 Fix clear:both; when there's nothing to clear.
svn path=/trunk/netsurf/; revision=6352
2009-02-02 12:56:15 +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
Michael Drake
a15d9876ca Document setting up of clip rectangle for NetSurf's core.
svn path=/trunk/netsurf/; revision=6348
2009-02-01 23:56:38 +00:00
Michael Drake
3cb9376483 Delete legacy code.
svn path=/trunk/netsurf/; revision=6347
2009-02-01 23:08:29 +00:00
Chris Young
c8a8a7808e Tidy-up of redraw code
svn path=/trunk/netsurf/; revision=6345
2009-02-01 22:54:31 +00:00
John Tytgat
6dcef96aca Add sensitive property for PDF export like for the other export entries, this disables the PDF export menu entry when there is no content.
svn path=/trunk/netsurf/; revision=6344
2009-02-01 22:31:30 +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
Chris Young
350ab68077 gui_window_update_box and gui_window_redraw now only update the relevant areas.. I
think.  They are liable to destroy things outside of the render area as well
currently.

svn path=/trunk/netsurf/; revision=6342
2009-02-01 21:28:59 +00:00
Michael Drake
8718d7efbf Fix libharu address.
svn path=/trunk/netsurf/; revision=6341
2009-02-01 20:18:39 +00:00
Chris Young
ad6f72667b Remove the caret by replacing it with the area under the caret, rather than the area
displayed somewhere else on the page.

svn path=/trunk/netsurf/; revision=6338
2009-02-01 18:36:17 +00:00
John Tytgat
aa61544828 strlen() on constant string can be replaced by sizeof()-1
svn path=/trunk/netsurf/; revision=6333
2009-02-01 13:59:35 +00:00
John Tytgat
8e4853dd56 Remove unnecessary casting.
svn path=/trunk/netsurf/; revision=6332
2009-02-01 13:54:40 +00:00
John Tytgat
3f0c50e5a0 - C strings have always an implicit NUL character at the end, no need to specify an extra one.
- riscos/configure/con_theme.c: removed spurious code line.

svn path=/trunk/netsurf/; revision=6331
2009-02-01 13:37:32 +00:00
Chris Young
e8399d8a76 Oops, probably shouldn't double-convert text
svn path=/trunk/netsurf/; revision=6330
2009-02-01 13:30:47 +00:00
Chris Young
1c1347a215 Convert UTF-8 titles to local charset for display in tabs
Disable keyboard shortcuts for tabs as an underscore in the title was causing
keypresses to be ignored or tabs to be switched unexpectedly

svn path=/trunk/netsurf/; revision=6329
2009-02-01 13:26:21 +00:00
Chris Young
fb0a2116a3 Change to use names instead of numbers for keypresses
Add missing keypresss

svn path=/trunk/netsurf/; revision=6328
2009-02-01 13:01:46 +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
Chris Young
4cf6935761 Added context menu option to download the link target.
Added SAVEAS/K to OPEN ARexx command to download a URL instead of displaying it.

svn path=/trunk/netsurf/; revision=6326
2009-01-31 23:45:25 +00:00
Michael Drake
400ed91129 Hubbub allows FONT tags to span blocks and the way that
the box tree is generated, this makes the BOX_INLINE's
BOX_INLINE_END appears in a different BOX_BLOCK. That
seems wrong, but fix layout not to crash for now.

svn path=/trunk/netsurf/; revision=6325
2009-01-31 22:49:41 +00:00