Commit Graph

43408 Commits

Author SHA1 Message Date
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
John Scipione
e85dfa6bad Update optional package for Colors! 2012-09-03 17:23:06 -04: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
Matt Madia
efe79d9878 Updated graphics for r1a4.
+alpha
2012-09-03 10:50:14 +00: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
Matt Madia
cd9b8bf005 FIXED the urls of several optional packages. 2012-09-02 17:29:13 +00: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
Ryan Leavengood
5b60052cfc Make double scrollbar arrows default to false again. 2012-09-02 15:11:51 -04:00
Matt Madia
e53f0019b5 installoptionalpackage cannot install WebPositive.
+alpha
2012-09-01 11:26:55 +00:00
czeidler
225446ac99 Check if constraint is NULL. 2012-09-01 16:31:17 +12:00
czeidler
82fbed2596 Move the soft inequalities directly into the solver.
- Clean up.
2012-09-01 16:31:17 +12:00
czeidler
a8859a43fb The preferred size constraints have a label now. This helps for debugging. 2012-09-01 16:31:16 +12:00
czeidler
3a7067dc19 Improve ToString output. 2012-09-01 16:31:16 +12:00
czeidler
de679878b7 Ceil and floor min and max size respectively gives better results. 2012-09-01 16:31:15 +12:00
czeidler
25e1abc33c 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-01 16:31:15 +12:00
czeidler
18e5da6297 Remove unused variable and add copy constructor. 2012-09-01 16:31:14 +12:00
czeidler
cf5eb5dda1 Add a LinearSpec listener interface. 2012-09-01 16:31:14 +12:00
czeidler
08927d809f Make it possible to create a constraint that is not connected to a solver.
- Clean up.
2012-09-01 16:31:13 +12:00
czeidler
6c4a44e36b 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-01 16:31:13 +12:00
Rene Gollent
6cf32e83ad Update webkit package to incorporate fixes for #8871. 2012-08-31 23:27:00 -04:00
czeidler
7dd16a4c95 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-01 15:01:10 +12:00
czeidler
83092a04a4 Fix hrev42632.
This really implements WindowSentBehind.
2012-09-01 15:01:09 +12:00
Rene Gollent
e652fc18b6 Update webkit package to account for newer libpng/libjpeg. 2012-08-31 21:11:43 -04:00
Rene Gollent
fb5ef78df0 Slight cleanup. Fix missing separator in texinfo path. 2012-08-31 20:34:56 -04:00
Scott McCreary
61306f15a1 Rebuilt many OptionalPackages for R1A4 2012-08-31 00:14:57 -07:00
Jérôme Duval
992c945afe hda: later specification updates 2012-08-30 23:52:05 +02:00
Jérôme Duval
b7bb583779 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-08-29 23:51:51 +02:00
Yongcong Du
19187c464b 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-08-29 22:11:56 +02:00
Jérôme Duval
17ce10a770 fix libpng link introduced in 61cb4d8c6d 2012-08-29 20:44:42 +02:00
Jérôme Duval
c618b6ccb1 input_server: use a generated cookie instead of pointer
* fixed #8831
2012-08-29 20:44:06 +02:00
Jérôme Duval
61cb4d8c6d libpng and jpeg: build against optional packages.
* added optional feature package for libpng 1.5.12 gcc4/gcc2 x86 and ppc
* drop libpng sources and headers from the tree.
* added optional feature package for jpeg 8d gcc4/gcc2 x86 and ppc
* drop jpeg sources and headers from the tree.
2012-08-27 22:03:18 +02:00
Axel Dörfler
713945cecb 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-08-27 20:00:06 +02:00
Axel Dörfler
242e01d245 Improved member variable naming as suggested by Stippi. 2012-08-27 20:00:06 +02:00
Fredrik Modéen
7a74a5df45 WIP... Updating Bluetooth.
* Some bugfixes.
* added scan mode read.
* inactivated some printout for now. Was a lot of noice in terminal
2012-08-27 19:23:22 +00:00
Axel Dörfler
9089ab06bd Minor block cache refactoring.
* Extracted a write_blocks_in_previous_transaction() function out of
  cache_end_transaction(), and cache_detach_sub_transaction().
2012-08-27 12:46:22 +02:00
Axel Dörfler
dd9d610500 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-08-27 12:42:48 +02:00
Axel Dörfler
153d895337 Fixed broken discard handling in cache_start_sub_transaction().
* This actually resolves a TODO.
2012-08-27 12:38:35 +02:00
Axel Dörfler
8f9dac699d Cleanup, no functional change intended. 2012-08-27 11:21:42 +02:00
Philippe Saint-Pierre
53312de5e5 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-08-25 21:28:10 -04:00
Philippe Saint-Pierre
a70b623a51 FileTypes : IconView for non-applications fixes
IconView is now only setting the icon with BAppFileInfo when the file is an application,
otherwise relies on BNodeInfo. This avoids adding ressources within data files.

The IconView also wasn't populated correctly when used on data files (by opposition to
application binaries).  It now loads the same icon that is shown in Tracker.
2012-08-25 15:06:58 -04:00
Jessica Hamilton
66ddd2d6e9 Move SetMouseEventMask() into MouseDown, where it should be. 2012-08-25 14:12:54 -04:00