Commit Graph

44597 Commits

Author SHA1 Message Date
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
John Scipione
66e68c9169 Replace ReadOnlyBootPrompt with FirstBootPrompt in HaikuImage
..and Haiku64Image. While I'm at it split the commands so each letter
in the alphabet gets it's own line(s). This will make these kinds of
changes more atomic in the future.
2013-01-23 21:28:11 -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
Axel Dörfler
7f33c9cda3 Lost the "EFI" in front of "GUID Partition Map" name.
* This is how other systems refer to it as well, and is shorter, too.
2013-01-24 01:15:26 +01:00
Matt Madia
0a8ba3708e Manually updated the application signature in catkeys.
The last part of fixing #9399.

Note: Hopefully this is 'OK'. `jam -q catkeys` and `jam -q catalogs` ran
without issue. Running FirstBootPrompt managed to use up the compiled catalogs.
2013-01-23 18:58:44 -05:00
Matt Madia
3692aaf4ba Relocate the catkeys for FirstBootPrompt.
Edits will follow.

Fixes part of #9399.
2013-01-23 18:58:43 -05: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
85004907bf Symlink Installer to the Desktop only on read-only medium.
Fixes part of #9399
2013-01-23 18:58:41 -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
Siarzhuk Zharski
44e22d214f Vim, KeymapSwitcher and UnRAR packages updated
* Version of Vim package for x86_64 added;
* Version of KeymapSwitcher package for x86_64 added;
* KeymapSwitcher package fixed to preserve Cmd <-> Ctrl swap settings on
  keymaps switch. Fixes #9142;
* UnRAR updated from 3.7.8 to 4.2.4, fixed for multibyte characters
  support and build for x86_64. Partially fixes #4879;
2013-01-22 09:38:48 +01:00
John Scipione
90ae2e54f6 Update keycodes image with more stylish version 2013-01-21 20:10:59 -05: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
afc33db942 Launch ReadOnlyBootPrompt if $freshInstallIndicator exists.
That file will exist on every read-only media, first boot of writable images
(usb,vmdk), and (if installing directly to partition via the build system or a
mounted image file) hard disk.

The last scenario (of installing directly to hard disk through the build system
or mounted image file) may not be ideal, but it generally tends to be an
advanced installation method. Additionally, it will occur only on first boot.

Fixes #8945.
2013-01-20 18:03:31 -05: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
3528f5bb69 Add BBitmapStream docs and translation kit stub 2013-01-19 15:05:11 -05:00
John Scipione
278bcb57e7 Remove docs from BitmapStream.cpp 2013-01-19 15:04:34 -05:00
John Scipione
6a4b222bc9 Use condensed, not squished together. Better 2013-01-19 13:17:50 -05:00
John Scipione
4f7717a999 By removing the style on escapement_delta doxygen links it up which is better 2013-01-19 13:17:49 -05:00
John Scipione
27c3eae9b4 Another minor fix, style constant 2013-01-19 13:17:49 -05:00
John Scipione
0d2b04ca83 Minor update use fixed font for B_OK 2013-01-19 13:17:49 -05:00
John Scipione
05757eb6b3 Fill out BFont detailed description.
Also a bunch of cleanup including removing private method docs
and cleaning up language. BFont is pretty much completely documented
at this point.
2013-01-19 13:17:48 -05:00
John Scipione
9c840df052 Woops, I meant == not = 2013-01-19 13:17:48 -05:00