History log of /haiku/src/apps/webpositive/DownloadWindow.h
Revision Date Author Comments
# 7f7f3618 15-Jun-2018 Jessica Hamilton <jessica.l.hamilton@gmail.com>

webpositive: force download window on screen.

* When Download window is initially shown, it is correctly
fully onscreen; however, adding a download resizes the
window such that it becomes partially offscreen. Now,
when the frame is resized, reposition the window onscreen
again.

Fixes #12704


# b4c8efac 16-Jun-2013 Stephan Aßmus <superstippi@gmx.de>

WebPositive: Removed wrong license text from all files ...

... which were technically never distributed by Apple nor
are derived from code distributed by Apple. Only BrowserApp
and BrowserWindow were originally derived from code that used
to be part of WebKit and was distributed by Apple.


# fb03e2c5 21-May-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* When downloads are still in progress, warn the user when the app quits and
allow to continue downloading.
* If the Downloads window is the only window, minimize on close instead of
hiding without any way to get the window back.
* Added menu item "New browser window" to Downloads window.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@512 94f232f2-1747-11df-bad5-a5bfde151594


# e07fc6b7 05-May-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* Changed the implementation of context menus in DownloadProgressViews. The views
were intercepting mouse messages even if the window was not showing. Now
secondary clicks are intercepted in DownloadWindow and the target view is found,
which makes this much cheaper.
* Offset context menus by 2 pixels, so the mouse does not start directly over
an item.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@488 94f232f2-1747-11df-bad5-a5bfde151594


# 98b056e1 24-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* Scroll the downloads which just started into view.
* Delete the progress view when init fails.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@356 94f232f2-1747-11df-bad5-a5bfde151594


# c5d7a6c9 24-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Manually removing downloads needs to trigger checking the button enabled status
in the download window.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@354 94f232f2-1747-11df-bad5-a5bfde151594


# f28abe9d 23-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* An unfinished download is no longer considered finished, just because it isn't
currently in progress anymore.
* Added feature to remove "missing" downloads, i.e. those for which no
corresponding file exists.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@346 94f232f2-1747-11df-bad5-a5bfde151594


# 636f175b 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Work in progress on better download management...
* Allow to specify the downloads folder in the General settings page.
* Added necessary wiring.
* The listener notification was not synchronous anymore because of mixed
up default function params in BWebPage.
* Added temporary debug output to WebDownloadPrivate.cpp... the restarting
downloads code path needs testing yet.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@341 94f232f2-1747-11df-bad5-a5bfde151594


# 1beb8c80 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Whoops... should not have been part of the commit...

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@340 94f232f2-1747-11df-bad5-a5bfde151594


# 6463044e 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Add the value to the notification message as well.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@339 94f232f2-1747-11df-bad5-a5bfde151594


# 9ccfda9c 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Converted to Haiku coding style.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@337 94f232f2-1747-11df-bad5-a5bfde151594


# c516096e 24-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* Refactored WebDownload into BWebDownload and BPrivate::WebDownloadPrivate.
* Fixed a bug where the "Remove Finished" button in the downloads window would
be wrongly disabled whenever a new download started.
* Implemented cancelling downloads.
* Prepared restarting downloads as far as the GUI goes. Need to research this
first how a download can be triggered independently from anything else in
WebCore...


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@196 94f232f2-1747-11df-bad5-a5bfde151594


# a8d8342d 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* DownloadWindow is now very usable.
* Fixed the scroll view look and behavior.
* Downloads are persistent.


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@59 94f232f2-1747-11df-bad5-a5bfde151594


# dd275f31 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

More work on the download window GUI. The scroll view is broken, downloads are
not persistent.
Resolved TODO in WebProcess about race condition when dispatching download
notifications. Just block until there is a reply. WebDownload pointers are
just used for extracting information at init time, and then later only as
cookie to match view and download. Although as soon as we want to cancel downloads,
refcounting may become necessary again.


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@57 94f232f2-1747-11df-bad5-a5bfde151594


# 7a40c975 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Make the Download Window accessible from every window. Bring it to the workspace
that the window is on that send the request to show it. Remember the size and
if it was showing across sessions.


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@56 94f232f2-1747-11df-bad5-a5bfde151594


# 4b059d47 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

First basic GUI download progress display...


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@54 94f232f2-1747-11df-bad5-a5bfde151594


# 75ffc858 11-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Future public API for interfacing with WebKit on Haiku. (What will eventually
become BWebView.) Compared to the original port, the threading has been
completely redesigned such that all interaction with WebKit happens in the
application thread, as required by the PThread threading backend. This is
counteracted by using an offscreen BBitmap/view as the top-level GraphicsContext
for each Page, such that drawing is performed in various app_server threads
asynchronously. WebViewWindow provides as a target for messages from within
WebKit (mostly FrameLoaderClientHaiku events), which are forwarded via virtual
hook methods (implemented in LauncherWindow.cpp of the HaikuLauncher).


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@6 94f232f2-1747-11df-bad5-a5bfde151594


# b4c8efacea6265d17537b6b5fe007c21ea9d9dd1 16-Jun-2013 Stephan Aßmus <superstippi@gmx.de>

WebPositive: Removed wrong license text from all files ...

... which were technically never distributed by Apple nor
are derived from code distributed by Apple. Only BrowserApp
and BrowserWindow were originally derived from code that used
to be part of WebKit and was distributed by Apple.


# fb03e2c5739385c47ec9fbdc7a2ffaab1d9ebc69 21-May-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* When downloads are still in progress, warn the user when the app quits and
allow to continue downloading.
* If the Downloads window is the only window, minimize on close instead of
hiding without any way to get the window back.
* Added menu item "New browser window" to Downloads window.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@512 94f232f2-1747-11df-bad5-a5bfde151594


# e07fc6b71df68266b262583b4d9ca43138ea6c9f 05-May-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* Changed the implementation of context menus in DownloadProgressViews. The views
were intercepting mouse messages even if the window was not showing. Now
secondary clicks are intercepted in DownloadWindow and the target view is found,
which makes this much cheaper.
* Offset context menus by 2 pixels, so the mouse does not start directly over
an item.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@488 94f232f2-1747-11df-bad5-a5bfde151594


# 98b056e146c200b0cff22904ea2f6b4dae94f8db 24-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* Scroll the downloads which just started into view.
* Delete the progress view when init fails.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@356 94f232f2-1747-11df-bad5-a5bfde151594


# c5d7a6c9490b6ed384171e082b032c52f7cb63b7 24-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Manually removing downloads needs to trigger checking the button enabled status
in the download window.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@354 94f232f2-1747-11df-bad5-a5bfde151594


# f28abe9d244e9b3b58c3bf988e44430f99092610 23-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* An unfinished download is no longer considered finished, just because it isn't
currently in progress anymore.
* Added feature to remove "missing" downloads, i.e. those for which no
corresponding file exists.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@346 94f232f2-1747-11df-bad5-a5bfde151594


# 636f175b1500fc2bbaf462d29f46af8c6d0ee0b9 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Work in progress on better download management...
* Allow to specify the downloads folder in the General settings page.
* Added necessary wiring.
* The listener notification was not synchronous anymore because of mixed
up default function params in BWebPage.
* Added temporary debug output to WebDownloadPrivate.cpp... the restarting
downloads code path needs testing yet.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@341 94f232f2-1747-11df-bad5-a5bfde151594


# 1beb8c80351e03b8ab4920ce9cd822ec4624f4a0 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Whoops... should not have been part of the commit...

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@340 94f232f2-1747-11df-bad5-a5bfde151594


# 6463044ee7867e256bb409283a463a0055979769 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Add the value to the notification message as well.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@339 94f232f2-1747-11df-bad5-a5bfde151594


# 9ccfda9c50ab958a4545588d888850694ec86ee5 22-Mar-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Converted to Haiku coding style.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@337 94f232f2-1747-11df-bad5-a5bfde151594


# c516096e8eb664f0b44242354cc2f8ae179745a9 24-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* Refactored WebDownload into BWebDownload and BPrivate::WebDownloadPrivate.
* Fixed a bug where the "Remove Finished" button in the downloads window would
be wrongly disabled whenever a new download started.
* Implemented cancelling downloads.
* Prepared restarting downloads as far as the GUI goes. Need to research this
first how a download can be triggered independently from anything else in
WebCore...


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@196 94f232f2-1747-11df-bad5-a5bfde151594


# a8d8342dfa61a46c9066df6a7212d641ab71c28c 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

* DownloadWindow is now very usable.
* Fixed the scroll view look and behavior.
* Downloads are persistent.


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@59 94f232f2-1747-11df-bad5-a5bfde151594


# dd275f312a4c3579e3f2e8a20eecf8607ea655f5 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

More work on the download window GUI. The scroll view is broken, downloads are
not persistent.
Resolved TODO in WebProcess about race condition when dispatching download
notifications. Just block until there is a reply. WebDownload pointers are
just used for extracting information at init time, and then later only as
cookie to match view and download. Although as soon as we want to cancel downloads,
refcounting may become necessary again.


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@57 94f232f2-1747-11df-bad5-a5bfde151594


# 7a40c9757e509a9e04d288ca40872c0efdcc8538 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Make the Download Window accessible from every window. Bring it to the workspace
that the window is on that send the request to show it. Remember the size and
if it was showing across sessions.


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@56 94f232f2-1747-11df-bad5-a5bfde151594


# 4b059d47cd6434ee931e315b9f7698fb532ca42a 12-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

First basic GUI download progress display...


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@54 94f232f2-1747-11df-bad5-a5bfde151594


# 75ffc858fcff1effb785a589a0f7a659b54982b5 11-Feb-2010 stippi <stippi@94f232f2-1747-11df-bad5-a5bfde151594>

Future public API for interfacing with WebKit on Haiku. (What will eventually
become BWebView.) Compared to the original port, the threading has been
completely redesigned such that all interaction with WebKit happens in the
application thread, as required by the PThread threading backend. This is
counteracted by using an offscreen BBitmap/view as the top-level GraphicsContext
for each Page, such that drawing is performed in various app_server threads
asynchronously. WebViewWindow provides as a target for messages from within
WebKit (mostly FrameLoaderClientHaiku events), which are forwarded via virtual
hook methods (implemented in LauncherWindow.cpp of the HaikuLauncher).


git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@6 94f232f2-1747-11df-bad5-a5bfde151594