Commit Graph

42934 Commits

Author SHA1 Message Date
Rene Gollent
3691496222 Fix #8709.
- The buffer that the debugger used to retrieve messages from
  the debug port was slightly too small for the largest of the message
  data structs (currently 1100 bytes), causing some types of debug events
  to get truncated. This resulted in image creation/deletion events being
  received with a truncated image_info struct, which would result in several
  fields being returned with random values, most notably the text/data base
  and size fields. Consequently, searching those images for an address within
  them would fail, leading to #8709. It's possible but not yet confirmed
  that this bug is also responsible for #8710, need to test further.
2012-07-10 22:06:01 -04:00
Rene Gollent
36c85ca8df Fix add-on image unloading for shelf replicants (ticket #8708).
- The version of instantiate_object() that returns the image id from which
  the object was reinstantiated was not correctly returning it in all
  circumstances, only if it had to find/load the add-on itself. This caused
  problems for BShelf since the latter relies on that image id in order to
  determine what image to unload when replicants are removed. To remedy this,
  introduce an additional version of find_instantiation_func() that returns
  the image id in which the instantiation function was found, and make use
  of it in instantiate_object() in order to also be able to return the image
  id in that case.
2012-07-10 18:41:49 -04:00
Alex Smith
0962132cc6 Fixed Mac OS X 10.7 as a build platform (for GCC 4).
* Use gcc and g++ rather than cc and c++, as the latter now point to
  clang with recent Xcode versions and compilation of the host tools
  fail for various reasons with it.
* Replace the case-sensitive filesystem check with a more basic one,
  as diskutil no longer supports the behaviour of getting info for the
  volume that any path is on.
* Updated ReadMe with a correct list of prerequisites for OS X.
* GCC 2 builds are still broken due to a strange error that only
  occurs with a GCC 2 built on OS X 10.7
2012-07-10 19:33:39 +01:00
Matt Madia
f4eb5cf7e1 Process the sub-jam's opt packages before OptionalBuildFeatures
Several build features (including a future patch for WebKit)
are enabled only if a respective optional package is added.
Prior to this, none of those build features could be activated
in a sub-jam process.
2012-07-09 20:38:20 +00:00
Matt Madia
7101dd4b29 Whitespace cleanup. No functional change. 2012-07-08 20:12:07 +00:00
Matt Madia
fbd52296f3 Consolidate baseURL variables. No functional change. 2012-07-08 20:07:24 +00:00
Alex Wilson
72cee743c2 Adapt LookTest to BMenuField API changes. Fixes #6648 2012-07-09 11:25:59 +12:00
Adam Hartford
8522ef247b Fixed minor UI issues in Screenshot (Ticket #8378)
Signed-off-by: Alex Wilson <yourpalal2@gmail.com>
2012-07-09 11:03:35 +12:00
Rene Gollent
fd04f5cc26 Fix image deletion events.
- Due to (most likely) a copy/paste error, image deletion events were
  mistakenly being sent to the userland debugger as creation events.
2012-07-08 10:50:46 -04:00
Matt Madia
eb97152649 Updated CARootCertificates. 2012-07-04 20:37:22 -04:00
Humdinger
851c719d02 Small text changes in alert when renaming/moving special folders.
Since the button was renamed from "Do it!" to the specific action,
an additional explanation in case of special user folders isn't
needed any more.
Split text into paragraphs for better readability.
2012-07-04 08:42:38 +02:00
Alexandre Deckner
d061a70095 Fix WebPositive jamfile, cross building works 2012-07-04 02:57:38 +02:00
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