Commit Graph

6498 Commits

Author SHA1 Message Date
Sven Weidauer 3cae7a7d86 Handling animations in apple_image.m. Loop counts are ignored for now
svn path=/trunk/netsurf/; revision=12433
2011-05-19 13:18:01 +00:00
Sven Weidauer 658959bc88 Reverting r12367, cannot get incremental image loading to work correctly.
svn path=/trunk/netsurf/; revision=12432
2011-05-19 13:17:58 +00:00
Sven Weidauer 830da3a915 Fixing warning about unused result of expression.
svn path=/trunk/netsurf/; revision=12431
2011-05-19 11:47:57 +00:00
Sven Weidauer 3d71976607 Replacing deprecated method createDirectoryAtPath:attributes: with non-deprecated version createDirectoryAtPath:withIntermediateDirectories:attributes:error:
svn path=/trunk/netsurf/; revision=12430
2011-05-19 11:47:53 +00:00
Sven Weidauer eb0570f39d Adding quarantine attributes to downloaded files.
svn path=/trunk/netsurf/; revision=12429
2011-05-19 07:27:21 +00:00
Michael Drake ae46764ec4 Remove box_applet.
svn path=/trunk/netsurf/; revision=12427
2011-05-18 16:01:02 +00:00
François Revel 6dbb38cac9 Italian OSX localized strings, contributed by Samir Hawamdeh.
svn path=/trunk/netsurf/; revision=12426
2011-05-17 20:06:38 +00:00
Michael Drake 4db9dbe744 Purge unused variable.
svn path=/trunk/netsurf/; revision=12425
2011-05-17 09:05:49 +00:00
Vincent Sanders c7e943c7d2 check for dereference of teh right value
svn path=/trunk/netsurf/; revision=12424
2011-05-17 07:28:15 +00:00
John Mark Bell 3bcbde2503 Add some parentheses
svn path=/trunk/netsurf/; revision=12423
2011-05-16 22:30:27 +00:00
John Mark Bell b8fd68db1b If you ask for a new tab, clone must be non-NULL
svn path=/trunk/netsurf/; revision=12422
2011-05-16 22:11:18 +00:00
John Mark Bell 21f01af35a Avoid dereferencing NULL
svn path=/trunk/netsurf/; revision=12421
2011-05-16 22:09:26 +00:00
John Mark Bell 54f6b3bffc Handle case where configured curl handle cache limit is 0
svn path=/trunk/netsurf/; revision=12420
2011-05-16 22:05:47 +00:00
John Mark Bell 1b8ff87c23 Squash static analyser warning
svn path=/trunk/netsurf/; revision=12419
2011-05-16 21:49:21 +00:00
John Mark Bell da7c3c10bc Implement todo
svn path=/trunk/netsurf/; revision=12418
2011-05-16 21:47:36 +00:00
John Mark Bell a7c2dff805 Lose dead code
svn path=/trunk/netsurf/; revision=12417
2011-05-16 21:44:31 +00:00
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