Commit Graph

38395 Commits

Author SHA1 Message Date
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
John Scipione
1f7ff051a7 Style updates and remove docs from cpp file 2013-01-19 13:17:46 -05:00
John Scipione
5df9097a4e Use stop alert icon if can't find translator 2013-01-18 16:52:10 -05:00
Jerome Duval
4a9b48c1c5 ps2 and pci: remove debugger commands on uninit of modules 2013-01-18 21:34:53 +01:00
Janus
02d04a7664 Fix #9330. Notifications Window is always inside the screen
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:58:09 +01:00
Julian Harnath
23bfcc5517 Fix MixerInput overflow
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:51:17 +01:00
Janus
d45cd469ef Fix #9302. The selection is calculated properly after a list insertion (AddList with index)
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:46:16 +01:00
Dancsó Róbert
fee1677630 Added localization support for Haiku Multi Audio media addon.
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
2013-01-18 20:32:08 +01:00
Przemysław Buczkowski
89b48debc2 Correct errno return in link() function (bug #8770)
* edited as pointed by Axel
2013-01-18 20:00:26 +01:00
Jerome Duval
4280f862ec Fixed style issues, as pointed by Axel 2013-01-18 19:43:20 +01:00
Siarzhuk Zharski
20cbdcd166 StyledEdit::StatusView:No stretching for pos cell only 2013-01-18 16:16:26 +01:00
Siarzhuk Zharski
ad834f7320 StyledEdit:EncodingMenu: autodetect on root menu entry 2013-01-18 16:16:19 +01:00
Siarzhuk Zharski
29155ba4de StyledEdit::StatusView: prevent duplicating context menu 2013-01-18 16:16:11 +01:00
Siarzhuk Zharski
8a85cd4ce8 StyledEdit::StatusView Encoding context menu implemented 2013-01-18 16:16:03 +01:00
Siarzhuk Zharski
3c7eaf396c Truncate background image name in multibyte-aware way 2013-01-15 12:56:17 +01:00
Jerome Duval
2856aca93f pcnet: adapted glue.c with le driver changes
* the driver doesn't crash anymore, but only sends a few packets
2013-01-15 00:08:21 +01:00
Jerome Duval
db3f8e227b bus_read_region_1: implement with bus_space_read_region_1 2013-01-15 00:08:21 +01:00