Commit Graph

3598 Commits

Author SHA1 Message Date
François Revel
6ce8d637d6 Fix multibyte character input.
svn path=/trunk/netsurf/; revision=5505
2008-10-08 00:08:48 +00:00
François Revel
493fb9ed87 Fix app signature for Haiku's StyledEdit.
svn path=/trunk/netsurf/; revision=5504
2008-10-07 01:36:11 +00:00
François Revel
21f541fdef Dereference symlinks on B_REFS_RECEIVED. This way dropping a symlink to an html file actually opens the target, and succeeds in finding its related files. One can still enter the path to the symlink itself in the url bar as file:// anyway.
svn path=/trunk/netsurf/; revision=5503
2008-10-07 00:42:14 +00:00
François Revel
6fd280ad2e - fix using undefined fd_sets in case active was false. Looks like I was too quick at copy-pasting gtk code. This should fix the busy-loop behaviour on Haiku.
- remove dead gtk code.

svn path=/trunk/netsurf/; revision=5502
2008-10-07 00:15:19 +00:00
François Revel
2ab25ce7db Snif local files entirely the BeOS way, using the mime db, this fixes taking symlinks to html as plain text.
Make sure the mime db has the needed types just in case they are missing.

svn path=/trunk/netsurf/; revision=5501
2008-10-06 23:53:59 +00:00
François Revel
5e32d1ea12 Uncomment the code to focus the view on mouse click, much better.
svn path=/trunk/netsurf/; revision=5500
2008-10-06 22:34:03 +00:00
Chris Young
dfec4035dd List traversing tidy-up.
svn path=/trunk/netsurf/; revision=5499
2008-10-06 18:20:16 +00:00
Chris Young
2808d77089 Full quit function and associated ARexx command (QUIT)
svn path=/trunk/netsurf/; revision=5498
2008-10-06 17:47:31 +00:00
Chris Young
be787cabb1 Closing entire windows instead of just tabs is now possible
svn path=/trunk/netsurf/; revision=5497
2008-10-06 07:07:33 +00:00
François Revel
497c218d4a - less debug output
- fixed mouse handling, now text input works again.

svn path=/trunk/netsurf/; revision=5496
2008-10-06 04:11:28 +00:00
François Revel
bd276020aa - fix some coordinate handling
- bail out trying to redraw if there are more than 1 pending resize, this almost suppresses flicker on resize, and also avoids having the window busy for 10s redrawing 20 times.

svn path=/trunk/netsurf/; revision=5495
2008-10-06 02:07:55 +00:00
François Revel
482ffb2887 - Remove dead gtk code
- fix overlapping of toolbar and content by 1 pixel

svn path=/trunk/netsurf/; revision=5494
2008-10-06 01:56:54 +00:00
François Revel
1b37dbcd2e Remove dead GTK code & (c)
svn path=/trunk/netsurf/; revision=5493
2008-10-06 00:32:46 +00:00
François Revel
de531c691a Make gui_poll() a little better. Don't check for the event pipe fd if select returned an error.
svn path=/trunk/netsurf/; revision=5492
2008-10-06 00:29:02 +00:00
François Revel
eda397e028 Fix plot_fill and plot_clip coords.
Added some code to test plotters. -DTEST_PLOTTERS and call test_plotters_main() from main() to test. This should allow comparison on other platforms if they implement it too.

svn path=/trunk/netsurf/; revision=5491
2008-10-05 21:42:04 +00:00
François Revel
483bdf7987 Add Aliases to resources for later use.
svn path=/trunk/netsurf/; revision=5490
2008-10-05 21:38:57 +00:00
Chris Young
afa472c874 Fixed some problems with tabs, added a tab close gadget.
svn path=/trunk/netsurf/; revision=5489
2008-10-05 21:20:12 +00:00
Michael Drake
b1a6125578 Comment flush plotter.
svn path=/trunk/netsurf/; revision=5488
2008-10-05 20:55:45 +00:00
François Revel
b36a6f7734 Add Hubbub support, should work much better when actually initializing it.
svn path=/trunk/netsurf/; revision=5487
2008-10-05 20:35:28 +00:00
François Revel
022616ce99 Fix the white flickering and bad redraws (text too dark due to being drawn twice), by setting the ViewColor to transparent (avoiding app_server to draw it), and doing it ourselves in plot_clg() just before drawing the rest.
svn path=/trunk/netsurf/; revision=5486
2008-10-05 15:41:24 +00:00
François Revel
ae7290a2e2 Fix build and opening source file in editor.
svn path=/trunk/netsurf/; revision=5485
2008-10-05 15:10:22 +00:00
Chris Young
4708c7b259 Kiosk mode (borderless window, no gadgets or menu etc)
To enable, set kiosk_mode:1

Requested for upcoming Amiga show.


svn path=/trunk/netsurf/; revision=5484
2008-10-05 14:22:02 +00:00
Chris Young
ec72e05bdc AmigaOS tabs implementation.
Two new strings: NewTab, CloseTab

Two new options:
always_open_tabs indicates to open tabs instead of windows by default
new_tab_is_active makes any new tab the current one (default is to open tabs in
background)

svn path=/trunk/netsurf/; revision=5483
2008-10-05 13:17:18 +00:00
Chris Young
bd94b12422 Incomplete support for tabbed browsing.
svn path=/trunk/netsurf/; revision=5482
2008-10-04 23:29:17 +00:00
Chris Young
fb09cf8f0a Dummy throbber (1x2 pixel grey PNG)
throbber_frames=2


svn path=/trunk/netsurf/; revision=5481
2008-10-04 23:27:43 +00:00
François Revel
54a49823b5 Revert r5478, I didn't notice content struct had a mime_type field.
svn path=/trunk/netsurf/; revision=5480
2008-10-03 04:30:47 +00:00
François Revel
54ccbc94ed Add support for editting page source.
svn path=/trunk/netsurf/; revision=5479
2008-10-03 03:42:10 +00:00
François Revel
209c72b011 Add a function to tell the mime type for a content type.
svn path=/trunk/netsurf/; revision=5478
2008-10-03 03:40:42 +00:00
François Revel
0980d865b4 Fix prototype to get it as C linkage.
svn path=/trunk/netsurf/; revision=5477
2008-10-03 00:27:51 +00:00
François Revel
5de594527f - cleanup dead gtk code and copyrights
- fix refs received before we have a window open (as in OpenWith...), maybe I should just open a new window each time anyway ?

svn path=/trunk/netsurf/; revision=5476
2008-10-02 19:57:19 +00:00
François Revel
e4cdeb178e Use find_directory() to find where to put settings instead of polluting ~/.
svn path=/trunk/netsurf/; revision=5475
2008-10-02 18:10:22 +00:00
François Revel
2dd3c20aab Make sure menu items all get the target set recursively.
svn path=/trunk/netsurf/; revision=5474
2008-10-02 17:26:06 +00:00
François Revel
0f71221134 Add window shortcuts for toolbar actions.
svn path=/trunk/netsurf/; revision=5473
2008-10-02 17:20:06 +00:00
François Revel
d2f5d19da6 Partially fix menu shortcut handling, however I'm not sure how to set Function keys...
svn path=/trunk/netsurf/; revision=5472
2008-10-02 17:03:39 +00:00
François Revel
121ac2c698 Fix R5 BONE build.
svn path=/trunk/netsurf/; revision=5471
2008-10-02 16:52:45 +00:00
François Revel
f9f9478901 Implemented the login dialog.
svn path=/trunk/netsurf/; revision=5470
2008-10-02 16:45:21 +00:00
François Revel
7f100d8d49 - Cleanup: remove dead gtk code and its copyrights
- remove unneeded fieltype hashlist code we just use the mime roster
- implemented saving bitmaps

svn path=/trunk/netsurf/; revision=5469
2008-10-02 14:10:52 +00:00
François Revel
08073fb3d6 - switch to using builtin css files from rsrc:
- add debug output to trace keyboard input as textinput doesn't work anymore.

svn path=/trunk/netsurf/; revision=5468
2008-10-02 13:34:20 +00:00
François Revel
9e640a2ab9 First try at implementing menus, from RiscOS ones but lots don't work yet.
svn path=/trunk/netsurf/; revision=5467
2008-10-02 00:11:30 +00:00
François Revel
d4c4800fec - iMissing knockout option to false
- Use Begin/EndViewTransaction() though it doesn't seem to help much reduce flicker
- some fiddling with bitmaps

svn path=/trunk/netsurf/; revision=5466
2008-10-01 21:04:32 +00:00
François Revel
dcb33e9835 Implemented thumbnails, though we don't use them yet.
svn path=/trunk/netsurf/; revision=5465
2008-10-01 20:44:39 +00:00
Daniel Silverstone
0a580aa82d Ensure image/png.h gets css/css.h for the colour typedef
svn path=/trunk/netsurf/; revision=5464
2008-10-01 13:45:40 +00:00
Michael Drake
8a6e803029 Load SVGs in IMG elements.
svn path=/trunk/netsurf/; revision=5463
2008-09-30 12:17:16 +00:00
Chris Young
a0b8680a6d Minimal ARexx port.
Port name: NETSURF
Commands supported: OPEN

OPEN URL/A
Opens URL specified by URL argument in new browser window.


svn path=/trunk/netsurf/; revision=5462
2008-09-29 19:35:30 +00:00
John Tytgat
eca332c8d5 Include css/css.h for type colour (following change r5459).
svn path=/trunk/netsurf/; revision=5461
2008-09-28 22:57:31 +00:00
Chris Young
4da1f6cd23 - Accept a URL as an argument to open that page on startup (this is needed for OpenURL
support)
- Fix loads of warnings

svn path=/trunk/netsurf/; revision=5460
2008-09-28 22:50:13 +00:00
John Tytgat
2d1481fafc 'unsigned long' -> 'colour' where it made sense.
svn path=/trunk/netsurf/; revision=5459
2008-09-28 22:37:13 +00:00
Chris Young
f092676012 When the treeview window is the last one on screen and it is closed, NetSurf now
quits.

svn path=/trunk/netsurf/; revision=5456
2008-09-28 14:40:19 +00:00
Chris Young
946115fa76 Stop scaled bitmaps from disappearing completely when the top of the image is
partially off-screen.  Hopefully this also fixes some system freezes caused by this
code when run under OS4.1 on the SAM440.

svn path=/trunk/netsurf/; revision=5455
2008-09-28 14:39:02 +00:00
Chris Young
bc22f2e7d4 Treeview window event handling (currently just double-clicking hotlist items and
closing the window)

svn path=/trunk/netsurf/; revision=5453
2008-09-28 13:55:40 +00:00