Commit Graph

5174 Commits

Author SHA1 Message Date
Michael Drake
786442f5b2 Use human friendly size, which fixes RISC OS directory listings.
svn path=/trunk/netsurf/; revision=10634
2010-07-14 09:30:40 +00:00
Chris Young
c4600695c5 Fix first time installs in novice mode so the files end up in a directory rather than
the root of whichever volume Installer decided to pick.

svn path=/trunk/netsurf/; revision=10633
2010-07-13 23:07:38 +00:00
Chris Young
12df55d095 Move directory text into type column
svn path=/trunk/netsurf/; revision=10632
2010-07-13 22:32:03 +00:00
Chris Young
1b49494d6e Improved directory browser
svn path=/trunk/netsurf/; revision=10631
2010-07-13 19:44:51 +00:00
Chris Young
82af25f4e2 Remove desbug
svn path=/trunk/netsurf/; revision=10630
2010-07-11 20:48:06 +00:00
Chris Young
d4c519cc05 Amiga file: URIs now translate the : in device names to / (and back), which conforms
better to the spec (: will still work for compatibility, but may have problems).  This
fixes a problem with directory browsing.
Directory parent link now uses the full parent path returned by url_parent instead of
one relative to the current directory.

svn path=/trunk/netsurf/; revision=10629
2010-07-11 20:42:06 +00:00
Chris Young
1c48e85ce9 Add commands BACK, FORWARD, HOME and RELOAD to correspond with the buttons on the GUI.
svn path=/trunk/netsurf/; revision=10628
2010-07-11 15:34:35 +00:00
Chris Young
f6f1fe1cee Allow browsing directories. Clicking through from the root of a volume doesn't work
(needs some url_to_path translation magic or an #ifdef'd patch in render/directory.c)
and the [..] parent link always points to "file:///" for some reason, but other than
that it works.

svn path=/trunk/netsurf/; revision=10627
2010-07-11 14:55:12 +00:00
Chris Young
d5577b64fa Missing types
svn path=/trunk/netsurf/; revision=10626
2010-07-11 11:07:48 +00:00
Chris Young
693094ced4 Correct executable name. Apparently running the wrong executable makes it difficult
to spot glaringly obvious bugs :)

svn path=/trunk/netsurf/; revision=10625
2010-07-10 10:46:56 +00:00
Michael Drake
513793a060 Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
John Mark Bell
e51ea4e0ee Document the bitmap format properly.
svn path=/trunk/netsurf/; revision=10623
2010-07-09 21:11:06 +00:00
Chris Young
1510bbd3ad Check the last character for a path separator, rather than the NULL string termination.
svn path=/trunk/netsurf/; revision=10622
2010-07-09 19:55:13 +00:00
Chris Young
d6eb28d5de Replace unnecessarily complicated path concatenation with something simpler and
easily adaptable to different platform path structures.

svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
Michael Drake
bffa2b64de Treat tiled images scaled to 1x1 as flat fills of the tiled area.
svn path=/trunk/netsurf/; revision=10616
2010-07-08 20:38:48 +00:00
Michael Drake
1fb697782a Stop redrawing zero size images.
svn path=/trunk/netsurf/; revision=10614
2010-07-08 19:53:53 +00:00
Michael Drake
c77552d9f8 Bring throbber off screen edge by spacing_width.
svn path=/trunk/netsurf/; revision=10607
2010-07-07 18:20:43 +00:00
Michael Drake
2204f9da16 More useful optimisation for 1x1 tiled image plots.
svn path=/trunk/netsurf/; revision=10606
2010-07-07 18:12:07 +00:00
John Mark Bell
5bebf2f2fc Merge branches/vince/netsurf-fbtk-rework to trunk.
svn path=/trunk/netsurf/; revision=10605
2010-07-07 18:08:17 +00:00
Michael Drake
f6faa20a37 In switch statements add default branch for unknown enum values, with assert.
svn path=/trunk/netsurf/; revision=10603
2010-07-06 21:09:20 +00:00
Michael Drake
e08255f3ee Remove dead code.
svn path=/trunk/netsurf/; revision=10602
2010-07-06 20:29:16 +00:00
Michael Drake
71644097be Remove dead assignements and add assert to check table cells aren't set to span no columns at layout time (Note: colspan=0 is treated as colspan=1 by box normalisation. It should probably be handled in table_calculate_columns_types() properly. Either way, there shouldn't be colspans of 0 by the time we get to layout.)
svn path=/trunk/netsurf/; revision=10601
2010-07-06 20:23:07 +00:00
John Mark Bell
2d4222def8 Fix gtk compat layer to not segfault on old versions of GTK.
svn path=/trunk/netsurf/; revision=10593
2010-07-03 23:44:20 +00:00
John Mark Bell
89683af529 Only invoke callback when we successfully converted CSS data.
svn path=/trunk/netsurf/; revision=10592
2010-07-01 19:42:02 +00:00
John Mark Bell
9b635053e3 Correct freetype header acquisition
svn path=/trunk/netsurf/; revision=10591
2010-06-30 20:09:33 +00:00
John Mark Bell
6867be128c Pedantic whitespace change
svn path=/trunk/netsurf/; revision=10590
2010-06-30 20:08:59 +00:00
Vincent Sanders
4b329697f7 move url database test to test directory
svn path=/trunk/netsurf/; revision=10589
2010-06-29 07:20:12 +00:00
John Mark Bell
a327c4e624 Avoid potential use of NULL pointer.
svn path=/trunk/netsurf/; revision=10588
2010-06-29 06:05:54 +00:00
John Mark Bell
6ab058fb46 Make test compile
svn path=/trunk/netsurf/; revision=10587
2010-06-29 06:05:29 +00:00
Vincent Sanders
bd6c884020 Fix up confusing formatting
svn path=/trunk/netsurf/; revision=10586
2010-06-28 11:31:51 +00:00
John Mark Bell
73d73eee27 Deal with API modification in modern libpng.
svn path=/trunk/netsurf/; revision=10585
2010-06-27 21:52:52 +00:00
John Mark Bell
05c035d7aa Remove bogus assertion
svn path=/trunk/netsurf/; revision=10584
2010-06-27 16:44:48 +00:00
John Mark Bell
5e990dfb78 Fix assertion when table borders are specified in em/ex units.
svn path=/trunk/netsurf/; revision=10583
2010-06-27 13:11:31 +00:00
Chris Young
656784f863 Force internal iconv for Amiga build, as libiconv causing odd problems despite working
well through libparserutils

svn path=/trunk/netsurf/; revision=10582
2010-06-27 12:23:34 +00:00
Chris Young
d36758ad97 Fix some types
If "easy" charset conversion fails, return a copy of the original string.

svn path=/trunk/netsurf/; revision=10580
2010-06-26 16:26:05 +00:00
Michael Drake
cd8e367ce4 Add type to name mapping for PDF.
svn path=/trunk/netsurf/; revision=10579
2010-06-21 19:47:32 +00:00
John Mark Bell
7cda4fa7bc Amiga host support for framebuffer target (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=10578
2010-06-21 07:26:06 +00:00
Chris Young
bd442e3750 Much better conversion of the standard NetSurf icon, courtesy of Marko K. Seppänen
svn path=/trunk/netsurf/; revision=10575
2010-06-16 18:40:14 +00:00
John Mark Bell
cd3f5bbf4b Fix compilation on OpenBSD (credit: Anthony Bentley)
svn path=/trunk/netsurf/; revision=10572
2010-06-13 10:58:13 +00:00
Michael Drake
0642cdafc2 Fix mouse.h file description. Add iframe comment.
svn path=/trunk/netsurf/; revision=10571
2010-06-09 09:53:07 +00:00
Chris Young
9bc784e8d7 More calculation fixes
svn path=/trunk/netsurf/; revision=10567
2010-06-06 18:50:48 +00:00
Chris Young
915cc68201 Fix OS4 non-Cairo build
svn path=/trunk/netsurf/; revision=10565
2010-06-06 13:52:35 +00:00
Chris Young
13a4a1633c Remove scroll positions from ami_do_redraw_limits, fix positional calcs in
gui_window_set_scroll

svn path=/trunk/netsurf/; revision=10564
2010-06-05 10:37:02 +00:00
Chris Young
5753d59505 When redrawing part of a page, draw with respect to the position NetSurf believes the
scrollbars are in, rather than where they actually are.  This resolves an issue with
graphical corruption and animations, when using the scrollbars to scroll the page (the
anim redraw was happening before the event to say the scrollbar had moved was being
received)

svn path=/trunk/netsurf/; revision=10563
2010-06-05 09:59:38 +00:00
Michael Drake
6c59c80ed5 s/int/size_t/
svn path=/trunk/netsurf/; revision=10562
2010-06-04 09:39:30 +00:00
Michael Drake
b010a25771 + Refactor input handling from browser window code into content
handlers.
+ Disentangle all box tree manipulation from browser window
  code and put it where it belongs.
+ Move other content specific and other irrelevant code from
  browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
  used by browser window code, and it is used by treeview
  windows on the treeview branch.

svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Michael Drake
bc9fef0a1a Add iframe comment.
svn path=/trunk/netsurf/; revision=10559
2010-06-03 15:15:31 +00:00
Chris Young
c2e7c66ea3 Activate browser window after search, otherwise it doesn't get IntuiTicks events so
won't scroll to the search term.

svn path=/trunk/netsurf/; revision=10552
2010-05-16 16:04:40 +00:00
Chris Young
f55c11dbd6 Amiga font code revamped and fixed. Will now fall back to a different font if the
character isn't present in the current one, this needs a complete or near-complete
Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected
by NetSurf on startup if none is configured.  Japanese websites now display correctly,
along with Japanese characters within Google UK search results etc.

svn path=/trunk/netsurf/; revision=10551
2010-05-06 10:02:58 +00:00
Vincent Sanders
0807b40513 rationalise callback routines to use a unified interface
svn path=/trunk/netsurf/; revision=10550
2010-05-04 22:41:58 +00:00