Commit Graph

43362 Commits

Author SHA1 Message Date
Alexander von Gluck IV
21556b610d 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-09 19:03:22 -04:00
Alexander von Gluck IV
33b1bc7bf7 Kernel VM: Add compatibility logic
* If old-format swap config file found, parse it properly
2012-09-09 19:02:32 -04:00
Alexander von Gluck IV
81d8910bd5 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-09 19:00:20 -04:00
Alexander von Gluck IV
c9ac74f018 Kernel VM: Style cleanup; No functional change 2012-09-09 19:00:08 -04:00
Axel Dörfler
eec876e163 The sFragmentLock was never being initialized.
* This fixes bug #8958.
2012-09-09 22:51:40 +02:00
Niels Sascha Reedijk
5614e51478 Update translations from Pootle 2012-09-09 06:24:33 +02:00
Niels Sascha Reedijk
ae5f28ff0f Update translations from Pootle 2012-09-08 06:25:45 +02:00
Niels Sascha Reedijk
b89d8348cc Update translations from Pootle 2012-09-07 06:25:41 +02:00
Niels Sascha Reedijk
9dd46addee Update translations from Pootle 2012-09-06 06:22:56 +02:00
Niels Sascha Reedijk
c52640b4c6 Update translations from Pootle 2012-09-05 06:28:29 +02:00
Philippe Saint-Pierre
7d0e707aef Tracker: fix warning in gcc2
Refactor a bit the conditions to avoid a warning.
2012-09-04 22:47:49 -04:00
Axel Dörfler
6ba553e7b4 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 22:32:15 -04:00
Rene Gollent
d825876b4c 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-04 22:28:31 -04:00
Rene Gollent
297b501558 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-04 22:27:34 -04:00
Matt Madia
d4adbbf5c4 Updated graphics for r1a4.
+alpha
2012-09-04 22:25:58 -04:00
Jérôme Duval
94e9f94230 hda: later specification updates 2012-09-04 22:24:52 -04:00
Jérôme Duval
5d364e5e9a hda: mixer and audio paths fixes
* avoid mixing input and output paths when building a tree. In fact, an
audio input shouldn't use only a mixer used for output.
* in case an audio input has more than one input, use these inputs to
build a mux control.
* should help with #8270, #8333
2012-09-04 22:24:15 -04:00
Yongcong Du
fc9050d5a5 x86: Initialize IA32_MSR_ENERGY_PERF_BIAS
The lowest 4 bits of the MSR serves as a hint to the hardware to
favor performance or energy saving. 0 means a hint preference for
highest performance while 15 corresponds to the maximum energy
savings. A value of 7 translates into a hint to balance performance
with energy savings.

The default reset value of the MSR is 0. If BIOS doesn't intialize
the MSR, the hardware will run in performance state. This patch
initialize the MSR with value of 7 for balance between performance
and energy savings

Signed-off-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2012-09-04 22:23:13 -04:00
Axel Dörfler
9b666f8ed4 The original_data could be freed late.
* In cache_abort_sub_transaction(), the original_data can already be freed
  when the block is being removed from the transaction.
* block_cache::_GetUnusedBlock() no longer frees original/parent data - it
  now requires them to be freed already (it makes no sense to have them still
  around at this point).
* AFAICT the previous version did not have any negative consequences besides
  freeing the original data late.
2012-09-04 22:20:15 -04:00
Axel Dörfler
241f42b4a0 Minor block cache refactoring.
* Extracted a write_blocks_in_previous_transaction() function out of
  cache_end_transaction(), and cache_detach_sub_transaction().
2012-09-04 22:18:39 -04:00
Axel Dörfler
db59091c8c Fixed broken block list introduced in hrev44357.
* cache_abort_sub_transaction() was setting the transaction_next pointer to
  NULL in order to remove a block from a transaction -- however, it forgot to
  actually remove it from the transaction's block list.
* Minor restructuring.
2012-09-04 22:18:25 -04:00
Axel Dörfler
94bd856a74 Fixed broken discard handling in cache_start_sub_transaction().
* This actually resolves a TODO.
2012-09-04 22:18:11 -04:00
Axel Dörfler
423b61d8e0 Cleanup, no functional change intended. 2012-09-04 22:17:56 -04:00
czeidler
2f49931a3d Check if constraint is NULL. 2012-09-04 22:16:45 -04:00
czeidler
5c0ccde7f6 Move the soft inequalities directly into the solver.
- Clean up.
2012-09-04 22:16:32 -04:00
czeidler
ab23d755b5 The preferred size constraints have a label now. This helps for debugging. 2012-09-04 22:16:21 -04:00
czeidler
5a73feaeda Improve ToString output. 2012-09-04 22:16:13 -04:00
czeidler
bd08211959 Ceil and floor min and max size respectively gives better results. 2012-09-04 22:16:03 -04:00
czeidler
437eec33af Use soft inequality constraints for the max area size.
Only if the alignment is set to use the full width/ height a hard inequality constraint is used.
2012-09-04 22:15:51 -04:00
czeidler
75b51065c9 Remove unused variable and add copy constructor. 2012-09-04 22:15:42 -04:00
czeidler
e255399231 Add a LinearSpec listener interface. 2012-09-04 22:15:32 -04:00
czeidler
f8611b2d4e Make it possible to create a constraint that is not connected to a solver.
- Clean up.
2012-09-04 22:15:20 -04:00
czeidler
96ca65c7b2 Add a list of constraints which can be associated with a BALMLayout.
- Add Get{X,Y}Tabs methods.
- Remove SaveLayout and RestoreLayout. These can be implemented outside of BALMLayout.
2012-09-04 22:15:00 -04:00
czeidler
57c3ae1096 Fix MinSize and PreferredSize. 2012-09-04 22:12:25 -04:00
czeidler
3d782681a6 Add another working card id. 2012-09-04 22:12:13 -04:00
Niels Sascha Reedijk
328c4e2708 Update translations from Pootle 2012-09-04 06:26:30 +02:00
Ryan Leavengood
b95131368a Get all parameters from a notification message.
Fixes #8916. Thanks Prodito for the patch.
2012-09-03 02:19:00 -04:00
Matt Madia
b7bc375027 FIXED the urls of several optional packages. 2012-09-03 02:18:22 -04:00
Philippe Saint-Pierre
aa9f1f1abf 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-03 02:17:37 -04:00
Ryan Leavengood
d74138cea9 Rename DecorSettingsView to LookAndFeelSettingsView. 2012-09-03 02:17:22 -04:00
Ryan Leavengood
4143336284 Appearance preflet: Add a double scrollbar arrows setting.
Rename the 'Decorators' tab to 'Look and feel'.

Fixes #8926.
2012-09-03 02:17:04 -04:00
Ryan Leavengood
f25372e2d2 Make double scrollbar arrows default to false again. 2012-09-03 02:16:52 -04:00
Matt Madia
91771883fe installoptionalpackage cannot install WebPositive.
+alpha
2012-09-03 02:14:49 -04:00
czeidler
1a0f771b19 Fix crash when splitting a S&T group.
- Hold a ref to the old crossings till we cleaned up.
- Additionally use a safer method to delete constraints.
- Clean up.
2012-09-03 02:13:18 -04:00
czeidler
4dfe187943 Fix hrev42632.
This really implements WindowSentBehind.
2012-09-03 02:12:58 -04:00
Rene Gollent
0fbf8e31c2 Slight cleanup. Fix missing separator in texinfo path. 2012-09-03 02:11:12 -04:00
Scott McCreary
3de115c89e Rebuilt many OptionalPackages for R1A4 2012-09-03 02:10:11 -04:00
Philippe Saint-Pierre
bf50a277ef MediaPlayer: Toggling Fullscreen wrongly reset control status
All controls were enabled when toggling fullscreen on and off;
now it recalls the argument last used in SetEnabled() and reuse it
when called in AttachedInWindow() (which occurs in such toggling)

Fixes #8804.
2012-09-03 01:53:45 -04:00
Matt Madia
a60fe7d61c Added 'diskimage' to image.
Allows one to register a file as disk, which  can then be mounted.
To note, one application of this is to allow mounting of anyboot images.
Fixes #5578.
2012-09-03 01:48:14 -04:00
Niels Sascha Reedijk
44b50cc49f Update translations from Pootle 2012-09-03 06:25:55 +02:00