Commit Graph

44712 Commits

Author SHA1 Message Date
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
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