Commit Graph

52220 Commits

Author SHA1 Message Date
Adrien Destugues
fae7ea18b6 Wrap config_headers readme to 80 columns. 2014-11-17 09:31:33 +01:00
Adrien Destugues
4ecb74f198 Session: reinit ioctl data before sending it again.
The structure is used as input and output from ioctl, so we must clean
it before doing the ioctl for the second try.

May fix #11477.
2014-11-17 09:22:17 +01:00
Adrien Destugues
8d67965f06 DiskProbe: use layouted view for StringEditor.
Fixes #11476.
2014-11-17 09:08:43 +01:00
Jessica Hamilton
447f97ced1 bfs: minor refactoring of hrev48308
- also additional error checks added, as suggested
  by Axel Dörfler
2014-11-17 14:38:36 +13:00
Adrien Destugues
f89cd51852 Add package for Slime Volley. 2014-11-16 17:00:46 +01:00
Oliver Tappe
8e77a6439a Fix #11458, pt.3: invoking jam from source dir does not work.
* Adjust build_haiku_repository script to invoke package_repo without
  -C <dir>, as that is not needed and has the unintended side-effect
  of rendering relative package paths non-functional.
2014-11-16 15:58:03 +01:00
Oliver Tappe
532b7b60a9 Fix #11458, pt.2: invoking jam from source dir does not work.
* Adjust package_repo create command to check if each given package
  exists before adding it to the repository writer and fail with
  an appropriate message when it does not.
2014-11-16 15:56:14 +01:00
Oliver Tappe
f17d87fa17 Fix #11458, pt.1: invoking jam from source dir does not work.
* Apply change suggested by Ingo: replace LocalDepends with Depends.
2014-11-16 15:55:52 +01:00
Rene Gollent
c87c95791e Debugger: Fix CFI length computation.
- Due to a slight oversight during optimization refactoring, the length
  of the FDE's call frame instructions would sometimes be computed
  incorrectly, leading us to overflow past the end of the instructions,
  and fail to unwind the frame correctly if the address in question fell
  at the end. Fixes a regression introduced in commit
  d390ebee9e.
2014-11-16 00:17:11 -05:00
Alexander von Gluck IV
a46669aa1c radeon_hd: Improve pitch width alignment 2014-11-15 16:19:45 -06:00
Jessica Hamilton
cce8cb8ca3 bfs: only erase first sector when initializing
f9ac1e93fb didn't take
into account that the superblock gets written back
from places other than Initialize(), resulting in
unbootable volumes.

Now the first sector will only be erased if the volume
is being initialized.
2014-11-16 08:40:52 +13:00
Alexander von Gluck IV
a9327b1110 radeon_hd: Add additional sanity checks
* Prevents negative array index read (again)
* Clear display_mode struct before lvds read - CID 1108403
2014-11-15 09:25:40 -06:00
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