Commit Graph

52292 Commits

Author SHA1 Message Date
Alexander von Gluck IV
f2b20f8804 SupportDef: Add B_COUNT_OF to get array element count.
* We implement this in a lot of places in a lot of
  ways. Lets add it to the SupportDef
2014-11-09 14:47:39 -06:00
Alexander von Gluck IV
e0923fddba radeon_hd: 68f9 was present twice in the driver
* Keep older one as I have the card in-hand
2014-11-09 13:04:07 -06:00
Alexander von Gluck IV
91c0454716 3rdparty: Add a quick doc on how to use IOMMU on Linux
* Drop my old script, didn't work well anymore.
2014-11-09 12:58:55 -06:00
Alexander von Gluck IV
3f84ea0c7e ScreenInfo: Include screeninfo in images
* Rename from screen_info to screeninfo to match
  screenmode
2014-11-09 12:20:04 -06:00
Rene Gollent
743d5dbeb5 Debugger: Fix potential crash.
VariablesView:
- Check to ensure the stack frame actually does have a function
  object associated with it before attempting to use it, as this
  isn't always the case.
2014-11-09 09:36:54 -05:00
Adrien Destugues
d9e931526c SerialConnect: add scripting support
It's now possible to configure the serial port through scripting:
hey SerialConnect set databits to 8
hey SerialConnect set parity to even
etc.

More useful is the ability to connect and disconnect from the port:
hey SerialConnect get port # returns "usb0"
hey SerialConnect set port to usb0
hey SerialConnect delete port

This allows a script to automatically disconnect SerialConnect, do
something with the serial port, and then reconnect SerialConnect. This
can be used for example to run a bootloader and update a firmware
through the same serial port used for debugging, something that's not
easily possible on other systems.
2014-11-09 14:18:50 +01:00
Adrien Destugues
600c0527d5 *actually* update libsdl_x86
I failed to rebuild the package in the previous try...

Fixes #11429.
2014-11-09 13:51:30 +01:00
Adrien Destugues
8007a392cf BMessage: add AddFlat taking a const BFlattenable
It seems the const was forgotten in the BeOS version. But there is no
reason not to have it.
2014-11-09 13:51:29 +01:00
Stephan Aßmus
664372ab49 HaikuDepot: Visualize selection in featured packages view 2014-11-09 12:04:50 +01:00
Stephan Aßmus
ef40255d5d HaikuDepot: Make summary text non-selectable...
... in the rows of featured packages.
2014-11-09 12:04:48 +01:00
Stephan Aßmus
6e2ac1775e HaikuDepot: Added SetSelectable(bool) to TextDocumentView. 2014-11-09 12:04:47 +01:00
Rene Gollent
3ea675fc93 Debugger: Fix #11430.
InspectorWindow:
- Inherit from Team::Listener and implement hook for thread state
  change events.
- On thread state change, if the new state is stopped, and we have
  an active block, release it, and ask to re-inspect.
- Factor out helper function for updating the active block.
- Always ensure the MemoryView is updated when we change blocks.

MemoryView:
- Clean up acquisition of target memory block.

This ensures that the block data is kept up to date when stepping
through code with an inspector window open.
2014-11-08 23:35:35 -05:00
François Revol
1436fe7448 Add TIOCM_CAR as a synonym for TIOCM_CD
Gnokii uses it.
2014-11-09 02:28:06 +01:00
François Revol
2356253278 Update libusb_compat package 2014-11-09 02:21:48 +01:00
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