summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* Apply contributions from Mark Benjamin and Chris Tarnowski, with some ↵Rob Kendrick2009-04-202-2/+1
| | | | | | reworking from me. Beware; glade nastyness ahead. svn path=/trunk/netsurf/; revision=7136
* Possibly fix links opened in current window not being scrolled to top.Michael Drake2009-04-081-1/+2
| | | | svn path=/trunk/netsurf/; revision=7065
* Revert r6973. Apparently, it causes loads of problems.John Mark Bell2009-04-054-74/+31
| | | | svn path=/trunk/netsurf/; revision=7047
* Add some incomplete documentation for path plotter. Better documentation of ↵Michael Drake2009-03-311-5/+9
| | | | | | rectangle and fill plotters.plotters.h svn path=/trunk/netsurf/; revision=7016
* Use tabs for indentation.Michael Drake2009-03-311-23/+23
| | | | svn path=/trunk/netsurf/; revision=7008
* Tidy browser_window_refresh_url_bar a bit, ensure the sizes all make sense, ↵Daniel Silverstone2009-03-311-18/+23
| | | | | | that we don't allocate unnecessarily, etc. svn path=/trunk/netsurf/; revision=7007
* Use fragment instead of #fragment in the comment because it does not include ↵Michael Drake2009-03-311-2/+2
| | | | | | the #. svn path=/trunk/netsurf/; revision=7006
* Comment browser_window_refresh_url_bar() and fix some wrap.Michael Drake2009-03-311-22/+40
| | | | svn path=/trunk/netsurf/; revision=7005
* Ensure buffer is big enough for the extra character.Chris Young2009-03-311-1/+1
| | | | svn path=/trunk/netsurf/; revision=7003
* Stop URL bar losing characters on every refreshChris Young2009-03-301-4/+4
| | | | svn path=/trunk/netsurf/; revision=7001
* Change URL bar contents when switching tabs in GTK frontend.John Mark Bell2009-03-302-19/+38
| | | | | | | | Remove fixed-size buffer from core URL string handling. Credit: Mark Benjamin. svn path=/trunk/netsurf/; revision=6998
* Use <> for library headers.John Mark Bell2009-03-273-4/+7
| | | | svn path=/trunk/netsurf/; revision=6919
* Add functions for checking if back/forward/stop/reload actions are currently ↵Michael Drake2009-03-232-5/+64
| | | | | | available for a given browser window. svn path=/trunk/netsurf/; revision=6827
* Remember the scroll position in the history, so that it's maintained when ↵John Mark Bell2009-03-174-37/+83
| | | | | | going back. (credit: Paweł Blokus) svn path=/trunk/netsurf/; revision=6793
* Improve previous commit.John Mark Bell2009-03-101-4/+1
| | | | svn path=/trunk/netsurf/; revision=6752
* Treat short meta refreshes in top-level browser windows as if they were HTTP ↵John Mark Bell2009-03-101-2/+17
| | | | | | redirects for the purposes of verifiability. svn path=/trunk/netsurf/; revision=6751
* Add ability to render part of a local history window.Chris Young2009-03-082-16/+56
| | | | | | | | | | 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
* OpenBSD 4.4 compilation fixes. Does not deal with lack of -Wextra or ↵Rob Kendrick2009-03-021-1/+2
| | | | | | -Wstrict-aliasing for lpu or hubbub. svn path=/trunk/netsurf/; revision=6673
* Fix cursor on textarea scrollbars.Michael Drake2009-03-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=6664
* Only attempt to find the next character in a string if we're not already at ↵John Mark Bell2009-02-221-5/+7
| | | | | | the end of the string. svn path=/trunk/netsurf/; revision=6606
* Purge WITH_AUTHJohn Mark Bell2009-02-222-7/+0
| | | | svn path=/trunk/netsurf/; revision=6600
* Purge NETSURF_USE_SSL and WITH_SSLJohn Mark Bell2009-02-222-6/+0
| | | | svn path=/trunk/netsurf/; revision=6599
* More plotters commenting. Text and bitmap plotters.Michael Drake2009-02-211-4/+17
| | | | svn path=/trunk/netsurf/; revision=6594
* Fix button hover assert.Michael Drake2009-02-201-1/+2
| | | | svn path=/trunk/netsurf/; revision=6585
* Fix imagemap cursors.Michael Drake2009-02-201-9/+16
| | | | svn path=/trunk/netsurf/; revision=6584
* Fix handling of URLs on float boxes (which have no style).Michael Drake2009-02-201-2/+8
| | | | svn path=/trunk/netsurf/; revision=6574
* Utilise hubbub's form association callback.John Mark Bell2009-02-201-0/+3
| | | | | | | | 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
* Implement 'auto' value for CSS cursor property.Michael Drake2009-02-181-21/+54
| | | | | | Allow cursor type to be user set for links and form stuff. svn path=/trunk/netsurf/; revision=6564
* Destroy bitmap if thumbnailing fails.John Mark Bell2009-02-181-1/+5
| | | | | | Make amiga port's thumbnail_create() actually return something svn path=/trunk/netsurf/; revision=6560
* Divorce PDF export and printing.John Mark Bell2009-02-174-76/+79
| | | | | | At some point, the RISC OS printing code should be ported to the core page-based output engine. svn path=/trunk/netsurf/; revision=6544
* make schedule_run return if it has active jobs to scheduleVincent Sanders2009-02-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=6447
* Obvious fix for text start/end problem; missing something?Adrian Lees2009-02-081-11/+11
| | | | svn path=/trunk/netsurf/; revision=6396
* Ensure hotlist URLs are normalised before using them.John Mark Bell2009-02-061-8/+42
| | | | | | Squash a bunch of memory leaks. svn path=/trunk/netsurf/; revision=6370
* pdf_plot_fill(): fixed wrong change made in r6363.John Tytgat2009-02-061-1/+1
| | | | svn path=/trunk/netsurf/; revision=6368
* - desktop/save_pdf/pdf_plotters.c:John Tytgat2009-02-054-190/+335
| | | | | | | | | | | | | | | | | | | - 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
* - Constify parameters of struct plotter_table::polygon and struct ↵John Tytgat2009-02-033-55/+53
| | | | | | | | | | | 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
* - apply_clip_and_mode(): pass text mode selection as parameter instead of ↵John Tytgat2009-02-021-37/+41
| | | | | | | | 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
* Unexport pdf_scale variable (use pdf_set_scale to set it) and initialize it ↵John Tytgat2009-02-022-8/+4
| | | | | | to DEFAULT_EXPORT_SCALE. svn path=/trunk/netsurf/; revision=6350
* Selection menu and save/download tweaksAdrian Lees2009-02-022-1/+17
| | | | svn path=/trunk/netsurf/; revision=6349
* Hook in our own libharu copy in the build.John Tytgat2009-02-011-1/+1
| | | | svn path=/trunk/netsurf/; revision=6343
* Next batch of menu changes; clarify some key pressesAdrian Lees2009-02-012-16/+30
| | | | svn path=/trunk/netsurf/; revision=6327
* And these files too, pleaseAdrian Lees2009-01-303-11/+26
| | | | svn path=/trunk/netsurf/; revision=6297
* Improve pasting into password boxesAdrian Lees2008-12-301-14/+26
| | | | svn path=/trunk/netsurf/; revision=5946
* Move tab opening logic to same place as new window opening. Make option for ↵Michael Drake2008-11-293-70/+119
| | | | | | "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
* Had to split main() into parts to have netsurf_init() called from one ↵François Revel2008-10-162-5/+18
| | | | | | thread, and the loop in another to avoid a deadlock in replicants... hope nobody minds. svn path=/trunk/netsurf/; revision=5586
* Have netsurf_main() do the real work and main() call it. This allows ports ↵François Revel2008-10-162-1/+16
| | | | | | | | 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
* r4153 was mostly right. It does help, however, if you actually force the ↵John Mark Bell2008-10-131-0/+2
| | | | | | 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
* Fix selection in plain text files, check if s->defined first, and check ↵François Revel2008-10-111-1/+1
| | | | | | s->root just in case. svn path=/trunk/netsurf/; revision=5537
* Comment flush plotter.Michael Drake2008-10-051-1/+2
| | | | svn path=/trunk/netsurf/; revision=5488
* * desktop/save_pdf/pdf_plotters.c:John Tytgat2008-09-282-56/+46
| | | | | | | | | | | | - 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