Commit Graph

34740 Commits

Author SHA1 Message Date
Matt Madia
cf8a79a2a1 Updated cdrtools, built by scottmc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 16:09:54 +00:00
Stephan Aßmus
15f297ef5f Patch by Humdinger to improve some strings in Touchpad. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 14:05:32 +00:00
Matt Madia
a924435c3e Updated OpenSSH to a newer version built by scottmc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 13:39:26 +00:00
Ingo Weinhold
0ef0e3cfa0 Map read-only segments over-committing for the relocation. This prevents the
kernel from committing memory for all read-only segments until we're done
relocating. This allows Haiku to boot on machines with less RAM and swap
disabled. At least in qemu I could boot with 100 MB and start WebPositive.
Probably fixed #5822.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 12:09:43 +00:00
Ingo Weinhold
fe5ea7b4d2 VMAnonymous[NoSwap]Cache, overcommitting mode:
* Commit(): Unreserve memory when asked to shrink the commitment.
* Fault(): The whole logic is flawed, since this is always called by
  vm_soft_fault(), even, if the page is finally mapped from a lower cache.
  Now we do at least limit our commitment to (page_count + 1) * B_PAGE_SIZE
  instead of always reserving memory for another page.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 12:02:33 +00:00
Ingo Weinhold
278f7e57cd map_backing_store(): Also consider the B_OVERCOMMITTING_AREA for private
maps. The new cache will be created in over-committing mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 11:55:27 +00:00
Stephan Aßmus
59d0c2e45e * Introduced PaletteConverter::IndexForRGBA32() which checks if the alpha
component of a 32 bit color is below 128 and returns the special CMAP8 index
   for indicating transparency.
 * Changed the WriteCMAP() color conversion function to expext a 32bit RGBA
   value and use IndexForRGBA32().
 * Adapted B_CMAP8 target color space case of ConvertBits() to the new
   semantics.

This allows transparency in bitmaps when converting B_RGBA32 bitmaps to
B_CMAP8, tested only for this case and working as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 11:29:14 +00:00
Ingo Weinhold
8cd3dac13e Reintroduced sigwait(), sigsuspend(), and sigpending(). There are obviously
drivers using those.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 10:00:44 +00:00
Axel Dörfler
c71183bc8b * Added the text "(Do you have ACPI enabled?)" in case -q failed.
* Minor coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 07:13:21 +00:00
Matt Madia
2b1246262d fixed the horrible typos.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 04:31:56 +00:00
Matt Madia
1ecdca7b7f Forgot to update NetSurf's source url
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 03:42:16 +00:00
Matt Madia
22cd332999 Manually the .OptionalPackageDescription file of many packages, to add
SourceURL: Text <URL> lines. InstallSourceArchive commands have been added,
where source archives provided. The baseSourceURL has been updated to
http://haiku-files.org/files/releases/r1alpha2/sources


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-30 03:36:07 +00:00
Rene Gollent
f7cf319589 PoseView::MoveSelectionInto() needs to check for the case that the source
window actually has a selection list to use. Certain actions can render it 
possible to empty out the selection in mid drag-and-drop, which MoveSelectionInto
wasn't taking into account, leading to a crash.

Fixes ticket #5860.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 23:57:50 +00:00
Ingo Weinhold
612721376c Create the gcc4 cpp headers symlink also for the gcc2 hybrid build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 21:42:21 +00:00
Ingo Weinhold
aa0872e069 Fixed lib{sup,std}c++.so symlinks for the new gcc4 package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 21:22:14 +00:00
Ingo Weinhold
523d310585 * get_emulation_buffer(): Don't replace the request data. Both callers
(scsi_start_mode_sense_6(), scsi_start_mode_select_6()) also call
  replace_request_data(), which does the same. Therefore the original request
  data were lost. scsi_start_mode_select_6() also copied the wrong data due
  to this.
* scsi_finish_mode_sense_10_6(): In case of error also call
  restore_request_data() to restore the request data.

Fixes #5855 -- since the request data length was changed, unlock_memory() was
called with a different length than lock_memory(), thus triggering the
panic(). After starting CDPlayer the syslog is still spammed with failing
requests, so obviously something is still not OK.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 20:26:19 +00:00
Scott McCreary
4dc89bc259 Updated subversion, cvs, and libpcre optionalpackages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 20:13:28 +00:00
Ingo Weinhold
2dbf8cd728 Source SetupEnvironment with the more portable ".".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 18:15:41 +00:00
Ingo Weinhold
f1a61cda9a Typo-fixed patch by mjw: Include SetupEnvironment from /etc/profile, so
shells started by remote login daemons (sshd, telnetd) also get the
environmental variables defined there. Closes #5789 and #2468.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 16:47:05 +00:00
Matt Madia
199ad3daa6 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 16:04:29 +00:00
Matt Madia
2731f156ed Added support for case-insensitive recognition of package names. Fixes #5854.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:56:46 +00:00
Matt Madia
ac8e7456e6 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:50:22 +00:00
Ingo Weinhold
73f4184b7b Unset sSyslogBuffer in all error cases in which we disable syslog output.
Spotted by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:32:54 +00:00
Ingo Weinhold
d3166e469c Replaced no longer necessary send_signal_etc() work-arounds for
resume_thread().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:23:29 +00:00
Ingo Weinhold
28d05e026f Make scheduler_reschedule() an no-op until we're ready to start the
scheduler. This avoids the need to use the send_signal_etc() work-around for
resume_thread() during the early kernel initialization. Might fix #5851.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:10:37 +00:00
Axel Dörfler
d3a302aae8 * embedded_controller_support() now actually checks all entries of the
supporting ID array (just that it only contains one entry).
* Fixed missing malloc() result check in embedded_controller_init_driver().
* Style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 15:09:38 +00:00
Ingo Weinhold
7b8344c61e syslog_init_post_vm(): If the syslog is disabled, clear sSyslogBuffer. It is
already initialized in syslog_init(), if the debug syslog feature is enabled.
Since the area would never be created, the pointer becomes invalid, however,
and could cause a double fault on entering KDL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 14:16:25 +00:00
Oliver Tappe
8ffd908216 * updated Beam to work with newer version of openssl
* cleanup with respect to 80-chars width

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 12:23:30 +00:00
Ithamar R. Adema
037e8a50ff * Switch from using BMenuField to BTabView for panel selection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 11:59:50 +00:00
Axel Dörfler
5151639147 * The window is now centered on screen when opened for the first time.
* Simplified and cleaned up the "window not on screen" code.
* Enlarged the default window size a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 08:37:12 +00:00
Axel Dörfler
0230fc14ea * Neither ours nor BeOS' find_directory() will return an error if the directory
does not exist yet.
* Therefore, only BDirectory::SetTo() will fail if the trash does not exist
  yet. Changed the code to actually work as expected, now.
* Fixed old and new style violations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 07:37:06 +00:00
Ingo Weinhold
d62afe7ab0 VMUserAddressSpace::LookupArea(): Although only a read-lock is the
precondition for calling the function it read/write accessed the fAreaHint
attribute in a non-atomic manner. I.e. if executed concurrently by two
threads of the same team one could return the wrong area. The most likely
problem could be caused in vm_soft_fault(), leading to pages being added to
the wrong caches.
The bug itself is inherited from NewOS, but is triggered way more likely
since the page daemon unmaps inactive pages (r35485). Probably fixes #5413.
Might also fix the sporadically occurring crashes/asserts in the hoard
allocator -- at least inactive pages being replaced by zeroed ones would be
an excellent explanation.
[Thanks to Matt for providing remote debug access to his machine.]


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 22:06:40 +00:00
Rene Gollent
ca34b4221c Only write the icons if we did in fact have to freshly create the Trash directory. Should fix #5827 completely.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 20:17:30 +00:00
Rene Gollent
0872569da9 Temporarily comment out writing the vector icon since it currently appears to be broken somehow. Will look into it tonight.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 18:47:47 +00:00
Rene Gollent
63ebfa8d08 When creating Trash directories, Tracker would only set the hidden and/or icon attributes at startup for volumes mounted at that point in time. Volumes mounted later would have the directory created, but not marked hidden or otherwise attributed, which would lead to confusing situations where the root Trash dirs would appear randomly while browsing the filesystem.
Instead, Tracker now always writes those attributes when calling FSGetTrashDir(), which is reused by FSCreateTrashDirs(). Fixes ticket #5827.




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 18:30:04 +00:00
Axel Dörfler
4fe399e426 * Use vm_page_write_modified_page_range() instead of
vm_page_schedule_write_page_range() to prevent more memory pressure.
* While it seems to help a bit, it doesn't solve the problem of bug #5777.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 18:09:09 +00:00
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