Commit Graph

52155 Commits

Author SHA1 Message Date
Adrien Destugues
43b65f2eac Netprefs: Remove "/dev/net/" from displayed interface names
The name overlaps the status string when it's too long, so keep it
shorter.
2014-11-10 13:15:13 +01:00
Adrien Destugues
396d0801a4 Network prefs: remove compile-time german localization
There are better way to achieve this, now.
2014-11-10 13:06:52 +01:00
Adrien Destugues
a95a728ca0 Terminal: make sure window fits in screen.
Fixes #8414.
2014-11-10 12:52:01 +01:00
Adrien Destugues
482f0eeb01 add window size and encoding to terminal prefs
* The menu items now only set the values for the current window without
saving,
* The settings in the preference window are persistent,
* The "save as defaults" menu item is removed.

Fixes #5030.
2014-11-10 11:46:32 +01:00
Adrien Destugues
defb82922a Terminal Prefs: replace "OK" with "Defaults"
Again, this is the more standard way to do things in Haiku.
2014-11-10 11:46:26 +01:00
Adrien Destugues
cca6cae659 Terminal preferences: replace "Cancel" with "Revert"
This is the standard way in Haiku preference panels.
2014-11-10 11:46:20 +01:00
Adrien Destugues
f5a3c8c48c Terminal: allow % in URLs. 2014-11-10 11:46:14 +01:00
Augustin Cavalier
0a74147e1d BToolbar: Allow the toolbar's orientation to be set by its creator.
I already made this patch in Heidi's clone of BToolbar. Adding it here
allows me to drop Heidi's version altogether.

I also relicensed the header file at the permission of Stephan. The .cpp
file still lists him as author and copyright holder.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-11-10 13:21:13 +13:00
François Revol
44d31dca37 Update intltool package
To properly require cmd:file.
2014-11-10 01:12:04 +01:00
François Revol
4dcad4ed72 Add package for file
Required for intltool.
2014-11-10 01:11:05 +01:00
Julian Harnath
97fb429c55 radeon_hd: fix typecast in atombios table header parser
* The pointer mdt should point to the start of the contents of the
  master data table. As defined in struct ATOM_MASTER_DATA_TABLE,
  the content begins 4 bytes after the beginning of the table
  (which in turn is ctx->data_table bytes from the start of the
  AtomBIOS). The wrong parantheses in the cast moved the pointer
  somewhere else completely.

* That this apparently worked on many cards is because the mdt
  pointer in this function is used just to make sure that the
  following dereference is not a NULL-pointer access.
  The actual dereference is then done using the CU16() and CU8()
  macros which do the casts correctly. However, it only worked when
  the wrong pointer plus index lead to some byte which was, by
  chance, not zero. For many chips, this was the case.

* For the AtomBIOS of a Radeon HD7850M (Heathrow Pro) it didn't work
  out though and the driver couldn't parse tables. With this fix, it
  now works on such chips as well.

* Also, fix the same problem in code for master command table.
2014-11-09 23:59:24 +01:00
Alexander von Gluck IV
6ab4ff112a accelerants: Fix warning introduced in hrev48265
* Align types for compare
* Fixes builds
2014-11-09 15:53:44 -06:00
Alexander von Gluck IV
57bc65034a Everything: Update lots of code to use B_COUNT_OF macro
* Likely not everything, but the obvious uses of B_COUNT_OF
2014-11-09 14:52:19 -06:00
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