Commit Graph

44664 Commits

Author SHA1 Message Date
John Scipione
30b280b217 Style the interface diagram title as an h2 2013-02-07 14:49:43 -05:00
John Scipione
027cfe666e Bound the interface diagram.
The interface diagram for BArchivable has become too wide to fit on
the page so I've put the diagram in a box and made it scrollable.
While I'm at it give the interface diagram a silver border and
center it on the page.
2013-02-07 14:42:20 -05:00
John Scipione
db5b891db2 Move app and support class docs from libbe to libroot.
Also a few more style and spelling fixes.
2013-02-07 14:19:09 -05:00
John Scipione
6dc7e05ecf Update BBuffer class docs. 2013-02-07 02:11:09 -05:00
John Scipione
820dca4df6 Big docs cleanup.
* Fixed headers including:
  - All rights reserved not All Rights Reserved.
  - name, email@domain.com not name <email@domain.com>
  - tabs and spaces
  - Authors: not Documented by:
* Renamed string.dox to String.dox
* Renamed midixxx.dox files to MidiXxx.dox
* Moved images into images subdirectories and updated Doxfile.
* Re-format all files with tabs instead of spaces.
* Fix many spelling mistakes.
* Added all files, classes, structs, and enums to libbe group.
2013-02-07 02:01:19 -05:00
Stefano Ceccherini
8cf4ba89b6 Add a TODO comment 2013-02-06 08:28:41 +01:00
Stefano Ceccherini
8a6337d0f8 Converted the "net_interfaces" mutex into a recursive locker, and
acquire it in Interface::SetDown().
2013-02-06 08:28:41 +01:00
Matt Madia
afa494c44e Added icons with better perspective, from jstressman.
From #8747
2013-02-06 20:23:00 -05:00
Dancsó Róbert
ab23285fbd Corrected system name translation for Playground app.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-02-06 19:51:20 -05:00
Dancsó Róbert
054c290817 Corrected translation for "Clock" tab's strings in the Time preference app.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
Note: Judging by the logs, this should have been part of hrev45037.
2013-02-06 19:36:31 -05:00
Janus
03352b04c5 Fix #7736. Avoid memory corruption
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-02-05 23:31:02 +01:00
Axel Dörfler
43ee85f69c BMenuField: fixed broken view color.
* Apparently, I only tested the other case :-)
* This fixes bug #9433.
2013-02-05 23:19:20 +01:00
Axel Dörfler
fdff8a09a1 Minor cleanup.
* Slipped through; forgot to save.
2013-02-05 00:25:57 +01:00
Axel Dörfler
0a7975bfed BSlider::SetPosition() now calls BSlider's SetValue().
* Before it directly called the BControl version which doesn't really
  make any sense, and prevented visual updates.
2013-02-05 00:23:10 +01:00
Axel Dörfler
0b319bd6f3 Minor cleanup. 2013-02-05 00:22:52 +01:00
Axel Dörfler
0d7d4957aa DriveSetup: improved size slider.
* It uses size_for_string() to display all sizes which also fixes
  using MiB for one, and MB for the other size string.
* It is no longer limited to 1M granularity by itself, but can have
  arbitrary granularity as long as the number of possible values
  remain smaller than 2^31.
* This means it can also handle values beyond 4TB now.
* The sizes that are set programmatically retain their full resolution.
* CreateParametersPanel still uses 1M granularity for now, though,
  as we would otherwise need to be able to parse a size string with
  a unit.
2013-02-05 00:21:59 +01:00
Axel Dörfler
7ff0829758 Minor style cleanup. 2013-02-04 23:52:32 +01:00
Axel Dörfler
cf0ea4fbba DriveSetup: fixed crash in CreateParametersPanel.
* Changed order of calling Init() vs. _CreateViewControls(). This
  fixes bug #9422.
* The panel now hides (instead of disabling) the name or type control
  if those aren't supported, anyway.
2013-02-04 23:06:13 +01:00
Axel Dörfler
dbd6a97c7b Minor cleanup.
* Reordred methods to their declaration order.
2013-02-04 23:05:15 +01:00
Axel Dörfler
39b9d0f07f BMenuField: use panel background color as default.
* There is no reason the BMenuField should behave differently from
  any BControl here.
2013-02-04 22:11:14 +01:00
Jerome Duval
7ab100361f /dev/random: style changes and use MutexLocker. 2013-02-03 16:47:57 +01:00
Matt Madia
401bf7a0b5 Renamed Save button to Apply. Fixes #7533. 2013-02-02 14:12:12 -05:00
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 <zharik@gmx.li>
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