Commit Graph

6332 Commits

Author SHA1 Message Date
John Mark Bell
35cd1a79f7 Squash static analyser warning
svn path=/trunk/netsurf/; revision=12416
2011-05-16 21:42:53 +00:00
John Mark Bell
b92ca9cd30 Clean up after content factory
svn path=/trunk/netsurf/; revision=12415
2011-05-16 21:16:44 +00:00
François Revel
955896ac46 Revert r12412, the doi: URI scheme hasn't been kept around it seems, even ACM doesn't use it. And kyllikki was jumping on his seat anyway... It's still in the svn history if needed. I have some stuff for view-source: and man: but I'm not use they would be appreciated either :-D
svn path=/trunk/netsurf/; revision=12414
2011-05-16 19:28:40 +00:00
Michael Drake
5e823ede7c Use height type enum.
svn path=/trunk/netsurf/; revision=12413
2011-05-16 10:29:34 +00:00
François Revel
d25e5568bb Add a redirecting fetcher for the doi: URI scheme. Not much used but just in case...
svn path=/trunk/netsurf/; revision=12412
2011-05-15 20:01:25 +00:00
Vincent Sanders
6c2977ec29 If you do not have xcode installed many critical mime mappings (like css and html) are missing so this adds rudimentry filename extension mappings so teh browser does not explode on non develoepr machines.
svn path=/trunk/netsurf/; revision=12411
2011-05-14 15:11:16 +00:00
Vincent Sanders
a7a2759ec9 Fix Segfault at start if ca resource bundle path cannot be found
svn path=/trunk/netsurf/; revision=12410
2011-05-14 15:09:19 +00:00
François Revel
069a501c4d Add an about:logo redirect to resource:netsurf.png.
svn path=/trunk/netsurf/; revision=12407
2011-05-14 00:17:25 +00:00
François Revel
eafcb685c4 Add netsurf.png to the OSX resources.
svn path=/trunk/netsurf/; revision=12406
2011-05-14 00:16:40 +00:00
François Revel
092c62f0e0 Add code to open the source file into Xcode. Currently called by the context menu because I didn't want to dig the .xib files, feel free to move it to the View main menu.
svn path=/trunk/netsurf/; revision=12387
2011-05-12 17:31:55 +00:00
John Mark Bell
6dfcd35580 Fix url node icons
svn path=/trunk/netsurf/; revision=12383
2011-05-11 19:29:48 +00:00
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
Michael Drake
df081a0888 Increase pointer drag range. Setting the clamps correctly seems to cause us not to get the movement event when we hit the clamp (at least on RISC OS).
svn path=/trunk/netsurf/; revision=12380
2011-05-11 10:36:15 +00:00
Michael Drake
297f1dfebb Restore clipping rectangle before rendering scrollbars. Fixes broken rendering due to interaction between text selection and scroll.
svn path=/trunk/netsurf/; revision=12379
2011-05-11 09:21:43 +00:00
Michael Drake
d41dcfa780 Fix content drags within scrollable areas. Various tidyups.
svn path=/trunk/netsurf/; revision=12378
2011-05-11 08:34:33 +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
Michael Drake
4f8995ae8d Rename scroll offset in scrollbar message data, although nothing seems to use that callback message.
svn path=/trunk/netsurf/; revision=12374
2011-05-10 17:39:23 +00:00
Michael Drake
f78252fc75 Move scrollbar widget API documentation to header.
svn path=/trunk/netsurf/; revision=12373
2011-05-10 17:30:46 +00:00
Michael Drake
dc9e685cde Scrollbar widget changes: Update functon parameters to have names that aren't wrong. Remove confusion and wrongness from API documentation. General source tidy.
svn path=/trunk/netsurf/; revision=12372
2011-05-10 17:17:03 +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
Sven Weidauer
27386a45ad Using the file name and size of an image as title.
svn path=/trunk/netsurf/; revision=12370
2011-05-10 16:11:54 +00:00
Sven Weidauer
b56cbd365b Stop keeping all lwc strings for mime types in apple_image.m
svn path=/trunk/netsurf/; revision=12369
2011-05-10 15:12:09 +00:00
Michael Drake
4d8201b8ca Continue improving comments. Fix bugs in scrollbar_set_extents. Rename things so their name matches what they are.
svn path=/trunk/netsurf/; revision=12368
2011-05-10 14:29:10 +00:00
Sven Weidauer
e23fdcae82 Incremental loading images using ImageIO
svn path=/trunk/netsurf/; revision=12367
2011-05-10 13:28:17 +00:00
Sven Weidauer
a2b1e4bcd0 Remove NSLog calls (unnecessary)
svn path=/trunk/netsurf/; revision=12366
2011-05-10 11:12:28 +00:00
Michael Drake
5bd37ecf2c Elements replaced with HTML don't affect parent descendants.
svn path=/trunk/netsurf/; revision=12365
2011-05-10 11:11:54 +00:00
Michael Drake
523e77e38d Fix box scrollbars to accurately represent ratio of visible area's length to full area's length, in the length of the scroll bar slider.
svn path=/trunk/netsurf/; revision=12364
2011-05-10 10:41:57 +00:00
Michael Drake
ac447fc293 s/scroll/scrollbar/ and improve scrollbar widget comments.
svn path=/trunk/netsurf/; revision=12363
2011-05-09 22:49:17 +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
Ole Loots
3276ce5db9 rearranged includes, seperate redraw request areas.
svn path=/trunk/netsurf/; revision=12359
2011-05-09 22:10:02 +00:00
Ole Loots
2f40a85b67 fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12358
2011-05-09 22:08:34 +00:00
Ole Loots
b046d77f3f fixed call parameters for vdi_clip.
svn path=/trunk/netsurf/; revision=12357
2011-05-09 20:46:44 +00:00
Chris Young
87430b985b Updated translation (credit: Samir Hawamdeh)
svn path=/trunk/netsurf/; revision=12356
2011-05-09 20:09:15 +00:00
François Revel
c4efa5593b Don't say "registering" when we actually skipped the type...
svn path=/trunk/netsurf/; revision=12355
2011-05-09 19:30:44 +00:00
François Revel
4f2e8aa2e5 Skip image/gif when registering Apple Image handlers, to give precedence to nsgif since it handles animated GIF.
svn path=/trunk/netsurf/; revision=12354
2011-05-09 19:26:31 +00:00
François Revel
1c753c0707 OSX: Always empty the Resources folder in the .app bundle when populating it, to avoid errors when copying .svn stuff over a 2nd time. Ideally those shouldn't be copied over anyway, but I didn't yet find an easy way to use tar the way I need.
svn path=/trunk/netsurf/; revision=12353
2011-05-09 18:39:42 +00:00
Michael Drake
3e62014f2f Pedantic whitespace changes.
svn path=/trunk/netsurf/; revision=12352
2011-05-09 18:22:10 +00:00
Michael Drake
b1e09e9b99 Remove forward declaration.
svn path=/trunk/netsurf/; revision=12351
2011-05-09 18:15:51 +00:00
Sven Weidauer
5e1a9bbfc0 Registering all image types NSBitmapImageRep can load and using ImageIO instead of other image libraries by default.
Regression: animated GIF doesn’t work anymore.

svn path=/trunk/netsurf/; revision=12350
2011-05-09 18:13:36 +00:00
Sven Weidauer
bf69743db9 Include correct header in schedule.m, fixes warning
svn path=/trunk/netsurf/; revision=12344
2011-05-09 16:43:28 +00:00
François Revel
6d180ce9b3 Use named initializers.
svn path=/trunk/netsurf/; revision=12343
2011-05-09 16:23:31 +00:00
François Revel
e7986379f0 Fix the apple_image handler to only have a redraw method that also does tiling.
svn path=/trunk/netsurf/; revision=12342
2011-05-09 16:19:16 +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
Michael Drake
0929aa897b Fix tiled redraw of SVGs.
svn path=/trunk/netsurf/; revision=12340
2011-05-09 13:02:22 +00:00
Michael Drake
cbc2a9470f Wrap macro.
svn path=/trunk/netsurf/; revision=12339
2011-05-09 12:17:55 +00:00