Commit Graph

16464 Commits

Author SHA1 Message Date
Axel Dörfler
74e8df0e6e Follows the suggestion by Stefano and caches the square root.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 22:31:49 +00:00
Marcus Overhagen
5deac87dd2 prepared hotplug support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 22:26:05 +00:00
Axel Dörfler
e7d4bde0b8 Accidently broke ConstIterator::Rewind().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 22:13:36 +00:00
Stefano Ceccherini
6aa12747cd Stupid me. ConvertToScreen() isn't needed, and I should read more carefully my own code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 21:50:35 +00:00
Stefano Ceccherini
ed49f4afcd Improved OkToProceed(), removed unused file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 21:46:19 +00:00
Stefano Ceccherini
f356aedc02 Implemented BMenu::OkToProceed() and used it correctly in BMenu::AttachedToWindow(). For some reason, though, I had to comment it out partially as something is wrong. I haven't debugged, though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 19:43:05 +00:00
Jérôme Duval
1e7392d78b fixes some bugs with buttons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 19:30:19 +00:00
Jérôme Duval
ae89492b27 fixes wokspaces grid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 19:26:38 +00:00
Stephan Aßmus
306e92084c * small cleanup of Draw (less usage of ui_color() which currently
takes a trip to the server!)
* changed look of mark and submenu symbol to better fit the rest
  of the already changed controls
* the actual background color is passed to DrawMarkSymbol() and
  DrawSubmenuSymbol()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 18:20:06 +00:00
Axel Dörfler
fabe8c62ff The kernel boot code now supports the unknown bus/device method to identify the
boot volume. The other (better) methods are now disabled in the boot loader.
This fixes bug #241.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 17:01:10 +00:00
Axel Dörfler
855697b122 This should fix the PPC build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 16:36:53 +00:00
Axel Dörfler
d140fed68f Turned off some debug output, the device tree is no longer dumped (was a partial
tree only, anyway, as it was dumped before the recognition of any devices).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 15:14:30 +00:00
Axel Dörfler
ecdaf9dea8 * The boot loader now adds all block devices in case the BIOS doesn't give enough
information to identify the boot volume - if we want to be able to map all BIOS
  drive IDs to the disks in the system, we need to do this always, though.
* Forgot to commit the updated disk_identifier.h in the last commit...
* Removed the unused dumpBlock() function from devices.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 14:50:37 +00:00
Axel Dörfler
1bcbbd6a72 The boot loader now does its job and computes drive check sums at arbitrary blocks
in order to differentiate boot disks. The kernel still ignores this wisdom, though,
bug #241 still remains open.
This currently only works correctly if the boot menu is opened, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 13:56:57 +00:00
Stephan Aßmus
cc7c040b56 * Renamed occurrences of "Reboot" to "Restart".
* Added TODO regarding the mismatch of shutdown phase names, comments,
  and the actually executed actions. The phase names and comments say that
  the background apps are terminated before the non-application processes,
  while in reality things are done the other way around. I suppose the
  latter order is correct though.  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 12:05:40 +00:00
Axel Dörfler
c918a987a0 * Removed my old doubly linked list implementation, and stay with Ingo's.
* Adapt other sources where needed (the boot loader's RootFileSystem still
  used the old implementation).
* Implemented RootFileSystem::Rewind().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 10:27:05 +00:00
Axel Dörfler
a722407264 Added "relabel" command to rename volumes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 07:38:53 +00:00
Axel Dörfler
6f850dfd44 Build fixes for the R5/Dano target, no longer relies on the COMPILE_FOR_R5 macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 06:48:24 +00:00
Marcus Overhagen
05cda59dbf optimized debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 22:23:57 +00:00
Marcus Overhagen
c8cc0176a3 disabled a test that doesn't work relyable on some notebooks (stupid keyboard controller)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 22:04:03 +00:00
Axel Dörfler
d5a9137007 No writes the correct attribute type for the Trash icon - this caused Tracker
to have the plain directory icon for the trash. You might need to delete the
trash icons in order to see the correct ones (as our BFS is more restrictive
with respect to the attribute type).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 20:13:46 +00:00
Axel Dörfler
5351ff06d0 Implemented CheckNodeIconHintPrivate() - this missing call was responsible for the
wrong icons Tracker showed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 20:11:54 +00:00
Axel Dörfler
7d2fafcac5 Forgot even more debug output...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 18:45:54 +00:00
Axel Dörfler
61106f7e86 Forgot to remove some debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 17:11:43 +00:00
Axel Dörfler
31659673cd Added the "general_info" structure - seems to be exported by libbe.so and used
by Vision (shame on you, AnEvilYak ;-)). It doesn't seem to be maintained even
under R5, though, so if Vision turns out to be the only app that it currently
needs, we can as well remove it again, and fix Vision (being open source and
all).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 16:57:22 +00:00
Axel Dörfler
2fd8de2415 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 16:40:38 +00:00
Axel Dörfler
c14a34a65f * Improved kernel ELF loader (and made it more similar to the one from the boot
loader): it now supports holes between segments, and accepts any segment order.
* Renamed elf.c to elf.cpp and fixed warnings.
* Renamed elf_image_info::dynamic_ptr and eheader to dynamic_section and elf_header.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-26 15:58:43 +00:00
Axel Dörfler
29e8a73a07 * No longer ignores the screen refresh limits from the driver.
* Now builds under R5, but looks ugly (for testing only).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 20:10:34 +00:00
Axel Dörfler
7a3806ce87 Now you can also select the refresh rate you like under R5. Looks like there is
room for improvements left in our screen preferences application, which ignores
the pixel clock values completely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 17:47:10 +00:00
Axel Dörfler
a796facf49 Filled the hole between 60 and 75 Hz for the refresh rates.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 16:48:24 +00:00
Axel Dörfler
690b893c1e * The saved screen position is now checked; if not at least 40 pixels of the
window are on screen in any direction, it will fall back to the default
  position (ie. centered on screen).
* Centering the window now takes an eventual screen offset into account.
* Cleanup, added license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 16:46:20 +00:00
Axel Dörfler
943578b15b Added some debug output - the driver is actually working under R5 as well, I just
didn't test it correctly last time...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-25 16:29:02 +00:00
Axel Dörfler
e404297e56 Very basic driver for the "Intel Extreme Graphics 2" chips, only supports i865G for now.
Only mode switches do work, doesn't yet make sure the mode is valid, though.
At this point, this driver only works on Haiku, the R5 app_server is crashing for some
reason I need to investigate some day (maybe tomorrow :)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-24 21:46:40 +00:00
Axel Dörfler
342c2a73ab Improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-24 21:27:01 +00:00
Axel Dörfler
5ba2a3839d Improved the filter capabilities of the "ports", "port", "sems", and "areas" debugger commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-24 12:59:23 +00:00
Axel Dörfler
45fd48cd1e Fixed the build under Haiku, ie. corrected the previous macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-24 10:09:05 +00:00
DarkWyrm
0598d0bd05 Fix build under R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-24 03:55:43 +00:00
Stefano Ceccherini
7abe70f1b4 Hopefully cleaned up a bit the locking in BMenu::_show()/_hide()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-23 15:33:28 +00:00
Axel Dörfler
cfa91cc4cb * Reverting the screen mode now reverts to the one applied last, not the
one that was active when the application was launched (which was lost
  on workspace change, anyway).
* Fixed on-screen centering of the AlertWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-23 15:17:54 +00:00
Axel Dörfler
c5d80d47d8 * Changed the signature of "Backgrounds" to follow how those signatures
are supposed to look like.
* Fixed Screen to have the correct signature for Backgrounds (had the
  one from Be before).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-23 15:11:07 +00:00
Stefano Ceccherini
68ead3ea06 BLooper uses a benaphore style lock, should save some cycles. I hope this wasn't left out on purpose
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 21:56:31 +00:00
Stefano Ceccherini
37cf3d970d Avoid attaching a menu to the BMenuWindow when not needed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 21:07:35 +00:00
Stefano Ceccherini
b781587aff BMenuItems are invoked if needed when they are child of a menubar. Fixes bug 343
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 20:52:25 +00:00
Stefano Ceccherini
b80eb9d443 Partially reverted axel's change, because it brings more troubles than benefits (menus lock when they reuse the supermenu's menuwindow). I'll try to resolve the various problems in another way. Some cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 20:47:52 +00:00
Stephan Aßmus
2297a36b5b * added functions to improve binary compatibility with old apps
-> Guido (for which there is source available though) is now
  running fine on Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 20:33:02 +00:00
Rudolf Cornelissen
2a898ff7a5 finalized docs for 0.74 release
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 18:59:39 +00:00
Axel Dörfler
8d4005f236 * Added Travis Geiselbrecht for his NewOS kernel.
* Moved Adi Oanca and Matthijs Hollemans to the list of contributors, as they are
  no longer active developers.
* Moved Michael Lotz to the list of active developers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 12:55:31 +00:00
Axel Dörfler
32379481e3 Added Bryan Varner to the list of developers in anticipation of things to come :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 12:08:29 +00:00
Axel Dörfler
e87965deed * Fixed a possible crash when removing and adding items from a window.
* This does not yet close bug #233, but could also be a reason for this crash.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-21 17:49:42 +00:00
Stefano Ceccherini
7a2c9b35cd Reverted to r16487 due to various problems. I'll recommit the code once it's fully working.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-21 16:06:46 +00:00