Commit Graph

269 Commits

Author SHA1 Message Date
Vincent Sanders
e82d83f184 move four more optional window operations to table 2014-01-13 14:51:27 +00:00
Vincent Sanders
d70e371cd9 move two more mandantory window operations to table 2014-01-13 11:38:35 +00:00
Vincent Sanders
7227c29bba move window scroll getter and setter into operations table 2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb move mandantory window update and redraw operations into table 2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77 move more optional window operations into table including removing unused hide_pointer operation altogether 2014-01-12 22:55:26 +00:00
Vincent Sanders
b7736bae2f split gui operations into core and window and move more operations into tables 2014-01-12 17:07:34 +00:00
Vincent Sanders
56bb9582b1 move set title, set url, start and stop throbber window operations to gui table 2014-01-12 10:27:41 +00:00
Vincent Sanders
c8496df3df move window creation and destruction into table 2014-01-11 22:34:12 +00:00
Vincent Sanders
d3c392c3d3 Initial conversion of netsurf gui to callback vtable 2014-01-11 14:20:30 +00:00
Daniel Silverstone
692d4a328c Fix some log statements 2014-01-05 17:22:30 +00:00
Rob Kendrick
550c8cd73c Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work. 2014-01-05 16:45:32 +00:00
Rob Kendrick
d8ad3b8e78 Add new gui entry point for file open dialogue requests 2014-01-05 16:01:03 +00:00
François Revol
6c63adb1c1 beos: Remove Messages symlinks in res/*/
It seems the messages files aren't generated early enough
anymore, so building the resources fails.

We can't load them from the resource yet anyway.
2014-01-04 20:22:26 +01:00
François Revol
3a1bf5c20f beos: Also set LowColor on toolbar buttons when attached 2014-01-04 19:44:07 +01:00
François Revol
a7ef9dc4ab beos: Simplify about box
Just print some version infos, the buttons are there for credits
and licence.
2014-01-04 19:44:06 +01:00
François Revol
f713cdd90b beos: Add credits and licence buttons to about box
We'll simplify it to just mention version infos like on atari.
2014-01-04 19:44:05 +01:00
François Revol
1025a49cb6 beos: if no gui window, pass the first one to nsbeos_about() 2014-01-04 19:44:05 +01:00
François Revol
0dc8cd6625 beos: Fix about box 2014-01-04 19:44:04 +01:00
François Revol
967d930477 beos: Fix opening about from replicant popup 2014-01-04 19:44:03 +01:00
François Revol
bd89e5a088 beos: Fix background color for control on replicants
Still some redundancy there but it works.
2014-01-04 19:44:02 +01:00
François Revol
92afacbe6f beos: Add icon in url bar
A bit hackish, flickers on resize, but it works.
2014-01-04 19:44:01 +01:00
François Revol
fc782f55ba beos: Add a resize knob to replicants
The view resizes the base view by the relative mouse movement.

TODO: Add a bitmap to draw, for now it's ugly green.
2014-01-04 19:44:00 +01:00
François Revol
f8517f2e51 beos: remap resource:favicon.ico to favicon.png
We don't use it yet though.
2014-01-04 19:43:59 +01:00
François Revol
3c5317cf54 beos: Fix embedded files in resources
- drop the remaining hardcoded files in rdef file
- add favicon.png
- remove en/ symlink
- add real folders with symlinks for translated files like GTK
  Note the Messages files are also included although the current code
  is not able to load them from the resources.
- add symlinks for html files to the en/ version
  (TODO: try to remap automatically)
2014-01-04 19:43:58 +01:00
François Revol
e1e1b5c45b beos: Export icons/ resources with a lowercase i
That's what GTK does, and it fixes the dirlist icons too.
2014-01-04 19:43:57 +01:00
François Revol
917f8ca804 beos: Drop duplicate throbber PNG resources
They are also added with another path by the makefile.
2014-01-04 19:43:56 +01:00
François Revol
da504bbbb8 beos: Add comments to resources definition file 2014-01-04 19:43:55 +01:00
François Revol
053897d07d beos: Move some resources around
Move app signature and supported filetypes before icons for more visibility.
2014-01-04 19:43:54 +01:00
François Revol
f3455a7556 beos: Remove unused Tracker button bitmaps
We never used them, and we now have better looking HVIF ones anyway.
2014-01-04 19:43:53 +01:00
François Revol
6f4e293311 beos: Load Messages files for current language
For now we just check for LC_MESSAGES in the environment, which
should even work in BeOS. Someday we should probably use Haiku's
BLocale API instead.
2014-01-04 19:43:52 +01:00
François Revol
d69997c8a3 beos: Add missing call to lwc_string_unref() 2014-01-04 19:43:51 +01:00
François Revol
748b13c8ba beos: Fix permission on temp directories creation
TODO: use filename_initialize() instead when it's fixed.
2014-01-04 19:43:50 +01:00
Vincent Sanders
f7916866e3 remove all references to using libMNG 2014-01-04 17:07:11 +00:00
François Revol
375ee78d1c Fix indentation 2013-12-07 01:28:55 +01:00
François Revol
62f7cfb04b Fix Haiku build
Fix build of the BeOS code due to recent untested options commits.
2013-12-07 01:26:39 +01:00
Michael Drake
cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
4473f4b8a8 Remove tree icon_name globals from all the front ends. 2013-09-02 16:39:46 +01:00
Michael Drake
5c7ca39ada Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken. 2013-09-02 14:17:09 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Vincent Sanders
a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders
1b4e0d11d3 move beos to new options API 2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders
a5355ec557 change all core and frontend options headers to new format 2013-05-28 14:16:10 +01:00
Vincent Sanders
35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake
9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01:00
François Revol
48dc679d7b beos: Fix replicants
Waiting on the semaphore was not enough, it was causing a crash on
replicant removal. Now we wait for the replicant main thread to exit.
It fixes replicants, at least when a single one is used per application.
Using more than one still causes issues due to some libs not liking
being used twice (hlcache it seems).
2013-03-22 00:25:27 +01:00
François Revol
1f9e1ca84b beos: Fix nsfont_position_in_string off-by-1
The current width was tested after the index was already
updated to the next character, leading to an off-by-one error,
and the impossibility to select the first character of a string
in textarea.
2013-03-21 22:10:35 +01:00
François Revol
f3c0b643b6 beos: Set the filename in the download file panel 2013-03-09 21:03:16 +01:00