56538 Commits

Author SHA1 Message Date
Jessica Hamilton
6e6efaecdc EFI: add ACPI support
Also add support in the kernel to get the ACPI RSDP from the
bootloader, and pass onto the ACPI driver using get_boot_item.
2016-11-14 03:21:36 +13:00
Henry Harrington
82dcc31606 bootloader: Translate kernel args before adding them to kernel_args_range.
Chunks may be physically contiguous, but virtually disjoint. Adding
physical addresses may cause ranges to be merged incorrectly.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-11-14 01:00:00 +13:00
Henry Harrington
21e3ac6cf5 vm: Try harder to allocate early physical pages.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-11-14 01:00:00 +13:00
Henry Harrington
34a6dd6728 EFI: Initialize/load the GDT.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-11-14 00:59:59 +13:00
Henry Harrington
b3215a6275 EFI: preliminary support for starting the kernel.
Enough to let the kernel to print hello, but not much beyond that.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-11-14 00:59:56 +13:00
autonielx
b273e9733d Update translations from Pootle hrev50683 2016-11-12 07:05:23 +01:00
Dario Casalinuovo
521f41dd5a Fix typo and build hrev50682 2016-11-11 15:50:32 +01:00
Dario Casalinuovo
9b410c41e8 Initial merge of the BMediaClient branch
* The BMediaClient is an higher level API to the media_kit. It
corresponds to what the layout API was for the interface_kit.
The main idea is to allow the developer concentrate only on
higher level details and avoiding handle with the tricky parts
of the media_kit. At the same time the general purpose node that
is implemented inside would allow implementing the best techniques
around thus at the same time reducing code duplication and increasing
efficiency.
* BMediaClient is WIP, this is the initial merge of the branch.
The initial development stone was set long time ago and walked
through various design/implementation phases.
hrev50681
2016-11-11 13:47:56 +01:00
Adrien Destugues
956c2f5fb0 Replace "All BeOS disks" with "All Haiku disks"
- In mount menu and mount preferences.

Fixes #12623.
hrev50680
2016-11-11 10:58:10 +01:00
Automatic Committer
6d1b5ac38b Update usb.ids from www.linux-usb.org hrev50679 2016-11-10 05:20:15 +01:00
Jérôme Duval
62eadc5e9b Terminal: implement index and next-line CSI sequences.
* also ignore 0xa, 0xb, 0xc control characters in CSI sequences.
hrev50678
2016-11-09 21:26:38 +01:00
Humdinger
9874150a90 Improved MIDI section of Media preferences
* Get rid of the "Actve Sound Font:" BStringView below the BListView.
  Now the selected SoundFont is the active SF.
* If there's only one SF available, select it automatically.
* Added a BStringView below the list and only give feedback when needed:
  - if no SF is installed
  - if the user has to select a SF
* Double-clicking an entry opens its location in Tracker.
* Added node-monitoring to live-update the list of available SFs.
  Note: Un/installing a package doesn't trigger a notification (related
  to #9970 ?).
hrev50677
2016-11-07 19:27:19 +01:00
Joseph R. Prostko
b83afe699e Update Fossil to v1.36
* Updates for x86_gcc2, x86, x86_64
hrev50676
2016-11-06 19:50:42 -05:00
Humdinger
04d7efaf1e Updated Web+ bookmarks package
Added Haiku's new forums.
Added BeBytes.
Removed GuestOne repo (can be re-added if they return).
Added empty "Bookmarks bar" folder.
Added overlay icons for the folders in "Bookmarks".
hrev50675
2016-11-06 17:55:40 +01:00
Humdinger
1ff06a003e Add document icon for overlays 2016-11-06 17:41:55 +01:00
Humdinger
ba847dd6a8 Adding ProviderInfo for Shaw.ca
Thanks Vidrep for all the testing!
2016-11-06 15:19:44 +01:00
Humdinger
97a5f78d9f Use driver settings API for the MIDI settings
Suggested by Adrien, to make the MIDI settings more future proof when
more settings will be added, and to make manual editing less error prone.
Moved the settings from B_USER_SETTINGS_DIRECTORY/midi to
B_USER_SETTINGS_DIRECTORY/Media/midi_settings.
2016-11-06 15:17:01 +01:00
Adrien Destugues
02d8a059f0 style fix. hrev50674 2016-11-06 10:56:11 +01:00
Adrien Destugues
5bc7366fca Web+: missing NULL check in bookmark bar show/hide management. hrev50673 2016-11-06 10:52:47 +01:00
Adrien Destugues
a02a1bb4e6 Some improbements to the bookmark bar
- Resolve symlinks to bookmarks so we display the icons for those
- Adjust the minimal height of the bar to make space for icons (if you
  use a tiny font size)
- Do not allow the bookmark bar to show when it is empty
hrev50672
2016-11-06 09:56:45 +01:00
Adrien Destugues
156b6cd596 BMediaFile: fix destruction order.
The fSource can point to a source with code inside a media plug-in (in
particular, the HTTP source from the http_streamer plugin). However,
deleting the extractor can cause the plugin to become "unreferenced" and
unloaded. If we try to call code to delete the source later, we find
that the code is already unloaded, and the app crashes.

This happens in Web+ when navigating away from Youtube or otherwise
interrupting a video while it is being played.

Fixes the crashing part of #13058.
hrev50671
2016-11-05 21:18:39 +01:00
Adrien Destugues
f4db7fdc68 BUrl: allow URLs without protocol or authority again.
Parsing an URL can never fail. The regexp is designed to match any
input. In the worst case, everything will end up in the "path"
component. WebPositive relies on this to generate file URLs from a plain
path.

URLs without a protocol are also possible, and can be used with an
implicit protocol. A typical example is network shares sometimes noted in
"//host.domain/path/file" form.

Add tests for these two cases and fix the parser to behave as expected.
hrev50670
2016-11-05 13:01:36 +01:00
Adrien Destugues
a9af524dbb BPrintJob test: build fix. But the app crashes. 2016-11-05 13:01:36 +01:00
autonielx
d1212a874e Update translations from Pootle hrev50669 2016-11-05 07:34:12 +01:00
François Revol
8a6724a0ee makefile-engine: use grep -a for RDEF parsing
ThemeManager has an UTF-8 copyright symbol in its rdef file.
The chroot set up by haikuporter doesn't export anything that would
hint grep to accept UTF-8 as text, so it freaks out...
So we force it to accept anything as text.
hrev50668
2016-11-05 00:55:53 +01:00
Rene Gollent
bdac77bf2e ram_disk: FIx x86-64 build. hrev50667 2016-11-03 23:21:04 -04:00
Rene Gollent
d8d6cf9658 x86_64: Update haikuwebkit to 1.5.3. hrev50666 2016-11-03 23:04:30 -04:00
Rene Gollent
b72a28a268 x86: Update haikuwebkit to 1.5.3. hrev50665 2016-11-03 21:49:08 -04:00
Adrien Destugues
96fef5d19f ramdisk: implement trim and icon, add to image
- B_TRIM_DEVICE on a ram disk frees all requested pages. Reading from a
  trimmed page returns all 0s. This can be used with fstrim to release
  memory for the parts not used by the filesystem, without unregistering
  then registering the device.
- Add icon and ioctl to get it.
- Add it to the image, because it works reasonably well and there is no
  reason not to include it.
hrev50664
2016-11-03 22:58:31 +01:00
Humdinger
b96788c95d Add telus.net providerinfo to Jamfile
Forgot that when adding the telus.net.rdef in hrev50649. Oops.
hrev50663
2016-11-03 19:51:42 +01:00
Jérôme Duval
ecfaa77a23 Terminal: Implement a few cursor CSI commands.
* Cursor back tab, cursor forward tab.
* Cursor next line, cursor previous line.
* also add size 13 to the list of font sizes.
hrev50662
2016-11-03 16:51:26 +01:00
Adrien Destugues
fe8f306c49 WebPositive: fix search with URL-encoded pattern.
The search URL for goodsearch is:
http://www.goodsearch.com/search-web?utf8=%E2%9C%93&button=&keywords=%s

It contains % characters (not too unusual for URLs with url-encoding).
We can't give it to SetToFormat safely. Use ReplaceAll instead, so that
only the %s is replaced.
hrev50661
2016-11-03 14:38:01 +01:00
Adrien Destugues
b7bc818b0e style fix. 2016-11-03 14:38:01 +01:00
Adrien Destugues
34f42c6f3e BeDecorator: actually put it inside the package. 2016-11-03 14:38:01 +01:00
Humdinger
c9275bf517 Fix loading of MIDI SoundFonts with spaces in filename hrev50660 2016-11-03 10:45:09 +01:00
Humdinger
7bfcf5d585 Update Sequitur package to v2.1.3
Thanks to Pete Goodeve for patiently providing help and feedback wrt
the package layout and esp. for his device definitions for the Roland GS
and Yamaha XG.
hrev50659
2016-11-03 08:09:08 +01:00
Automatic Committer
e435cf58c7 Update pci.ids from pciids.sourceforge.net hrev50658 2016-11-03 05:20:15 +01:00
Jérôme Duval
2085048ea9 Terminal: insert space on tab only at the end of the line. hrev50657 2016-11-02 22:04:00 +01:00
Adrien Destugues
1674f60dae Implement uninitialization for GPT
This makes it possible to format a GPT drive back to MBR without too
much effort.

Fixes #8823.
hrev50656
2016-11-02 21:57:16 +01:00
Adrien Destugues
5c65d2f5d1 Properly add the BeDecorator to the image
Put it inside the Haiku package.
2016-11-02 21:57:16 +01:00
Dario Casalinuovo
ce8fd10683 MediaPlayer: Emulate duration attribute for BUrl playlists
* Make the Playlist window working again by caching
the duration value.
hrev50655
2016-11-02 19:42:34 +01:00
Humdinger
1649750c5d Fixed telus.net ProviderInfo
I apparently managed to bungle entering the supplied data...
Typical off-by-one error... :)
hrev50654
2016-11-02 18:47:45 +01:00
Adrien Destugues
070c8b72c7 CodyCam: fix layout
BTextView in non editable mode does strange things. Do not use the same
view for error display and for showing the video. We can force the video
to have the right size, and the error will show nicely centered.
hrev50653
2016-11-02 18:30:01 +01:00
Alexander von Gluck IV
c6bd5d1ea5 xhci: Use 64-bit pci addresses when requested
* My skylake requests 64-bit addressing.. so I think
  Intel might start leveraging this soon.
* Hopefully won't break any builds, might have to wrap
  that << 32 shift if phys_addr_t is 32-bits anywhere.
hrev50652
2016-11-02 10:08:05 -05:00
Adrien Destugues
12431ebff4 listusb: dump video streams from UVC devices. hrev50651 2016-11-02 15:26:04 +01:00
Adrien Destugues
e64640878a listusb: parse UVC devices
- Various cleanups to the USB-audio side, which is similar
- Add in the UVC (USB Video) specific info with parsing of some of the
  descriptors (most of the "control" part).
2016-11-02 15:26:04 +01:00
Adrien Destugues
56f749a63f listusb: split out USB audio dumping to own file.
The code to dump audio descriptors is now twice as long as the other
parts of the listusb code. Move it to its own file for clarity.
2016-11-02 15:26:04 +01:00
Adrien Destugues
5abeb2b498 HaikuWebKit 1.5.3.
Fixes several crashes and other issues.
There may be regressions. Please test and report.
hrev50650
2016-11-02 14:48:01 +01:00
Humdinger
c0ef51aab5 Adding ProviderInfo for telus.net
Add the email provider info for Canadian email provider telus.
Also corrected typo in ReadMe.
Thank you, Vidrep!
hrev50649
2016-11-01 19:41:06 +01:00
Adrien Destugues
b32f51ce49 elf.h: add ELFMAG* constants
Needed by libelf, when elf.h exists.
hrev50648
2016-11-01 10:30:54 +01:00