Commit Graph

42922 Commits

Author SHA1 Message Date
Alexandre Deckner
8ae2b062a6 Fix control flow, stop if gcc < 4. Change package URL 2012-07-04 01:49:32 +02:00
Alexandre Deckner
69914905f5 Remove left-over echo 2012-07-04 01:21:57 +02:00
Alexandre Deckner
40c493ce34 Hardcode kSVNRevision = 0 until i adapt version tracking 2012-07-04 01:18:37 +02:00
Alexandre Deckner
36aac7c55f Fix typo 2012-07-04 01:15:26 +02:00
Alexandre Deckner
c4ba387bf8 Adapt WebPositive build to make use of a webkit optional build package 2012-07-04 00:58:25 +02:00
Alexandre Deckner
79adea9689 Fix src/apps/Jamfile alphabetical order
Thanks augiedoggie
2012-07-03 21:46:13 +02:00
Alexandre Deckner
08cada49a6 Apply old patch by AnevilYak, fix BMenuField border drawing
Should have been part of the previous commit, sorry
2012-07-03 21:43:53 +02:00
Alexandre Deckner
7f21f81f4f Apply old patch by AnevilYak, fix BMenuField border drawing 2012-07-03 21:31:18 +02:00
Alexandre Deckner
2ee4319d11 Remove unneeded includes 2012-07-03 21:29:38 +02:00
Alexandre Deckner
1ef59aee8e Add Jamfile for WebPositive 2012-07-03 21:12:20 +02:00
Alexandre Deckner
de3c221462 Merge WebPositive into the Haiku tree. History is preserved 2012-07-03 19:20:10 +02:00
aldeck
a79446f471 * B_TRANSLATE_CONTEXT is now B_TRANSLATION_CONTEXT as per the recent change in Haiku, cf. hrev44041
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@587 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:33 +02:00
anevilyak
b4bab54a16 Be more specific about how we check the modifiers mask.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@586 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:33 +02:00
anevilyak
6c086bdf6a Don't try to filter any of these keys if modifiers are pressed. Fixes
Web+ eating things like the workspace switching shortcuts if the URL input
group happened to have focus.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@585 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:33 +02:00
leavengood
ae5b937ac2 Make the check for URLs more generic before doing a search.
Thanks for the suggestion mmlr.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@580 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:33 +02:00
leavengood
c17922668b Don't do the "smart URL handling" (also known as dumb URL handling) for file:// URLs.
Fixes #7596.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@579 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:33 +02:00
phoudoin
56b050f337 * Don't trust anymore provided MIME type (if any): use instead
the registrar's type guessing feature, which we can (and should) trust
way more.
* Notify back the download objet when it's file location has changed.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@577 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:32 +02:00
phoudoin
1ef6069fe4 Fix why escape wasn't closing the find panel as expected (#75).
Fix fullscreen icon layout spacing issue (#76).

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@576 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:32 +02:00
leavengood
552778e90c Align the tabs menu by using AttachedToWindow. Somewhat of a hack and I swear
InvalidateLayout worked before, but it does not seem to now.

Also use a const for an empty BString instead of returning a local for the tab
label.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@573 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:32 +02:00
leavengood
255cade7a0 Use the loader page in the settings directory which handles the case when no
welcome page is installed (such as nightlies.)

To do: not hard-coding the settings directory.

Fixes Haiku bug #6869.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@572 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:32 +02:00
leavengood
1af1ea8546 Implement #35: Add a tab menu. Still needs icons but this works for now.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@569 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:32 +02:00
leavengood
1220bcc0af Add a setting to show or hide the Home button. I find it pretty useless myself.
While I was able to add this fairly easily by cutting and pasting, it was still
quite a bit of work. Seems like there should be a less-verbose way of doing
this. But it did work the first time I tested, so I can't complain too much.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@566 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:32 +02:00
leavengood
0afc39c5b1 Ticket #69. Update the icon from tweaks made by Meanwhile. Thanks!
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@565 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
a65490807d Mostly revert r563 and fix it properly. The ESC key should be dispatched to the
text view from the filter as well as from the browser window.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@564 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
a9112961b9 Restore the original URL text when the escape key is pressed.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@563 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
927bc248a3 Only use the scrollview if it is needed (to avoid the problem of a useless
disabled scrollbar.)

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@562 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
36badc2d94 Add a scrollview (with associated resizing trickery to cut-off the sides of the
scrollbar) to the auto-complete list. This now also makes the scrollwheel work
but selection by mouse still needs implementing.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@561 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
675a92e060 Implement http://webpositive.haiku-os.org/ticket/61 so that holding the command
key and using the scroll wheel will zoom in and out. Also made it so that the
scroll wheel only works when the mouse is over the view.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@560 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
ac09a47296 Make the max tab width always 300px instead of being proportional to the label
text. I think a consistent tab size is more important. Also made the minimum a
little smaller (60px.)

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@559 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
c5efa2c0b9 Use the more conventional Google search URL, not the "Instant" one.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@558 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
1526be737a Add a stupidly simple "search Google from the URL bar" feature, a la Chrome.
It still needs a lot but this doesn't seem to break anything and it already is
making my browsing more productive. The hard-coding of Google will be fixed
when some proper search engine provider handling is added.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@557 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
530dea0f16 Let the controller handle setting the default tool tip for the tab bar so it
knows the state changed. A good example of where using a controller-based
design can't be done halfway. It took me way too long to debug this (that
mostly being my fault.)

Fixes #6382.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@556 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
8d1fc88170 As indicated by Axel the border width for positioning the download window was
hard-coded. This fixes that and refactors the code a bit.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@555 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
290dc11464 Make the default location for the download window the lower right corner of
screen, like NetPositive.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@554 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:31 +02:00
leavengood
8ee88f9b6d Show the status bar and therefore the progress bar even in fullscreen mode when
a page is loading.

Fixes #6086.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@551 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:30 +02:00
leavengood
f0db6a3bb1 Don't try to load a blank URL for a new page.
Fixes #6430.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@550 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:30 +02:00
leavengood
8c15e23385 Set the tab label to the URL if no title is provided in the HTML.
Fixes #6330.

And so I'm back on Web+ development. Yay.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@549 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:30 +02:00
anevilyak
26bc163200 Layout fixes that hadn't yet been committed.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@548 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:30 +02:00
anevilyak
0e12634991 Fix BrowserWindow to work with new layout changes.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@544 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:30 +02:00
stippi
a071b4d041 Adapt to recent layout API changes. (Untested)
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@543 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:30 +02:00
anevilyak
a4841f3a5d Apply patch by Matt Madia: Add the escape key as a shortcut to stop page loads. Closes ticket #6409.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@541 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:30 +02:00
stippi
e71c5717b1 Account for the fact that the visible frame of a tab is one pixel larger at
the bottom. Will fix Haiku ticket #6383 when a new package is made available.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@539 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:29 +02:00
anevilyak
01abe0e23c Fix Web+ build for this morning's locale changes/cleanups.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@537 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:45:29 +02:00
anevilyak
0c93869115 Fix style violation.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@532 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:44:46 +02:00
anevilyak
7f88e2461b When asked to programmatically open a new URL (i.e. by being launched from another app), give the resulting web view input focus.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@531 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:44:46 +02:00
anevilyak
aef38397d3 Fix crash that occurred when hitting pgup/pgdn in the URL input without having the choice list visible.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@530 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:44:46 +02:00
anevilyak
ef6778d11e Fix building Web+ against updated locale kit (currently requires manually placing liblocalestub.a from Haiku's build tree)
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@527 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:44:21 +02:00
stippi
fdd4f3bbb8 Add the static items at Bookmark menu construction, so the shortcuts work even
when the menu has never been opened yet.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@526 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:44:12 +02:00
stippi
054e7e4344 Make sure the interface is showing when the menus are used (i.e. by invoking
Cmd-Esc shortcut).

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@524 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:44:12 +02:00
stippi
d848a89394 Changed download short cut from J to D, as all the rest of the shortcuts make
more sense and don't necessarily follow Firefox conventions.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@523 94f232f2-1747-11df-bad5-a5bfde151594
2012-07-03 15:44:12 +02:00