Commit Graph

38611 Commits

Author SHA1 Message Date
Tamás Krutki
da2db35956 Allow Magnify to resize to smaller sizes more gracefully.
Fixes ticket #4146

Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-02-17 21:31:05 -05:00
John Scipione
819c63ad65 Set tooltip in instance of close button, not class.
Also set a similar tooltip for the previous and next buttons and
comments for translators.
2013-02-17 21:22:03 -05:00
John Scipione
6f53c50c36 Need to call baseclass AttachedToWindow() 2013-02-17 20:41:33 -05:00
John Scipione
cdb4abbd18 Add tooltips for close tab and close find bar 2013-02-17 20:26:33 -05:00
John Scipione
8848aa106a Update close find bar button to appear similar to close tab button. 2013-02-17 20:14:17 -05:00
John Scipione
688daae9cc Don't offset close tab x on click 2013-02-17 20:13:33 -05:00
John Scipione
8236628b59 Style changes only 2013-02-17 20:13:32 -05:00
Alexander von Gluck IV
da08cea0e3 GL: Remove gcc2 no-warning hacks
* Solved in hrev45296 through updated package
* Resolves #8882
2013-02-17 18:18:17 -06:00
Matt Madia
900018fd21 Removed executable flag. No functional changes. 2013-02-17 18:46:52 -05:00
Jessica Hamilton
d097f67cee Add optional username/password fields to Web+ proxy settings.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-02-17 18:46:51 -05:00
Murai Takashi
9010edd275 Adds a localization to Network preference.
Fixes #9089.

Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-02-17 16:40:24 -05:00
Matt Madia
ac966d5941 LaunchBox: add Open containing folder option.
Contributed by abhiin1947. Fixes #7951.
2013-02-17 11:53:23 -05:00
Matt Madia
04c4314e15 Rewrote copyright header. s/OpenBeOS/Haiku.
Slight cleanup to included headers.
2013-02-16 14:07:00 -05:00
Matt Madia
fbcd94bde7 Automatic whitespace cleanup. No functional change. 2013-02-16 14:05:32 -05:00
Matt Madia
43b74aad59 s/OpenBeOS/Haiku 2013-02-16 13:59:39 -05:00
Matt Madia
f49d75c6a4 Renamed file. No functional change. 2013-02-16 13:59:14 -05:00
Matt Madia
eede25d31f Make FirstBootPrompt write the settings immediately upon launch.
If a user does not select anything, the default settings will be written.
Part of #9427
2013-02-16 11:19:10 -05:00
John Scipione
0a9ac70aea Move BQuery docs into Haiku Book.
... removing the docs from the .cpp and .h files and cleaning up as usual.
2013-02-14 19:36:33 -05:00
John Scipione
b3247c59fe Update BAboutWindow to use B_CLOSE_ON_ESCAPE flag. 2013-02-14 14:13:59 -05:00
Humdinger
2d1523c61d Removed the help menu from Magnify (#5012)
No other Haiku app has a help menu, we have the user
guide for that. One time we may want to link the
appropriate user guide page into all apps...
2013-02-14 17:29:41 +01:00
Axel Dörfler
33b9016ddd intel disk_system: Renamed file to match class name.
* Renamed CreationParameterEditor.(cpp|h) to PrimaryParameterEditor.(cpp|h)
  as that's what the sole class in there is called.
2013-02-14 14:34:30 +01:00
John Scipione
3722e64004 Store and read show/hide clock setting on disk.
So that the setting will persist across reboots. This is a Deskbar
setting, not a "clock" setting. Theoretically someday if we make
it so you can replace the clock with a different clock widget we
still want to store whether or not to show the clock widget as a
Deskbar setting.
Fixes #9456
2013-02-13 17:52:01 -05:00
Siarzhuk Zharski
390cd3f7f9 Use B_TRANSLATE_COMMENT for "Terminal[sessions]" sub-menu
* Explain the meaning of the "Terminal" menubar entry using
  B_TRANSLATE_COMMENT with extra info for translators;
* Suggested by Oliver. Thank you!
2013-02-13 15:10:39 +01:00
Siarzhuk Zharski
a5b3caa295 %T placeholder (localized Terminal name) for title mask
* %T placeholder added into the set, available for customizing main
  Terminal window title. It should be typically replaced by the
  application name localized for the currect system locale.
* Use B_TRANSLATE instead of B_TRANSLATE_SYSTEM_NAME for the first
  menu entry in the main TermWindow menu. The meaning of "Terminal"
  term in this menu is the "Terminal session" but not the "Terminal
  Application" so using separate catkeys entry for this menu item
  avoids this inconsistency in Terminal UI localization;
* Fixes #7586
2013-02-13 11:51:02 +01:00
Axel Dörfler
8940ad259a DriveSetup: Added support for changing partition parameters.
* Does not seem to work yet, though. The intel disk system should support it
  now, but apparently the partition's delegate is not yet fully initialized
  for whatever reason.
2013-02-12 23:28:24 +01:00
Axel Dörfler
1b2662019b Cleanup.
* There is no BDiskSystemAddOn::GetInitializationParameterEditor() method,
  and it's therefore never being called.
2013-02-12 23:26:49 +01:00
Axel Dörfler
0ec2317830 Cleanup.
* Removed superfluous redundant comments.
2013-02-12 23:09:53 +01:00
Axel Dörfler
32da57f74b DriveSetup: solved a few issues of CreateParametersPanel.
* I obviously wasn't really done last time: now the panel behaves as it should.
2013-02-12 22:24:16 +01:00
Axel Dörfler
d2239cb8b9 BMessage::SetString() was broken.
* We cannot use the macro for this, unfortunately.
2013-02-12 22:22:52 +01:00
Siarzhuk Zharski
ab6114fe81 Fix init.problem in setmime MimeAttribute ctor
* additional check for empty attribute values introduced;
* implemented copy-ctor and assignment operator for MimeAttribute;
* added missed initialization of parameters in the "UserArgs"
  MimeAttribute ctor;
* Fixes #9444.
2013-02-12 09:37:32 +01:00
John Scipione
859c378175 Update Deskbar to use menu text and selected menu text color prefs.
... in a couple of places where colors where being hardcoded.

Fixes #9119
2013-02-11 22:29:49 -05:00
John Scipione
3c6d2325c7 Update Tracker prefs window workspace behavior.
Basically make the Tracker preferences window work like most other
windows do as far as workspaces go.

Opens on your current workspace. If you switch workspaces then go
into Deskbar and select Tracker Preferences it will switch to
the workspace that already has the window open. If you close the
window, switch workspaces and then select preferences it will move
the window to your current workspace and show it.

This is similar to the fix for the same problem on the Deskbar
preferences window and for the same reason: the window gets hidden
when you close it, not actually deleted so we need to do a bit more
work to get the window to behave with workspaces. Hiding instead of
deleting the window allows us to remember where you were when you
closed the window, what tab you were on, what control had focus, etc.

Fixes #8000
2013-02-11 21:59:37 -05:00
John Scipione
331c9098ea Move Deskbar prefs window to current workspace if hidden 2013-02-11 21:49:03 -05:00
John Scipione
66e9410806 Switch about window to current workspace if hidden. 2013-02-11 21:25:51 -05:00
John Scipione
381629a7b6 Close about window on escape 2013-02-11 21:17:57 -05:00
John Scipione
9f7ac4312a Add methods to get and set the name, version, and icon 2013-02-11 21:17:57 -05:00
John Scipione
19ec4667bc Lock about window before deleting it on destruction
This fixes #9543
2013-02-11 12:55:30 -05:00
John Scipione
eaa6b633db Use default spacing for find bar controls 2013-02-10 23:36:38 -05:00
John Scipione
2d278e9c84 Update Web+ find bar close button.
* Put the button on the left and label it with × to indicate close.
* Make the button just wide enough to fit the label. Tested with
  font sizes 8pt to 18pt.
2013-02-10 23:28:17 -05:00
Hamish Morrison
2675e31a0c BUrlRequest: fix various issues
* Remove unused headers interface from BUrlProtocol
* Change confusing function names
* Style fixes and whitespace cleanup
2013-02-10 20:46:24 +00:00
Siarzhuk Zharski
344de4ccd1 Fix Terminal localization issues in Custom color scheme
* Localized Label of the colors menu entry was used as the key
  during loading corresponding color value from the preferences file.
  It was obviously observed only on non-English locales;
* Fixes #7209 #8256.
2013-02-10 17:45:44 +01:00
Humdinger
1baa221173 Removed Trash options from Tracker prefs.
As discussed [1][2], using a Trash is in the interest of the
vast majority of users. The setting is still present in the
Tracker settings file. SHIFT+DELETE will still bypass the
Trash.

[1]
http://www.freelists.org/post/haiku-commits/haiku-hrev45134-srckitstracker,4
[2] http://www.freelists.org/post/haiku/Removing-Trackers-Trash-options

Please enter the commit message for your changes. Lines starting
2013-02-10 11:33:53 +01:00
Humdinger
163a394833 Revert "Renamed Tracker option "Don't move files to Trash" (#9352)"
This reverts commit 45f77dcd70.
2013-02-10 11:33:51 +01:00
Hamish Morrison
64a1f5a020 NetworkCookieJar: various small fixes and updated tests 2013-02-09 17:10:10 +00:00
Hamish Morrison
c8bc218363 NetworkCookie: fix domain/path matching, and validity checks 2013-02-09 17:10:05 +00:00
Hamish Morrison
33462ef54a NetworkCookie: bring SetCookie parsing in line with RFC 6265 2013-02-09 17:09:53 +00:00
Hamish Morrison
2db5d2bc95 NetworkCookie: remove unused cookie attributes and add HttpOnly 2013-02-09 16:09:34 +00:00
Hamish Morrison
05f42aaba4 NetworkCookie: set the default path according to RFC 6265 2013-02-09 16:02:15 +00:00
Hamish Morrison
2e7b5f9e18 NetworkCookieJar: don't leak a new cookie if it has expired 2013-02-09 16:01:43 +00:00
Alexander von Gluck IV
dcaec19c9a AppServer: Organize "HWInterface" classes
* Organize interface classes into directories
* Long term this will assist in the multi-head
  interface / accelerant changes.
* local draws to the local hw accelerant
* remote draws to a remote connection (???)
* html5 draws to... an html5 canvas?
2013-02-09 08:51:13 -06:00
John Scipione
4c064a8451 Move documentation from Path.cpp to Path.dox
And clean it up a bit. Kept brief description in source.
* Also added Axel to authors in Path.dox and Path.cpp because his name
  appears in git blame as working on the docs and code for the file.
  I hope he doesn't mind.
2013-02-09 00:39:53 -05:00
John Scipione
fc9827011d Moved NodeMonitor docs to Haiku Book. 2013-02-08 20:39:35 -05:00
John Scipione
81c42a7685 Move documentation from NodeInfo into the API docs.
* Delete the docs from NodeInfo.cpp and NodeInfo.h
* I snuck a couple of style fixes into NodeInfo.cpp
* I had to make a small modification to MimeType.dox to prevent it
  from overriding the docs of one of the methods in NodeInfo.dox.
2013-02-07 23:17:01 -05:00
John Scipione
486aaa49f3 Check to make sure lastFocus is not NULL before using it.
This prevents an app_server crash on startup for me most likely
introduced in hrev45252. (Just a few commits ago)
2013-02-07 21:13:09 -05:00
Hamish Morrison
fef7dd705f HttpHeaders: header field names are case insensitive.
Whitespace before and after tokens should be ignored.
2013-02-07 19:32:14 +00:00
Axel Dörfler
4db1a8c61d app_server: reworked SetFocusWindow() logic a bit.
* The normal mouse mode now only uses the window that had focus last if that
  window is one that does not support to be the front window (such as the
  desktop).
* This should keep the logic of r41264 without the drawbacks (see #7280 for
  more information).
* Added _WindowCanHaveFocus() method.
* This should fix #7630.
2013-02-08 00:59:15 +01:00
Axel Dörfler
d6bb64d848 app_server: Added NormalMouse() and ClickToFocusMouse() methods.
* Made FocusFollowsMouse() inline.
* For convenience only.
2013-02-08 00:59:15 +01:00
Axel Dörfler
5c1b6cc3d4 Style cleanup. 2013-02-08 00:59:14 +01:00
Hamish Morrison
02deec6403 BSecureSocket: Read and Write should return 0 for closed sockets. 2013-02-07 18:42:39 +00:00
Niels Sascha Reedijk
f00edeb7e3 Automatically pick port 443 for HTTPS 2013-02-07 18:06:45 +00:00
Niels Sascha Reedijk
4e607e1aae Enable HTTPS connections.
Using more modern network classes:
 * BNetworkAddress instead of BNetAddress
 * BSocket and BSecureSocket instead of BNetEndpoint
2013-02-07 18:06:02 +00:00
Niels Sascha Reedijk
d1b6afe678 Re-enable the services kit from GSOC 2010
* Use a public domain MD5 implementation when the OpenSSL one is not available
 * No functional changes
2013-02-07 18:05:38 +00:00
Janus
9566700897 Fix7734. Avoid race conditions in ToolBar animation
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-02-07 23:17:57 +01:00
Janus
74e14f5c70 Fix #8781. Display rotated images with alpha channel properly
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-02-07 23:01:11 +01: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
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
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
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
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
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
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
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
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
John Scipione
79fd9dac6c Check kAcceptKeyboardFocusFlag first. 2013-01-25 03:17:29 -05:00
John Scipione
70171c2634 A few changes to make this more robust.
I am able to get stuck in window management mode without ctrl+alt
held down somehow but it's not reproducable. These changes should
hopefully make this a bit more robust.
2013-01-25 03:01:53 -05:00
John Scipione
ae883c5f15 Reset cursor if kAcceptKeyboardFocusFlag is set.
This basically affects menus which are not movable, and not
resizable but have that flag set because they take input anyway.
This change shows the regular cursor over menu windows even
in window management mode when ctrl+alt are held down.

Also rename _SetNowAllowedCursor to _SetNotAllowedCursor, typo.
2013-01-25 01:27:46 -05:00
John Scipione
5a0b5a5d52 Update the mouse cursor in a couple more cases 2013-01-25 01:02:35 -05:00
John Scipione
65b9235d19 Fix gcc4 build by adding parens 2013-01-25 00:34:23 -05:00
John Scipione
feb6002cf8 Look at resize flags when setting resize arrows 2013-01-25 00:28:44 -05:00
John Scipione
3071859cc6 Update ctrl+alt window management functionality.
* Use double-headed resize arrows instead of single headed.
* Remove border highlighting, it is replaced by mouse cursor.
* Don't enter drag state if window is not movable.
* Make Ctrl+LMB resize window border like RMB.
* Define other 3 corners in default decorator and resize by them
  as well
* Update mouse cursor to show arrows when over borders and control
  is held.
* Set the move cursor on ctrl+alt if the window is movable.
* Set cursor to not allowed on ctrl+alt if window is not movable.
* Set the cursor to appropriate resize arrow on ctrl+alt+RMB.
* Set the cursor to not allowed on ctrl+alt+RMB if not resizable.
* Make window go to back when you right-click or ctrl+click
  on the tab. It doesn't lose focus though unlike BeOS R5.
2013-01-24 23:53:08 -05:00
John Scipione
e5de7e2102 Added Landon Fuller to the contributors list.
He has made several contributions including hrev45148 and hrev44909.
2013-01-23 23:52:18 -05:00
Axel Dörfler
e26ef5524c gpt: the disk system now correctly maintains free space.
* Ie. the BPartitioningInfo should now be correctly filled.
2013-01-24 01:15:26 +01:00
Axel Dörfler
f142407b03 DriveSetup: improved error reporting when deleting a partition. 2013-01-24 01:15:26 +01:00
Matt Madia
37fb247341 Renamed ReadOnlyBootPrompt to FirstBootPrompt.
The previous name is no longer applicable, as *BootPrompt is now launched on
the first boot of writable medium (e.g., USB thumb drive and hard drives).
Fixes part of #9399.

Notes:
 * BootPrompt.rdef may have lost its history.
 * The renaming was done with the following command:
   git mv src/apps/readonlybootprompt src/apps/firstbootprompt
2013-01-23 18:58:42 -05:00
Matt Madia
6f141e02e8 Renamed the button "Desktop (Live-CD)" to "Boot to Desktop".
Fixes part of #9399
2013-01-23 18:58:40 -05:00
Axel Dörfler
99fc216a95 gpt: do not advertize the partition as read-only. 2013-01-24 00:45:50 +01:00
Axel Dörfler
2077b23f14 intel disk system: restrict maximum supported size.
* The MBR can only address 2^32 blocks.
* This prevents you from initializing a disk larger than 2TB with a block
  size of 512 bytes.
2013-01-24 00:44:26 +01:00
Axel Dörfler
61ba12594b Renamed partitioning system "efi" directory to "gpt". 2013-01-23 23:21:25 +01:00
Axel Dörfler
b44f9282b7 gpt: early work in progress of a disk system add-on.
* It currently allows to initialize a disk using GPT. However, this then
  fails somewhere in the kernel.
2013-01-23 23:16:30 +01:00
Axel Dörfler
3478d6ab2d gpt: moved type map into its own header. 2013-01-23 23:15:48 +01:00
Axel Dörfler
b039ee6572 Minor cleanup.
* Renamed *MI members to *MenuItem.
2013-01-23 21:44:13 +01:00
Axel Dörfler
5e081035a7 DriveSetup: fixed device row size/name.
* Apparently, the order the fields are set matters, so the drive name
  and the size now appear in the list as they should have before.
* Leave the size field empty if the size is 0.
2013-01-23 21:27:25 +01:00
Dancsó Róbert
c8ae0dd87c DriveSetup: Added disk name to the DiskView.
* The disk device name will be shown on the disk map.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-01-23 21:27:04 +01:00
Rene Gollent
900ce215d3 Add support for template type/value parameter packs.
- Implements support for two proposed but not yet formalized
  additions to the DWARF spec with regards to variadic template
  parameters. These are nevertheless already being generated by
  gcc under some user extension tags when C++0x is specified.

Fixes #9398.
2013-01-22 20:10:45 -05:00
Rene Gollent
b68166e1da Restrict the address range dumped in crash reports. 2013-01-22 20:09:47 -05:00
Siarzhuk Zharski
e449bae891 bin/unrar outsorced to UnRAR 4.2.4 opt.package 2013-01-22 09:38:55 +01:00
Alexander von Gluck IV
ab372d6fd3 networksetup+: Simplify media check
* Lets just rely on IsWireless and friends
  in BNetworkInterface as we are checking
  the same thing twice.
2013-01-20 23:33:19 +00:00
Alexander von Gluck IV
2ddbb1e3d2 networksetup+: Adjust add-on path to match preflet name 2013-01-20 23:33:18 +00:00
Matt Madia
06437987e0 Corrected the name of the operating system.
Automatic whitespace cleanup too. No functional changes.
2013-01-20 17:53:50 -05:00
Matt Madia
6519b97eda Fixed a typo. 2013-01-20 17:50:03 -05:00
Humdinger
76f3378cd0 Renamed "Windows" to "Option" in Shortcuts GUI (#9391)
Correctly named it "Option" key as everwhere else in Haiku.
Thanks mks for pointing it out.
2013-01-20 10:05:16 +01:00
Humdinger
ab73d6ac07 Make Playground find its catalog (#9388).
Small error in the jamfile put the catalog in subfolder
so it wasn't found. As reported by mt and investigated
by diver. Thanks!
2013-01-20 09:53:23 +01:00
John Scipione
278bcb57e7 Remove docs from BitmapStream.cpp 2013-01-19 15:04:34 -05:00
John Scipione
9c840df052 Woops, I meant == not = 2013-01-19 13:17:48 -05:00
John Scipione
a8f3c5a8fb Style fixes only 2013-01-19 13:17:47 -05:00
John Scipione
840476e1cb Rename SetFamilyAndStyle variable to code matching the header and BeBook. 2013-01-19 13:17:47 -05:00
John Scipione
c969b46240 Put comments in methods, only description line outside 2013-01-19 13:17:46 -05:00