Commit Graph

34704 Commits

Author SHA1 Message Date
Matt Madia
99d65cbc81 Removed the incorrect _sources_ conditional from ResetTargets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 14:03:05 +00:00
Matt Madia
4a71fc35b6 InstallSourceArchive now copies source archives to _sources_/, which in turn
is ignored by Installer. Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 13:38:49 +00:00
Alexandre Deckner
ab5fb573e5 * Removed what finally looks like an old (and not needed anymore) workaround. That is, the sending of a message when dropping a pose over another one while its context menu is still showing. That was causing #4757 since poseview was receiving the dropped message two times.
I've been investigating the issue in depth, it's there since the first opentracker revision, so i even installed R5 and built/debugged opentracker to confirm it was indeed needed on R5. That would be another case of undocumented (misdocumented) workaround for an R5 bug, ie: BMenu would steal the drop message although the mouse isn't over it anymore (Stefano idea?). Heh if only i could reach the original Tracker devs :-D 

  I don't like when i don't understand a problem up to the last bit, but it should be reasonably safe for alpha2 +alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 13:37:27 +00:00
François Revol
79bda6fd6e Fix #5754 so at least the driver builds. It is not yet usable since we do not have a tty manager. For now it should be possible to get the BeOS one to work in Haiku though, but it's not tested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 09:58:18 +00:00
Ithamar R. Adema
fd7ccdaca6 * Minor code cleanup
* Added locale support to main window
* Added layout sensitivity to main window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 04:50:09 +00:00
Joseph Prostko
868c6a2a41 Updated GCC4 package to one without a libiconv dependency
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 04:28:28 +00:00
DarkWyrm
8b671a47f1 Implemented save support and some minor style fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 02:16:20 +00:00
Fredrik Holmqvist
8b0107016a The embedded controller handled timeouts wrong in several ways:
* It confused ms and usecs for ec_timeout
 * It tried to handle waiting like on platforms that can't do better timing than ms. Haiku can do much better, which simplifies the code a lot.

This should fix #4623 and #5825. At least on my laptop BatteryStatus never shows weirdness or reports errors in syslog.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 20:55:01 +00:00
Ingo Weinhold
56943eaa58 Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 20:14:18 +00:00
Stephan Aßmus
6e1c9c648a Adjusted the resolving algorithm such that when the preferred handler of the
super type is among the handlers with direct support for the sub-type, that this
handler is at the beginning of the list of fall-back handlers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 17:51:11 +00:00
Ithamar R. Adema
47a07cbf03 * Truncate the strings displayed in the printer list properly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 16:48:18 +00:00
Ithamar R. Adema
d023a58407 * Fix problem reported by stippi: The IPP transport addon expected the URL in a custom printer attribute instead of the standard transport_address attribute. This caused the IPP transport to ask for the URL even though the Printers preference panel had already stored the URL in the transport_address attribute.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 16:04:34 +00:00
Scott McCreary
2d0a43e6a6 Refreshed mercurial package for r1a2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 15:32:33 +00:00
Stephan Aßmus
13c177daf2 Mail actually saves drafts in "~/mail/draft", not "~/mail/drafts". This fix
prevents a second folder "draft" being created when saving mails in Mail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 14:15:21 +00:00
DarkWyrm
09a03cb827 <malloc.h> -> <stdlib.h>
Style fixes, no functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 12:27:29 +00:00
Stephan Aßmus
c497ec3773 Patch by Alex Wilson (yourpalal): Converted the remaining two translators to use
layout management. Fixed a bug in the HVIFTranslator which did not release
the TranslatorSettings in it's destructor. Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 10:39:39 +00:00
Stephan Aßmus
da72ff2672 Changed the resolving of the best handler for a MIME type to consider other
supporting apps of the sub-type only when there is a preferred handler for the
sub-type configured at all. In this case, it is assumed that the super-type
preferred handler is not really suitable. In the case when no sub-type
preferred handler is configured, the super-type preferred handler will always
get precedence, even if there are applications installed that declare direct
support for the sub-type. This makes the behavior more consistent/deterministic
and the "Open With" menu that Tracker displays will have the checkmark at
the app again that will really be used to open the type by default. Should
fix #5821 for good, as suggested by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-27 10:24:00 +00:00
DarkWyrm
e234c03470 Adding and deleting resources now implemented
Added drag and drop support to add resources to the current project
Updated e-mail address and copyright information
Converted window registration to use a static variable to simplify and correct window closing code


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 23:38:41 +00:00
Jérôme Duval
4c688b93e3 now uses INT_MIN
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 21:57:02 +00:00
Ingo Weinhold
22984248fa * kernel_debugger_loop(): Don't access sSyslogBuffer without checking whether
it is non-NULL first.
* syslog_init_post_vm(): Make sure the area for the debug syslog could actually
  be created and fail otherwise.
* syslog_init_post_threads(): Fixed the cleanup on error. In case of a debug
  syslog we need to delete the respective area instead of free()ing the
  memory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 21:16:36 +00:00
Oliver Tappe
e590fb24c6 * style adjustments
* commented out a useless block of code (and added a respective TODO) 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 17:11:11 +00:00
Ingo Weinhold
e76856a4a5 Enabled the IOCache depending on the amount of free pages. Currently the
limit is 180 MB.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 16:56:37 +00:00
Ingo Weinhold
5060d7980f IOCache implements IOScheduler, now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 15:43:20 +00:00
Ingo Weinhold
2eab54201c Added SetDeviceCapacity() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 15:42:34 +00:00
Ingo Weinhold
0715529b59 Renamed IOScheduler to IOSchedulerSimple and pulled an interface IOScheduler
out of it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 14:47:24 +00:00
Ingo Weinhold
7aba4e400e Moved IOSchedulerRoster into its own header/source files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 14:09:39 +00:00
Stephan Aßmus
be1c10ae19 If the BMailChain does not contain a setting for the path for storing out-going
mail, fall back to using $HOME/mail/out. Otherwise mails would be stored in
the current directroy. I have no idea why the default BMailChain would not
contain the setting, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 13:58:32 +00:00
Ingo Weinhold
b1e06d23ce * The "page_stats" command does now also print the longest contiguous runs of
free respective free and cached pages.
* Removed the unused vm_page_allocate_page_run_no_base().
* vm_page_allocate_page_run() (and allocate_page_run()):
  - Use vm_page_reserve_pages() instead of vm_page_try_reserve_pages(), i.e.
    wait until the reservation succeeds.
  - Now we iterates two times through the pages to find a suitable page run. In
    the first iteration it only looks for free/clear pages, in the second
    iteration it also considers cached pages. This increases the chance of the
    function to succeed, when a lot of caching is going on.
    This reduces the amount of memory required to use the IOCache when booting
    off the anyboot Live CD to around 160 MB in qemu. It also seems to work with
    128 MB, but the syslog indicates that some memory allocations fail, which
    is not exactly inspiring confidence.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 13:56:09 +00:00
Stephan Aßmus
01becc3026 Updated WebPositive package to svn version 462. This version removes claiming
support for JPEG, PNG, GIF images as well as text/*. It also fixes a problem
where the policy for new pages was wrongly applied to pages that already have
a pending resource request.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 13:43:32 +00:00
Oliver Tappe
1d26f9e11c Fix #5755: Locale preflet crashing when dragging languages around
* The flag bitmaps being part of list items were not treated properly in
  the language item's copy constructor (the bitmap pointer was copied, not
  the bitmap object itself). As a result, bitmap objects were freed more than 
  once. 
* some cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 13:43:06 +00:00
Ingo Weinhold
c1b8ab4ef0 vm_create_anonymous_area(): Allocate the page run for B_CONTIGUOUS areas
before locking the address space. That gives us a bit more flexibility in
vm_page_allocate_page_run().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 13:28:05 +00:00
Oliver Tappe
fd49f4844b * removed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 13:27:27 +00:00
Stephan Aßmus
c89c29e76c Moved the "Write boot sector" and "Set up boot menu" functionality into a new
Tools menu. Fixes #5820.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 11:37:32 +00:00
Stephan Aßmus
43c4e12359 * Small style cleanups
* Fixed a warning


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 10:50:55 +00:00
Stephan Aßmus
2061b030b8 In the spirit of giving exposure to as many Haiku features as possible,
integrate the Boot Manager into Installer. There was a patch for this in ticket
#4425, but I have implemented this myself, since the patch didn't implement
the interaction with running and quitting DriveSetup and Bootman correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 10:09:14 +00:00
Stephan Aßmus
21629aa53d Don't allow the main window to be minimized when the Deskbar is not running.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 10:00:59 +00:00
Axel Dörfler
3179449933 * Renamed ATAInfoblock.h to ATAInfoBlock.h.
* Fixed copyright as pointed out by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 09:13:12 +00:00
Stephan Aßmus
a2f38e3c28 Added an optional package for some predefined Tracker New Templates and made it
part of the alpha release profile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 09:02:36 +00:00
Stephan Aßmus
713c42c523 Adapted BRoster::FindApp() documentation which outlines the retrieval process
of preferred and supporting applications to the new behavior. Other methods
affected by the new behavior already refer to the documentation for FindApp().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 08:30:16 +00:00
Scott McCreary
5199d580de Updated xz-utils and beae for r1a2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 05:43:24 +00:00
Matt Madia
9abf258fd8 Modified Server_Bluetooth icon to be an updated Misc_Hand
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-26 04:17:29 +00:00
Jérôme Duval
7f78035b8b Should fix #5806. CollectTargets() is also called for packages, the fVarDirectory init is moved to ResetTargets().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 22:00:47 +00:00
Fredrik Holmqvist
cc393dbf74 Enable ACPI.
While there has been no reports of fan or temperature problems that we know of,
there are rumours that this might happen.
It's a good idea to check that fans and temperature works as normal
just to be safe.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 17:33:13 +00:00
Jérôme Duval
3b1f35c046 catattr can now show attributes on symlinks through the option P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 17:23:02 +00:00
Jérôme Duval
edd11dcdc9 Fix proposition to #5803 noticed by Marcus.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 17:00:46 +00:00
Stephan Aßmus
da24e53cf8 Changed the behavior for BRoster::FindApp(), Launch() and related functionality:
Instead of only checking the preferred applications of a given MIME type and its
super type (i.e. "text/html" and "text"), build a list of all supporting apps,
where the preferred types of the sub and super type lead the respective
sections of the list. Then try to find the first valid application in the list.

This makes it possible to double click "Welcome" on the Desktop, even though
the text/html MIME type still has BeZillaBrowser set as preferred application.
Previously it would launch StyledEdit, even though WebPositive was readily
available.

The previous behavior was probably implementing exactly the BeOS behavior, but
I can't see a good reason why we should be compatible here. Until now, my
testing has also not revealed any regression.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 16:40:29 +00:00
Stephan Aßmus
5af798836a Make sure to invalidate the region that was previously within the text rect,
but which is outside the new text rect, when changing the text rect. Solves
dirty regions in BTextViews. For example the black bar along the top of the 
URL input in WebPositive after starting it. Or random bits of text left-over
in Beam when switching emails.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 14:29:38 +00:00
Oliver Tappe
3417c110cf Fix #5725, single pixel caret drawing artefact in an empty BTextView:
* _NullStyleHeight() must return the height including the 1 pixel gap between
  the lines, as that's how it's being used

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 12:16:50 +00:00
Scott McCreary
4f221234a0 Updated perl and python packages, fixed year on texinfo filename.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 11:51:32 +00:00
Stephan Aßmus
55538d2844 Added a few people to the contributors list who's patches have recently been
landed. Thanks a bunch! If I have forgotten anyone, please do bring it to my
attention! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 11:34:25 +00:00