Commit Graph

56897 Commits

Author SHA1 Message Date
Augustin Cavalier
75b219d35a ReadMe & docs: The Haiku Book has moved to www.haiku-os.org/docs/api. 2017-02-01 11:22:01 -05:00
Jérôme Duval
d0a92cb653 x86: added a MSR definition. 2017-02-01 16:57:03 +01:00
autonielx
7a3f3e0965 Update userguide translations, waddlesplash as nielx 2017-02-01 04:48:59 +01:00
Andrew Lindesay
7407e36a10 HaikuDepot; date formatting and location header handling
The existing HTTP header date format handling code is employed
rather than using specific logic for HD.  Also the "Location"
header handling is changed to work better for non-absolute
URLs arriving in this header value on a redirect.  Both
suggestions from Adrien.
2017-01-31 23:06:20 +13:00
Jessica Hamilton
d9e65badd3 HaikuDepot: remove invalid use of const. 2017-01-31 21:22:15 +13:00
Andrew Lindesay
1290dd9132 HaikuDepot: changes from code review from Jessica 2017-01-31 21:18:39 +13:00
Andrew Lindesay
0c1bbfe508 HaikuDepot: suggested code improvements from Adrien 2017-01-31 20:45:36 +13:00
Rene Gollent
766a9a49b6 x86: Update HaikuWebkit to 1.5.4. 2017-01-30 22:04:27 -05:00
Murai Takashi
4ad2ad6d84 DirMenu.cpp: fix memory leak.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13118.
2017-01-30 21:09:05 +01:00
Adrien Destugues
76c469dbcf Fix some users of the HTTP API I missed in the previous commit. 2017-01-30 20:36:44 +01:00
Adrien Destugues
7e7aaa3989 Update to Haikuwebkit 1.5.4. 2017-01-30 20:27:52 +01:00
Adrien Destugues
f9e1854f19 libbnetapi: fix access to HTTP headers
The asynchronous listener had no reliable way to access HTTP result and
headers from the callbacks. As the callbacks are triggered
asynchronously, they can be run after the request has carried on and,
for example, followed an HTTP redirect, clearing its internal state.

The HeadersReceived callback now passes a reference to BUrlResult for
the request. There are two cases:
- Synchronous listener: passes a reference to the request's results
directly
- Asynchronous listener: archives a copy of the result into the
notification message, and passes a reference to the unarchived copy.

Unfortunately this comes with several ABI and API breakages:
- Change to the prototype of HeadersReceived()
- Change to the class hierarchy of BUrlResult (implements BArchivable)

All users of HTTP requests will need to be updated if they implemented
in HeadersReceived or used BUrlResult.
2017-01-30 20:27:52 +01:00
Adrien Destugues
ab880b1753 Cookie Jar: fix lock order inversion
The main lock on the cookie jar must always be locked before the rwlocks
for each domain list. This was reversed in one place, leading to a
typical deadlock pattern. Fixes one case of freeze in WebPositive: two
request threads whould interlock, and then anything trying to access the
cookie jar (including the main thread of Web+ to handle javascript
access to cookies) would also lock.
2017-01-30 20:27:52 +01:00
Humdinger
ba903f82d1 Add packages fo ArtPaint and Becasso
* ArtPaint is gcc2-only
* Becasso for gcc2 and 64bit.
2017-01-30 14:36:47 +01:00
Humdinger
bf3848c96b Added email ProviderInfos.
zoho.com submitted by Brian Hill (POP3 doesn't seem to work though).
rediffmail.com submitted for GCI2016 by Vanisha Kesswani (IMAP not tested).
2017-01-30 07:47:39 +01:00
Humdinger
29616a494b Updated yab and yab_ide packages.
Closes #13258.
2017-01-30 07:38:57 +01:00
Rene Gollent
9a3409492a Debugger: Fix #13261.
ThreadsTableModel:
- When returning field values for the stop reason column, only return valid if
  we actually populated it with a value (ergo, the thread was actually
  stopped). Otherwise, the table will attempt to perform comparisons on a
  BVariant which was never actually populated, leading to crashes.
2017-01-29 20:20:35 -05:00
Jessica Hamilton
0d51483fae HaikuDepot: format string fixes. 2017-01-30 12:44:53 +13:00
Jessica Hamilton
614d494afc DefaultMediaTheme: use DetachedFromWindow() for unwatching media events. 2017-01-30 12:35:07 +13:00
Freeman Lou
aa3083e086 Style fixes to various parts of the system.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

This patch was never applied after GSoC 2012. Rebase the parts that
still apply so we can close the ticket.

Fixes #9490.
2017-01-29 22:47:28 +01:00
Kacper Kasper
c7fabe22b4 ControlLook: Fix redraw issues introduced in hrev50893.
* I was pretty sure that I didn't change the logic, but turns out
  I was wrong. Sorry about that.
* Adjusted copy-pasted comments.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13238.
2017-01-29 21:48:40 +01:00
Rene Gollent
99dde24c86 HaikuDepot: Fix gcc5 build. 2017-01-28 22:32:12 -05:00
Dario Casalinuovo
3190c83b33 media_addon_server: Don't set the gain at each start
* Fixes the forgotten gain setting issue for startup
sounds.
2017-01-29 00:38:34 +01:00
Augustin Cavalier
92b020b5ea docs/user: Update infobox CSS to match the new colors. 2017-01-28 13:33:19 -05:00
Augustin Cavalier
44460faf4d docs/user: Make string literals in code blocks gray.
Class and function reference links are also blue, so this distinguishes
them from each other.
2017-01-28 13:26:20 -05:00
Augustin Cavalier
9dc2625de0 docs/user: Remove duplicate "ingroup interface" from layout docs.
Since the "Layout" group is a member of the "Interface" group,
Doxygen automatically adds the "Interface" group to all pages
in the "Layout" group, meaning that having an explicit "ingroup Interface"
created duplicate group tags.
2017-01-28 13:22:53 -05:00
Augustin Cavalier
3d7aa45e7a docs/user: Fix duplicate and erroneous BTabView class definition. 2017-01-28 13:19:14 -05:00
Augustin Cavalier
bd7dc5223f docs/user: Make more code blocks and the like appear in monospace fonts. 2017-01-28 13:17:41 -05:00
Augustin Cavalier
38e1208a75 docs/user: Add $projectname to the page title.
Doxygen used to add this to $title itself, but now it doesn't, so we
have to change our template.
2017-01-28 13:02:44 -05:00
Axel Dörfler
0ed0f5cb35 bfs: Handle type 'TIME' as int32 in queries.
* This fixes ticket #6734.
2017-01-27 20:03:26 +01:00
Andrew Lindesay
19c15fec85 HaikuDepot: Improve icon download handling performance
Previously each icon would launch an independent HTTP request to
pull down the HVIF icon data.  This change means that the data
will be pulled down in bulk across all packages as a .tgz and
will then be kept in a cache locally.  The client-server logic
will use standard "If-Modified-Since" headers to check for
updates each time the HaikuDepot desktop application starts up.
This arrangement will bring down the HVIF as well as bitmap
icons and use the best representation it can.

Additionally, it is possible from a command-line option to log
HTTP traffic verbosely and it is also possible to use an "-h"
flag to display help on command-line arguments.

The code-structure around this change also anticipates some
future extensions to handle other client-server improvements.

Fixes #11804
2017-01-27 21:14:13 +13:00
Humdinger
7c8d207203 Install fix for Sequitur
Needed a rebuild because of libpng16.
2017-01-26 17:49:10 +01:00
Automatic Committer
3d4e19680b Update pci.ids from pciids.sourceforge.net 2017-01-26 05:20:15 +01:00
Augustin Cavalier
8d38dd18f1 docs/user: Updates for Doxygen 1.8.
Surprisingly, after disabling the new Markdown support in the Doxyfile,
everything else pretty much worked out of the box. Only a number of CSS
changes were needed to adapt.

I wonder why nobody ever did this back in 2012 when 1.8 first came out...
2017-01-25 21:45:42 -05:00
Dario Casalinuovo
11ed4f9fa1 MediaRoster: Don't call NodeRegistered before FinishCreate
* A TimeSource need an additional hook called FinishCreate to be
able to create it's transfer area. This hook was called after the
node registration making room for potential mismatch of the transfer
buffer. Most media nodes such as an event looper call
begin to work with time related functions just once the registration
happens. It could cause shadowed timesource objects initialization
to fail too.
* Add a debugger call to prevent any node to use an unitialized
TimeSource area, that would help to identify any remaining issue.
2017-01-25 19:23:59 +01:00
Humdinger
0d47491d66 Added Brian Hill to the contributers. 2017-01-24 20:05:30 +01:00
Humdinger
9838bc644b Updated Einsteinium to v1.3.2 for x86_gcc2 2017-01-24 17:59:12 +01:00
Jérôme Duval
cdf894ce17 makefile-engine: use $(CC) and $(CXX) instead of gcc and g++.
* so that one can build with clang.
2017-01-24 17:30:36 +01:00
Humdinger
970591cb2d Change of window title in print dialog
Another change from "Page setup" to "Paper setup".
Will I (or Vidrep) find another occurance? We'll find out...
2017-01-23 19:31:26 +01:00
Augustin Cavalier
b01e48c6fb Tracker: Warn if there is < 5% of free space left on the drive.
Previously it would warn only below 20MB of free space, if this was
less than 10% of the drive's capacity. This is obviously ridiculous now.
The first suggested patch used a simple 10% as the new criteria, but that's
a little high -- 100GB out of a 1TB drive is still a bunch of space left.
5% seems like a more appropriate choice here, and preserves a behavior
closer to the original 20MB on smaller (older) drives (5% of 500MB = 25MB.)

If this turns out to be too annoying for some users, we can make the check
more refined than it is now, but I don't think that will be necessary.

Fixes #4520.
2017-01-22 15:24:26 -05:00
Gabriel Maia
80873d1bc5 Tracker: always shrink the text input when renaming
When renaming an entry at the edge of a PoseView, the input
would not resize as usual. This change ensures the input
becomes resizable again if the text becomes small enough.
Fixes #3438.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-01-22 14:45:13 -05:00
Rene Gollent
4e9f7b8efa x86: Update Pe package due to BString ABI changes. 2017-01-22 14:22:37 -05:00
Kacper Kasper
2332ebfd52 ControlLook: Add side parameter to tab drawing functions.
* This allows drawing tabs on any side of the view.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-01-22 09:36:38 +01:00
Kacper Kasper
88510bc040 ControlLook: Fix drawing of right bottom tab corner.`
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-01-22 09:36:33 +01:00
Gabriel Maia
b285b436e7 Screenshot: better error handling on save
Show error messages when saving fails, to enmake sure the user is not
confused by thinking the file saved when the window doesn't close.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12945
2017-01-22 09:29:18 +01:00
Andrew Aldridge
a735975461 Sync atheros813x with FreeBSD
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12328.
Fixed a style error (2 lines between functions).
2017-01-22 09:20:01 +01:00
Andrew Lindesay
b6c8f81bf8 build: add support for build paths for 'homebrew' package system on macOS 2017-01-22 20:50:02 +13:00
Axel Dörfler
3ef97f9a63 hmulti_audio.media_addon: Removed superfluous semaphore.
* The semaphore wasn't really needed to do what it did; using
  atomic_{get|set}() as suggested by jua is much faster, anyway.
* Thanks to Dario for the initial work on this.
2017-01-21 20:45:51 +01:00
Axel Dörfler
b9f09f030e Coding style cleanup. 2017-01-21 20:45:44 +01:00
Humdinger
785b8d68b3 Change of window title in print dialog
Missed that one with hrev50827 and hrev50825 recently.
Hope that's all...
2017-01-21 19:27:50 +01:00