Commit Graph

52458 Commits

Author SHA1 Message Date
Alexander von Gluck IV
6a716f63ae radeon_hd: Exit on GPIO pin space exhaustion
* Prevents negative array index read
* CID 1210885
2014-11-15 08:56:40 -06:00
Jessica Hamilton
f9ac1e93fb bfs: erase first sector when initialising new partition
* When writing the superblock, because it's at sector 1,
  sector 0 doesn't get erased. As a result, if an
  existing file system was present, identifying details
  in sector 0 could cause the partition identifying code
  to detect an old file system instead.

Fixes #11136.
2014-11-15 22:49:03 +13:00
autonielx
9bce27d261 Update translations from Pootle 2014-11-15 06:26:02 +01:00
Rene Gollent
6f568acbc8 Fix x86-64 build. 2014-11-14 22:58:45 -05:00
Rene Gollent
02c7127cb9 Debugger: Implement #10671.
- The stack trace view now remembers the last selected frame index for stopped
  threads when switching between them.
2014-11-14 21:03:16 -05:00
Rene Gollent
46593adfbc Debugger: Fix #11459.
- When saving our view state, only save a new set of values if a stack
  frame clear is pending. Otherwise, check if there is a previously
  existing view state, and take over its values. This ensures that we
  correctly remember our previous values when the user is simply switching
  stack frames while in a stopped state.
2014-11-14 16:45:26 -05:00
Adrien Destugues
efb618a273 CDDA: handle CP-1252 in CD-Text
I have at least one CD which does that. There is no problem in handling
it since CP-1252 is a superset of ISO-8859-15.

Also fix the possible buffer overflow in the CD-Text handling, which
could corrupt the stack in case a track title decodes to more than 256
bytes. Now it is properly truncated on a character boundary.
2014-11-14 18:10:53 +01:00
Adrien Destugues
8d9fab1be9 FirstBootPrompt: focus the language list
Make it possible to easily use the window with only the keyboard.
2014-11-14 16:51:44 +01:00
Adrien Destugues
3c3eb09760 Session: try harder to read the disc geometry.
On some discs and drives, the command may not work the first time.
Trying a second time succeeds more often.

Fixes #11467.
2014-11-14 16:00:37 +01:00
Adrien Destugues
b31d5cd2b6 AHCI: make debug messages more compact
Put more information on a single line. This makes it easier to keep
track of things when debugging higher level parts of the disk stack
(partitionning and file systems).
2014-11-14 15:59:04 +01:00
PulkoMandy
8068b64b5c Fix build with guarded heap on x86_64
* Type mismatch.
2014-11-14 12:55:50 +01:00
Jessica Hamilton
29bce87707 StyledEdit: ensure caret position gets set correctly
* When opening documents without be:caret_position,
  StyledEdit would place the cursor at the end of
  the file. _LoadAttrs() intended to set it to the
  beginning; however, a check for an existing BRect
  for positioning the window would return early,
  preventing the caret position to be set.

Fixes #11463
2014-11-14 16:15:36 +13:00
Rene Gollent
d390ebee9e Debugger: Call frame unwind optimizations.
- Pass address size to DwarfManager, and subsequently DwarfFile's Load()
  method, as that information is needed in order to parse the frame
  information correctly early on.
- When initially loading debug information, also do a quick pass through
  .{debug,eh}_frame, and build a lookup table of offsets. This is then
  used later when actual unwinding is requested in order to quickly find
  the corresponding FDE/CIE. Should noticeably improve performance when
  stepping through code, especially for larger/more complex executable images.

Implements #8613.
2014-11-13 21:18:55 -05:00
Stephan Aßmus
8507d262d8 HaikuDepot: Support wheel scrolling in featured packages
* Forward B_MOUSE_WHEEL_CHANGED to parent view from each package row view
 * Configure small/big steps on vertical scroll bar.
2014-11-13 22:58:24 +01:00
François Revol
642c5de7a8 virtualkeyboard: more TODO 2014-11-13 20:10:05 +01:00
François Revol
7dc43c256f virtualkeyboard: convert TODO to org-mode file 2014-11-13 20:07:44 +01:00
François Revol
953c6a0450 AboutSystem: add Freeman Lou to the contributors
I'm not sure which is first name and which is last though...
2014-11-13 18:08:49 +01:00
François Revol
280efb4202 virtualkeyboard: more TODO 2014-11-13 18:00:03 +01:00
François Revol
e47787291d virtualkeyboard: mention needed code factorisation in TODO 2014-11-13 17:51:14 +01:00
Freeman Lou
67b3c67768 virtualkeyboard: code style fixes 2014-11-13 17:51:13 +01:00
Freeman Lou
b8fe0b588d virtualkeyboard: fixed restart crash 2014-11-13 17:51:13 +01:00
Freeman Lou
5e0fb24359 virtualkeyboard: add to the build 2014-11-13 17:51:12 +01:00
Freeman Lou
0f451a9464 virtualkeyboard: use US international keys for now
Update TODO list.
2014-11-13 17:51:11 +01:00
Freeman Lou
48af6b9693 virtualkeyboard: Create README.md 2014-11-13 17:51:11 +01:00
Freeman Lou
246b061c9a virtualkeyboard: add TRACEing and make the keyboard work 2014-11-13 17:51:10 +01:00
Freeman Lou
c2f4582357 virtualkeyboard: add TODO list 2014-11-13 17:51:09 +01:00
Freeman Lou
2071724c6f virtualkeyboard: fix input_server event loop crash 2014-11-13 17:51:09 +01:00
Freeman Lou
a9fd76aefc virtualkeyboard: fixes; input_server now displays keyboard 2014-11-13 17:51:08 +01:00
Freeman Lou
2e4c86a4d2 virtualkeyboard: some fixes
Add initialization helpers.
2014-11-13 17:51:07 +01:00
Freeman Lou
c099b74eac virtualkeyboard: Add input_server device add-on code 2014-11-13 17:51:06 +01:00
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