Commit Graph

52278 Commits

Author SHA1 Message Date
Rene Gollent d1c9ffed34 Debugger: Cleanup.
Team:
- Remove expression evaluation event / listener hook. This doesn't
  really belong to the Team anyways.

UserInterfaceListener:
- ExpressionEvaluationRequested() now takes an ExpressionInfo object
  rather than the individual subcomponents.

ExpressionEvaluationJob:
- Notification of expression evaluation completion is now handled
  via the info object's listener interface rather than the Team.

Others:
- Adjust all users of expressions to set themselves up as
  ExpressionInfo::Listener subclasses, and consequently add themselves
  to the respective info object when requesting evaluation. This
  significantly simplifies various things, and also ensures that no
  one accidentally gets notified of an expression they didn't actually
  ask for, which could occur with the previous Team-based listener
  interface. Make all other required adjustments for new interface
  usage.

No functional change intended.
2014-11-08 18:42:53 -05:00
Rene Gollent 05d1068c97 Debugger: Reorganization, no functional change.
- Move SyntheticPrimitiveType to model subdir, since more than just
  the UI will be making use of it.
2014-11-08 18:19:13 -05:00
Rene Gollent 329dd0af0b Debugger: Extend ExpressionInfo.
- Add setters for the individual subcomponents.
- Add listener interface. This will supplant the one
  currently attached to Team.
2014-11-08 18:15:31 -05:00
Rene Gollent e646545b60 Debugger: Save/restore expression node values.
- This allows expression results to be highlighted for value changes
  as we already do for regular variable values.
2014-11-08 11:16:44 -05:00
Rene Gollent b7e72db3cc Debugger: Implement first part of #11387.
VariablesView:
- The view now keeps a mapping of a list of expressions associated
  with functions.
- Add actions for adding/removing expressions to variables context menu.
- When setting up to show a new stack frame, also add corresponding expression
  nodes and request their evaluation.
- Extend VariablesView::Listener interface to also encompass expression
  evaluation requests.
- Don't add context actions for expression nodes.

TeamWindow:
- Implement VariablesView::Listener expression evaluation hook and forward
  responses along.
2014-11-08 11:00:27 -05:00
Rene Gollent 11832b28af Debugger: Add expression prompt window handling.
TeamWindow now handles the messages for summoning/dismissing
the expression prompt window.
2014-11-08 10:49:01 -05:00
Rene Gollent 8336fb8168 Debugger: Cleanup.
Refactor the expression windows to use the type code helper to simplify
building the type menus.
2014-11-08 10:49:01 -05:00
Rene Gollent 6d9f98fd95 Debugger: Add some type utility functions.
Add helper function for converting a type code to a type name.
2014-11-08 10:49:00 -05:00
Rene Gollent 0b21bf1038 Debugger: Add simple prompt window for adding expressions.
- Requests an expression + type from the user for use elsewhere.
  Intended to be used by VariablesView and possibly others.
2014-11-08 10:48:59 -05:00
Rene Gollent 6a7eaa2a75 Debugger: Add ExpressionValues to VariablesViewState.
- VariablesViewState is now able to optionally store previous values
  for expression nodes.
2014-11-08 10:48:59 -05:00
Rene Gollent 1904b0c99a Debugger: Add type subclass for artificial types.
- For expressions we need a Type object to represent their result
  type. However, this doesn't need to map to an actual DwarfType,
  as we won't need e.g. location and storage format information to
  read it out of the target team, so instead derive a simple subclass
  representing the appropriate result type.
2014-11-08 10:48:58 -05:00
Rene Gollent 1af58b2afd Debugger: Add expression-related model classes to build. 2014-11-08 10:48:57 -05:00
Rene Gollent 8a038c4440 Debugger: Add value node subclasses for expressions.
- Since expression value nodes need to be handled quite differently from
  other value nodes, and aren't specifically tied to variable object
  instances, create distinct implementing subclasses ExpressionValueNode{Child}
  to represent them.
2014-11-08 10:48:57 -05:00
Rene Gollent ba4cfb2439 Debugger: Add model classes for expression representation.
- Add class ExpressionInfo to encapsulate the expression string and result type
  of a particular expression instance.

- Add class ExpressionValues to map expression result values correlating to a
  function, thread and expression for later use in highlighting changes.
2014-11-08 10:48:56 -05:00
Rene Gollent d100f5b98d Debugger: Handle DW_AT_external for DIEVariable.
- This attribute flag indicates if a variable is visible outside of
  its compilation unit. Needed in order to handle global variable
  lookups.
2014-11-08 10:48:55 -05:00
Adrien Destugues 30e8ed9f4f Add recipe for stm32flash. 2014-11-08 16:43:59 +01:00
Fredrik Holmqvist ae715b108d Add Todos for adapter and displays. 2014-11-08 13:04:07 +01:00
Fredrik Holmqvist b5be958727 WIP ACPI display adapters driver
Currently find display adapters and attached displays but nothing more.
I would like it to publish adapters and displays in dev tree, so that
you can open and control the adapter (get firmware, boot display) and
the adapter itself would have child devices for displays (brightness ..).

However that part could use some review, and since my time is limited it
is better to make it availble for others to work on as well.
2014-11-08 11:51:30 +01:00
autonielx 84de2ceb27 Update translations from Pootle 2014-11-08 06:52:02 +01:00
François Revol d4b75d6c6e Add package for gnupg 2014-11-08 02:48:29 +01:00
François Revol 84311a7294 Add packages for libusb-compat 2014-11-08 02:45:06 +01:00
François Revol d978b683a2 libusb: update and add the missing devel package 2014-11-07 22:28:56 +01:00
Adrien Destugues 8ec3837ac8 update libsdl_x86 to include OpenGL viewport fix. 2014-11-07 22:04:11 +01:00
Adrien Destugues a12bde1cf5 bluetooth: fix build.
Fixes #11184.
2014-11-07 21:24:04 +01:00
Adrien Destugues 2c291e65bd Update VL-Gothic fonts to 20140801.
Fixes #9757.
2014-11-07 20:38:58 +01:00
Adrien Destugues f496c617c6 MacDecorator: fix some drawing problems
* Make the buttons pixel-perfect clones of Mac OS 9
* Fix missing drawing of top border when inactive
* Some colors and size tweaks to be closer the Mac OS 9

Remaining problems:
* Does not work well for windows with no tab (eg alerts)
* Still missing the resize knob
* Does not show stack and tile
* Does not show command+opt resize/move highlights
2014-11-07 19:45:28 +01:00
Adrien Destugues 27fc6a70c6 Mandelbrot: allow zooming in any direction
Fixes #8679.
2014-11-07 17:33:50 +01:00
Adrien Destugues 3b218d2d82 Mandelbrot: remove unused file. 2014-11-07 17:24:06 +01:00
Adrien Destugues 053e02b45f Notifications: make "enable on startup" work.
Fixes #9425.
2014-11-07 16:40:14 +01:00
Adrien Destugues c6e1228c8e Fix unresolved catalog access.
The B_TRANSLATE_MARK macro was used before a translation context was
set.
2014-11-07 16:22:15 +01:00
Adrien Destugues c2c84efe20 Upload mesa package fixing be_bold_font issue.
BeOS GL based apps run again.
2014-11-07 16:14:16 +01:00
Adrien Destugues 730344709a Patch libxml used ofr docbook to work with current zlib
Patch from https://git.gnome.org/browse/libxml2/commit/?id=a7e79f28689c574e0bbef17f4cb3da00249181ff

* Fixes #6958
* We should probably use the host libxml2 instead.
2014-11-07 11:14:51 +01:00
Jérôme Duval 2e4481508d Bootstrap: sync bootstrap package list
* also add the needed libtool_cross_generic on x86_64, x86, x86_gcc2.
2014-11-07 00:15:47 +01:00
François Revol c56527927d Add package for ddrescue 2014-11-06 23:40:53 +01:00
Humdinger 9feefc7503 Updated DuckSaver package 2014-11-06 18:58:26 +01:00
Adrien Destugues e8ceef7357 Fix typo in getaddrinfo test. 2014-11-06 18:32:23 +01:00
Adrien Destugues 5592b1d7e0 PatchBay: complain when there are no MIDI devices
The empty window that would show when no MIDI devices are found would
confuse Haiku users. This was not a problem on the BeBox or older PCs
where a sound card with MPU401 port was standard, so there would always
be something to show.

Fixes #9977.
2014-11-06 16:22:09 +01:00
Adrien Destugues fbd8b14ae7 SecureSocket: fix build without SSL. 2014-11-06 15:15:40 +01:00
Adrien Destugues b1b51eddee Network preferences: Set the "auto configuration" flag.
Fixes #11416.
2014-11-06 15:02:01 +01:00
Adrien Destugues bca1813626 Add test for getaddrinfo on empty host.
* This should fail immediately, but it timeouts after 22 seconds when
the network interfaces are not configured properly.
2014-11-06 15:02:00 +01:00
Adrien Destugues 5ee2151e2c BHttpRequest: propagate SSL errors to listener
This way it's possible to handle them in applications.
2014-11-06 15:02:00 +01:00
Adrien Destugues c86ad7f93b Add more features in BCertificate class
* Make it possible to extract more useful data from the certificate
* Also get the OpenSSL error message when a certificate can't be
validated. Send it to the verification failure callback so it can be
shown to the user.
2014-11-06 15:01:59 +01:00
Adrien Destugues 3b657701db BCertificate: fix parsing of date and name. 2014-11-06 15:01:58 +01:00
Automatic Committer b7f8d64d19 Update pci.ids from pciids.sourceforge.net 2014-11-06 05:20:25 +01:00
Jessica Hamilton 9f8197a872 BToolbar: move into BPrivate namespace, as it's not public yet 2014-11-06 16:44:02 +13:00
Adrien Destugues 6195bee580 GIF and WebP translators: force layout of parent window
Translators are now allowed to use the layout API, but this doesn't work
well when they are used in a non-layout aware window (the view ends up
with a size of 0x0 or some arbitrary size set with
SetExplicitPreferredSize).

To avoid this, detect the case where the translator settings are the
single child of a non-layout window, and force the window to become
layouted.

Fixes #7754.
2014-11-05 21:13:27 +01:00
Adrien Destugues e1ca0f4e32 BootManager: partition list scrolling with a BViewPort.
Fixes #7360.
2014-11-05 16:49:17 +01:00
Adrien Destugues 6f3ad852a3 CodyCam: Fix gcc4 build. 2014-11-05 16:16:16 +01:00
Adrien Destugues b3b96925f5 CodyCam: show fatal errors in the video view
... instead of using an alert.

Also add a fancy border and some style fixes.

Fixes #3320.
2014-11-05 15:42:46 +01:00
Adrien Destugues f98814b714 Network prefs: build fix. 2014-11-05 14:30:20 +01:00