56538 Commits

Author SHA1 Message Date
Humdinger
945566ff43 Switch from DejaVu to Noto font
As discussed, Noto renders much better with freetype 2.7 [1].
The DejaVu package is still in the HaikuPorts repo and can be installed
manually just like all the other available fonts.

[1] http://www.freelists.org/post/haiku-development/freetype-update-from-265-to-27
2016-11-27 19:04:26 +01:00
Dario Casalinuovo
209b520fa0 MediaClient: Add some padding and reserved functions hrev50712 2016-11-26 17:30:49 +01:00
Dario Casalinuovo
05e29ea1ad MediaConnection: Remove Reset() 2016-11-26 17:24:10 +01:00
Dario Casalinuovo
9ee6577e2d MediaClient: Distribute callbacks across derived classes 2016-11-26 17:13:02 +01:00
Dario Casalinuovo
9e9655ed55 MediaClient: Use CurrentTime for both offline and performance time hrev50711 2016-11-25 17:38:44 +01:00
Dario Casalinuovo
6d0255216e MediaClient: Introduce BMediaInput and BMediaOutput 2016-11-25 17:38:44 +01:00
Dario Casalinuovo
eebedf8f1a MediaClient: Use unique id for both inputs and outputs 2016-11-25 17:38:44 +01:00
Humdinger
dd3732bb93 Media prefs: fix crash in empty MIDI soundfont list
Check if soundfont list is empty or we crash when double-clicking
into the list.

Fixes #13091.
hrev50710
2016-11-25 07:26:09 +01:00
Alexander von Gluck IV
d676701752 Merge branch 'master' of ssh://git.haiku-os.org/haiku
Merge split commit between two repos. tcp stack comments
hrev50709
2016-11-24 19:32:38 -06:00
Alexander von Gluck IV
7dffccc308 tcp: Update comment to reflect we support window scaling
* No functional change
2016-11-24 19:31:05 -06:00
Dario Casalinuovo
8a8384b47f media_client test: Include debug header hrev50708 2016-11-25 00:07:20 +01:00
Dario Casalinuovo
30f9eb3f90 MediaClient: Use kind/kinds pair for media_connection_kind
* Use const reference for media_connection::kind.
2016-11-25 00:05:06 +01:00
Dario Casalinuovo
902701e6bf MediaClient: Use higher level structs for the remaining methods 2016-11-24 21:37:14 +01:00
Dario Casalinuovo
ace98a8db2 media_client test: Add delayed mode when debugging hrev50707 2016-11-24 18:21:51 +01:00
Dario Casalinuovo
d3523cb2ce MediaClient: Fix connection and tests
* Remove some bran related to the Faber audio engine heritage,
this fixes connections and all tests.
2016-11-24 18:21:51 +01:00
Automatic Committer
f1ded413de Update pci.ids from pciids.sourceforge.net hrev50706 2016-11-24 05:20:26 +01:00
Dario Casalinuovo
3c1e013390 MediaClient: Fix build hrev50705 2016-11-24 01:22:27 +01:00
Dario Casalinuovo
a546d1f8f6 MediaClient: Rename FindConnection into FindInput/FindOutput
* The first used for destinations and the second for sources.
hrev50704
2016-11-24 00:54:24 +01:00
Dario Casalinuovo
300e9786ef MediaClientNode: Fix PrepareToConnect with unknown media_type. 2016-11-24 00:46:13 +01:00
Dario Casalinuovo
8e980a4066 media_client test: Set an actual format for connections hrev50703 2016-11-24 00:27:58 +01:00
Dario Casalinuovo
f506f3056f MediaClient: Improve internals and API
* Capabilities() become Kind()
* Use media_client and media_connection to better model
the different situations of the API. Reduce code duplication
and move media_kit structs/methods into private.
* Various API and beauty improvements.
* Introduce id management for media_connections.
* Fix different issues preventing to correctly begin a connection.
2016-11-24 00:27:58 +01:00
Dario Casalinuovo
23d5326e2b MediaClient: Introduce media_client and media_connection
* Those structs are provided as replacement for the classic
media_kit ones. They provide better encapsulation of the data
and the resulting code is heavily simplified. It's planned to
introduce BMediaRoster functions to provide conversion from
media_node and media_input/media_output to media_client
and media_connection.
2016-11-24 00:27:58 +01:00
Rene Gollent
a9d53d9e7e Debugger: Fix regression introduced in hrev50534.
FunctionInstance:
- Add new state FUNCTION_SOURCE_SUPPRESSED. This signals that the user
  explicitly forced disassembly to be loaded despite source code being
  available.

LoadSourceCodeJob:
- When forced to disassembly, use the above suppressed state accordingly.

SourceView/TeamWindow/TeamDebugger:
- Adjust to take new state into account as needed.

TeamDebugInfo::GetActiveSourceCode:
- When looking at a function to decide whether to return line information
  based on source or disassembly, first examine the source code state. If
  the source has never been loaded for that function, but we have it available,
  set it on the function at that point. This lazily addresses the fact that
  LoadSourceCodeJob is called on behalf of a specific function, and
  consequently only sets the source code onto that function, and not all others
  present in the same file. This allows us to differentiate between the case
  where a function doesn't have source code available at all, versus a function
  that has simply been forced to disassembly view at this point in time.

The primary symptom of the above issue was that attempting to set a breakpoint
outside of the currently active function, but within the same file would result
in the breakpoints view indicating that the breakpoint was at line 0 rather
than the appropriate line, and breakpoints would also not be drawn in the
source view for such locations.

Thanks to Humdinger for the heads up!
hrev50702
2016-11-22 23:06:09 -05:00
Dario Casalinuovo
2082b5d25f MediaClient: Use media_client_kind for client capabilities hrev50701 2016-11-18 17:56:51 +01:00
Dario Casalinuovo
5ec9bd1eff MediaClient: general cleanup 2016-11-18 17:46:19 +01:00
Dario Casalinuovo
ed0a5452c2 media_client_test: Add more complex tests hrev50700 2016-11-17 18:47:38 +01:00
Dario Casalinuovo
413b622176 rtsp_streamer: Update to last api version hrev50699 2016-11-17 17:47:45 +01:00
Humdinger
91b1c40463 Updated Sum-It and tinyxml packages hrev50698 2016-11-17 09:48:24 +01:00
Automatic Committer
286961ad3b Update usb.ids from www.linux-usb.org hrev50697 2016-11-17 05:20:15 +01:00
Dario Casalinuovo
63b4dd8cef Add simple BMediaClient test hrev50696 2016-11-17 02:44:42 +01:00
Dario Casalinuovo
0253ecbd9e MediaClient: Remove BeginConnection for external connections
* While it looked like a good formalism, there's no need to add
unneeded complex steps to the user of the API.
2016-11-17 02:43:40 +01:00
Dario Casalinuovo
34619a6fd7 Revert "MediaRoster: Don't allow rosters without a BApplication"
This reverts commit f3c2f6665f2102f7bfac9374712444271e383668.
hrev50695
2016-11-17 01:38:23 +01:00
Humdinger
b6d62e21b9 Stylefix
Thanks to eagle-eyed axeld. Sorry for not getting an almost one-liner
right on first try...
hrev50694
2016-11-16 17:38:31 +01:00
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.
hrev50693
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.
hrev50692
2016-11-16 10:28:42 +01:00
Janus
7f07c303ab ActivityMonitor: use checkmark for "Show legend" label
* Fixes #11259.
hrev50691
2016-11-15 18:21:47 +01:00
Janus
eff32ca074 Magnify: remove useless line of code hrev50690 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.
hrev50689
2016-11-15 18:06:48 +01:00
Janus
a9709e5d25 [Magnify] "Hide/Show info" works again
* Fixes #13074.
hrev50688
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
hrev50687
2016-11-14 19:47:29 +01:00
Dario Casalinuovo
2740a716ea Style fixes hrev50686 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 hrev50685 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' hrev50684 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