Commit Graph

834 Commits

Author SHA1 Message Date
Chris Young
ca8d2c9feb update variable names
svn path=/trunk/netsurf/; revision=12382
2011-05-11 18:34:43 +00:00
Chris Young
45be35677c Allow users to register external applications for plugin contents, and run from
context menu

svn path=/trunk/netsurf/; revision=12381
2011-05-11 18:33:31 +00:00
Chris Young
255c858c43 Restrict Object context submenu to CONTENT_IMAGE
svn path=/trunk/netsurf/; revision=12377
2011-05-10 23:10:53 +00:00
Chris Young
8def2d6932 fix copy/paste error
svn path=/trunk/netsurf/; revision=12376
2011-05-10 22:09:32 +00:00
Chris Young
38bcb14d77 Migrate to new MIMEtyper
svn path=/trunk/netsurf/; revision=12375
2011-05-10 19:32:21 +00:00
Chris Young
2b19c144da Add function to convert MIME types to DefIcons types, and make ami_mime_compare use it
svn path=/trunk/netsurf/; revision=12371
2011-05-10 17:05:31 +00:00
Chris Young
5c95b32756 Fix crashing
svn path=/trunk/netsurf/; revision=12362
2011-05-09 22:39:30 +00:00
Chris Young
48be9f6939 Experimental/incomplete/non-functional content handlers (files required for NetSurf to
compile from trunk)

svn path=/trunk/netsurf/; revision=12361
2011-05-09 22:14:08 +00:00
Chris Young
1f1fe78c17 New style MIME typing; maps MIME types to DataTypes and DefIcon format names.
Currently only able to resolve DataTypes to MIME Types.

TODO:
- DT MIME type guessing needs mostly removing (only use if no matches in mimetypes
file)
- Migrate the rest of filetype.c to the new format (can filetype using icon.library
and reverse lookup MIME type, for example)
- Use to distinguish between CONTENT_IMAGE types
- Simplify so DefIcon type defaults to lowercase DataType name

svn path=/trunk/netsurf/; revision=12360
2011-05-09 22:11:18 +00:00
Vincent Sanders
83f9e707eb refactor content handler initilisation to use named initialisors
svn path=/trunk/netsurf/; revision=12341
2011-05-09 15:32:34 +00:00
Chris Young
034ac2e7f7 Beginnings of some more advanced mimetyping
svn path=/trunk/netsurf/; revision=12323
2011-05-08 22:59:48 +00:00
Chris Young
813c115cb5 Remove redraw_tiled
svn path=/trunk/netsurf/; revision=12322
2011-05-08 22:18:28 +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
Chris Young
489c35c5f7 Simple initialisation splash screen
svn path=/trunk/netsurf/; revision=12303
2011-05-07 22:21:41 +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
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
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
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
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
Chris Young
649e4bc1a0 Script to create a resources dir in the build tree, for running NetSurf from the build
tree or running makepackage (which assume a resources dir with the appropriate links
in place)

svn path=/trunk/netsurf/; revision=12175
2011-04-09 21:44:53 +00:00
Chris Young
af0583f8a7 Enable the ask overwrite checkbox so it can actually be changed, correct the gadget ID
so it works and swap clipboard and search bar options as it makes the interface look
neater

svn path=/trunk/netsurf/; revision=12139
2011-03-26 22:35:41 +00:00
Chris Young
f832eea7fa copy documentation
svn path=/trunk/netsurf/; revision=12137
2011-03-26 16:59:40 +00:00
Chris Young
757ad3cb02 Remove unused ColorMap to CLUT function
svn path=/trunk/netsurf/; revision=12136
2011-03-26 10:36:25 +00:00
Chris Young
14d6826685 Implement ask overwrite
svn path=/trunk/netsurf/; revision=12135
2011-03-26 10:33:58 +00:00
Chris Young
9d2699c6dd Remove "search from url bar" as it doesn't do anything.
Move clipboard group into vacated space

svn path=/trunk/netsurf/; revision=12132
2011-03-25 00:34:00 +00:00
Chris Young
1c3ff8db7c Fix crash when adding to hotlist
svn path=/trunk/netsurf/; revision=12129
2011-03-24 19:34:59 +00:00
Chris Young
63416f3332 Use webp.library instead of libwebp.so
svn path=/trunk/netsurf/; revision=12117
2011-03-21 19:46:04 +00:00
Chris Young
7ec2cc7f8e Update to use official libwebp 0.1
Remove libvpx references as no longer needed.

svn path=/trunk/netsurf/; revision=12115
2011-03-20 23:32:44 +00:00
Chris Young
dad9306e2a print caret at scroll position netsurf believes the page is at, rather than where the
gui says it is

svn path=/trunk/netsurf/; revision=12108
2011-03-19 22:40:02 +00:00
Chris Young
e8ca07b0dc Redraw the area under a caret when it is cleared, rather than relying on a potentially
out-of-date off-screen copy of what used to be there.

svn path=/trunk/netsurf/; revision=12107
2011-03-19 13:00:45 +00:00