Commit Graph

56355 Commits

Author SHA1 Message Date
Humdinger
a07a1391f1 Use shift+ctrl+cmd+esc for emergency video safe mode
Used to be just ctrl+cmd+esc. The added shift key should prevent accidental
video safe mode activation.
2016-11-16 13:35:15 +01:00
Janus
a55deaea91 WindDecorator and MacDecorator compile again
* Tile works, Stack is not very usefull at the moment.
* MacDecorator minimize button doesn't work.
2016-11-16 10:28:42 +01:00
Janus
7f07c303ab ActivityMonitor: use checkmark for "Show legend" label
* Fixes #11259.
2016-11-15 18:21:47 +01:00
Janus
eff32ca074 Magnify: remove useless line of code 2016-11-15 18:19:34 +01:00
Janus
fa29a27fd8 Magnify: MenuField and PopUpMenu are synchronized, Follow menu convetion
* MenuField and PopUpMenu are updated as expected.
* Follow menu convention as reported in #11259.
* Fixes #13080.
2016-11-15 18:06:48 +01:00
Janus
a9709e5d25 [Magnify] "Hide/Show info" works again
* Fixes #13074.
2016-11-14 19:56:30 +01:00
Janus
586734d609 Fixes Success/Failure colors in Appearance
* Fixes the mapping function index_to_color_which
* Fixes #13073
2016-11-14 19:47:29 +01:00
Dario Casalinuovo
2740a716ea Style fixes 2016-11-14 19:21:58 +01:00
Dario Casalinuovo
f3c2f6665f MediaRoster: Don't allow rosters without a BApplication
* The BeBook states that any media_kit app should have BApplication
behind. Beware the app don't need to be running, but the object
should be present. This is because we use BApplication as a safe
exit point to free the memory allocated.
* While I was a bit reclutant in doing that, after a developer
discussion we agreed this would be the cleaner way to solve this
problem without eluding it.
2016-11-14 19:21:58 +01:00
Dario Casalinuovo
ad7255c892 MediaRoster: Use messaging instead to call Quit on exit
* As far as the bebook states loopers shouldn't be quit from
other threads, using a B_QUIT_REQUESTED message should be more
safe.
2016-11-14 19:21:58 +01:00
Jessica Hamilton
25fa3b1b8a loader: fix defines affecting elf.cpp for other platforms 2016-11-14 23:46:10 +13:00
Jessica Hamilton
04f0d02a8f Jamfiles: fix TARGET_BOOT_PLATFORM tests to use = efi 2016-11-14 23:45:22 +13:00
Jessica Hamilton
f4ff9cb02c Merge branch 'uefi-support' 2016-11-14 03:21:59 +13:00
Nick Smallbone
a99a0c003d EFI: add support for SMP.
Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-11-14 03:21:41 +13:00
Jessica Hamilton
ec239abcf5 EFI: implement mmu_map_physical_memory & mmu_free.
Also move cpu, acpi, hpet init into platform_start_kernel, as we
need an initialised heap for alllocating memory for recording
the mapped regions.
2016-11-14 03:21:41 +13:00
Jessica Hamilton
a7142a5037 EFI: add cpu.cpp from bios_ia32 2016-11-14 03:21:40 +13:00
Jessica Hamilton
a1d0102ee4 EFI: add support for HPET 2016-11-14 03:21:40 +13:00
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 2016-11-12 07:05:23 +01:00
Dario Casalinuovo
521f41dd5a Fix typo and build 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.
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.
2016-11-11 10:58:10 +01:00
Automatic Committer
6d1b5ac38b Update usb.ids from www.linux-usb.org 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.
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 ?).
2016-11-07 19:27:19 +01:00
Joseph R. Prostko
b83afe699e Update Fossil to v1.36
* Updates for x86_gcc2, x86, x86_64
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".
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. 2016-11-06 10:56:11 +01:00
Adrien Destugues
5bc7366fca Web+: missing NULL check in bookmark bar show/hide management. 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
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.
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.
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 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.
2016-11-05 00:55:53 +01:00
Rene Gollent
bdac77bf2e ram_disk: FIx x86-64 build. 2016-11-03 23:21:04 -04:00
Rene Gollent
d8d6cf9658 x86_64: Update haikuwebkit to 1.5.3. 2016-11-03 23:04:30 -04:00
Rene Gollent
b72a28a268 x86: Update haikuwebkit to 1.5.3. 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.
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.
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.
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.
2016-11-03 14:38:01 +01:00
Adrien Destugues
b7bc818b0e style fix. 2016-11-03 14:38:01 +01:00