Commit Graph

37406 Commits

Author SHA1 Message Date
Alexander von Gluck IV
7ccc9b45e8 arm loader: Style cleanup of loader arm arch code
* These video sources would be good cannidates to be
  refactored as classes. (like the arm serial code)
* No functional change. There are some order style issues
  in some of the code (the top externs), but I decided to
  not fix them as I can't build these atm to test.
2012-09-15 09:24:13 -05:00
Alexander von Gluck IV
d501b694bf rPi: Set 1 cpu in the loader 2012-09-15 09:24:12 -05:00
Marcus Overhagen
8e813c26cd ignore partition info logical_block_size 2012-09-15 12:39:01 +02:00
Marcus Overhagen
ed5e4ee428 also print partition info 2012-09-15 12:38:38 +02:00
Ryan Leavengood
721d056e11 Don't call unload_driver_settings twice. Thanks Hamish. 2012-09-15 00:19:42 -04:00
Marcus Overhagen
4a2ac3c2ac Fix size parameter for ioctl. 2012-09-15 01:22:34 +02:00
Marcus Overhagen
3c5216179e implement support for harddisks bigger than 2TB
* can't test this, it's untested, but similar to ATADevice.cpp
 * should no longer panic when hdd > 2TB is connected
 * fix request completition in two error cases
 * add const to some parameters
2012-09-14 22:21:47 +02:00
Marcus Overhagen
1f6d0a79c9 use template max() instead of max_c() macro 2012-09-14 20:24:36 +02:00
Marcus Overhagen
87b33446e1 gcc2 compile fix (gcc4 didn't complain) 2012-09-14 19:29:34 +02:00
Marcus Overhagen
2f0f9d8780 cleanup variable naming for port count 2012-09-14 18:58:58 +02:00
Marcus Overhagen
a63b046e90 add missing line breaks in debug output 2012-09-14 18:58:58 +02:00
Marcus Overhagen
0d73f6ec8a properly check intel port count and don't panic on more than 8. 2012-09-14 18:58:58 +02:00
Marcus Overhagen
6c9f2e94e7 set GHC.AE before performing reset (should be done by BIOS already) 2012-09-14 18:58:58 +02:00
Marcus Overhagen
863a181c0b make sure there are no pending interrupts during setup 2012-09-14 18:58:57 +02:00
Alexander von Gluck IV
f78dd1249a VM Preflet: Use AutoDeleter on the settings
* Prevents a minor memory leak
* Thanks for catching this Axel!
2012-09-13 11:11:36 -05:00
Marcus Overhagen
517a59c9a1 Make a void * pointer const. 2012-09-13 09:58:43 +02:00
Axel Dörfler
267b646396 Run the transaction flusher in another thread.
* This fixes bug #8977.
2012-09-12 20:20:43 +02:00
Ingo Weinhold
1bd0748253 Fix crash in MemoryManager::PerformMaintenance()
sFreeAreaCount wasn't decremented after removing an area from
sFreeAreas, thus causing the loop to continue until enountering and
crashing on a NULL pointer after removing the last area. Introduce
helper methods _PushFreeArea() and _PopFreeArea() to ensure this cannot
easily happen again.

Fixes ticket #8972.
2012-09-11 22:31:19 +02:00
Marcus Overhagen
8040911a25 Use implemented ports mask to check if maximum port count needs to be extended.
* This should fix #8953
 * Also fix some harmless off-by-one errors
2012-09-10 22:32:20 +02:00
Alexander von Gluck IV
1946d374f2 rPi: Update boot process for later Pi firmwares
* The bootprocess is better documented now.
  Put technical info in linker script, user info
  into info.txt
2012-09-09 21:10:16 -05:00
Axel Dörfler
7d362bb34c The sFragmentLock was never being initialized.
* This fixes bug #8958.
2012-09-09 22:53:19 +02:00
Fredrik Holmqvist
cdca279abd Remove unused header hpet.h. 2012-09-09 14:47:49 +02:00
Fredrik Holmqvist
953ca70721 Removing the acpi_avoid_full_init config option.
I've never heard anyone that been helped by that setting.
2012-09-09 13:13:53 +02:00
Alexander von Gluck IV
b772f88c88 VM Preflet: Fix user prompt string typo. Thanks ttcoder! 2012-09-07 18:04:17 -05:00
Alexander von Gluck IV
59c595739c VM Preflet: Add a BStatusBar to show swap file usage
* Correct a situation where disabling the auto swap without
  adjusting the swap size would result in an invalid swap
  size getting written to the configuration
2012-09-07 12:40:56 -05:00
Alexander von Gluck IV
5e7287f987 VM Preflet: Style cleanup; check for success of fs_stat_dev
* Cleanup as per Axel on the ML
* Remove superfluous else statements
2012-09-07 07:18:20 -05:00
Alexander von Gluck IV
f18cace156 VM Preflet: More correctly calculate default swap 2012-09-07 00:46:14 +00:00
Alexander von Gluck IV
5dff42570e VM Preflet: Center properly on screen
* On first run, dialog was at 0,0
* Rename window location/settings file
  from VM_data to virtualmemory_preferences
2012-09-07 00:34:00 +00:00
Alexander von Gluck IV
534268052d Kernel VM: Utilize swap_auto option
* Refine the swap logic a little
* Refine header copyright to preferred format
  I had hamishm's verbal permission to change his entry
2012-09-07 00:13:14 +00:00
Alexander von Gluck IV
91390fb0d3 VM Preflet: Add an automatic swap option swap_auto
* Add swap_auto to the virtual memory settings file
* Disable controls based on the context of what is enabled
* hamishm gave permission to adjust his copyrights to Haiku, Inc.
2012-09-07 00:13:03 +00:00
Alexander von Gluck IV
91a8191a25 VM Preflet: Style fix. bootDev to gBootDev. No functional change 2012-09-07 00:12:54 +00:00
Alexander von Gluck IV
ab4f001685 VM Preflet: More throughly translate BAlert window titles
* Ensure we call translate BAlert window titles
2012-09-07 00:12:46 +00:00
Hamish Morrison
b8838e91d9 VM Preflet: Add support for device selection
* Enables swap file to be placed on non-boot partition
* Changes tied closely to recent kernel virtual memory change
2012-09-07 00:12:37 +00:00
Axel Dörfler
f1cbaf5c8f Fixed warnings, 80 character line limit. 2012-09-06 22:09:42 +02:00
Humdinger
f6d33da6a4 Small corrections to AboutSystem.
Thanks Rene.
2012-09-05 19:38:14 +02:00
Humdinger
ae7bcbaa12 Updated the list of contributers.
Added people to the list contributers.
Moved people to the list of past maintainers.
Added GCI to our Google thanks.
2012-09-05 18:19:40 +02:00
Ryan Leavengood
e665a8baa6 New icons for source code and patch files.
Both are from #8867, created by Justin Stressman. The previous source code icon
was not friendly to those with green color blindness. I also think it was an
ugly green.

Fixes #8867 of course.
2012-09-05 01:36:25 -04:00
Alexander von Gluck IV
4517ef5728 Kernel VM: A few changes as per Axel in #7742
* Avoid floating point numbers in the kernel
* Warning would always show if custom swap file in use
* Don't change a custom swap file size if low space occurs
* Ram > 1GB? Don't double the memory for the automatic size
2012-09-04 15:35:10 -05:00
Alexander von Gluck IV
3e01905aca Kernel VM: Add compatibility logic
* If old-format swap config file found, parse it properly
2012-09-04 13:27:33 -05:00
Alexander von Gluck IV
0606074fd9 Kernel VM: Improve swap file selection
* Heavily based on Hamish Morrison's GCI work with some
  modified logic and cleanup. #3723
* Adds automatic swap as well as user specified swap
* Limits:
  Automatic: (ram * 2) up to 25% of the disk
  User: user specified up to 90% of the disk
* Supports changing the swap disk location
2012-09-04 12:31:56 -05:00
Alexander von Gluck IV
3d87b8120c Kernel VM: Style cleanup; No functional change 2012-09-04 08:42:36 -05:00
Axel Dörfler
098967cee1 Fixed the new issue in #8910 from r44585.
* The ASSERT() I introduced in r44585 was incorrect: when the sub transaction
  used block_cache_get_empty() to get the block, there is no original_data for
  a reason.
* Added a test case that reproduces this situation.
* The block must be moved to the unused list in this situation, though, or else
  it might contain invalid data. Since the block can only be allocated in the
  current transaction, this should not be a problem, though, AFAICT.
2012-09-04 01:00:33 +02:00
Philippe Saint-Pierre
96c30cc820 Tracker: fix warning in gcc2
Refactor a bit the conditions to avoid a warning.
2012-09-03 16:53:53 -04:00
Rene Gollent
139ee87903 Fix some behavioral regressions introduced by previous commit.
- Some parts of Tracker were basing certain assumptions on whether the
  types list was NULL or not. We now check on list emptiness instead.
2012-09-03 16:42:14 -04:00
Rene Gollent
9335e141ba Fix crash when dragging files onto nav menus.
- BNavMenu now keeps its own copy of the cached types list that's passed to it.
  In some circumstances it could happen that the container window would
  delete the list and consequently the nav menu would wind up with a pointer
  to an invalid object. Probably a regression from the async mouse tracking
  rewrites.
2012-09-03 16:28:47 -04:00
Jerome Duval
1d6d4b7872 libtiff: fix ppc build 2012-09-03 19:01:20 +02:00
Ryan Leavengood
33570266f1 Get all parameters from a notification message.
Fixes #8916. Thanks Prodito for the patch.
2012-09-02 19:42:43 -04:00
Philippe Saint-Pierre
b5f22a7f78 MediaPlayer: Deletion of playlist entries
Several scenarios of misbehaviour found and fixed, examples :
* Deleting an item sitting before the currently playing item had the effect of
starting the playback of the item before the delete item.
(now it just updates the indexes - setting it to fCurrentIndex - 1 - without altering playback).

* Deleting the last item of the list had for effect of starting the playback of the entry
newingly being the last entry, regardless if the last entry was the active one or not.

Should fix #6689.
2012-09-02 16:14:02 -04:00
Ryan Leavengood
6446fc3582 Rename DecorSettingsView to LookAndFeelSettingsView. 2012-09-02 15:32:09 -04:00
Ryan Leavengood
fe855cd550 Appearance preflet: Add a double scrollbar arrows setting.
Rename the 'Decorators' tab to 'Look and feel'.

Fixes #8926.
2012-09-02 15:14:50 -04:00