Commit Graph

52291 Commits

Author SHA1 Message Date
Adrien Destugues
dc7bdd5597 BootMan: Don't rename the "Install" button to "Quit"
... when there are no installable disks.

The button is disabled anyway, and it is not useful to rename it. The
program can be exited by closing the window anyway, so a "Quit" button
is useless.
2014-11-18 15:10:49 +01:00
Adrien Destugues
5946ab012e Update grep to 2.20.
Fixes #9342.
2014-11-18 14:54:05 +01:00
Adrien Destugues
c8dd5e4f27 Print page setup: use BButton with bitmap
... instead of BPictureButton.

* Replace bitmaps with zuMi's BToolbar themed ones
* Get a standard button look

Fixes #3592.
2014-11-18 13:49:00 +01:00
Adrien Destugues
6f08ef0ac2 MediaPlayer: some shortcuts tweaks
* F: toggle fullscreen (like tab)
* V: removed. Stopping the replay would lose the current position, and
we don't want non-undoable lossy operation on single keystrokes
* X: toggles play/pause instead of forcing play (like space)
* Alt+Shift+0/1/2/3 changes the aspecdt ratio to "raw", "default",
"4/3", "16/9".

Fixes remaining parts of #2495.
2014-11-18 11:08:30 +01:00
Adrien Destugues
09c2f0cb55 Remove leftover catkey files with wrong names.
The correct ones are pt_BR and zh_Hans, which are updated from Pootle
weekly.
2014-11-18 10:26:36 +01:00
Adrien Destugues
b0baaee653 Fix build. 2014-11-18 10:26:10 +01:00
Adrien Destugues
4a6c666d6b Update localization credits and add Puck Meerburg as a contributor
* Got the list from Pootle "contributors" page.
* I used the names as they show in Pootle, which may not be the best.
2014-11-18 10:04:28 +01:00
Jérôme Duval
20f046edb9 netfs: fixes some x86_64 build failures.
* long is used in vnode_ops in fs_proto.h whereas it should be int32.
* at least one reply object is casted an int32 cookie as a pointer.
2014-11-18 00:05:02 +01:00
Jérôme Duval
073da30265 ColumnListView: deselect the last selected row
when the shift movement goes back. This behavior feels better to me,
but opinions are welcome. Tested with HaikuDepot package listview.
Noticed that CLV uses Ctrl whereas Tracker uses Alt for single item
selection.
2014-11-17 20:18:00 +01:00
Jérôme Duval
f3e381dd0c bios_ia32: for correctness, add clobber memory for asm invlpg.
* generated code is the same for x86_gcc2 and x86_64.
* fixed TRACE build for mmu.cpp.
2014-11-17 20:17:30 +01:00
Adrien Destugues
1d48729397 There is no B_PRIdTHREAD 2014-11-17 19:18:55 +01:00
Adrien Destugues
2922c4ab90 userlandfs: more 64bit fixes. 2014-11-17 18:51:49 +01:00
Adrien Destugues
da8f008d15 Add a amfile to build cdda for userlandfs.
It crashes early after mounting in get_vnode, but the UserlandFS won't
build in DEBUG=1 (see #8422), making this not very helpful...
2014-11-17 17:36:53 +01:00
Adrien Destugues
a6d4e0b678 userlandfs: missing include. 2014-11-17 16:18:41 +01:00
Adrien Destugues
367ea4bd57 netfs: Fix build for gcc4. 2014-11-17 15:59:11 +01:00
Adrien Destugues
83b1a68c52 Move NetFS to a package
This is based on Jalopeura's patch to #10191, however, there are some
changes.
From the patch:
* Make userlandfs use separate "interface definition" files for each
filesystem, so the netfs package can provide a configuration file
* Add a short document on how to use NetFS
* Various fixes to netfs to make it build again (volatile atomics)
* The netfs_mount script for easier use of NetFS

Additional fixes:
* Move netfs_mount and the interface description file to data/ in the
source tree
* Use strlcat instead of strcat to avoid a buffer overflow
* Some parts were already applied in previous commits
2014-11-17 15:24:07 +01:00
Adrien Destugues
28627b28aa UserlandFS: avoid crash if module is not found.
If we can't find the name in the module list, we would try to
dereference the NULL pointer which terminates that list.
2014-11-17 11:49:26 +01:00
Adrien Destugues
5b1f411f57 UserlandFS: 64-bit fix. 2014-11-17 10:58:03 +01:00
Adrien Destugues
f0d46bd83c NetFS: fix build.
Fixes #11168.
2014-11-17 10:42:03 +01:00
Adrien Destugues
44f82a7875 Add a package for UserlandFS.
Fixes #10192.
2014-11-17 10:28:59 +01:00
Adrien Destugues
0302849860 Remove some unneeded file and partitionning systems
* googlefs: not working, needs update to match current page layout of
google searches
* Amiga and Apple partitionning systems: made them 68k and ppc-only,
respectively. There is not much use for those on x86 systems.

Also remove kdlhangman from the bootstrap packages.
2014-11-17 09:33:15 +01:00
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