Commit Graph

50038 Commits

Author SHA1 Message Date
Julian Harnath
119bf0013c Fix empty parameter dialog in DriveSetup
* When the add-on provides no parameter editor, still add the set of
  of default controls instead of just bailing out of the Init()
  method.

* Before, DriveSetup never added the default controls in such cases
  and simply showed an empty window. This happened when e.g. trying
  to create a new partition inside an extended partition (because
  ExtendedPartitionAddOn provides no parameter editor).

* Fixes #10569
2014-03-08 23:27:11 +01:00
John Scipione
5d98ee1e4d Revert "BScrollView: Increase small scroll step size from 1 to 3"
This reverts commit bdcfc07617.
2014-03-08 15:18:35 -05:00
Philippe Saint-Pierre
1166849963 Hey: use delete[] instead of free (CID #990947 and CID #990948) 2014-03-08 13:34:44 -05:00
Philippe Saint-Pierre
6fef592d6b Hey: Style fixes, code clean up
No functional changes intended
2014-03-08 13:31:29 -05:00
Rene Gollent
c9eb4468ca Debugger: Add handling for rvalue reference type entries.
Fixes part of #10659.
2014-03-08 12:44:46 -05:00
Rene Gollent
84e7206b05 Style fix. 2014-03-08 09:46:13 -05:00
Rene Gollent
b7282c5f2e Fix #10610.
Added missing initializer for fContext in PackageInfoErrorListener whose
absence was leading to crashes when generating the error string.
2014-03-08 09:44:13 -05:00
Julian Harnath
b3892782a6 Look at the internal encoder to pick the link
* When determining the output link, look at the internal encoder in
  the transmitter setup.

* Fixes getting no picture on digital output of certain systems.
2014-03-08 10:47:14 +01:00
autonielx
0af7f3c1c2 Update translations from Pootle 2014-03-08 06:16:12 +01:00
John Scipione
0a2382e373 ShowImage: Scroll horizontally with control
...instead of command.

See http://www.freelists.org/post/haiku-commits/haiku-hrev46304-srckitsinterface,18
2014-03-07 19:11:48 -05:00
John Scipione
a6213356bc BView: scroll horizontally when holding control
... instead of vertically. This actually swaps horizontal and vertical
so if you have a mouse with a fancy 2-axis scroll ball it will swap
the x and y coordinates. (untested)
2014-03-07 19:11:46 -05:00
John Scipione
ab5c74422e BView: ScrollWithMouseWheelDelta return status code 2014-03-07 19:11:44 -05:00
John Scipione
b2404e2a39 BView: Check scroll delta isn't 0 2014-03-07 19:11:43 -05:00
John Scipione
5b6c94c591 ShowImage: Style fixes related to scrolling 2014-03-07 19:11:41 -05:00
John Scipione
b9f48ef8f6 WebPositive: style fixes related to scrolling
rename dy to deltaY
2014-03-07 19:11:39 -05:00
John Scipione
bdcfc07617 BScrollView: Increase small scroll step size from 1 to 3
... and then don't multiply by 3 in BView
2014-03-07 19:11:37 -05:00
John Scipione
c4337a4324 BView: style fixes related to mouse scrolling 2014-03-07 19:11:35 -05:00
John Scipione
b7929c0574 BScrollBar: style fixes, update copyright header 2014-03-07 19:11:33 -05:00
John Scipione
ae63d4aa97 Tiny change to the BListItem docs (make more generic) 2014-03-07 13:55:44 -05:00
John Scipione
a003ac003f Add BStringItem docs 2014-03-07 13:55:43 -05:00
John Scipione
86bdb1b69d Style fixes to BStringItem 2014-03-07 13:55:43 -05:00
John Scipione
c2db663cdf Add skeleton docs for BPicture and BPictureButton 2014-03-07 13:55:42 -05:00
John Scipione
e3e82c7972 GIFTranslator: Increment settings refcount
So that the settings object won't be destroyed when released on the
the view destructor.

Fixes #10646
2014-03-06 19:19:04 -05:00
John Scipione
b365777b74 Add curly braces, int created 2014-03-06 19:07:58 -05:00
John Scipione
89e849e326 GIFTranslator: Style, alphbetize 2014-03-06 18:40:04 -05:00
John Scipione
138c12e0a4 GIFTranslator: rename msgr to messsenger
put BView::AllAttached() last (does nothing)
2014-03-06 18:39:19 -05:00
John Scipione
7bad8fc1f6 GIFTranslator: accidentially deleted this twice 2014-03-06 18:37:32 -05:00
John Scipione
2433b9e64f Error if Write less than expected 2014-03-06 18:19:21 -05:00
John Scipione
9592cbe5d8 GIFTranslator: Return false if read fails 2014-03-06 17:18:44 -05:00
John Scipione
1fe1074e8d GIFTranslator: Line strings up visually 2014-03-06 17:18:43 -05:00
John Scipione
5d89b2f16a GIFTranslator: Layout GIFView better
http://25.media.tumblr.com/9aa37387e4240aa5828d34b4dc7163af/tumblr_n20583ipj11r0f0hfo1_500.png

Also delete controls in destructor to not leak memory
2014-03-06 17:18:42 -05:00
John Scipione
2d612ef7ae GIFTranslator: Whitespace style fixes
Also remove break in last case.
2014-03-06 16:50:30 -05:00
John Scipione
9d41bc18bb GIFTranslator: Combine nested if statements
...into single conditional
2014-03-06 16:50:29 -05:00
John Scipione
78bfaa98e1 GIFTranslator: try hard to not throw an exception
... by calling new(std::nothrow)

Also try really hard not to leak any memory in the process.

Lots of error checking added to check if reads and writes fail
returning B_IO_ERROR and if initialization fails returning B_NO_MEMORY
2014-03-06 16:48:48 -05:00
John Scipione
33ef87cd9e GIFTranslator: style fixes 2014-03-06 16:38:41 -05:00
John Scipione
ead17dec08 GIFTranslator: Style fix, rename cs to colorSpace 2014-03-06 16:19:50 -05:00
John Scipione
7b46114834 GIFTranslator: call new(std::nothrow) BBitmap again
... to prevent throwing a std::bad_alloc exception if there isn't
enough memory to allocate a new BBitmap.

This effectively reverts 116e78d4d4

Thanks Axel and AnEvilYak and sorry for the noise.
2014-03-06 16:19:48 -05:00
Humdinger
15791c196f Sentence casing "Low latency" and "Power saving". 2014-03-06 17:31:32 +01:00
Adrien Destugues
9f487be84b Add vim 7.4 package. 2014-03-06 11:18:07 +01:00
David Höppner
fe309ca2a3 setarch: list available architectures
Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-03-06 09:27:43 +01:00
Adrien Destugues
0009559ca3 Style fixes. 2014-03-06 08:59:04 +01:00
Sean Thames
54e1893c41 Changed enable notification button to a checkb Changed variable names to more appropriate names. Fixed a potential issue with fNotificationBox getting out of sync. Fixed a potential issue of starting the Notification Server more than once.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2014-03-06 08:59:03 +01:00
John Scipione
01be25aefe GIFTranslator: Refactor filling out BBitmap
* Remove the NULL check since BBitmaps don't return NULL but check
  that it IsValid() instead.
* Fill out the *out pointer directly instead of creating a temporary
  bitmap pointer.
* Rename err to result.
* Return B_OK unconditionally if we get to the end of the function.

Thanks again Jérôme
2014-03-05 15:36:10 -05:00
John Scipione
c030befbf9 GIFTranslator: Reorder includes
Thanks Jérôme
2014-03-05 15:36:04 -05:00
John Scipione
5adf9d6ee5 Use doxygen style comments as per guidelines
Thanks Axel!
2014-03-05 15:34:53 -05:00
Ingo Weinhold
5b5f099fc0 Fix DebugAnalyzer gcc 4 build 2014-03-05 21:05:15 +01:00
Adrien Destugues
8e0b2cb0f4 Add various useful packages for x86 part of gcc2hybrid.
Some steps towards libpak...
2014-03-05 20:11:35 +01:00
Adrien Destugues
2580b20edd WebPositive: fix cmd+esc handling
* Don't show the menu in MenusBeginning, this is invoked for all
shortcuts, so cmd+C and others would show the menu. Fixes #9186.
* Instead, show the interface specifically for the CMD+ESC case. Also,
send that key event to the default window handler so the menu opens.
Before, this was mistakenly sent to the "stop" button. Fixes #10523.
2014-03-05 17:21:17 +01:00
François Revol
8e8f7748d3 Update the HardwareChecker script
to work post-PM, however nothing makes any use of it yet.
2014-03-05 02:06:55 +01:00
John Scipione
75d4568c15 DebugNow: Shrink the text a bit, fixes #8170 2014-03-04 18:13:29 -05:00