Commit Graph

46695 Commits

Author SHA1 Message Date
Alexander von Gluck IV
a5a2bf727c intel_extreme: Let ports pick a pipe if required 2015-11-10 16:00:26 -06:00
Alexander von Gluck IV
4f2b258c32 intel_extreme: Fix LVDS head mode (we'll remove it soon) 2015-11-09 22:26:47 -06:00
Alexander von Gluck IV
92bcdd7935 intel_extreme: Add initial TMDS modesetting code 2015-11-09 09:26:07 -06:00
Alexander von Gluck IV
328d66d5f0 intel_extreme: Fix ordering of fb set. Uses current_mode 2015-11-08 23:29:56 -06:00
Alexander von Gluck IV
61fbdb0667 intel_extreme: Set mode and pll via pipe-aware class functions 2015-11-08 23:14:46 -06:00
Alexander von Gluck IV
72cecf8765 intel_extreme: Add missing DisplayPipe destructor 2015-11-08 13:58:50 -06:00
Alexander von Gluck IV
6e1ff82f45 intel_extreme: Begin using new DisplayPipe class 2015-11-08 11:58:49 -06:00
Alexander von Gluck IV
37b903fbc8 intel_extreme: Add pipe selection for ports 2015-11-08 10:39:07 -06:00
Alexander von Gluck IV
c9117774b2 intel_extreme: Improve generation tracing 2015-11-04 17:24:27 -06:00
Alexander von Gluck IV
fb255821eb intel_extreme: Correct generations based on some Intel help 2015-11-04 16:11:22 -06:00
Alexander von Gluck IV
fa1d593323 intel_gart: Clean up trace code, break apart gtt probe functions 2015-11-03 17:18:58 -06:00
Alexander von Gluck IV
c86f3dba23 intel_extreme: LVDS cleanup and fixes for later gens 2015-11-02 18:01:18 -06:00
Alexander von Gluck IV
4b6d5b8427 intel_extreme: Drop fatal error on no monitors. 2015-11-02 16:28:04 -06:00
Alexander von Gluck IV
e2e5daf25b intel_extreme: Add generation index + begin to use in gart 2015-11-02 15:55:05 -06:00
Alexander von Gluck IV
53f5bffe84 intel_gart: Fix gart detection and begin using DeviceType
* Correctly identify newly re-assigned cards families
* Begin using new DeviceType class in intel gart code
2015-11-01 20:17:20 -06:00
Alexander von Gluck IV
84b7116da8 intel_extreme: Rework card identification defines
* Be more verbose on flag type
* Add additional groups
* Add additional families
* Correctly assign later models
2015-11-01 12:20:10 -06:00
Alexander von Gluck IV
b0f591a7e9 intel_extreme: Fix DPMS modesetting dance 2015-11-01 08:52:23 -06:00
Alexander von Gluck IV
62fbfdaa79 intel_extreme: Undo a suspect PLL change from mmlr's branch 2015-11-01 08:35:11 -06:00
Alexander von Gluck IV
f142870c84 intel_extreme: Break port probe logic into own function for later HPD 2015-10-28 14:58:33 -05:00
Alexander von Gluck IV
9e631adad6 intel_extreme accelerant: Cleanup VLV InGroup 2015-10-26 00:19:34 -05:00
Alexander von Gluck IV
b3f14fb7c7 intel_extreme: Start doing mode-setting at port level
* I really hope we can kill head_mode some day
* Break pll code out from mode code
* The LVDS and Digital are smooshed together and
  likely need broken apart.
2015-10-25 20:56:08 -05:00
Alexander von Gluck IV
e747cbe116 intel_extreme: Fix regs, remove PCH for VLV, Expand Type
* Fix some incorrect HDMI reg locations
* PCH goes away on later Intel chips
* Add more mask room for Intel Groups
2015-10-24 09:53:14 -05:00
Alexander von Gluck IV
c7af18fd9c drivers/intel_extreme: Fix ValleyView block offsets 2015-10-22 14:48:56 -05:00
Alexander von Gluck IV
bc5cad7395 intel_extreme: Correct card identification, add gen4 hdmi regs 2015-10-22 14:48:53 -05:00
Alexander von Gluck IV
27134c6697 intel_extreme: Dump more info on ports found. Build fixes. 2015-10-22 14:48:49 -05:00
Alexander von Gluck IV
50f0b3fe76 intel_extreme: Rebase and refactor mmlr's work from 2013
* New port storage classes and cleaner logic
2015-10-22 14:48:45 -05:00
John Scipione
c06aefa0ee HaikuDepot: Reset package state on failure
* Save the package state before attempting to install/uninstall the package.
* In the case of failure set the package state back to what it was.
* Use the synchronous version of BAlert so that the package state won't
  change until the user clicks the Close button on the dialog.

Fixes #10838
2015-10-22 10:44:27 -07:00
John Scipione
ae557b7951 HaikuDepot: Style fix, whitespace only 2015-10-22 10:42:21 -07:00
John Scipione
6075d7d09d HaikuDepot: Indentation style fix 2015-10-22 10:27:58 -07:00
John Scipione
95ad2c7563 HaikuDepot: Remove extra ; 2015-10-22 10:27:27 -07:00
John Scipione
7cc5d1688d HaikuDepot: Set B_STOP_ALERT on fatal error BAlerts 2015-10-22 09:57:29 -07:00
Automatic Committer
6d574ebd1b Update pci.ids from pciids.sourceforge.net 2015-10-22 05:20:23 +02:00
Augustin Cavalier
4cb401968e Tracker: Remove needless NULL check before delete.
Thanks John!
2015-10-21 12:55:07 -04:00
Augustin Cavalier
c746acc289 Tracker: Delete own BTextWidgets in BPose destructor.
Fixes a memory leak, and #12393.
2015-10-21 12:01:04 -04:00
John Scipione
d4e348b08e Mail: Implement select all hook for subject
This allows the Cmd+A key shortcut to select all text on
the subject control.  You could already Select All from the
View menu but this is more convinient.

Fixes #12361
2015-10-19 14:13:30 -07:00
John Scipione
b32f138231 Mail: Make AddressTextControl B_NAVIGABLE 2015-10-19 14:13:29 -07:00
John Scipione
a0242c53e2 Mail: Update background color to use setting
Fixes #12360
2015-10-19 14:13:28 -07:00
Axel Dörfler
d9bb9513c5 launch_daemon: "file_exists" now resolves $HOME, and '~'. 2015-10-19 21:22:21 +02:00
Axel Dörfler
4e8fc45146 Deskbar: converted to BServer. 2015-10-19 21:21:56 +02:00
Axel Dörfler
cfe6baf62f cddb_daemon: renamed to cddb_lookup, moved to /src/bin.
* It's now a standard command line tool that is launched automatically
  via the launch_daemon whenver a volume is mounted.
2015-10-19 21:21:21 +02:00
Axel Dörfler
a1406a012e launch_daemon: Increased the number of worker threads.
* Since we're disk bound, and not CPU bound, it doesn't make much sense
  to restrict the number of threads on the number of CPUs.
* It's still not completely independent of the number of CPUs now,
  though: we'll have 3 * CPU count worker threads.
2015-10-18 13:11:26 +02:00
Axel Dörfler
4ae4b3ff57 launch_daemon: Fixed the remaining "operation not allowed" bug.
* This was the harmless part: a job was been requeued that already was
  being launched.
* I was already aware of this one, and only accidentally stumbled over
  the non-harmless case in the JobQueue code when I tried to fix that
  little issue... (ie. never ignore warnings, even if you think you
  know what's going on).
2015-10-18 13:11:26 +02:00
Axel Dörfler
c80084b025 JobQueue: fixed incorrect requeuing.
* A dependent job was requeued even if it wasn't part of the queue
  before. The code relied on dependent jobs being already enqueued;
  but that cannot be guaranteed.
* If a job failed, its dependent jobs are now also set to failed, so
  that they won't be requeued at a later point.
* This caused some of the "Launching xxx failed: Operation not allowed"
  messages in the boot process. Those actually weren't harmless, and
  could mess up the natural job order.
2015-10-18 13:11:26 +02:00
Jérôme Duval
86e23e81b0 midi_server: fix debug build. 2015-10-18 11:42:03 +02:00
Jérôme Duval
d43720add9 Switch to tiff4 as system dependency. 2015-10-18 10:00:02 +02:00
Jérôme Duval
5b3c88f1da Switch to ncurses 6 as system dependency.
* remove traces from libpng (as opposed to libpng16).
2015-10-18 00:44:30 +02:00
Axel Dörfler
0f3fcbe437 launch_daemon: Added volume_mounted event.
* Triggered whenever a volume is mounted (surprise!).
* There is no way to specify which volume you are interested in for now
  (if someone knows a good use case, I'd be willing to add that,
  though :-)).
2015-10-17 14:24:57 +02:00
Axel Dörfler
7cd19b7e5c launch_daemon: Implemented sticky events, and registration.
* Sticky events are events that keep their signal raised, ie. even if
  a job is initialized afterwards, it will still be triggered.
* Consolidated naming for external events.
* Events are now registered once they are actually being used. This
  allows them to allocate the resources they need to do their thing.
2015-10-17 14:16:26 +02:00
Axel Dörfler
5ab2b1457b BJob: Added SetState() method. 2015-10-17 14:16:26 +02:00
Axel Dörfler
e96f5c3330 launch_daemon: Renamed RegisteredEvent to ExternalEventSource.
* With events being registered, this proved to be confusing, and it also
  helps to differentiate between event objects within the daemon, and
  events coming from external sources.
2015-10-17 14:16:25 +02:00
Axel Dörfler
1034412d56 notification_server: Fixed include order. 2015-10-17 14:16:13 +02:00
Alexander von Gluck IV
97aa078ef4 intel_extreme: Intial work for ValleyView support
* No impact to non-ValleyView chipsets
* Bump some register locations for VLV
* Only have HDMI port to test with on my ValleyView GPU
  and our driver seems to be missing all HDMI and
  sideband functionality.
* As ValleyView chipsets seem to be UEFI only, we don't
  have VESA fallback, so this shouldn't cause regressions.
  (unless we get UEFI framebuffer support)
2015-10-15 23:39:31 -05:00
John Scipione
e01bbf955f Tracker: Fix issue with vertical scroll bar border
This issue only manifested itself when the navigation toolbar was shown.

The scrollbar appeared to have no border while the rest did. This issue
manifested when the scrollbar insets were adjusted in hrev49654. The
scroll bar insets were really hiding the bug underlying bug though.

I'll try to explain what was happening and how I fixed it. The PoseView
container, called BorderedView, was showing its top border when the
navigation bar was hidden, and hiding its top border when the navigation
bar was shown.  This (almost) worked because the menu bar provided a
bottom border while the navigation toolbar didn't. However hiding
BorderedView's top border also hid the scroll bar border.

My solution was to draw a bottom border on the navigation toolbar and
then remove the top border from BorderedView unconditionally. So either
the menu bar or the navigation toolbar provides a bottom border and the
BorderedView has no top border.

Fixes #12392
2015-10-14 22:29:52 -07:00
Automatic Committer
e345b60486 Update pci.ids from pciids.sourceforge.net 2015-10-15 05:20:21 +02:00
Alexander von Gluck IV
fc20d30ed6 Notification Server: Build fix, missing stdlib.h for EXIT_ 2015-10-14 18:06:32 -05:00
Alexander von Gluck IV
c6475ba15c ahci: Minor trace cleanup; No functional change 2015-10-14 16:48:16 -05:00
Axel Dörfler
b5e496b575 notification_server: Converted to BServer, launch on demand. 2015-10-14 22:24:19 +02:00
Axel Dörfler
8f27961801 midi_server: Converted to BServer, launched on demand. 2015-10-14 22:24:01 +02:00
Axel Dörfler
83f803c6ff midi_server: cleanup.
* Style cleanup.
* Moved documentation to source file.
* Improved variable/member naming, added '_' prefix for private methods.
2015-10-14 22:23:28 +02:00
John Scipione
8a3ae7a49d Restore the BMenuField label background
Highlighting was added in hrev45983, stopped working in hrev49614, specifically
d891923650.

Add comment to explain what is happening and hopefully deter this from being
removed again in the future.

Fixes #12359
2015-10-14 11:06:55 -07:00
Alexander von Gluck IV
2f6a9c685a ahci: Fix delays with large numbers of empty ports
* Properly flag missing devices
* Do away with shifts and define ssts and sctl masks
* Tested working on 6 different systems with a
  combination of drive configurations.
* Empty media on AHCI devices still cause port change
  storms. (the issue that was attempted fixed in
  5584c22fdd)
2015-10-14 00:06:27 -05:00
Axel Dörfler
37e5a03660 print_server: Converted to launch_daemon, run on demand only.
* Seems to work fine, although it should probably also be triggered when
  there are still jobs in the queue -- someone more knowledgeable might
  want to chime in here, please :-)
* If this turns out to be problematic, we can just drop the "on_demand"
  job config again.
2015-10-13 16:37:38 +02:00
Axel Dörfler
e048384d77 launch_daemon: launching on demand now actually works.
* Was broken in two ways: if only the shortcut "on_demand" was used,
  the event didn't get created at all due to a bug in
  Events::AddOnDemand().
* Furthermore, _LaunchJob() always triggered a demand, but it should
  only do this when not called from a target.
2015-10-13 16:36:58 +02:00
Axel Dörfler
74b10f8e82 print_server: No need to build on BeOS. 2015-10-13 16:36:19 +02:00
Axel Dörfler
6c3e186ceb print_server: minor coding style cleanup. 2015-10-13 16:35:47 +02:00
Dario Casalinuovo
46098852b4 Revert code which got mixed in 782ebbdf93
* Sorry about that.
2015-10-12 13:20:31 +02:00
Dario Casalinuovo
782ebbdf93 Cortex: Check retrieved timesource, fixes #11391 2015-10-12 13:07:53 +02:00
Adrien Destugues
1388211503 Implement stat.st_rdev for block and character devices.
* devfs: set st_rdev to the inode number of the node being queried. This
  may not be the best thing to do, as it does not match what is set in
  st_dev for other files, so it can't be used to find which device
  stores a particular file. I'm not sure if st_rdev is actually used that
  way anywhere, however.
* vfs: do not clobber st_rdev with -1 for "special" (device) files.
  Refactor the code a little so setting the common attributes is done in
  a single place.

Fixes #12390.
2015-10-11 18:26:21 +02:00
Jessica Hamilton
fcad732fcd Revert "makebootable: Add in needed GPT libuuid on cross-platform builds"
This reverts commit 832f090ea8.
2015-10-08 23:37:28 +00:00
Jessica Hamilton
f217aa879b gpt/Header.cpp: also disable UUID code when _USER_MODE defined.
src/tools/makebootable defines _USER_MODE, which we can check
for in gpt/Header.cpp to remove the dependency on libuuid, as
makebootable only needs read-only access to partition maps
anyway.
2015-10-08 23:37:28 +00:00
Jessica Hamilton
f052cd0cce gpt partitioning: properly delete partition entries.
Previously, deleting a partition was lazy and only changed
the partition type to an invalid UUID, and would still
show up as a partition in many partitioning tools.
2015-10-08 23:37:27 +00:00
Simon South
5df5223b4b kernel: Don't send SIGTTOU if calling thread is blocking it
POSIX requires SIGTTOU to be sent to a process in a background process
group that tries to change the foreground process group ID associated
with its controlling terminal, unless the process is ignoring SIGTTOU or
the calling thread is blocking it. Previously the code checked the
former condition but not the latter, making it possible for calls to
tcsetpgrp() to get stuck in a loop and never return.

Should fix #3417.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-10-08 19:25:31 -04:00
Simon South
338fd73327 Debugger: Fix TRACE_LOCALS statement.
- Correct a TRACE_LOCALS statement in ValueWriter.cpp and update it to
  match the current definition of ValuePieceLocation.

Fixes #12411.

Signed-off-by: Rene Gollent <rene@gollent.com>
2015-10-08 18:59:54 -04:00
Rene Gollent
c5271e6b51 makebootable: Fix various build problems.
- Add jamfile for a build variant of libuuid.
- Adjust the build version of makebootable to link to that instead, as it would
  otherwise link in the target platform's version of libuuid_kernel, which
  wasn't necessarily compatible with the build platform's objects (i.e. when
  building a 32-bit Haiku image on a 64-bit host OS), and would consequently
  fail.
2015-10-08 18:57:21 -04:00
Alexander von Gluck IV
832f090ea8 makebootable: Add in needed GPT libuuid on cross-platform builds 2015-10-08 00:09:30 -05:00
Automatic Committer
228e5c39f5 Update pci.ids from pciids.sourceforge.net 2015-10-08 05:20:22 +02:00
Jessica Hamilton
0baf9d8d8d gpt partitioning: generate uuids for disks & partitions.
Also added src/libs/uuid to tree, sources adapted from
http://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/tree/lib/uuid.
2015-10-08 02:12:14 +00:00
Jessica Hamilton
2346363b23 gpt partitioning: fix writing of partition entries.
When writing an individual entry to disk, the offset of the entry
was omitted, which resulted in entries not block-aligned to
overwrite previously valid entries. This in turn resulted in the
stored entries CRC no longer matching what was on disk, causing
the partitioning system to fail to identify it as a valid GPT
when read from disk later (e.g. after a reboot).

E.g. if the first entry is the ESP (which it typically is), and
then the second being an entry for a BFS partition, updating the
BFS partition entry would overwrite the entry for the ESP, thus
corrupting the entries table.
2015-10-08 02:12:13 +00:00
Alexander von Gluck IV
a1ed294ff9 AHCI: Rework port reset and control
* Move to more standardized functions matching AHCI spec
* Don't perform unnecessary double port resets
* Begin implementing a software reset to try first per spec.
  Software reset needs more work, falls through to port reset
  for the moment which is stable.
* Don't duplicate ATA defines, use what we already provide.
* Tested working on VirtualBox 1-16 AHCI ports, Intel C200,
  and AMD FCH.
2015-10-05 19:46:03 -05:00
Automatic Committer
8f5fd0d35d Update usb.ids from www.linux-usb.org 2015-10-01 05:20:27 +02:00
Automatic Committer
6d3006b031 Update pci.ids from pciids.sourceforge.net 2015-10-01 05:20:25 +02:00
Dario Casalinuovo
5e726ed442 BMediaEventLooper: Finally fix some lateness problems
* For the moment i still remain with the classic lateness calculus.
My code wasn't perfect, but this commit fix the remaining
problems from my perspective.
* The first reason is that if we have a patologic latency
such as adding for experimental reasons a snooze() before a SendBuffer or
in the BufferReceived callback, we still can't do anything about it.
If we use enqueue_time and don't send a LateProducer notice, this latency
will never be detected by the API client. We can't do anything about it,
and it's even better that systems with such problems are recognized as
soon as possible IMO.
* The second reason is that the lateness calculus described in the BeBook
is done this way because the media_kit want us to adjust our timing in both
early and late situations.
* Realtime expect that things are always delivered under a certain time
limit, if the software at the bottom doesn't meet with this requirement,
it's just not realtime and things can't work in realtime.
* enqueue_time has nothing to do with the performance_time. But we can
still add this to the media_timed_event struct so that applications can
make use of it.
* Lateness was probably not used a lot in BeOS programs as it looks like
a relatively new feature but i have the concern to complete our API
implementation to be close to what i see was reasonably the designers aim.
2015-09-26 13:23:49 +02:00
Dario Casalinuovo
8bffda1633 media_kit: Allow to set a NULL buffer group. Fixes #12305. 2015-09-26 13:23:48 +02:00
Stephan Aßmus
3da9a05272 TextDocumentTest: Embed text view into scroll view
Work in progress... text view does not yet control the scroll bars
properly when the contents change.
2015-09-26 01:48:41 +02:00
Stephan Aßmus
da16a92894 Model: Pull changelogs from the package infos 2015-09-26 01:48:36 +02:00
Stephan Aßmus
17dd011a5f WebAppInterface: Request to receive changelogs 2015-09-26 01:48:31 +02:00
Stephan Aßmus
16f524c59b PackageInfoView: Update on changelog changes
Also re-order the bitfield test such that each sub-view is only
updated once per package changed message.
2015-09-26 01:48:27 +02:00
Automatic Committer
8533039abf Update usb.ids from www.linux-usb.org 2015-09-24 05:20:23 +02:00
Automatic Committer
4534f55930 Update pci.ids from pciids.sourceforge.net 2015-09-24 05:20:21 +02:00
Stephan Aßmus
5f80d48a76 TextDocument: Extended comment in _Insert(). 2015-09-20 22:18:10 +02:00
Stephan Aßmus
f890fab65b TextDocument: Change _Insert() to use TextDocument
In preparation for implementing Undo/Redo support, we need _Insert() to
take a TextDocument instead of a BString, CharacterStyle and ParagraphStyle.
When a chunk of the TextDocument has been removed, we need to be able to
Insert() that as part of the Undo operation. Not well tested, but typing
still works.
2015-09-20 22:17:26 +02:00
Stephan Aßmus
2e2ff27a92 Paragraph: Added EndsWith(BString) 2015-09-20 22:17:21 +02:00
Stephan Aßmus
9a8dd79cc2 TextDocumentLayout: Use Invalidate() instead of InvalidateParagraphs()
Added TODO about which data the TextChangedEvent should have in order to
know how to respond in the TextDocumentLayout. For now, update all paragraphs
in the layout, add new ones as necessary, and remove the ones we have in
excess by using Invalidate().
2015-09-20 22:17:17 +02:00
Stephan Aßmus
1fa37d5af8 HaikuDepot: Text: Fix regression for B_SELECT_ALL
An Invalidate() was removed, since I originally planned to remove the need
to invalidate on selection changes, but then saved it for later.
2015-09-20 22:17:12 +02:00
Jessica Hamilton
2d34b65ec2 Tracker: fix insets of vertical scrollbar. 2015-09-20 00:14:31 +00:00
Stefano Ceccherini
e5f9dfebd7 FlattenPictureTest: Add FillTriangle() with gradients test 2015-09-18 23:20:09 +02:00
Stefano Ceccherini
00c573d643 FlattenPictureTest: Add tests for FillRoundRect with gradients 2015-09-18 23:20:09 +02:00
Stefano Ceccherini
b8c65995cd FlattenPictureTest: Add tests for FillRegion with gradients 2015-09-18 23:20:08 +02:00
Stefano Ceccherini
7cf26360d9 FlattenPictureTest: Add failing test
InvertRect, when mixed with SetDrawingMode calls, fails to draw correctly
to a BPicture.
2015-09-18 23:20:08 +02:00
François Revol
594187ade2 glibc/ppc: add missing math stuff
hopefully fixing the build for the 53rd time...
2015-09-18 03:59:56 +02:00