Chris Young
ddb6946431
Various fixes in relation to tabs.
...
svn path=/trunk/netsurf/; revision=5598
2008-10-19 11:33:05 +00:00
Chris Young
52c57acc48
Folders in the Hotlist menu hierarchy with no child nodes will now be disabled in the
...
menu. Items named "--" will be converted to NM_BARLABEL.
svn path=/trunk/netsurf/; revision=5595
2008-10-18 15:13:18 +00:00
Rob Kendrick
1139f0e907
Whoops. Revert accidental changes to Makefile.config
...
svn path=/trunk/netsurf/; revision=5594
2008-10-18 14:43:26 +00:00
Rob Kendrick
33dc55587e
Ctrl+W now closes just the current tab, and Ctrl+Shift+W closes the window. Added menu item to do this, too.
...
svn path=/trunk/netsurf/; revision=5593
2008-10-18 14:37:29 +00:00
Chris Young
cde05b7d9f
Basic theme support.
...
NetSurf will use the theme pointed to by the Options file "theme:". Default is
Resources/Themes/Default
This directory must contain a file called Theme which indicates which files should be
used for which images. The number of frames in the Throbber must also be specified
here. See Resources/Themes/Default/Theme for an example.
svn path=/trunk/netsurf/; revision=5592
2008-10-18 13:56:12 +00:00
Daniel Silverstone
d9f9bda135
Ensure that unset string options do not crash when you try and set them
...
svn path=/trunk/netsurf/; revision=5591
2008-10-18 09:38:23 +00:00
François Revel
174a8dcca2
- when replicated, forbid creating windows, even though it initially works it crashes as soon as the menus are used.
...
- added an about box from the infos in the gtk code, still not perfect.
svn path=/trunk/netsurf/; revision=5590
2008-10-17 21:59:44 +00:00
Chris Young
f74cd65518
Italian translation courtesy of Samir Hawamdeh.
...
svn path=/trunk/netsurf/; revision=5589
2008-10-17 17:34:27 +00:00
François Revel
3f0ded25ba
Call netsurf_init() from the thread creating the replicant, then the main loop from the thread we created. This avoids a deadlock with the replicant in BeHappy in Haiku. (I should probably make BTranslatorRoster not lock be_app anyway though).
...
svn path=/trunk/netsurf/; revision=5588
2008-10-16 20:52:00 +00:00
Michael Drake
f33fd2c604
Take into account variations in text line height due to styled inlines when laying out inline containers.
...
svn path=/trunk/netsurf/; revision=5587
2008-10-16 20:50:48 +00:00
François Revel
e4407cd7e9
Had to split main() into parts to have netsurf_init() called from one thread, and the loop in another to avoid a deadlock in replicants... hope nobody minds.
...
svn path=/trunk/netsurf/; revision=5586
2008-10-16 20:49:12 +00:00
François Revel
ce07ebcea8
- handle NetPositive what codes; this makes it easy to use NetSurf instead by just changing the archived message used to instantiate it.
...
- fix background view color, some host apps hide the BDragger, making it visible.
- handle mailto: urls as a special case, we historically use the prefered app for text/x-email.
svn path=/trunk/netsurf/; revision=5584
2008-10-16 16:01:44 +00:00
François Revel
b3a5250f99
Add Replicant support. No it's not about cyborgs, just embedding NetSurf into another app, like Tracker (the desktop), or documentation browsers like BeHappy...
...
svn path=/trunk/netsurf/; revision=5583
2008-10-16 14:24:09 +00:00
François Revel
6330f8e475
Have netsurf_main() do the real work and main() call it. This allows ports to call it from elsewhere to embed NetSurf in another application.
...
The netsurf_embedded bool remembers it for later (like, we shouldn't probably save the hotlist and preferences in that case).
svn path=/trunk/netsurf/; revision=5579
2008-10-16 11:10:43 +00:00
Chris Young
a6b42a06ff
Safer menu deletions; stop menus from appending to existing menu with each new window.
...
svn path=/trunk/netsurf/; revision=5578
2008-10-15 21:40:54 +00:00
Chris Young
1d8bbfae4c
Implemented the ability to add hotlist entries to the Hotlist menu. Modified the
...
default Hotlist links so they show up in the menu. Currently deleting items from the
menu is dangerous.
To add to the Hotlist menu, add a folder node called "Menu" to the root node of the
hotlist tree.
Items in this folder node up to a maximum (currently) of 40 items will be added to the
Hotlist menu, within the limits of the Intuition menu system.
Items in folders within the Menu folder node will be converted to subitems in the
menu.
Folder nodes with no entries and folder nodes at level 3 in the heirarchy will become
menu items with no action. Items deeper will not be included in the menu at all.
eg.
Root
|
+- Menu
|
+- Netsurf
| |
| +- NetSurf Homepage
| |
| +- More NetSurf links
| |
| +- NetSurf bugtracker
|
+- Google
Will look something like the following within the menu:
|NetSurf »| - |NetSurf Homepage |
|Google | |More NetSurf links|
svn path=/trunk/netsurf/; revision=5577
2008-10-14 22:43:02 +00:00
John Mark Bell
a55c1f6e41
Fixup hubbub binding
...
svn path=/trunk/netsurf/; revision=5576
2008-10-14 15:48:14 +00:00
Rob Kendrick
2d7516b398
Fix memory leak and warning
...
svn path=/trunk/netsurf/; revision=5574
2008-10-14 14:58:52 +00:00
John Mark Bell
76976d7db6
Fix warnings on OS X
...
svn path=/trunk/netsurf/; revision=5573
2008-10-14 14:54:49 +00:00
Rob Kendrick
34a1b46411
add bitmap.h include to silence some warnings on Fedora.
...
svn path=/trunk/netsurf/; revision=5571
2008-10-14 00:12:31 +00:00
John Mark Bell
bd94520701
More hoops, more warnings squashed.
...
svn path=/trunk/netsurf/; revision=5570
2008-10-13 23:49:15 +00:00
John Mark Bell
79fdbab192
Jump through hoops, potentially squashing warnings.
...
svn path=/trunk/netsurf/; revision=5569
2008-10-13 23:45:08 +00:00
John Mark Bell
6c49f1fcd5
r4153 was mostly right. It does help, however, if you actually force the locale to "C" in the first place. The issues listed in the commit log for r4153 still apply. This should fix the core's parsing of floats in locales that use something other than '.' as the decimal separator.
...
svn path=/trunk/netsurf/; revision=5568
2008-10-13 23:32:21 +00:00
Chris Young
227993f481
Fix basic rearrangement of tree nodes
...
svn path=/trunk/netsurf/; revision=5567
2008-10-13 22:34:54 +00:00
Michael Drake
b3f32dece4
Implement percentage min/max-height.
...
svn path=/trunk/netsurf/; revision=5566
2008-10-13 19:22:16 +00:00
Chris Young
4e5a7ec3f1
Default official throbber imagery.
...
throbber_frames:9
svn path=/trunk/netsurf/; revision=5565
2008-10-13 18:02:39 +00:00
Chris Young
5bf4caf6ba
AmiUpdate support.
...
svn path=/trunk/netsurf/; revision=5564
2008-10-13 18:01:25 +00:00
Chris Young
f1a06ac5d9
Various minor fixes for treeviews, history tree now populates.
...
svn path=/trunk/netsurf/; revision=5563
2008-10-13 18:00:44 +00:00
Daniel Silverstone
5c01ca3306
Better, safer fix for the type punning issue
...
svn path=/trunk/netsurf/; revision=5562
2008-10-13 16:39:54 +00:00
Daniel Silverstone
1108d1d1c5
Fix type-punning warning in fetch_data.c
...
svn path=/trunk/netsurf/; revision=5561
2008-10-13 16:27:45 +00:00
Michael Drake
38619e2d29
Finish 80 char widthing.
...
svn path=/trunk/netsurf/; revision=5560
2008-10-13 15:06:19 +00:00
Michael Drake
1edad47dbe
Fix GTK version requirement.
...
svn path=/trunk/netsurf/; revision=5559
2008-10-13 15:03:19 +00:00
John Mark Bell
bc58a43254
OS X friendliness.
...
svn path=/trunk/netsurf/; revision=5558
2008-10-13 14:34:20 +00:00
Michael Drake
7293b6f4bb
Tidy up where spaces were used for indentation.
...
svn path=/trunk/netsurf/; revision=5555
2008-10-13 12:30:23 +00:00
Michael Drake
a5ac56655c
Fix float percentage heights to match other browsers: for floated elements the containing block is the nearest ancestor box at block level, rather than the block formatting context block that the float is in.
...
svn path=/trunk/netsurf/; revision=5553
2008-10-13 10:50:46 +00:00
Michael Drake
79978eafcd
Set float_container before float layout. Fixes percentage height on floated elements.
...
svn path=/trunk/netsurf/; revision=5552
2008-10-12 21:45:38 +00:00
Michael Drake
1a237535f7
Better commenting of percentage height stuff.
...
svn path=/trunk/netsurf/; revision=5551
2008-10-12 21:35:04 +00:00
Michael Drake
b7a1b3999e
Implement percentage heights for block level elements in normal flow, floats and positioned boxes. Percentage min/max-height not yet handled.
...
svn path=/trunk/netsurf/; revision=5550
2008-10-12 21:22:28 +00:00
Michael Drake
c1db0e90cc
Use style guide switch formatting all over.
...
svn path=/trunk/netsurf/; revision=5549
2008-10-12 15:34:43 +00:00
Michael Drake
b26c419d70
Change some spaces to tabs.
...
svn path=/trunk/netsurf/; revision=5548
2008-10-12 13:46:29 +00:00
John Tytgat
8196d13a73
Reapply r5542 but without its CRLF lineending change.
...
svn path=/trunk/netsurf/; revision=5547
2008-10-12 13:37:16 +00:00
John Tytgat
78bc16d8f9
Revert r5542 change for Makefile.sources as it has CRLF lineendings.
...
svn path=/trunk/netsurf/; revision=5546
2008-10-12 13:36:08 +00:00
Chris Young
dfeb722504
Stop over-zealous deletions, we should only be deleting the currently-selected node.
...
svn path=/trunk/netsurf/; revision=5545
2008-10-11 23:06:18 +00:00
Chris Young
fbb2ae7f5f
Fix problem with file uploads to amigans.net always returning error to the effect of:
...
files of type text/plain cannot be uploaded
svn path=/trunk/netsurf/; revision=5544
2008-10-11 22:01:26 +00:00
Chris Young
1978e62d05
Improved treeview browser - cookies tree part (missed off previous commit)
...
svn path=/trunk/netsurf/; revision=5543
2008-10-11 21:59:22 +00:00
Chris Young
86042c61ea
Improved Amiga treeview support. Now creates trees for cookies and history (history
...
doesn't populate at the moment). Can add folders and edit titles in hotlist
treeviews, and delete entries in all treeviews.
svn path=/trunk/netsurf/; revision=5542
2008-10-11 21:38:04 +00:00
Chris Young
3b0c91c91d
Remove debug
...
svn path=/trunk/netsurf/; revision=5541
2008-10-11 21:31:51 +00:00
Chris Young
fd4e299aef
New throbber icon by Martin Merz
...
svn path=/trunk/netsurf/; revision=5540
2008-10-11 21:31:04 +00:00
Chris Young
af41e54403
Distribution files including basic documentation and an alternative icon (drawn by
...
Martin Merz)
svn path=/trunk/netsurf/; revision=5539
2008-10-11 21:29:24 +00:00
François Revel
f94f5cef35
Fix copying plain text selection.
...
svn path=/trunk/netsurf/; revision=5538
2008-10-11 16:58:22 +00:00