Commit Graph

6365 Commits

Author SHA1 Message Date
Vincent Sanders
8be1e85e91 consolidate content redraw
more cleanups ready for image content refactor

svn path=/trunk/netsurf/; revision=12317
2011-05-08 19:54:35 +00:00
Michael Drake
8f6c343309 Simplify status bar text.
svn path=/trunk/netsurf/; revision=12313
2011-05-08 19:11:34 +00:00
François Revel
29623da1ba Fix typo.
svn path=/trunk/netsurf/; revision=12312
2011-05-08 17:37:11 +00:00
Vincent Sanders
658cd31311 clean up jpeg image handling ready for refactor
svn path=/trunk/netsurf/; revision=12311
2011-05-08 15:14:21 +00:00
Chris Young
f277c59c9a missing copy
svn path=/trunk/netsurf/; revision=12310
2011-05-08 09:56:08 +00:00
Chris Young
0fe71fd58a Sticky menus shouldn't be default as they are non-standard
svn path=/trunk/netsurf/; revision=12309
2011-05-08 09:47:03 +00:00
François Revel
d5e27b2850 Remove debug output.
svn path=/trunk/netsurf/; revision=12308
2011-05-08 01:18:43 +00:00
François Revel
4ebb145a7d Automatically build an rdef file importing the resources listed as dependencies for BeOS.
svn path=/trunk/netsurf/; revision=12306
2011-05-08 01:03:44 +00:00
Vincent Sanders
f2e8be9fe7 Cleanup png code
only use the bitmap pointer in the png content the one in teh base content seems extraneous for png.

svn path=/trunk/netsurf/; revision=12304
2011-05-07 23:35:57 +00:00
Chris Young
489c35c5f7 Simple initialisation splash screen
svn path=/trunk/netsurf/; revision=12303
2011-05-07 22:21:41 +00:00
François Revel
20ae506d25 Add the icons to the BeOS resources.
svn path=/trunk/netsurf/; revision=12301
2011-05-07 22:03:17 +00:00
François Revel
dd43363d57 Add internal.css to OSX resources. This fixes the dirlist display.
svn path=/trunk/netsurf/; revision=12297
2011-05-07 18:37:07 +00:00
François Revel
e679fc7bf5 Fix BeOS build after the content_factory merge.
svn path=/trunk/netsurf/; revision=12290
2011-05-07 17:17:54 +00:00
Chris Young
27d4350054 Register additional MIME types for DataTypes
Default file contains all image MIME Types NetSurf is capable of handling natively
(plus JPEG2000) to ensure disabling features in NetSurf won't lose support.


svn path=/trunk/netsurf/; revision=12287
2011-05-07 11:09:23 +00:00
François Revel
0cc1dade3c When passed WITH_MACPORTS to make, add /opt/local/{include,lib} to the search paths for Cocoa builds.
svn path=/trunk/netsurf/; revision=12286
2011-05-06 23:58:58 +00:00
François Revel
6b0982c2e3 Partial Cocoa build fix: missing definition of NOF_ELEMENTS.
svn path=/trunk/netsurf/; revision=12285
2011-05-06 23:37:38 +00:00
Chris Young
208363fe2a Rename DataTypes related code/files/defines to avoid confusion and aid adding support
for other DataType classes.
Disable MNG/WebP by default as they aren't common and the required libs are quite
large; DataTypes can handle these formats for now.

svn path=/trunk/netsurf/; revision=12284
2011-05-06 22:42:37 +00:00
John Mark Bell
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Chris Young
e77b1a2955 Allow the user to set screen resolution in DPI in preferences
svn path=/trunk/netsurf/; revision=12269
2011-05-02 16:18:00 +00:00
Chris Young
da20605385 Correct width of the em-square for non-72dpi settings
Fix warnings

svn path=/trunk/netsurf/; revision=12268
2011-05-02 10:33:16 +00:00
Chris Young
08dcfc0c44 Every five minutes, close any fonts not used in the last five minutes
svn path=/trunk/netsurf/; revision=12267
2011-05-01 11:59:08 +00:00
Chris Young
37854d1575 Better logging
svn path=/trunk/netsurf/; revision=12266
2011-05-01 08:53:51 +00:00
Chris Young
56482725b6 If a designed font is defined but not available, error out
svn path=/trunk/netsurf/; revision=12265
2011-05-01 08:49:00 +00:00
Chris Young
11a0284427 Don't open fonts until they are needed
svn path=/trunk/netsurf/; revision=12264
2011-04-30 19:05:11 +00:00
Chris Young
003f3537c6 Ensure selection drags to NetSurf text boxes are always UTF-8
svn path=/trunk/netsurf/; revision=12263
2011-04-30 11:21:14 +00:00
Chris Young
9f9436bf40 Ensure drags to string gadgets are in local charset
svn path=/trunk/netsurf/; revision=12262
2011-04-30 11:11:34 +00:00
Chris Young
ebd0145eaf Convert _from_ UTF-8 and translate the converted string, not the original
svn path=/trunk/netsurf/; revision=12261
2011-04-30 11:05:47 +00:00
Chris Young
7fd6597468 Avoid crash if conversion to local charset fails.
Attempt to convert nbsp to normal spaces when converting to local charset for
clipboard

svn path=/trunk/netsurf/; revision=12260
2011-04-30 10:54:02 +00:00
Chris Young
1518543c22 Fix DSI when drag saving
Allow selection drags to URL and search gadgets

svn path=/trunk/netsurf/; revision=12259
2011-04-29 18:15:20 +00:00
Michael Drake
1304964f92 Reduce number of page reflows and viewport
redraws as images are fetched:
+ Flag known-sized boxes generated by images.
+ Treat them as replaced all through layout.
+ Only reflow the document for fetched images
  if we don't already have the box at the
  right size.

svn path=/trunk/netsurf/; revision=12243
2011-04-27 13:50:49 +00:00
François Revel
d0e7a5ecac Skip command line arguments starting with - (including the annoying -psn_0_... one when launched from Finder).
svn path=/trunk/netsurf/; revision=12242
2011-04-26 22:40:17 +00:00
François Revel
06f80d731f Accept urls as arguments to the OSX binary and open them in different windows.
svn path=/trunk/netsurf/; revision=12240
2011-04-26 15:38:28 +00:00
Michael Drake
769011911c Optimise first pass of layout. Reduces number of nsfont_width calls by up to the page's word count.
svn path=/trunk/netsurf/; revision=12239
2011-04-26 15:03:44 +00:00
Chris Young
ae851630ec Documentation update: softstyles
svn path=/trunk/netsurf/; revision=12238
2011-04-25 17:45:32 +00:00
Chris Young
06213b4dd2 Make Y DPI a configurable option. Default is 72 (AmigaOS standard)
svn path=/trunk/netsurf/; revision=12237
2011-04-25 17:43:22 +00:00
Ole Loots
45778bbb36 Improved path conversion for DOS Filesystems.
svn path=/trunk/netsurf/; revision=12236
2011-04-23 20:09:24 +00:00
Michael Drake
8d2bb4bd3a Change how blocks are positioned vertically (esp. margin handling).
svn path=/trunk/netsurf/; revision=12235
2011-04-22 21:57:18 +00:00
François Revel
9fef803d1a Even less debug output.
svn path=/trunk/netsurf/; revision=12234
2011-04-22 17:59:00 +00:00
Chris Young
be16cd70c5 Fix treeview display
svn path=/trunk/netsurf/; revision=12233
2011-04-22 17:17:05 +00:00
Chris Young
93d4939787 Logically, this ratio should be x/y not y/x
svn path=/trunk/netsurf/; revision=12232
2011-04-22 17:00:27 +00:00
Chris Young
0a24f4dbca Aspect-corrected font DPI (files missing from previous commit)
svn path=/trunk/netsurf/; revision=12231
2011-04-22 16:54:11 +00:00
Chris Young
1bc9a86109 Aspect-corrected font DPI. Needs testing on a mode with non-square pixels and on a
widescreen monitor.

svn path=/trunk/netsurf/; revision=12230
2011-04-22 16:48:29 +00:00
Chris Young
83914b9c3e Set font DPI from nscss_screen_dpi to ensure it is always in sync
Reset font DPI when opening screens to allow us to correct for aspect ratio in the
future

svn path=/trunk/netsurf/; revision=12229
2011-04-22 16:06:46 +00:00
Chris Young
b14edfdd5a Also add softstyle for italics
Move the values into defines at the top of the file to make them easier to change

svn path=/trunk/netsurf/; revision=12228
2011-04-22 15:30:16 +00:00
Chris Young
ed5d8d0dba Use bold softstyle when no designed bold font is defined
svn path=/trunk/netsurf/; revision=12225
2011-04-22 14:53:56 +00:00
John Mark Bell
b5f94b26dc Apply same hack for :before as for :after
svn path=/trunk/netsurf/; revision=12224
2011-04-22 14:48:54 +00:00
Chris Young
c737dbd5f8 Use PROGDIR: instead of current dir when setting the path to the executable for
AmiUpdate

svn path=/trunk/netsurf/; revision=12223
2011-04-22 13:55:25 +00:00
François Revel
c64bd92922 Tone down debug output a bit.
svn path=/trunk/netsurf/; revision=12222
2011-04-22 10:58:28 +00:00
Ole Loots
9785c6ff3d Simpliefied scheduler timeout.
svn path=/trunk/netsurf/; revision=12221
2011-04-22 10:42:53 +00:00
Ole Loots
8d5091fab7 Added option for knockout rendering.
svn path=/trunk/netsurf/; revision=12220
2011-04-22 10:42:04 +00:00