Commit Graph

48759 Commits

Author SHA1 Message Date
Gerasim Troeglazov
0d4e157ba4 ntfs: Fix several warnings 2013-12-04 12:45:28 +00:00
Gerasim Troeglazov
da0906f232 ntfs: Update ntfs3g 2013-12-04 12:45:27 +00:00
Adrien Destugues
9e47d4f714 Terminal tabs: use B_WITH_FROM_LABEL
B_WIDTH_FROM_WIDEST leads to only 2 or 3 tabs visible when one of the
tabs has a long title. This can be rather annoying as we have no way
of scrolling the tabs to see the ones that are pushed out of the window.
2013-12-04 13:28:58 +01:00
Rene Gollent
fab28082af Fix ICNSTranslator hybrid build. 2013-12-03 16:55:45 -05:00
Adrien Destugues
6d9f0064ff Bring the hybrid translators back into the image. 2013-12-03 21:00:14 +01:00
Jérôme Duval
97f865f72a Avoid undefined behavior by using unsigned int instead of int.
* 1 << 31, 2 << 30, 3 << 30 replaced by 1U << 31, 2U << 30 or 3U << 30.
2013-12-03 18:40:25 +01:00
Adrien Destugues
f36e1414b7 Cookie Jar: allow setting cookies on "file" URLs.
* These are shared with HTTP cookies set for localhost. We probably want
to split them apart later on, so cookies should store and check the
protocol, additionally to the path and domain.
* Fixes #10195.
2013-12-03 16:42:54 +01:00
Adrien Destugues
dc6d2ef664 HttpRequest: simplify and optimize receiving loop
* Do not start with a ridiculously small buffer for socket reads.
Sockets return data they have available, instead of trying to fill as
much of the buffer as possible. In some cases a single Ethernet frame
can hold a complete request.
* Remove some looping and try parsing all the request in sequence each
time we receive some bytes.
* Avoid reallocating a temporary buffer each time we read some data from
the socket. Instead, allocate it once, and grow it as needed. Since
servers usually send chunks of equal size, we should get away with one
reallocation on the first chunk.
2013-12-03 09:46:59 +01:00
Jérôme Duval
2031159e73 ActivityMonitor: completes hrev46476
* set the settings window feel to modal when going always on top.
* fix the settings window activation when already opened.
2013-12-02 19:40:29 +01:00
Freeman Lou
89e0a7fb84 ActivityMonitor: Settings now modal when always on top enabled.
* #9534

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2013-12-02 17:39:01 +01:00
Ingo Weinhold
043ffc015a Update gcc 4 package for x86
Disables ASLR for the executables, so pre-compiled headers will work
correctly.
2013-12-02 17:02:32 +01:00
Gerasim Troeglazov
8e3ba61f64 Sort translators list in alphabetical order 2013-12-02 09:43:40 +00:00
Gerasim Troeglazov
13d76c0648 Add Photoshop Image file to mime_db 2013-12-02 09:32:49 +00:00
Puck Meerburg
fdc8f5b8c2 Tracker: Use Alt-L to set focus on Navigator's location
* Alt-L shortcut sets the focus to location input view in single navigation mode;
* Fixes #9602.

- GCI2013
2013-12-01 22:54:47 +01:00
Freeman Lou
a6e7154312 top: use alternate screen buffer for info output
* output teams information into alternate screen output - like in
  other operating systems - prevent Terminal history from trashing with
  multiple screenshots of displayed information;
* Fixes #9509.

- GCI 2013
2013-12-01 22:54:44 +01:00
Freeman Lou
e056d32027 StyledEdit: Use RecentItems helper instead of private impl.
* Switch recent documents list to use RecentItems.h helper instead of
  homebrewn implementation;
* Fixes #9999.

- GCI 2013
2013-12-01 22:54:42 +01:00
Ezo
ccfb80f995 Listusb: add parsing AudioControl and AudioStreaming
* Added support for parsing Class Specific Audio Control Interface
  descriptors (as in USB Audio 1 specification);
* Added support for parsing Class Specific Audio Streaming Interface
  descriptors and Endpoints (as in USB Audio 1 specification);
* Implements #10238 request.

- GCI 2013
2013-12-01 22:54:39 +01:00
Freeman Lou
491bbe7797 DriveSetup: Implement optimal zoom for main window
* Fixes #6265 and #8672.

- GCI 2013
2013-12-01 22:54:36 +01:00
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