Commit Graph

6318 Commits

Author SHA1 Message Date
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
Michael Drake 2fbce3df3f Wrap fix.
svn path=/trunk/netsurf/; revision=12338
2011-05-09 10:05:10 +00:00
Michael Drake 046d615a5d Add a quick search icon for mmu_man.
svn path=/trunk/netsurf/; revision=12337
2011-05-09 09:59:32 +00:00
Michael Drake 2ec96e508c Put RISC OS filetype content handlers in their own directory.
svn path=/trunk/netsurf/; revision=12336
2011-05-09 09:57:40 +00:00
Michael Drake 044018739b Fix Drawfile content handler build.
svn path=/trunk/netsurf/; revision=12335
2011-05-09 08:48:49 +00:00
Michael Drake 05945ebf1d Fix Artworks content handler build.
svn path=/trunk/netsurf/; revision=12334
2011-05-09 08:46:12 +00:00
Michael Drake 37b389e699 Untested fix and tile implementation for Sprite.
svn path=/trunk/netsurf/; revision=12333
2011-05-09 08:42:49 +00:00
Michael Drake 2d6c0e99ec Fix for new content_redraw API.
svn path=/trunk/netsurf/; revision=12332
2011-05-09 08:38:56 +00:00
Michael Drake e24fa186bb Fix for new content redraw API.
svn path=/trunk/netsurf/; revision=12331
2011-05-09 08:31:45 +00:00
Michael Drake 962fe1849c Fix for new content redraw API.
svn path=/trunk/netsurf/; revision=12330
2011-05-09 08:28:56 +00:00
Michael Drake 901ef07a95 Untested fix and tile implementation for nssprite.
svn path=/trunk/netsurf/; revision=12329
2011-05-09 08:23:01 +00:00
Michael Drake 41d2df4f5c Untested fix and tile implementation for webp.
svn path=/trunk/netsurf/; revision=12328
2011-05-09 08:15:38 +00:00
Michael Drake 8bb723a746 Fix MNG content handler.
svn path=/trunk/netsurf/; revision=12327
2011-05-09 08:11:06 +00:00
Michael Drake 94bcee728b Fix declaration too.
svn path=/trunk/netsurf/; revision=12326
2011-05-09 08:10:27 +00:00
Michael Drake 8a74107c36 Fix image/svg.c build.
svn path=/trunk/netsurf/; revision=12325
2011-05-09 08:03:36 +00:00