Commit Graph

56252 Commits

Author SHA1 Message Date
Rene Gollent
17954f2e22 libdebugger: Initial work for remote support.
- Introduce base classes RemoteDebug{Request,Response} and the first set of
  implementing subclasses for the various types of debug requests. These
  encapsulate the information needed to make a request to the target debugger
  interface, as well as a means to flatten/unflatten to a BMessage. These will
  be used to marshal the relevant information for transmission across the
  eventual transport interface. Not used anywhere yet since there still remain
  some requests and responses to implement, among other things.
2016-07-31 17:30:23 -04:00
Rene Gollent
9c9c24ce08 libdebugger: Add accessor for cpu state size.
Architecture:
- Store and provide accessor for the size in bytes of the low-level
  debug_cpu_state size of the respective target CPU. Adjust subclasses
  to pass in the appropriate size information.
2016-07-31 17:30:12 -04:00
Rene Gollent
b02ee147b1 libdebugger: Reorganize debugger_interface subdir.
- Split into separate subdirectories for each interface type, as is done in
  the target_host_interface subdir. Preparation for the remote interfaces,
  which will have quite a few more components than the existing local ones.
2016-07-31 17:30:04 -04:00
Augustin Cavalier
ebb20270fd Tracker: Don't show warning alert when working in /system/cache/tmp.
Originally, the tmp folder was in /boot/common, where it didn't show
an alert box. Since the move to /system, it simply fell into the general
"is in system directory" case.

Fixes #10173.
2016-07-29 20:41:46 -04:00
Augustin Cavalier
c397198f33 WebPositive: Ensure the downloads window is onscreen.
Fixes #12704.
2016-07-29 19:58:18 -04:00
Augustin Cavalier
a055d42d5b pkgman: Change the update prompt to be "yes/no" instead of "y/n".
Matches the text used elsewhere on the system (and that of the "add-repo"
command.) You can still type a single character to confirm/deny.

Fixes #11260.
2016-07-29 19:39:55 -04:00
Alexander von Gluck IV
95b6439eec intel_extreme: Implement Snb PCH FDI link training 2016-07-29 17:49:59 -05:00
Augustin Cavalier
b070edd867 packages/HaikuDevel: Add GLUT header to image.
We've shipped libglut.so since a long time ago, so let's ship the header
too. Fixes #11739.
2016-07-29 18:41:30 -04:00
Augustin Cavalier
48440e6945 headers/libs/mesa: Remove.
Unused, as far as I can tell, and not installed. (Grok returns 0 results
for "glcore.h" and 0 relevant results for "mesa".)
2016-07-29 18:41:30 -04:00
Augustin Cavalier
2381f8276a be_apps/ServicesDaemon: Remove.
The last reference to the Services Daemon, which was removed from the
tree a while back (the launch_daemon has supplanted it).
2016-07-29 18:41:30 -04:00
Augustin Cavalier
a3e794ae45 be_apps/Deskbar: Remove.
The only file in here was Deskbar.h, which just included the "real"
Deskbar.h. Considering nothing in-tree cares about this, and only
a small number of applications at HaikuArchives do, and that Haiku already
broke BeOS source compatibility in lots of other ways, let's just remove
this deprecated cruft.
2016-07-29 18:41:30 -04:00
John Scipione
40ae563fa1 Fix gcc2 build
Use %B_PRIx32 instead of %x

Fixes warnings that were being treated as errors, and thus fixes the build.
2016-07-29 14:59:11 -07:00
Augustin Cavalier
bf628b4790 LibHTTPd: Remove license, it's just the BSD 2-Clause.
Also fix reference to now-removed MkDepend license and replace it with MIT.
2016-07-29 17:47:01 -04:00
Augustin Cavalier
241ac545e8 Bullet: Remove license file and AboutSystem credit.
We aren't really using Bullet itself; there are only two classes
(Quaternion and Vector3) which are from Bullet, and even they were
heavily modified. Furthermore, the Bullet license is really just the Zlib
license, which the Bullet source repository confirms (and you can see
by looking at its text.) It does not require attribution in documentation,
but only in the source code, and we aren't even using a substantial part
of it.
2016-07-29 17:37:49 -04:00
Augustin Cavalier
4f117b7751 Haiku's GLUT has been licensed under the MIT license since 2012...
... as we obtained permission from Mark Kilgard to do so (see commit
c3eddfc0682b99f28ddbe33a14dadc40dc5b5f71.) So update AboutSystem and
the licenses directory to reflect that.
2016-07-29 17:36:17 -04:00
Augustin Cavalier
dc55ffb419 LICENSE: Rename to License.md, and remove all licenses but the MIT.
This file was introduced with the rationale that bots attempt to scrape
GitHub repositories for license data. GitHub now has an API for this,
and since all its sniffer rules fail because this file is not identical
to any known license, it just marks it "Other" and includes the full text
anyway.

Since this is the case, nobody else wants to look at all the licenses
in a single monolithic file, so we just put the explanatory message
and a reference to the directory containing all the licenses at the top
of the file, and include only the MIT license.

Also, GitHub renders Markdown nicer than it does plain text, so use that
(which matches what we already do for READMEs.)
2016-07-29 17:36:17 -04:00
Alexander von Gluck IV
c0d4def4e4 intel_extreme: Implement Ilk PCH FDI link training
* IronLake tested and FDI says it trains successfully
* Still no LVDS video on Ilk
2016-07-29 16:04:40 -05:00
Automatic Committer
9ca266967d Update usb.ids from www.linux-usb.org 2016-07-28 05:20:21 +02:00
Automatic Committer
7c75696ad2 Update pci.ids from pciids.sourceforge.net 2016-07-28 05:20:19 +02:00
Jérôme Duval
8a12a74e81 XHCI: fix KDL for transfers using more than 1TD.
* TD chains were broken, any transfer above ~1MB would trigger a KDL.
* _LinkDescriptorForPipe() links the last TD of the chain instead of the first.
* Still buggy: the transfer ring can still block and transfers then fail.
* Enable TRB_3_ISP_BIT where appropriate (Interrupt on Short Packet).
* Also fix WriteDescriptorChain() and ReadDescriptorChain() for multiple-TD chains.
2016-07-27 21:48:05 +02:00
Jérôme Duval
1646f49791 Update freetype, harfbuzz, libwebp and python packages. 2016-07-27 21:22:37 +02:00
François Revol
e0a322db92 netresolv: remove asserts from inet_pton()
There are still asserts in inet_pton4 and 6 anyway.

libgit2's tests expect inet_pton() to fail with EAFNOSUPPORT on unsupported
address families instead of crashing...
2016-07-26 23:52:29 +02:00
Augustin Cavalier
b267679b51 XHCI: Remove the whitelist and enable by default for all controllers.
Discussed with kallisti5 and PulkoMandy before committing. So far, the
only bugs since korli's recent changes either are minor ones that don't
appear to affect functionality (e.g. #12860), or so bad that nothing works
(so, just as good as if the controller was disabled.) PulkoMandy reports
that his controller works but wasn't whitelisted, as have some other users,
so I'm enabling it by default.

If there turn out to be too many broken devices, we can revert this. Or only
revert it in the beta branch, if needed.
2016-07-25 18:01:32 -04:00
François Revol
7f6136828c Add more X11 packages including libxpm
inputproto, kbproto, libx11, libxpm, xextproto, xtrans.

Updated xproto.

Now maybe I can get xpm icons in my XEmacs toolbars?
2016-07-25 00:35:53 +02:00
Axel Dörfler
871a4f63c7 app_server: Fixed crash if there is no window. 2016-07-24 23:14:37 +02:00
Axel Dörfler
6331a6bd91 app_server: The client memory allocator is now reference counted.
* Not sure if cursors could also have triggered this, but the memory
  allocator can now outlive its ServerApp.
* However, this may also reveal cases of memory that is not freed
  correctly.
2016-07-24 21:53:04 +02:00
Axel Dörfler
df8d92af25 Minor cleanup. 2016-07-24 13:01:09 +02:00
Augustin Cavalier
af3057423c LegacyPackageInstaller: Correct previous commit.
The test in the previous commit had a totally flawed invocation of strcmp().
I probably shouldn't attempt to write C code without consulting the manual.

Even if it had worked, it would have worked on too many cases, including
some volume paths. So I reordered the if statement and added it in there.
2016-07-23 10:54:01 -04:00
Augustin Cavalier
8cf0752f1b LegacyPackageInstaller: Override fPathType when the path begins with /boot/.
Fixes installation of the RefLine pkg. I don't know why, but it seems to
specify the path as a P_INSTALL_PATH.
2016-07-23 10:28:07 -04:00
Jérôme Duval
6f087f38ee Update binutils packages. 2016-07-23 00:41:48 +02:00
Augustin Cavalier
606ae81af4 Tracker: Move deprecated FSUtils functions to FBCPadding.cpp.
This includes FSCopyAttributesAndStats as well as an older version of
FSGetDeskDir, and adds another alias of FSGetTrashDir. Fixes BeIDE
compatibility.
2016-07-21 22:19:01 -04:00
Augustin Cavalier
c1cd54a0e1 FSUtils: Add a "bool copyTimes" argument to FSCopyAttributesAndStats().
BPoseView::NewFileFromTemplate does not want to copy the times. Fixes #11702.

We have to keep a 2-argument version of this function because it looks like
some third-party applications might call it (e.g. Dockbert), and even
though it's technically private API, it's easy enough to preserve binary
compatibility.
2016-07-21 21:23:18 -04:00
Augustin Cavalier
e944dacae0 Tracker: Remove special filtering case from NewFileFromTemplate.
If the pose matches the current type-ahead filter, it will be added
by the node watcher anyway, so this just created duplicate poses
which messed up internal data structures. Fixes #11122.
2016-07-21 21:12:09 -04:00
Augustin Cavalier
0c1281a14f hda: Create HDA_QUIRK_NO_CORBRP_RESET_ACK and use it.
This is instead of just checking for NVIDIA devices. Also add an entry
for Intel 0x2668 (VirtualBox's HDA controller). Gets HDA a bit further
in VirtualBox, but an acquire_sem() times out later on.
2016-07-21 19:21:31 -04:00
Dario Casalinuovo
4e793ddd87 http_streamer: Don't always use listener's IsRunning
* We are not really handling http requests only.
* Also move BHttpResult retrieve after casting BUrlRequest.
2016-07-21 20:25:01 +02:00
Dario Casalinuovo
b4515980f3 http_streamer: Handle http status codes
* Avoid to stop the next request after redirection.
* Fixes #12854.
2016-07-21 20:08:01 +02:00
Automatic Committer
a6c1049a55 Update pci.ids from pciids.sourceforge.net 2016-07-21 05:20:17 +02:00
François Revol
02283e080c M68K: drop the custom C arch_cpu_user_mem*() for the default impl
I didn't notice there was a C++ version that didn't require writing asm.

I'll have to write them anyway for speed someday.
2016-07-20 21:57:19 +02:00
François Revol
169349c98f M68K: more SMP stubbing
We'll very much likely never support SMP on M68K...
(unless someone has an SMP machine to donate? :D)
2016-07-20 21:56:15 +02:00
François Revol
ad4b06aa75 m68k/paging: Convert to new-style CPU management
* Aka, post-scheduler changes
* Luckily M68K paging code is very simular to x86 paging
2016-07-20 21:28:56 +02:00
François Revol
9df4533caa M68K: use the updated atomic semantics
* Use atomic_get_and_set to return the old value
* Atomics are no longer volatile
2016-07-20 21:26:32 +02:00
François Revol
a462159ce3 M68K: Update to new system_info structures 2016-07-20 21:26:12 +02:00
François Revol
7cd7ba758c M68K: fix implicit casts of fault handler 2016-07-20 21:07:26 +02:00
François Revol
830fd19eb5 M68K: Fix spinlock initialization 2016-07-20 21:06:38 +02:00
François Revol
d26fd5f68d M68K: drop the platform_type field, the enum is gone from OS.h 2016-07-20 20:31:14 +02:00
François Revol
c094f04537 M68K: dos2unix some files
For some reason they used CR-LF.
2016-07-20 20:27:08 +02:00
François Revol
990d34efdd M68K: add arch_cpu_idle and arch_cpu_pause inline stubs
Remove the stub from arch_cpu.cpp

We might want to implement a 040 CPU module providing idle using LPSTOP.
2016-07-20 20:26:29 +02:00
François Revol
7ab9993a18 M68K: Add missing defines
No idea for cache level.

On 030 and 040 a cache line is 16 bytes.
2016-07-20 20:26:29 +02:00
François Revol
58820fadb1 M68K: update bootstrap packages version 2016-07-20 20:26:29 +02:00
François Revol
3805f72225 M68K: add arch_atomic.h 2016-07-20 20:26:29 +02:00