Commit Graph
44642 Commits
Author SHA1 Message Date
Matt Madia 0288eb7742 Reword an alert prompt to be less detailed, but more correct.
Resolves #6654. To note, AFAICT, this code block should never be executed.
However, I did feel comfortable removing it, in case the location of Trash
is relocated in the future.
2013-02-02 12:26:49 -05:00
fishpond ac78048b58 /dev/random: added capability to accept writes. 2013-02-02 13:33:13 +01:00
Niels Sascha Reedijk 34c0029e93 Update translations from Pootle 2013-02-02 06:57:56 +01:00
Axel Dörfler 4ec2ca4e16 DriveSetup: renamed some files, fixed catalog.
* Already renamed the classes within those files earlier.
* The AbstractParametersPanel class was missing from the catalog.
2013-02-02 01:13:20 +01:00
Axel Dörfler 9deef7d466 DriveSetup: show content type if there is no type. 2013-02-02 01:13:19 +01:00
Axel Dörfler 443522551e Fixed design issues in BPartitionParameterEditor.
* The user of an editor needed knowledge about the editor in order to make
  use of it.
* Furthermore, the BPartitionParameterEditor exposed type specific
  functionality that it shouldn't know anything about, either.
* We may now define a number of known parameters per editor type; right now
  there is only "type" as it's needed by DriveSetup.
* Adapted all disk systems, and DriveSetup to the new API.
* Renamed CreateParamsPanel, and InitializeParamsPanel to *ParametersPanel
  in DriveSetup.
* They now share a common base class AbstractParametersPanel.
2013-02-02 01:13:19 +01:00
Axel Dörfler a206dee38e DriveSetup: improved default window size.
* The default width will no longer make the parameters and partition type
  columns visible.
* Fixed default size of those two columns -- I did not notice that the column
  state was being restored before, and thought it would just be another oddity
  of BColumnListView :-)
* Since MainWindow maintains its size pretty much itself, the constructor no
  longer gets a BRect.
* The window will now also be resized vertically to make space for all the
  partitions (only affects first launch without settings file).
* Also made the window a bit higher by default.
2013-02-02 01:13:18 +01:00
John Scipione b7733e0655 Move Mime.h documentation to the API docs. 2013-01-31 20:47:06 -05:00
Michael Kanis 777178a56f Call UpdateButtons on mouse_movement data for ALPS device
This fixes problem with B_MOUSE_DOWN messages produced by Thinkpad
TrackPoint buttons. Those messages have 'clicks' parameter always
equal to zero. Solution was suggested by korli. Thanks!

Fixes #8978

Signed-off-by: Siarzhuk Zharski <[email protected]>
2013-01-31 21:41:14 +01:00
John Scipione c33a865c7c Style fixes only. 2013-01-31 14:29:15 -05:00
John Scipione c491b5ad85 When the workspace changes use the passed in workspace screen mode
...instead of the current workspace screen mode that we are switching from.
Fixes #9415
Also don't ignore the returned the status code when updating the screen mode.
2013-01-31 14:17:31 -05:00
John Scipione ec96e7af1a Fix warning in FilePanel.dox 2013-01-30 19:51:01 -05:00
John Scipione 400a2a1813 Fix warning in DurationFormat.dox 2013-01-30 19:50:41 -05:00
John Scipione 8bbea122eb Use the version from the cpp file, not the header for \fn 2013-01-30 19:38:55 -05:00
John Scipione bf20349b34 Correct a few more param instances in BHandler docs 2013-01-30 19:35:50 -05:00
John Scipione ce5b408f1f A few doc fixes to BApplication and BHandler.
* Since <em> is used for parameters we can't use it for emphasis.
* Add \a in a few places it was missing to indicate a parameter.
* Change \a to a \c in one instance, param -> constant.
* Lots of whitespace fixes, most just deleting leading tabs.
* Don't indent code blocks, they should be flush to left since any
  indentation is preserved in the output.
2013-01-30 19:18:30 -05:00
John Scipione a3c5efd2e9 Color parameters in parameter lists grenadier (orange) as well. 2013-01-30 18:58:55 -05:00
John Scipione c896b0c34c Color parameters grenadier (orange) in API docs. 2013-01-30 18:54:16 -05:00
John Scipione 8bbff5c9ed Update dd style in API docs.
Only make the font size 12px for the special note, warning, etc. blocks
not all dd blocks.
2013-01-30 18:43:09 -05:00
Stefano Ceccherini c0b42ec1c1 Fix out of bounds access.
key.first is a pointer, so we shouldn't use the & operator here.
CID 610870 and 610871.
Should also fix ticket #9184. At least I cannot reproduce it anymore.
2013-01-29 21:45:22 +01:00
Alexander von Gluck IV 00bc40ad58 radeon_hd: Fix DisplayPort link training
* Original changes by Bill Randle
* Includes a large number of modifications
  and cleanups.
* Add a "currentMode" to the gDisplay to
  enable easier checking of intended changes.
  (we pass the display_mode around quite a
   bit, adding a "currentMode" allows code
   to know the intended display mode being set
   without passing the mode pointer around as
   much)
2013-01-29 12:29:11 -06:00
Bill Randle 7d9c1f30f1 radeon_hd: Add Northern Island registers 2013-01-29 12:29:06 -06:00
Axel Dörfler 8317edb350 DriveSetup: Removed (some) knowledge about initialization.
* Instead of guessing whether or not to show the InitParamsPanel, the panel
  will now no longer show itself if the disk system does not have an editor,
  and silently succeed.
* This also fixed a potential crash if the editor could not be created for
  some reason.
* Minor cleanup.
2013-01-29 01:13:42 +01:00
Axel Dörfler 856f538b79 Minor cleanup. 2013-01-29 01:12:06 +01:00
Axel Dörfler d0ecb6dafc BPartition::CanInitialize() now returns false if the size is 0.
* This should fix #9405; I cannot test it right now due to a missing
  CD-ROM.
2013-01-29 00:20:01 +01:00
Axel Dörfler 5a81662642 DriveSetup: Added column for the partition type.
* This implements ticket #4235.
2013-01-29 00:12:31 +01:00
Axel Dörfler 2dd0a26ac0 gpt: Fixed off by one error.
* The backup header would have been written one block behind the actual
  last block. Well, at least it would have tried to do so :-)
2013-01-29 00:02:31 +01:00
Axel Dörfler 7775bfeb6b gpt: Always use at least 4K to align partitions.
* Many of today's disks that use 4K internally don't advertize this.
2013-01-28 22:51:53 +01:00
Axel Dörfler 9e8f937437 gpt: Added some missing pieces of supporting the backup header.
* The alternate block was not set correctly.
* The CRC of the backup header was never updated.
* We now dump both headers.
2013-01-28 22:51:52 +01:00
Axel Dörfler 403869b9fe DriveSetup: improved error reporting. 2013-01-28 22:49:48 +01:00
Axel Dörfler 5ec5667de7 ata/ahci: Move some ATA functionality into the ATAInfoBlock.
* The AHCI driver was actually ignoring sector size information, and always
  set the size to 512.
* Now both, the AHCI driver, and the ATA bus manager, use the same method of
  retrieving the sector count, and size.
2013-01-28 22:49:47 +01:00
Jerome Duval 157ec8a798 added mimetype for WPG images 2013-01-28 20:10:36 +01:00
Adrien Destugues 98b326dd2e Revert Ctrl+Alt resizing/moving changes.
This removes the solution with no convincing replacement,
and breaks most basic window management tasks such as raising a window when clicking it.

Please come back when you get the issues fixed and a real alternative to the "ugly" border highlighting.

This reverts hrev45197-45202.
2013-01-28 18:19:00 +01:00
Matt Madia 1fbd0a5319 Minor white space cleanup. No functional change. 2013-01-27 20:15:57 -05:00
Alexander von Gluck IV 9a5c1309d7 doc: Add some OpenGL kit documentation
* Reduce bus factor.. this stuff is complex.
  ( I blame the developer who wrote it :\ )
2013-01-27 16:46:09 -06:00
Alexander von Gluck IV f763771d2a swpipe: Fix llvm dependency
* Makes sure llvm gets extracted
* Thanks Jerome for the final solution.
* Seems like a hack but works
2013-01-27 19:49:52 +00:00
Axel Dörfler 5257160668 gpt: Fixed boot loader build.
* Thanks, Alex!
2013-01-27 20:34:47 +01:00
Axel Dörfler e9cdc3129e gpt: Fixed incorrect revision. 2013-01-27 20:34:47 +01:00
Philippe Saint-Pierre 2e6221ff11 Tracker: Replace usage of ceil by ceilf 2013-01-27 14:24:52 -05:00
Bill Randle 7aedc8b3e1 edid_raw: Correct missing bitfield
* edid1_detailed_timing_raw was missing
  a field which threw off the sync bits.
* The result was the monitor will receive
  a different sync polarity than it requested.
  Most monitors handle this, but it is still
  a bug
2013-01-27 12:18:49 -06:00
Axel Dörfler 953d310a47 gpt: Added support for the backup header/entries. 2013-01-27 14:16:01 +01:00
Axel Dörfler 90308ec327 gpt: Pointer style changed to preferred. 2013-01-26 21:13:00 +01:00
Axel Dörfler ef2558c0ae gpt: Fixed a number of remaining issues.
* The header and table is now correctly written; the backup is still
  missing, though.
* The Header class is now responsible for both, the primary, and the
  backup header.
* Changed the Header constructors: the block is no longer needed. Also,
  under GCC 4 the initialization code accidentally used the read
  Header constructor.
* Fixed incorrectly copied GUID - the static_guid cannot be copied
  into a guid_t directly.
* Fixed copy&paste bug that would overwrite the offset for the child
  partition to be created.
* With all of this in place I successfully created a BFS partition
  with a GUID partition table. However, I have not yet tested if other
  systems can still read this. Also, creating two partitions doesn't
  seem to work yet, either (luckily I only need a single one ;-)).
2013-01-26 21:13:00 +01:00
Axel Dörfler 959e02aa56 gpt: for now, always add partitions at the end. 2013-01-26 21:13:00 +01:00
Niels Sascha Reedijk ee5f683bd3 Update translations from Pootle 2013-01-26 06:52:15 +01:00
Axel Dörfler 9e8d42ac44 Work in progress in getting GPTPartitionHandle working.
* Tried to use EFI::Header class, but there doesn't seem to be an easy
  way to actually hit the disk -- which we'll have to do to find out
  how large the GPT table is.
* Initialization of GPT disks is now working which is why I added the disk
  system add-on to the image. However, there is a caveat, as the backup
  header and table aren't written yet.
* Partitions can be deleted.
* Creating partitions does not work yet, but I don't know yet why; in
  theory it could already work.
2013-01-26 01:33:27 +01:00
Axel Dörfler ab31389341 Implemented write support, reorganized source files.
* Moved some functionality into their own files so that they can easily
  be reused by other code.
* Added crc32() function from FreeBSD. Implemented CRC handling and
  validation.
* Implemented missing write functionality.
2013-01-26 01:30:23 +01:00
Axel Dörfler d013c8e96a Possibly fixed BootLoaderTest build.
* Adapted to x86_64 changes.
2013-01-25 23:37:41 +01:00
Adrien Destugues 95a11c765d Style fix. 2013-01-25 22:29:41 +01:00
Adrien Destugues fdb61e9836 Don't allow setting a scrollbar position to nan.
Since nan != nan, the scrollbar would otherwise try to move the view to
the new position, the view would try to set the scrollbar value again,
and so on.
2013-01-25 22:17:59 +01:00