Commit Graph

56032 Commits

Author SHA1 Message Date
Adrien Destugues
289e59b770 jpeg: update to version 9b.
- Packages for version 9 has a broken "provides" entry (version 9
  instead of 9.0.0 for the lib) which confuses haikuporter.
2016-08-07 13:25:46 +02:00
Fredrik Holmqvist
74ffd18dd5 Update ACPICA to 20160729
Changelog: https://acpica.org/sites/acpica/files/changes_34.txt

Mostly minor fixes and ACPI 6.0 work since latest update.
2016-08-07 10:07:25 +02:00
Fredrik Holmqvist
e5ebfda19d Enable power button on 64 bit.
Works here. You may need to hold in for a second or two.
2016-08-07 00:46:27 +02:00
François Revol
8ddcab705e geode: fix build (atomics not volatile anymore) 2016-08-06 22:12:20 +02:00
Adrien Destugues
8efb6db7b9 elf.h: rename ELF_MAGIC to ELFMAG
- This is how it is named in other versions of elf.h (Linux, glibc, possibly more)
- ELF_MAGIC is used by libelf for the same thing, and the defines conflicts,
  breaking libelf build on Haiku.
2016-08-06 20:32:47 +02:00
Adrien Destugues
b4aed463ac add WIP "netconsole" KDL add-on
Similar to Linux netconsole, this should send all debug output over UDP
to the broadcast address. It can be listened to with netcat or similar tools.
This could be an easy way to extract KDL info from a crashing machine
when no serial ports are available.

Does not work yet, help welcome.
2016-08-06 20:29:08 +02:00
Adrien Destugues
766f682338 Fix build and first runtime problem in network boot
The boot still crashes some time later, but at least it is easier to
test now.

- PackageFS included in the net boot archive
- Tell the system it is booted "from image" when netbooting
2016-08-06 20:29:08 +02:00
François Revol
d4cfae74c9 opensound: quit the node threads before recycling buffers on dtor
This works around a KDL in the driver due to the buffer address passed
to write() being unmapped in the destructor, and the driver doesn't
properly checks those yet (BeOS used to lock_memory() on read/write buffers).
2016-08-06 20:10:28 +02:00
John Scipione
6f222a3312 Drag and drop color from Appearance ColorPreview
You can drag a color square from the color preview and drop it
anywhere that accepts a color drop.

This allows you to use the color drop feature more readily
for example to change the desktop background color or change the
color of Deskcalc.

Also did some refactoring of ColorPreview class. Make it a BControl
which eliminates the enabled bool and invoker which both are handled
by the inherited BControl class.

Did some refactoring.
* Renamed a couple of class variables following convention
* Also renamed a couple of method parameters for the same reason

Don't call Draw() directly, this is frowned upon, instead use
Invalidate() so app server can draw at the appropriate time.
2016-08-04 21:21:41 -07:00
Axel Dörfler
eb69155bbf app_server: Fixed/documented uses of new without nothrow.
* This should fix all occurrences except for those in the drawing
  sub directory.
* In some cases, the use of new without nothrow was okay, though.
2016-08-04 22:52:40 +02:00
Axel Dörfler
f744935b65 app_server: Fixed broken ServerApp allocation.
* Did not use std::nothrow, but exceptions were not catched.
* MessageLooper::Run() now returns a status code.
* There are a lot more cases of a new without nothrow that need to
  be investigated.
2016-08-04 22:52:30 +02:00
Jérôme Duval
7503f9a84f Add packages for fluidlite. 2016-08-04 19:04:31 +02:00
Automatic Committer
9f4c879660 Update pci.ids from pciids.sourceforge.net 2016-08-04 05:20:22 +02:00
François Revol
63b8635e04 pc_serial: add some references 2016-08-03 20:09:51 +02:00
Jérôme Duval
cc1a880d6e Add docbook*, gtk_doc, itstool, libsamplerate packages for x86. 2016-08-02 20:27:39 +02:00
Humdinger
e65072a83e Updated WebPositiveBookmarks
Added Giovanni's Software Depot (http://softwaredepot.altervista.org/)
2016-08-02 17:09:04 +02:00
John Scipione
9d37e7411c Tracker FindPanel: Make a copy of fDeviceIcon
... so that it gets deleted by destructor and not the original
2016-07-31 19:42:39 -07:00
John Scipione
4a319b9c40 Tracker FindPanel: SetMarked() and SetTargetForItems()
in AttachedToWindow() rather than the constructor.

This does the action at the appropriate time to draw the initial
state correctly.
2016-07-31 19:42:39 -07:00
John Scipione
d7fa9d357b Tracker FindPanel: Use const char* instead of BString
Use String() to get the const char* out of the BString where appropriate

Also rename msg variable to message
2016-07-31 19:42:39 -07:00
John Scipione
717b47e75d Tracker: Style fixes
indentation, spaces, explicitly compare to B_OK
2016-07-31 19:42:39 -07:00
John Scipione
d8c4f7b54a IconMenuItem: Make icon_size B_MINI_ICON by default 2016-07-31 19:42:39 -07:00
John Scipione
caf0a129d6 Tracker: Draw IconMenuItem in closed state
Add an Icon() and SetIcon() method. Override SetMarked() to set the
parent menu field icon.

Don't move the label right if icon is NULL. Make the first menu item
an IconMenuItem with a NULL icon. This allows the icon to draw in the
closed menu state.

icon gets updated even if you select an item in a submenu
2016-07-31 19:42:39 -07:00
John Scipione
837d7501ef Use ColorMenuItem in Spider saver 2016-07-31 19:42:39 -07:00
John Scipione
b2f8925b33 Add ColorMenuItem in Nebula saver 2016-07-31 19:42:39 -07:00
John Scipione
81364c9d82 BColorMenuItem: add custom color menufield
http://insightfactory.tumblr.com/image/142366356207

* Make the color box a rectangle with proportions of golden ratio.
* Override GetContentSize() to make menu item area larger.
* Label should never truncate since I make sure there is enough room.
* Draw the label using BMenuItem parent class
* Carefully adjust the spacing so that there is an attractive amount of
  padding between the checkmark and color box and the color box and label.

Add _AddMenu method to BMenuField that adds BColorMenuItem as its
base menu item. This shows the BColorMenuItem in the closed state.

Create BPrivate::MenuItemPrivate

Add a SetSubmenu() method to MenuItemPrivate that gives you
the ability to add a submenu after creating the object. This
method should be public

Skip disabled items

Color gets updated even if you select an item in a submenu
2016-07-31 19:42:39 -07:00
John Scipione
ca766a50fe BMenu: Offset the menu field's menu window left 8px
...so that the text when the menu is closed lines up with the text
when the menu is open.

The checkmark is draw to the left of left edge of the closed menufield.
2016-07-31 19:42:39 -07:00
John Scipione
e8d4db8e0b MenuPrivate: Add SetItemMargins() method 2016-07-31 19:42:39 -07:00
John Scipione
b75a2e9d22 BMenu: Add default padding to ctor 2016-07-31 19:42:39 -07:00
John Scipione
dcecaf60ad BMenu: Remove _ from protected method _DrawItems 2016-07-31 19:42:39 -07:00
John Scipione
61dfdec415 BMenu and friends: style fixes
BMenuBar: style fix: msg => message

MenuPrivate: style fixes

MenuItem: 80 char limit style fix

MenuBar: tiny style fix

Menu: tiny style fix, indentation

Menu: Small refactor

Implement _SetIgnoreHidden() in header
Change on to ignoreHidden
Change on in _SetStickyMode to sticky

_BMCItem_: tiny whitespace style fix

Menu: style fixes, rename msgr => messenger

BMenu: style fix, pointer != NULL

BMenu::Archive rename ret to status

Also check pointer against NULL explicitly

BMenuItem style fixes: rename abbreviation, pointer style
2016-07-31 19:42:39 -07:00
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