John Mark Bell
7e81850643
Add missing include
...
svn path=/trunk/netsurf/; revision=9860
2010-01-21 23:56:25 +00:00
John Mark Bell
5b0ad574b6
Fix compilation when BMP/PNG/GIF support is disabled.
...
svn path=/trunk/netsurf/; revision=9858
2010-01-21 23:48:34 +00:00
Vincent Sanders
e01d93f344
Refactor main into the frontends
...
remove unused embedded global
svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
John Mark Bell
11582027d1
Make nsgtk_throbber_initialise_from_png() actually check for allocation failure.
...
Make nsgtk_throbber_initialise_from_gif() actually stand a chance of working.
svn path=/trunk/netsurf/; revision=9747
2009-12-20 12:05:12 +00:00
John Mark Bell
d64f5102eb
themesfolder is on stack. Do not free().
...
svn path=/trunk/netsurf/; revision=9739
2009-12-18 20:25:11 +00:00
John Mark Bell
fcffcf4b18
Ensure scaffolding object exists before using it
...
svn path=/trunk/netsurf/; revision=9738
2009-12-18 20:21:13 +00:00
John Mark Bell
b75b2ae8bb
Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
John Mark Bell
355799ce0b
Merge branches/MarkieB/gtkmain to trunk.
...
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +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
7b565d8bc5
Fix menu pointer's hotspot.
...
svn path=/trunk/netsurf/; revision=9153
2009-08-10 14:43:31 +00:00
John Mark Bell
7ee7281fcd
Fix font config stuff
...
svn path=/trunk/netsurf/; revision=8765
2009-07-24 00:43:02 +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
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
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
Vincent Sanders
680298e61c
plotters line refactor
...
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
John Mark Bell
9e5f6510ec
Tweak dot/dash patterns.
...
svn path=/trunk/netsurf/; revision=8416
2009-07-09 12:13:01 +00:00
Vincent Sanders
f9ecd56f62
ploter refactor of rectangle handling
...
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +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
John Mark Bell
7792d81e85
Give input focus to drawing area on click. (credit: Paul Blokus)
...
svn path=/trunk/netsurf/; revision=8277
2009-07-02 23:22:24 +00:00
Vincent Sanders
1165edf662
remove redundant clg call
...
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00
Vincent Sanders
aa26843411
Improve bitmap plotter API
...
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +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
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
9582b087c7
Rework GTK options code to be less bug ridden. This fixes a bunch of buffer overflows and memory leaks. Additionally, don't bother calculating the default toolbar button type here -- it will already be determined the first time that a browser window is opened (i.e. before the preferences dialog can be opened, anyway).
...
Remove loads of trailing whitespace from every line in the gtk languages file.
svn path=/trunk/netsurf/; revision=7370
2009-04-29 15:24:00 +00:00
Rob Kendrick
efa447f3bc
Update GTK about box to be more accurate
...
svn path=/trunk/netsurf/; revision=7258
2009-04-23 12:13:45 +00:00
John Mark Bell
b815973c15
Simplify handling of tab switching. Now only has one event entry point, rather than two (and is thus less confusing).
...
Update window titlebar on tab switch (based on r7234)
svn path=/trunk/netsurf/; revision=7235
2009-04-22 12:32:55 +00:00
John Mark Bell
e7df2e1fb8
Some kind of documentation of option_button_type. Ideally, we'll be using an enum here in future.
...
svn path=/trunk/netsurf/; revision=7148
2009-04-21 10:47:24 +00:00
Rob Kendrick
b648e36dc1
Fixed pitch font for GTK source view
...
svn path=/trunk/netsurf/; revision=7147
2009-04-21 10:38:57 +00:00
John Mark Bell
aef5c88839
Much tidying, error checking, implementation hiding, etc.
...
svn path=/trunk/netsurf/; revision=7145
2009-04-21 10:24:30 +00:00
John Mark Bell
03c1e930be
Reflow to the entire widget width, rather than leaving a 2px border on the right side. I've no idea why this was needed, but it looks odd.
...
svn path=/trunk/netsurf/; revision=7142
2009-04-21 01:01:59 +00:00
Rob Kendrick
fe86c4a618
Check in missing files from previous commit
...
svn path=/trunk/netsurf/; revision=7139
2009-04-20 22:13:59 +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
John Mark Bell
daf7a52dd6
Hubbub is no longer optional.
...
Remove libxml2 parser binding.
svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +00:00
Daniel Silverstone
4411cc918d
Update GTK tab opening to hopefully correctly render pages on open. (Mark Benjamin)
...
svn path=/trunk/netsurf/; revision=7055
2009-04-07 09:01:12 +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
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
f5587d22a4
Squash warning
...
svn path=/trunk/netsurf/; revision=6986
2009-03-29 12:49:17 +00:00
Michael Drake
86ea073c40
Improve line plotter.
...
svn path=/trunk/netsurf/; revision=6949
2009-03-27 19:18:52 +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
07e1187b69
Add .spr -> image/x-riscos-sprite MIME mapping to GTK front end
...
Fix crash inducing bugs in nssprite.c
svn path=/trunk/netsurf/; revision=6743
2009-03-09 00:58:23 +00:00
Michael Drake
b833e5a727
Log gtk gui_window_get_dimensions sizes.
...
svn path=/trunk/netsurf/; revision=6684
2009-03-03 19:26:58 +00:00
Rob Kendrick
5b53bb6baa
Select the text in the URL bar on Ctrl-A if the widget has the focus, rather
...
than the document text.
Thanks to Paweł Blokus <pblokus@gmail.com> for the patch.
svn path=/trunk/netsurf/; revision=6659
2009-02-28 20:02:09 +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
John Mark Bell
de42425720
Remove misleading comment
...
svn path=/trunk/netsurf/; revision=6552
2009-02-17 23:50:40 +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
John Mark Bell
f41d666fe1
Squash warnings from GTK.
...
Rework export_pdf and print menu handlers to not leak memory, actually check return values, and stop processing in those cases.
Many pedantic whitespace changes.
Remove 3 spurious labels from the tab notebook in netsurf.glade.
Make PDF export menu entry sensitive by default.
Make Print preview menu entry insensitive, as it's unsupported.
svn path=/trunk/netsurf/; revision=6543
2009-02-17 15:08:22 +00:00
John Mark Bell
22d8b8e512
Squash warning when built without WITH_SSL
...
svn path=/trunk/netsurf/; revision=6540
2009-02-15 23:21:53 +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
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
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
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
Sean Fox
b132fba399
Right-clicking a page now removes the browser caret as well, but isn't properly implemented; see todo.
...
svn path=/trunk/netsurf/; revision=6308
2009-01-30 22:38:39 +00:00
Sean Fox
851111e929
Properly show the context menu separator.
...
svn path=/trunk/netsurf/; revision=6307
2009-01-30 22:00:10 +00:00
Sean Fox
4789d3c09d
Clicking in the draw area now deselects the URL bar.
...
svn path=/trunk/netsurf/; revision=6306
2009-01-30 21:59:01 +00:00
Sean Fox
0de8393358
Save page support on the context menu.
...
svn path=/trunk/netsurf/; revision=6305
2009-01-30 21:23:10 +00:00
Sean Fox
ab3da70659
Squash some memory leaks.
...
svn path=/trunk/netsurf/; revision=6290
2009-01-29 08:13:28 +00:00
John Mark Bell
8d76373d23
Forward declare gui_window
...
svn path=/trunk/netsurf/; revision=6085
2009-01-16 14:30:20 +00:00
Rob Kendrick
3d260f6e75
Fix warnings and formatting
...
svn path=/trunk/netsurf/; revision=5956
2009-01-02 15:10:33 +00:00
Daniel Silverstone
cc4ff67438
Remove unnecessary storage of page number in tab add
...
svn path=/trunk/netsurf/; revision=5955
2009-01-02 14:48:29 +00:00
Daniel Silverstone
70e1c9c7bf
Silence lack of return value check warning on fgets()
...
svn path=/trunk/netsurf/; revision=5954
2009-01-02 14:46:54 +00:00
Daniel Silverstone
ebfb26038f
Silence format-string warning
...
svn path=/trunk/netsurf/; revision=5953
2009-01-02 14:44:09 +00:00
Daniel Silverstone
3321a81f71
Fix unchecked result warnings for realpath
...
svn path=/trunk/netsurf/; revision=5952
2009-01-02 14:41:53 +00:00
Daniel Silverstone
a804727385
A bit of tidying of the GTK options dialog code. Still not ideal, still not warning free.
...
svn path=/trunk/netsurf/; revision=5951
2009-01-02 14:36:02 +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
Rob Kendrick
33dc55587e
Ctrl+W now closes just the current tab, and Ctrl+Shift+W closes the window. Added menu item to do this, too.
...
svn path=/trunk/netsurf/; revision=5593
2008-10-18 14:37:29 +00:00
Daniel Silverstone
d9f9bda135
Ensure that unset string options do not crash when you try and set them
...
svn path=/trunk/netsurf/; revision=5591
2008-10-18 09:38:23 +00:00
Rob Kendrick
2d7516b398
Fix memory leak and warning
...
svn path=/trunk/netsurf/; revision=5574
2008-10-14 14:58:52 +00:00
Michael Drake
2e584e3b04
Style guide formatting.
...
svn path=/trunk/netsurf/; revision=5535
2008-10-11 15:12:42 +00:00
Michael Drake
56f8f275fd
Fix close icon size on tabs. Thanks to Christian Dywan (kalikiana).
...
svn path=/trunk/netsurf/; revision=5534
2008-10-11 13:52:03 +00:00
Daniel Silverstone
88b8fdb221
Remove redundant function, and guard print/export-pdf against lack of haru
...
svn path=/trunk/netsurf/; revision=5526
2008-10-10 09:33:39 +00:00
Daniel Silverstone
f02cf9a5b5
Fix two warnings which only show when not using haru or hubbub
...
svn path=/trunk/netsurf/; revision=5525
2008-10-10 09:30:17 +00:00
Mike Lester
74baa6336c
Fixed most of the scaffolding warnings.
...
svn path=/trunk/netsurf/; revision=5524
2008-10-09 23:19:50 +00:00
Rob Kendrick
c14cd17411
More GTK warning fixes.
...
svn path=/trunk/netsurf/; revision=5523
2008-10-09 23:14:00 +00:00
Mike Lester
8dedd7a4e1
Updated style, 80 char width
...
svn path=/trunk/netsurf/; revision=5522
2008-10-09 23:09:01 +00:00
Rob Kendrick
4b2802c546
Whole bunch of warning fixes in GTK
...
svn path=/trunk/netsurf/; revision=5521
2008-10-09 23:07:38 +00:00
Mike Lester
56500ce8e8
Fixed warning relating to Downloads.
...
svn path=/trunk/netsurf/; revision=5520
2008-10-09 23:06:07 +00:00
Rob Kendrick
35120aab1a
Fix warnings in gtk_option.c - this code needs *serious* refactoring to remove crackful macros that unbalance braces.
...
svn path=/trunk/netsurf/; revision=5519
2008-10-09 22:49:48 +00:00
Michael Drake
bbda089a72
Style guide formatting: indentation, 80 char width, 2 tabs after wrap.
...
svn path=/trunk/netsurf/; revision=5518
2008-10-09 21:32:56 +00:00
Rob Kendrick
35766f761e
Fix braino in previous commit
...
svn path=/trunk/netsurf/; revision=5517
2008-10-09 21:22:27 +00:00
Rob Kendrick
a0273d8c7f
Fix warning in gtk_about.c, reformat
...
svn path=/trunk/netsurf/; revision=5516
2008-10-09 21:17:31 +00:00
Mike Lester
232c43418d
Fixed all but one "about dialog" related warnings. All credit strings are now constant.
...
svn path=/trunk/netsurf/; revision=5515
2008-10-09 20:47:19 +00:00
Daniel Silverstone
0bd85e2e44
Add header guard to reduce warning count marginally
...
svn path=/trunk/netsurf/; revision=5514
2008-10-09 14:12:44 +00:00
Daniel Silverstone
f6a2b1169d
Ensure we set the CSS DPI every time a window opens. For now, this will do. Later we need to monitor and perhaps support per-browser-window dpi?
...
svn path=/trunk/netsurf/; revision=5513
2008-10-09 13:45:21 +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
6e0a71f631
Add support for displaying the tab bar if there's only one tab.
...
svn path=/trunk/netsurf/; revision=5348
2008-09-16 13:32:12 +00:00
John Mark Bell
c6ac553d3d
Enable dumping of DOM tree
...
svn path=/trunk/netsurf/; revision=5289
2008-09-08 21:55:20 +00:00
Michael Drake
2557b029ae
Fix Amiga bitmap_get_bpp to be same as others. (It's bytes per pixel, not bits.) Fix param comments for vbitmap.
...
svn path=/trunk/netsurf/; revision=5281
2008-09-07 19:08:57 +00:00
Mike Lester
e86465e31f
The status bar is now a single GtkStatusbar instead of a hpane'd label and (empty) Statusbar.
...
svn path=/trunk/netsurf/; revision=5211
2008-08-27 20:26:28 +00:00
Rob Kendrick
afdf592637
Merge Mike's tabs changes. Still needs some cleaning.
...
svn path=/trunk/netsurf/; revision=5189
2008-08-24 10:31:38 +00:00
Rob Kendrick
14a7b25c69
Allow nsgtk to be built *with* PDF support. Whoops.
...
svn path=/trunk/netsurf/; revision=5122
2008-08-15 10:24:52 +00:00
Rob Kendrick
631f34eb7f
Allow nsgtk to be built without PDF export
...
svn path=/trunk/netsurf/; revision=5120
2008-08-15 09:30:21 +00:00
John Tytgat
e063a2a59d
Second merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
...
Merged revisions 4195-4211,4216,4219-4220,4222-4234,4236-4250,4252-4262,4264-4266,4268-4326,4329-4335,4338-4342,4344-4411,4413-4420,4422-4436,4438-4491,4494-4506,4508-4514,4516,4518-4552,4554,4556-4564,4567-4568,4570-4574,4576-4686,4689-4692,4694,4698-4709,4715-4723,4725-4755,4757-4769,4771-4919,4921-4996,4998-5110,5112-5117 via svnmerge from
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf
........
r4736 | adamblokus | 2008-07-26 13:46:54 +0200 (Sat, 26 Jul 2008) | 2 lines
Sorting out some problems with svn.
........
r4737 | adamblokus | 2008-07-26 13:54:36 +0200 (Sat, 26 Jul 2008) | 4 lines
Added export tab to the options dialog.
Added the possibility of changing some print options.
........
r4897 | adamblokus | 2008-08-04 17:59:05 +0200 (Mon, 04 Aug 2008) | 5 lines
Added checking of horizontal clipping.
Added better table loosening.
Changed some minor bugs.
Applied changes in the Export options tab according to the review from tlsa.
........
r4905 | adamblokus | 2008-08-05 01:53:34 +0200 (Tue, 05 Aug 2008) | 2 lines
Fixed bug which made it impossible to export pdf's.
........
r4919 | adamblokus | 2008-08-05 16:39:33 +0200 (Tue, 05 Aug 2008) | 2 lines
Fixed some memory leaks which caused Netsurf to break.
........
r4927 | adamblokus | 2008-08-06 02:26:30 +0200 (Wed, 06 Aug 2008) | 4 lines
Fixed bug with filenames which crashed Netsurf.
Turned anti aliasing off for printing.
Fixed some scaling issues.
........
r4928 | adamblokus | 2008-08-06 17:52:44 +0200 (Wed, 06 Aug 2008) | 5 lines
Added new export/print options:
- suppressing images
- turning off backgrounds
- toggled loosening
........
r4950 | adamblokus | 2008-08-07 21:15:21 +0200 (Thu, 07 Aug 2008) | 5 lines
Added new options to PDF export:
- document compression
- document encryption
Added PDF password dialog
........
r4954 | adamblokus | 2008-08-07 22:11:31 +0200 (Thu, 07 Aug 2008) | 2 lines
Added saving print settings.
........
r4956 | adamblokus | 2008-08-07 22:44:48 +0200 (Thu, 07 Aug 2008) | 2 lines
Fixes to PDF encryption
........
r4970 | adamblokus | 2008-08-09 15:26:24 +0200 (Sat, 09 Aug 2008) | 3 lines
Fixed bug in plotting tiled bitmaps.
Fixed bug with too long text decorations.
........
r4977 | adamblokus | 2008-08-09 19:18:56 +0200 (Sat, 09 Aug 2008) | 2 lines
Fixed JPG embedding bug.
........
r4988 | adamblokus | 2008-08-10 16:59:51 +0200 (Sun, 10 Aug 2008) | 3 lines
Added clip checking to pdf plotters. No more "blank" clips.
Made PDF compression a default setting.
........
r4995 | adamblokus | 2008-08-10 20:03:00 +0200 (Sun, 10 Aug 2008) | 2 lines
Fixed Haru crash on font-size==0.
........
r4996 | adamblokus | 2008-08-10 21:04:43 +0200 (Sun, 10 Aug 2008) | 2 lines
Added changing text mode only if necessary.
........
r5045 | adamblokus | 2008-08-11 21:26:26 +0200 (Mon, 11 Aug 2008) | 3 lines
Removing gtk stuff from core code.
Little fix in options.
........
r5048 | adamblokus | 2008-08-11 21:57:45 +0200 (Mon, 11 Aug 2008) | 2 lines
Better font size checking in PDF export.
........
r5050 | adamblokus | 2008-08-11 22:19:56 +0200 (Mon, 11 Aug 2008) | 2 lines
Fixed riscos text scale bug.
........
r5073 | adamblokus | 2008-08-12 17:40:57 +0200 (Tue, 12 Aug 2008) | 2 lines
Added missing tooltips
........
r5092 | adamblokus | 2008-08-13 17:09:25 +0200 (Wed, 13 Aug 2008) | 2 lines
Moved /pdf folder to desktop/save_pdf
........
r5110 | adamblokus | 2008-08-13 22:44:50 +0200 (Wed, 13 Aug 2008) | 2 lines
Added comments.
........
r5113 | adamblokus | 2008-08-13 23:07:35 +0200 (Wed, 13 Aug 2008) | 2 lines
Cosmetic changes
........
r5116 | adamblokus | 2008-08-14 16:10:18 +0200 (Thu, 14 Aug 2008) | 2 lines
Fixed bug with BOX_INLINE_END in tree duplication.
........
r5117 | joty | 2008-08-14 21:47:46 +0200 (Thu, 14 Aug 2008) | 1 line
Improvement for r5116: use local vars when possible; rename global last to box_duplicate_last; check on box_duplicate_main_tree failure.
........
svn path=/trunk/netsurf/; revision=5118
2008-08-14 20:32:10 +00:00
John Mark Bell
1999e455fa
Some vague attempt at limiting the size of large bitmaps for thumbnailing.
...
This probably wants someone who has a clue about gtk to look at it.
svn path=/trunk/netsurf/; revision=5100
2008-08-13 17:16:39 +00:00
Rob Kendrick
783cb29331
Do not include GIF throbber loading support if GIF support is excluded
...
svn path=/trunk/netsurf/; revision=5084
2008-08-13 13:44:10 +00:00
James Bursa
33107b160f
Merged revisions 4345-4346,4350-4351,4389,4391,4395,4401-4403,4423,4485-4486 via svnmerge from
...
svn://semichrome.net/branches/dynis/netsurf
........
r4345 | dynis | 2008-06-15 18:37:23 -0500 (Sun, 15 Jun 2008) | 1 line
Move NetSurf's gifread.h to libnsgif
........
r4346 | dynis | 2008-06-15 18:38:38 -0500 (Sun, 15 Jun 2008) | 1 line
Remove NetSurf's gifread.c (replaced by libnsgif)
........
r4350 | dynis | 2008-06-15 18:57:17 -0500 (Sun, 15 Jun 2008) | 1 line
Added references to libnsgif where necessary; corrected function calls where callbacks were implemented
........
r4351 | dynis | 2008-06-15 19:00:33 -0500 (Sun, 15 Jun 2008) | 1 line
Updated Makefile to compile with libnsgif
........
r4389 | dynis | 2008-06-18 13:58:51 -0500 (Wed, 18 Jun 2008) | 1 line
Altered bitmap callback table name for gif images to avoid ambiguity when bmp image library is created
........
r4391 | dynis | 2008-06-18 14:08:39 -0500 (Wed, 18 Jun 2008) | 1 line
Updated netsurf branch to use new bitmap callback table structure name that was altered in libnsgif
........
r4395 | dynis | 2008-06-18 14:54:51 -0500 (Wed, 18 Jun 2008) | 1 line
Corrected param comments for bitmap_set_suspendable()
........
r4401 | dynis | 2008-06-18 18:39:50 -0500 (Wed, 18 Jun 2008) | 1 line
Added references to libnsbmp where necessary; corrected function calls where callbacks were implemented
........
r4402 | dynis | 2008-06-18 18:40:47 -0500 (Wed, 18 Jun 2008) | 1 line
Updated Makefile to compile with libnsbmp
........
r4403 | dynis | 2008-06-18 18:41:53 -0500 (Wed, 18 Jun 2008) | 1 line
Remove NetSurf's bmpread.c and bmpread.h (replaced by libnsbmp)
........
r4423 | dynis | 2008-06-22 14:21:30 -0500 (Sun, 22 Jun 2008) | 1 line
Correct a silly mistake in nsbmp_bitmap_create
........
r4485 | dynis | 2008-07-01 04:13:48 -0500 (Tue, 01 Jul 2008) | 1 line
Integrated the latest versions of libnsgif and libnsbmp into NetSurf
........
r4486 | dynis | 2008-07-01 05:27:10 -0500 (Tue, 01 Jul 2008) | 1 line
Altered bitmap functions to receive void pointers for proper utilisation of libnsgif and libnsbmp
........
svn path=/trunk/netsurf/; revision=5071
2008-08-12 03:49:34 +00:00
John Mark Bell
6aa30c0bb3
Add some ifdef.
...
Error checking
Finalise hubbub
svn path=/trunk/netsurf/; revision=5020
2008-08-11 08:22:37 +00:00
John Mark Bell
191d876e41
Merged revisions 4859-5013,5016-5018 via svnmerge from
...
svn://source.netsurf-browser.org/branches/takkaria/netsurf-hubbub
........
r4860 | takkaria | 2008-08-02 03:51:35 +0100 (Sat, 02 Aug 2008) | 2 lines
A really horribly rough first go at integrating hubbub with NetSurf. Segfaults, but I'm not sure what I've done wrong.
........
r4861 | jmb | 2008-08-02 05:01:19 +0100 (Sat, 02 Aug 2008) | 3 lines
Fix segfault caused by mismatched struct layout expectations.
Fix warnings, too.
........
r4862 | jmb | 2008-08-02 05:11:02 +0100 (Sat, 02 Aug 2008) | 2 lines
Destroy parser as soon as it's no longer needed, and flag this so that html_destroy doesn't cause things to trample all over the heap.
........
r4863 | takkaria | 2008-08-02 15:30:34 +0100 (Sat, 02 Aug 2008) | 2 lines
Remove deugging printf()s, add Aliases file, add script { display: none; } block.
........
r4868 | takkaria | 2008-08-02 22:14:55 +0100 (Sat, 02 Aug 2008) | 2 lines
Fix a segfault bug.
........
r4869 | takkaria | 2008-08-02 22:17:58 +0100 (Sat, 02 Aug 2008) | 2 lines
Add gtk/res/Aliases as a symlink to the one in !NS/Resources
........
r4870 | takkaria | 2008-08-02 22:26:31 +0100 (Sat, 02 Aug 2008) | 2 lines
Fix symlink.
........
r4885 | jmb | 2008-08-03 23:26:54 +0100 (Sun, 03 Aug 2008) | 2 lines
Make multiple parallel parser instances work correctly.
........
r4886 | tlsa | 2008-08-04 00:21:29 +0100 (Mon, 04 Aug 2008) | 1 line
Don't display contents of STYLE.
........
r4891 | jmb | 2008-08-04 01:18:07 +0100 (Mon, 04 Aug 2008) | 5 lines
Fix reparent_children to actually work
Make get_parent_node pay attention to the element_only flag
Fixup node referencing when appending a text child
Make clone_node clone attributes and namespace information in the non-deep case
........
r4918 | jmb | 2008-08-05 15:27:03 +0100 (Tue, 05 Aug 2008) | 2 lines
Fix debug target
........
r4944 | takkaria | 2008-08-07 12:56:50 +0100 (Thu, 07 Aug 2008) | 2 lines
Use talloc to allocate space for Hubbub.
........
r4993 | takkaria | 2008-08-10 17:49:47 +0100 (Sun, 10 Aug 2008) | 2 lines
Stub out the encoding change callback so NS-hubbub compiles again.
........
r4994 | takkaria | 2008-08-10 18:02:33 +0100 (Sun, 10 Aug 2008) | 2 lines
Tell Hubbub the encoding that HTTP gives us, if we have one.
........
r5001 | takkaria | 2008-08-11 02:53:24 +0100 (Mon, 11 Aug 2008) | 2 lines
First go at implementing proper <meta charset> support in NetSurf, amongst some refactoring. Probably works, but I have no pages around to test it on.
........
r5002 | takkaria | 2008-08-11 02:56:35 +0100 (Mon, 11 Aug 2008) | 2 lines
Fix (I hope) a 64-bit compiler warning.
........
r5012 | takkaria | 2008-08-11 08:40:28 +0100 (Mon, 11 Aug 2008) | 2 lines
Fix some nits from jmb. (Remove const from html->encoding, set encoding_source to something about right.)
........
r5013 | takkaria | 2008-08-11 08:48:50 +0100 (Mon, 11 Aug 2008) | 2 lines
Properly fix <meta charset> handling, by passing in the right thing as the context. No idea how this worked before. :) (credit: jmb)
........
r5017 | jmb | 2008-08-11 09:13:22 +0100 (Mon, 11 Aug 2008) | 7 lines
Pedantic typo fix.
Make Hubbub YES when building for RISC OS.
Make Hubbub AUTO when building for GTK
Ignore the presence of Hubbub on other platforms.
Remove the explicit libparserutils pkg-config stuff from the makefile (see r5016)
Add some logic that means Hubbub gets enabled correctly when building on RISC OS and when cross-compiling for it. (This is ugly and will go away when pkg-config is available on RO)
........
svn path=/trunk/netsurf/; revision=5019
2008-08-11 08:17:48 +00:00