Commit Graph

52348 Commits

Author SHA1 Message Date
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
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