Commit Graph

52328 Commits

Author SHA1 Message Date
Freeman Lou
857688724e Start of a virtual keyboard input_server add-on
Done during GCI 2014.

Some files copied from the Keymap preferences.
2014-11-13 17:50:40 +01:00
Automatic Committer
694be58ab1 Update pci.ids from pciids.sourceforge.net 2014-11-13 05:20:31 +01:00
Rene Gollent
55ae46933b Debugger: Adapt x86_64 disassembler to newer udis API. 2014-11-12 21:53:48 -05:00
Rene Gollent
dc257d1603 Debugger: Fix disassembler to handle newer udis86 API.
In newer versions of udis86, the ud_t.mnemonic field is deprecated,
and one must now call ud_insn_mnemonic() to retrieve that information.
This was causing Debugger to not correctly identify subroutine calls
and jump instructions, which broke the stepping code in various fun
ways.
2014-11-12 21:50:53 -05:00
Jérôme Duval
242c022af8 Build against libpng16 instead of libpng.
* Also migrate freetype at the same time, otherwise freetype_devel
wouldn't install anymore.
2014-11-12 22:59:26 +01:00
Jérôme Duval
f44d20cb49 Update curl and libpng packages, add libpng16 packages.
* curl: security update for CVE-2014-3707
* libpng16 can be installed next to libpng, libpng16_devel cannot be
installed next to libpng_devel (only one of them).
2014-11-12 20:17:55 +01:00
Adrien Destugues
938c41a1aa cdda: fix possible buffer overrun
If the requested read was more than 32 frames, and reading them all at
once failed, we would try to read by chunk of 8 frames. But if the
original frame count was not a multiple of 8 we would not adjust the
count for the last read.

Unfortunately I could still panic the system after fixing this, so it is
not *the* cdda bug.
2014-11-12 16:22:48 +01:00
Adrien Destugues
db214549c5 guarded_heap: fix build (volatile + atomic ops)
Unfortunately, the package manager uses more kernel memory and it's not
possible to boot to the desktop with the guarded heap anymore.
2014-11-12 16:20:24 +01:00
Adrien Destugues
1aa19cd3ec KDL disassembler: implement symbol lookup
The new udis makes it possible to hook a symbol lookup function, so we
can get symbol names and offsets instead of raw addresses in call and
jump instrucitons.
2014-11-12 12:06:37 +01:00
Adrien Destugues
a358634d15 Update udis86 to current version. 2014-11-12 11:25:41 +01:00
Adrien Destugues
735ca4068d cdda: CID 610847: possibly uninitialized fields
In two cases:
* Out of memory and strdup on fName failed. Nothing would be
initialized (mostly harmless: InitCheck would detect this)
* There are no frames in the track: the wav header would be left
uninitialized, and this would be readable from userland (bad thing, but
needs a specifically crafted malicious CD to happen).
2014-11-12 09:15:48 +01:00
Adrien Destugues
7b4084f717 reject partitions with negative offset
I had a KDL when trying to read an audio CD which apparently uses this
as a copy protection scheme.
I don't know if this is the right place to do this, the KDL would happen
further down when the intel partitionning system or bfs would try to
read data from the disk at offset -2048.
2014-11-11 17:13:03 +01:00
Adrien Destugues
a1e032c875 DiskProbe: rewrite to use layout code.
The main goal is to use a layout aware tab view in the attribute editor
window, removing some hacks that caused #10480.
2014-11-11 12:34:50 +01:00
Adrien Destugues
4a13af4977 Terminal: set B_NO_BORDER on the tab view.
This looks better and is what we want here. The difference is subtle,
just a few pixels on the left and right side of the tabview where it now
properly joins the window border.
2014-11-11 09:19:08 +01:00
Alexander von Gluck IV
44b9746039 radeon_hd: Fix Spread Spectrum clock decimal place
* As 104Mhz is stores as 10400 on atombios,
  and 104000 everywhere else... this conversion
  was going the wrong direction.
* Shrink the stored value to 10Khz units to properly
  compare to the AtomBIOS value
2014-11-10 22:16:49 -06:00
Alexander von Gluck IV
3de924d06c radeon_hd: Implement initial DP encoder service
* Used on older chipsets. Untested.
2014-11-10 22:01:36 -06:00
François Revol
747c2e9253 Add sniff rule to Gobe Productive MIME type
I'm not sure the 'DOC!' part isn't an endian marker but for now
it should be enough.
2014-11-11 00:41:22 +01:00
François Revol
645262ff2e Add MIME type for Gobe™ Productive™ Document 2014-11-11 00:31:42 +01:00
François Revol
58cd1a5fb3 Update simh package 2014-11-11 00:15:32 +01:00
Adrien Destugues
946a694e70 Update OpenSSH to 6.6p1. 2014-11-10 18:25:33 +01:00
Adrien Destugues
467105d086 bfs_tools: fix NULL pointer dereference
Happened when the given path did not map to any device (for example
'/').

Fixes #11436.
2014-11-10 17:49:45 +01:00
Adrien Destugues
41bfed9f20 PackageInstaller: rewrite /boot/beos/system to /boot/system
Fixes #10603.
2014-11-10 15:27:46 +01:00
Adrien Destugues
e0dbadfc4e Network prefs: update on tab switch
The rightmost part of the UI actually depends on which tab is selected
on the leftside. Intercept the tab change in the Show method, and
display the correct data.

Fixes #11400.
2014-11-10 14:04:52 +01:00
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