Commit Graph

48541 Commits

Author SHA1 Message Date
Freeman Lou
abc7fddf07 DriveSetup: Context menu for drives/partitions added
* Fixes #9906.

- GCI 2013
2013-12-01 22:54:34 +01:00
Jérôme Duval
334c06ae65 usb: enforce wMaxPacketSize on high speed bulk endpoints.
* according to the USB 2.0 specification.
2013-12-01 22:37:54 +01:00
Jérôme Duval
44b4797910 FloppyBootImage: removed special case for x86_64
* now includes acpi, should help for #10266.
2013-12-01 21:16:29 +01:00
Jérôme Duval
0efca1ac8d generic_ide_pci: c -> cpp, minor style cleanup 2013-12-01 20:36:47 +01:00
Jérôme Duval
86003b2dbc legacy_sata: c -> cpp, minor style cleanup 2013-12-01 20:36:46 +01:00
Jérôme Duval
e83ea9f818 ahci: removes supports_device trace. 2013-12-01 20:36:45 +01:00
Jérôme Duval
0121ba0845 legacy_sata: use PCI_command_int_disable from PCI.h 2013-12-01 20:36:44 +01:00
Ingo Weinhold
e551626f40 Implement support for a SYS:ENV attribute on executable
__flatten_process_args() does now have the executable path as an
additional (optional) parameter. If specified, the function will read
the file's SYS:ENV attribute (if set) and use its value to modified the
environment it is preparing for the new process. Currently supported
attribute values are strings consisting of "<var>=<value>" substrings
separated by "\0" (backslash zero), with '\' being used as an escape
character. The environment will be altered to contain the specified
"<var>=<value>" elements, replacing a preexisting <var> element (if
any).

A possible use case would be setting a SYS:ENV attribute with value
"DISABLE_ASLR=1" on an executable that needs ASLR disabled.
2013-12-01 18:34:07 +01:00
Matt Madia
9f1425e2f4 Use rsync instead of scp for uploading hakiu repository packages. 2013-12-01 07:17:48 -05:00
Gerasim Troeglazov
592be1fc7a Add PSDTranslator to image 2013-12-01 11:55:27 +00:00
Gerasim Troeglazov
bc87894e84 Add simple translator for PSD (Adobe Photoshop) format 2013-12-01 11:42:04 +00:00
Matt Madia
542c71fa50 Need to account for WebPositive not building on x86_64.
Commented out the previous if statement and added a TODO as a reminder
for when it builds on x86_64.
2013-11-30 21:28:15 -05:00
Ingo Weinhold
7bf85edf58 Allow disabling ASLR via DISABLE_ASLR environment variable
* VMAddressSpace: Add randomizingEnabled property.
* VMUserAddressSpace: Randomize addresses only when randomizingEnabled
  property is set.
* create_team_arg(): Check, if the team's environment contains
  "DISABLE_ASLR=1". Set the team's address space property
  randomizingEnabled accordingly in load_image_internal() and
  exec_team().
2013-12-01 02:51:50 +01:00
Matt Madia
62ee6508dd Tweak scp command, to prevent uploading repositoryDir as a subdir of $version.
If for some reason (e.g., a forced rebuild), Buildbot rebuilds the same hrev,
it was possible for the scp command to place the repositoryDir as a subdir
in $arch/$version/, instead of as $arch/version. This should ensure that the
contents of repositoryDir are placed in $arch/$version/.
2013-11-30 20:26:39 -05:00
Matt Madia
dbe9499e72 Add the webpositive hpkg to the repository haiku.
e.g., jam -q @release-raw build \<repository\>haiku
2013-11-30 19:12:12 -05:00
Ingo Weinhold
84ed99c2aa mmap(): Fix !MAP_FIXED with non-NULL address case
In that case the caller ideally wants to obtain an allocation at the
specified address, which was thwarted by using
B_RANDOMIZED_BASE_ADDRESS. Use B_BASE_ADDRESS instead.

This improves the experience with the gcc 4 pre-compiled headers
implementation (which expects to be able to map the PCH file at the same
address where it was located originally when it had been created), but
doesn't fix it completely. As long as ASLR is active, it is always
possible that something else (mapped shared objects, heap, stack) is in
the way.
2013-12-01 00:58:28 +01:00
Ingo Weinhold
97a4e3202f VMUserAddressSpace: Use align_address() instead of ROUNDUP()
Mainly for aesthetical reasons.
2013-12-01 00:46:41 +01:00
Ingo Weinhold
6c41755609 VMUserAddressSpace::_InsertAreaSlot(): Fix base address handling
Unless a free range was found before the first area a specified base
address was ignored. In the non-randomized case this could result in
a range other than (i.e. starting before) the preferred one being
chosen, although the preferred range was available.
2013-12-01 00:44:58 +01:00
Ingo Weinhold
7b96ce222a VMUserAddressSpace: Small coding style fixes 2013-11-30 23:17:34 +01:00
Ingo Weinhold
93e99b6113 VMUserAddressSpace: Use std::min/max instead of min/max_c 2013-11-30 23:13:48 +01:00
Ingo Weinhold
65947ae5ae boot loader: blacklist menu: Set different title when disabled
When booting from CD (or when no boot volume has been selected)
blacklisting isn't supported. In that case let the menu title indicated
that.
2013-11-30 19:58:41 +01:00
Ingo Weinhold
e2c5cf691d boot loader: Menu: Add SetTitle() 2013-11-30 19:56:26 +01:00
Ingo Weinhold
ccfc7bea50 boot loader: blacklist menu: Add "Return to ..." item 2013-11-30 19:56:13 +01:00
Ingo Weinhold
cbfc38c62d boot loader: MenuItem: Add SetLabel() 2013-11-30 19:39:57 +01:00
Ingo Weinhold
2a368f9b0e boot loader: text menu: run_menu(): Fix empty menu crash 2013-11-30 19:25:56 +01:00
Ingo Weinhold
25a83d13b9 ramdisk: Switch to CLI command for user interface
* Drop the old "echo to control device" interface in favor of an ioctl
  interface.
* Add CLI program "ramdisk" to manage RAM disks.
2013-11-30 17:02:49 +01:00
Ingo Weinhold
5df58b522b Move TextTable from pkgman to libshared 2013-11-30 17:02:49 +01:00
Ingo Weinhold
aea2cb917e device_manager: Implement unpublish_device() 2013-11-30 17:02:49 +01:00
Ingo Weinhold
28092be196 devfs: Add devfs_{get,put}_device()
devfs_get_device() returns the device for a given path (if any), also
acquiring a reference to its vnode (thus ensuring the device won't go
away). devfs_put_device() puts the device vnode's reference.
2013-11-30 17:02:48 +01:00
Ingo Weinhold
4a5eb16053 ramdisk: Add required DEBUG_PAGE_ACCESS_*() macros 2013-11-30 17:02:48 +01:00
Ingo Weinhold
e26c3df48c devfs: Remove superfluous create() hook
We don't support creation of files and the VFS calls open() when an
entry already exists.
2013-11-30 17:02:48 +01:00
Ingo Weinhold
065e6eb2f4 ramdisk: Support file backing
* When registering a ram disk, a file can be specified. Its content will
  be loaded into the ram disk:
    echo register <file> > /dev/disk/virtual/ramdisk/control
* At any time changes to the ram disk data can be written back to the
  file:
    echo flush /path/to/ramdisk > /dev/disk/virtual/ramdisk/control
  If not explicitly written back, the changes will be lost on reboot.
2013-11-30 17:02:48 +01:00
Matt Madia
0d9151c9ff Add genisoimage support to actions BuildCDBootImage1. 2013-11-30 08:27:48 -05:00
autonielx
3024704a94 Update translations from Pootle 2013-11-30 06:18:56 +01:00
Matt Madia
c738ee78e9 Added script for uploading the generated haiku repository.
The plan is for Buildbot to utilize this script and upload the packages
for each and every successfully built hrev. That portion is still in
progress.
2013-11-29 22:18:35 -05:00
Jérôme Duval
e4e1cf9aff PCI: moved IDE api flags to PCI.h 2013-11-28 18:38:45 +01:00
Jérôme Duval
3746e83482 ata_adapter: check the secondary flag for the 2nd channel.
* ide_adapter: likewise.
2013-11-28 18:25:20 +01:00
Jérôme Duval
7cf7fa23f4 PowerStatus: fix a possible division error.
* also fix some types misuses.
2013-11-28 18:18:54 +01:00
Ingo Weinhold
bf5786ebd6 pkgman search: Add -D/--details
* Add a detailed listing mode (-D/--details), which prints a table with
  repository/installation location name, package name, package version,
  package architecture.
* Make the normal listing more compact. Now there's only one row per
  package. The "Installed" column has been replaced by "Status" which
  displays if/where the package is installed and whether it matches the
  repository version.
2013-11-27 15:38:42 +01:00
Ingo Weinhold
01adde8502 BPackageInfo: Add ArchitectureName() 2013-11-27 15:38:42 +01:00
Ingo Weinhold
f96ed66270 BPackageVersion: Add comparison operators 2013-11-27 15:38:41 +01:00
Ingo Weinhold
ecd7a82e0d BSolverPackage: Add Version() 2013-11-27 15:38:41 +01:00
Freeman Lou
616d003507 fix argument count mismatch
Signed-off-by: Rene Gollent <rene@gollent.com>
2013-11-26 21:50:42 -05:00
Rene Gollent
09a8919213 InstallationLocations: Add missing static specifiers.
- Fixes a crash in find_paths() due to the InstallationLocations object getting overwritten.

Thanks to Chris Roberts for reporting.
2013-11-26 21:45:35 -05:00
Jérôme Duval
754bbf4866 libnetapi: second pass of style cleanup
* remarks from Axel
2013-11-26 23:36:42 +01:00
Ingo Weinhold
8d23c440f7 runtime loader: Add support for $ORIGIN in rpath
Like in Linux it resolves to the directory of the shared object whose
needed library is to be loaded.
2013-11-26 16:40:42 +01:00
Adrien Destugues
509755e136 HttpRequest: remove fOutputBuffer
We can send the data directly to the output socket instead of copying it
into a BString first, at the cost of very slightly less information in
debug output.
2013-11-26 10:21:57 +01:00
Jeroen Oortwijn
467f4ab3a8 Fix for whitespace in paths
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2013-11-26 02:06:09 +01:00
Ingo Weinhold
2247591422 bindfs: Add some TODOs 2013-11-26 01:59:39 +01:00
Ingo Weinhold
0bb1b3e269 bindfs_create(): Return vnode reference, don't leak source ref
Fixes #10244.
2013-11-26 01:59:39 +01:00