Commit Graph

52458 Commits

Author SHA1 Message Date
Adrien Destugues
23b89f011f DiskProbe: fix crash when trying to edit a package directory
/system and /home/config would crash diskprobe because DataEditor would
be left in an incompletely initialized state.

Also fix a memory leak: fAttribute was never freed, but is allocated with
strdup.

Fixes #10428.
2014-11-20 14:07:11 +01:00
Adrien Destugues
1581d4ef08 UserlandFS: another 64bit fix. 2014-11-20 13:26:56 +01:00
Adrien Destugues
afd7ded01e Debug Server: kill team when debug alert is escaped
B_CLOSE_ON_ESCAPE makes alert->Go return -1. Handle this correctly and
kill the team.

Fixes #9983.
2014-11-20 11:02:06 +01:00
Adrien Destugues
9b8e5185da UserlandFS: 64bit fix. 2014-11-20 10:50:35 +01:00
Murai Takashi
932b333fa2 Fix called C++ object pointer is null
Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #9904.
2014-11-20 10:45:15 +01:00
Adrien Destugues
05a922cd4d Exclude netfs package from x86_64
It is broken in a lot of places, more than I'm confident fixing.
2014-11-20 08:38:06 +01:00
Adrien Destugues
a730d2560c AboutSystem: credit taos only for German.
As requested on the mailing list.
Keep a comment to remember to not re-add him next time we update the
list.
2014-11-20 08:38:05 +01:00
Automatic Committer
b64e832220 Update pci.ids from pciids.sourceforge.net 2014-11-20 05:20:22 +01:00
Adrien Destugues
47a611ab85 Add packages for stlink and arm_none_eabi_gdb. 2014-11-19 23:42:25 +01:00
François Revol
108f3dec11 Add packages for libassuan 2014-11-19 17:17:43 +01:00
François Revol
0c288dd013 Add packages for libgpg-error 2014-11-19 17:13:51 +01:00
François Revol
12533060d0 stdio.h: add missing typedefs
I should sleep more and build more :D
2014-11-19 15:45:17 +01:00
François Revol
e1f303c5ec Add fopencookie() to stdio.h
We already export it in libroot, and libassuan seems to require it.
2014-11-19 15:13:45 +01:00
Adrien Destugues
b02efcef88 MediaPlayer: reintroduce "stop" shortcut.
It turns out there are some people actually using it, mainly when
playing music. If you interrupt music, you often want to start listeing
from the start of the track again (unlike for video), so having a stop
button makes sense in that case.
2014-11-19 10:14:29 +01:00
Adrien Destugues
79d08c3bf1 BootManager: add a permanent "Quit" button.
As suggested on the mailing list by stippi and korli, it is important to
let the users know they can quit at any time, and it's sometimes the
only thing they can do.
2014-11-19 10:11:34 +01:00
Adrien Destugues
a9957db651 Add packages for ed, mksh, zsh, fish, lnlauncher. 2014-11-19 10:03:11 +01:00
Adrien Destugues
b2a3f5b114 Terminal: initialize some variables
This is harmless, the sequence of states ensures they would be
initialized when needed anyway, but Coverity decides otherwise.

Fixes #10131 / CID743879.
2014-11-18 15:51:41 +01:00
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