Commit Graph

31481 Commits

Author SHA1 Message Date
Jonas Sundström
ec577ecf2f Removing printf committed by accident.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 04:19:01 +00:00
Jonas Sundström
4230fe9a76 Simplified window accounting and application quitting. Added silent relaunch. Serialize prefs saving through app. Replaced deprecated B_CLOSE_REQUESTED with B_QUIT_REQUESTED for Command-W. Set Command-Q to target application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 04:12:22 +00:00
Michael Lotz
257f000bd2 * When reserving pages and there aren't yet enough free pages, only steal as
many pages as are actually missing, not the full count.
* Take into account that free_page_queue_count() can be less than sReservedPages
  (when some of the reserved pages have been allocated already) in
  vm_page_num_unused_pages(). Before it could return negative and therefore
  wrapped numbers.
* Simplify the page scrubber loop by continuing early. Also avoids a needless
  interrupt spin lock acquisition when there's nothing to do.
* Some minor coding style cleanup.
* Fix a typo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 02:08:09 +00:00
Michael Lotz
156b8d5d2d * Initialize member variables.
* Remove some unused members.
* Avoid initializing the mouse position to non-integer coordinates.
* The frame right/bottom are width/height - 1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 01:37:22 +00:00
Marcus Overhagen
5987738cbe Faster bus scan by reusing device presence information that is available before
resetting the bus. This allows to skip devices that are not present. Works for
most but not all devices. Sometimes device 0 pretends that a device 1 exists,
but it's usefull anyway.
Allow working device 1 only configurations by not selecting device 0 anymore
for identification. Moved indentification from Reset into BusScan to do everything
in a single step. A SATA emulation in combined mode might have a slave (device 1)
only configuration when only one device is connected, depending on the port.
Also tested with PATA.
Recovery for lost interrupts. Works but is dead slow because of the timeout.
Bus reset isn't possible anymore, this needs to be implemented in a save way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 00:58:31 +00:00
Marcus Overhagen
ab9074ffa5 This should fix interrupt timeouts when using DMA mode.
Also ignore simplex bit for Intel controllers, and use
DMA for both channels.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-07 00:46:02 +00:00
Michael Lotz
1dd6345561 If the boot volume is BFS and read-only mount it with the write_overlay. This
allows for BFS based LiveCDs. Still this whole name matching feels hacky.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 23:15:23 +00:00
Jérôme Duval
b6d2c58586 added an optional package for OCaml
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 22:18:10 +00:00
Jonas Sundström
cbced9ed90 Removing unused bitmaps on request by Ralf Schülke. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 21:02:11 +00:00
Jonas Sundström
3360020ab0 If moved to Trash, close window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 20:42:23 +00:00
Jérôme Duval
bd7b0937db the float format is not supposed to be selected yet, as we don't support the float format in multi_audio.
dump more audio formats in hda.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 19:22:01 +00:00
Jonas Sundström
c7a206e9b1 ¡Ya basta! No more bitmap icons.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 18:37:48 +00:00
Ryan Leavengood
956c72fdc1 Commit patch from scottmc (#4363, OptionalPackages7.diff) to update the
libiconv optional package.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 17:43:47 +00:00
Joachim Seemer
3c123ba53f * Added a small section about Replicants to gui.html. If there's more
(for the enduser) interesting info, please add to it.
 * Linked to the Replicant section where appropriate.
 * Added gui-images folder for language-independent images.
 
 +alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 17:30:37 +00:00
Stephan Aßmus
72586154d7 * Finished ProgressReporter
* Integrated ProgressReporter into CopyEngine and UnzipEngine.
* Integrated unzipping to main installer engine. Since there are currently no
  .zip files in the _packages_ folder (and not even a _packages_ folder
  itself), this is completely invisible, but it works.

TODO: Adjust the build system to optionally copy packages into _packages_
instead of extracting them. Like for the CD build profile mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 17:23:31 +00:00
Jonas Sundström
c12764b812 Also state Be, Inc. copyright. Remove bitmap icons.
-alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 16:38:00 +00:00
Rudolf Cornelissen
19a34ea09c added disabling of spread spectrum-ing DAC clocks on NV30 and later: my laptop display nolonger shivers on the secondary output. version is 1.03. +alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 14:42:11 +00:00
Bruno G. Albuquerque
0c19bd4a85 - Update our entry_ref when the underlying file is moved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 14:08:41 +00:00
Jonas Sundström
4c74ef98f2 Mimeset based on query. This picks up bootman, desklink, mountvolume, urlwrapper, etc, the demos, and a bunch of Tracker, Print and Media add-ons - adding about 45 metamimes. Still harmless to LiveCD? Probably -alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 13:36:28 +00:00
Bruno G. Albuquerque
1d175bb86a - Fix break statements indentation.
- Remove debug left-over.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 13:01:20 +00:00
Jérôme Duval
6b8b7a818d sync with alpha, added git and mercurial patch from #4363
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 12:50:31 +00:00
Rudolf Cornelissen
f9eaa39dc1 oops. fixed singlehead DVI/laptop panel modes: pllsel needs to be set even if we don't program the pll itself. +alphabranch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 11:55:42 +00:00
Stephan Aßmus
41974e4319 * Changed the UnzipEngine to be a BCommandPipe::LineReader itself, this
simplified the code somewhat (maintaining of state).
* UnzipEngine does a more complete parsing of the .zip contents and maintains
  a hashmap of item names to byte size entries. During unzipping later on, this
  allows to know how many bytes were unzipped for the given item.
* Test whether folders from the .zip already exists, and exclude them from the
  item count, since unzip will not report creating folders that already
  existed.
* Added the unzipping of packages in the _package_ folder to WorkerThread, but
  it is currently commented out to keep Installer in a working state. It would
  work, but the problem is that the progress bar would reset itself at the
  moment (for every package).
* Started a ProgressReporter class that will later be used by all CopyEngine and
  UnzipEngine instances. This is work in progress and not yet part of the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 10:26:51 +00:00
Rudolf Cornelissen
148077d71e the previous commit shifted the PLLsel problem from digitally connected screens to analog connected screens apparantly. That is now fixed and both should work OK. Bumped version to 1.01. +alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 10:20:42 +00:00
Stephan Aßmus
032631e54a Make the base class destructor of BCommandPipe::LineReader virtual, since
that will fix the problem fixed in r32926 for all derived classes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 09:53:28 +00:00
Michael Lotz
aad5c04223 Add valloc() and posix_memalign() to malloc debug heap.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 05:13:01 +00:00
Michael Lotz
a712373138 Apply fix of r32951 to malloc debug heap as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 05:11:48 +00:00
Michael Lotz
da3412492a When we actually delete the area, we can obviously not access the next pointer
stored in there anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-06 05:04:55 +00:00
Joachim Seemer
ddecee790e * Updated poorman screenshot with un-trunkated button.
* Small addition to DriveSetup.
 
 +alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 18:31:31 +00:00
Joachim Seemer
48d80b8f6b I suck. Yeah, that too for the alphabranch. I'll stick to documentation now...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 17:23:16 +00:00
Jonas Sundström
f3358768ca Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 17:12:06 +00:00
Joachim Seemer
9439839160 Changed shortcut of Tracker addon 'Open Target Folder' from -T to -O. Fixes #4249. +alphabranch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 16:49:15 +00:00
Rudolf Cornelissen
faed7a30d4 fixed PLL selection trouble on GF6xxx and 7xxx cards with a little help from the nouveau project and a lot of testing. Now dualhead should work on most of these cards, and now you should nolonger be presented with a 'out of range' message on your DVI connected screen if the boot splash screen is at a lower-than-native resolution for your screen. This hopefully fixes bugs #1557, #2780, #2948 and #4321. Bumped version to 1.00. Yes. +alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 16:02:20 +00:00
Rene Gollent
36204b6dd4 Increase size of alpha images to 600MB. Fixes ticket #4420.
+alphabranch



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 15:25:12 +00:00
Philippe Houdoin
155b826065 Mouse watching thread name computation wasn't following the same
Upperize/Capitalize on the bus name than in keyboard one. 
"USB Keyboard" but "Usb Mouse".
No functional change. Really.

alphabranch it as you want.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 14:37:06 +00:00
Jérôme Duval
c3c10e905a patch OptionalPackages6.diff from ticket #4363
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 14:29:25 +00:00
Joachim Seemer
12d97bd372 * Added DriveSetup documentation. What came with my last commit wasn't actually
intended to be committed... :)

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 12:40:08 +00:00
Michael Lotz
9ae89b8373 * Implement attribute support in write_overlay. It mostly uses the same backends
as the other node operations.
* Differentiate between data and metadata modification, so that changes to
  attributes or stat fields (other than size) dont't prevent direct IO relay.
* Suppress child finish notifications when sending subrequests to the
  underlaying filesystem. Otherwise the request can be gone by the time we
  try to complete it.
* Fix offsets used for IORequest::CopyData().
* Some refactoring.
* Added locking.

With that a write_overlay can be put on attribute enabled filesystems to either
make them writeable or snapshot them. This allows for example for a working
BFS based LiveCD.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 01:54:40 +00:00
Michael Lotz
c39414002f Give an IORequest user the possibility to suppress child finish notifications.
This allows for synchronous uses where subrequests are forked off and waited on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 01:16:56 +00:00
Michael Lotz
c24f6c7b06 When deleting all subrequests the pending children count should probably be
reset as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-05 00:26:29 +00:00
Ryan Leavengood
7c870e9af5 These are the remaining changes to properly implement the new default of volume
space bars being on. Thanks for the tips Axel.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-04 21:02:56 +00:00
Rudolf Cornelissen
be913753e7 added a bit of extra programming for NV44 and G7x making sure the DAC(s) is(are) enabled. Bumped version to 0.99. +alphabranch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-04 18:19:10 +00:00
Stefano Ceccherini
3ecf187e2a Made MenuWindow::GetSteps() const.
Increased the scrollers size from 10 to 12, since at high resolutions,
they're really too small.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-04 18:16:59 +00:00
Axel Dörfler
6d1755ba92 * Removed locale kit leftovers from the build. This closes ticket #4386.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-04 10:50:38 +00:00
Michael Lotz
60a981fbbe When a focus locked window is hidden, we need to remove the focus lock.
Otherwise the focus cannot be changed to another window. In one case this could
have a severe sideeffect: When a window is quit it is hidden to remove focus and
remove it from screen. If this didn't work due to the focus lock, the fFocus
member would become a stale pointer after the window was quit and deleted. The
app_server would crash or corrupt memory on the next focus change. Easily seen
when moderately quickly clicking away a few alert windows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-04 03:51:15 +00:00
Bruno G. Albuquerque
ccc2cf7f03 - When the associated people file is deleted, close the window instead of
reseting it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-03 22:59:57 +00:00
Michael Lotz
edb6254810 When an app is going down and the windows are destroyed, all views are detached.
On detaching the views remove themselves from the app local token space. Since
the ServerApp only waits for all ServerWindows to be removed from the window
list and not for their actual destruction, it can happen that the ServerApp is
deleted before the window destruction and hence the view detaching has finished.
The views would then access a stale ServerApp pointer and try to remove their
token from the deleted token space. To avoid that we set the ServerApp pointer
to NULL when the window is removed from the app (as after that the app can be
gone any time) and check for that case when detaching.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-03 22:56:30 +00:00
Bruno G. Albuquerque
86e78dfaad - Classes with virtual methods should have virtual destructors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-03 22:48:54 +00:00
Ryan Leavengood
9e59c0f7b9 Fix #4407 by making the volume space bars on by default.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-03 21:31:12 +00:00
Jérôme Duval
e21d12516e the flag means no snoop
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-03 21:21:13 +00:00