49891 Commits

Author SHA1 Message Date
Rene Gollent
0da0db4da0 Debugger: Partly rework hrev46696.
- Various other places in Debugger expect the highpc attribute to be
  an address rather than an offset. As such, resolve it to one when
  setting the attribute in the corresponding DIE so the resolved value
  is available everywhere. Fixes variable scopes not being computed
  properly, and consequently the missing variables mentioned in the
  previous commit.

This gets things working properly again under gcc4.8.
hrev46997
2014-03-08 23:00:51 -05:00
Rene Gollent
3414d0b64d Debugger: Fix program counter handling issue.
- For DWARF4, lowpc/highpc can be specified as constants in addition
  to addresses. Furthermore, they can also be specified such that highpc
  is a relative offset from lowpc rather than an absolute address. We
  weren't handling this case, which gcc4.8 is now using when emitting
  version 4 debug information. Fixes another part of #10659.

There still remains a problem with regards to class/structure variables not
showing up in the local variables view.
hrev46996
2014-03-08 22:40:33 -05:00
Murai Takashi
982b4e9809 Fix mismatching allocation and deallocation
Fixes ticket #10374

Signed-off-by: Philippe Saint-Pierre <stpere@gmail.com>
hrev46995
2014-03-08 20:29:53 -05:00
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
hrev46994
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 bdcfc076173236ddecccfebd945530a309debdce.
hrev46993
2014-03-08 15:18:35 -05:00
Philippe Saint-Pierre
1166849963 Hey: use delete[] instead of free (CID #990947 and CID #990948) hrev46992 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.
hrev46991
2014-03-08 12:44:46 -05:00
Rene Gollent
84e7206b05 Style fix. hrev46990 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.
hrev46989
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.
hrev46988
2014-03-08 10:47:14 +01:00
autonielx
0af7f3c1c2 Update translations from Pootle hrev46987 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
hrev46986
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) hrev46985 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
hrev46984
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 hrev46983 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 116e78d4d4c1f8087a8e70707acc4227c5d0edf7

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". hrev46982 2014-03-06 17:31:32 +01:00
Adrien Destugues
9f487be84b Add vim 7.4 package. hrev46981 2014-03-06 11:18:07 +01:00
David Höppner
fe309ca2a3 setarch: list available architectures
Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
hrev46980
2014-03-06 09:27:43 +01:00
Adrien Destugues
0009559ca3 Style fixes. hrev46979 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
hrev46978
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 hrev46977 2014-03-05 21:05:15 +01:00
Adrien Destugues
8e0b2cb0f4 Add various useful packages for x86 part of gcc2hybrid.
Some steps towards libpak...
hrev46976
2014-03-05 20:11:35 +01:00