Commit Graph

50146 Commits

Author SHA1 Message Date
Alexander von Gluck IV
a8f9011015 h2: Fix bluetooth driver build, missing PrivateKernelHeaders
* We likely should move all of this stuff to normal
  atomic test and set operations at some point.
2014-05-18 22:33:56 -05:00
Rene Gollent
fd8693ea29 Debugger: Improvements to crash report generator.
- If debug information is available for a given stack frame, show the
corresponding source file path and line number in the crash report.
2014-05-18 11:05:28 -04:00
Rene Gollent
4abae4aba8 Debugger: Fix #10781.
- Don't attempt to calculate a selection region if we don't currently have a
valid target block. Should fix remaining part of #10781.
2014-05-17 21:41:35 -04:00
Rene Gollent
6053c78a92 Debugger: Fix #10764.
- Destroy the background worker before going after all the managers. Otherwise,
there might potentially still be jobs in flight that might touch them, leading
to crashes.
2014-05-17 21:26:40 -04:00
Humdinger
25890b8f2a Updated QuickLaunch package to v0.9.7 2014-05-17 17:48:14 +02:00
autonielx
a8fffd7be9 Update translations from Pootle 2014-05-17 06:17:40 +02:00
John Scipione
979af5a8a2 IFSSaver: Don't DirectDraw for preview.
The ScreenSaver window is now a BDirectWindow, but, _DrawFractals() makes
the assumption that a direct window means that the screen saver is running full
screen, so, we need to make sure we draw the preview using the
DrawBitmapAsync() method.

Fixes #10832
2014-05-15 17:42:12 -04:00
John Scipione
f5e32a8614 IFS: Style fixes 2014-05-15 17:41:48 -04:00
John Scipione
49ea2debde IFSSaver: reverse these for consistency. 2014-05-15 17:41:47 -04:00
John Scipione
da679effb4 IFSSaver: remove fBounds variable 2014-05-15 17:41:45 -04:00
John Scipione
664720405e IFSSaver: style fix, check if NULL explicitly 2014-05-15 17:41:44 -04:00
John Scipione
694d9bc1e6 IFSSaver: style fixes 2014-05-15 17:41:39 -04:00
John Scipione
ca7ee40437 IFSSaver: Add some better error checking 2014-05-15 17:40:51 -04:00
John Scipione
3daf447497 IFSSaver: Use single-precision floating point math 2014-05-15 17:40:51 -04:00
John Scipione
71d273ad49 IFSSaver: cast to bigtime_t, not uint64 2014-05-15 17:40:50 -04:00
John Scipione
fd18c60886 IFSSaver: NULL check style fix 2014-05-15 17:40:50 -04:00
John Scipione
98b054fe02 IFS: Style fixes 2014-05-15 17:40:49 -04:00
Adrien Destugues
4c901476bf CID 1210843: useless delete. 2014-05-15 22:57:33 +02:00
Adrien Destugues
0674a9ca80 CID 1210931: missing "default:" in switch. 2014-05-15 22:57:29 +02:00
Stephan Aßmus
e443b44ab8 IFS: Prevent division by zero...
...when the BRect passed to the constructor is not valid.
Should fix ticket #10832. Untested.
2014-05-13 16:47:22 +02:00
Alexander von Gluck IV
672d1fb48f glu: Upgrade glu revision to 9.0.0-3 2014-05-12 22:28:39 +00:00
Ingo Weinhold
f307a18588 package daemon: Volume: Fix destruction order
We must destroy the VolumeStates before destroying the
PackageFileManager that manages their packages.

Kudos to Rene for analyzing.
2014-05-12 11:30:42 +02:00
Jessica Hamilton
4880ae0122 configure: correct documentation of the -j<N> option. Fixes #10828. 2014-05-12 17:34:59 +12:00
Jérôme Duval
c73c8e2367 gutenprint: add gutenprint as a mandatory package.
* use the shared library libgutenprint.so
* remove the xml data files from the tree and the Haiku package.
2014-05-10 13:08:35 +02:00
autonielx
0217077b04 Update translations from Pootle 2014-05-10 06:17:53 +02:00
Jessica Hamilton
4d4fc432b2 PackageFile: correct inverted NULL check. Fixes #10817. CID 1211989. 2014-05-10 11:06:28 +12:00
Jérôme Duval
0584f69356 gutenprint: use outsourced package.
* data files are still in the source tree.
* gutenprint headers contain a image.h header file which collides
with ours. This is solved by forcing include search first on
os/kernel directory.
2014-05-09 20:19:35 +02:00
Joseph R. Prostko
4f08777610 Raise the limit for the maximum VMDK image size
* Raised the limit from 4 GB to 160 GB, as the is the highest I could test
2014-05-08 20:42:11 -04:00
Pawel Dziepak
680ca3b13d runtime_loader: fix CID 1211995, improve generation counting
There is no need to increase generation counter each time new DSO is
registered.
2014-05-08 23:07:50 +02:00
Pawel Dziepak
fad7246fcd runtime_loader: fix CID 1211997, proper corner case handling 2014-05-08 23:07:50 +02:00
Pawel Dziepak
2c001246a0 build: when using gcc4 build kernel with c++11 2014-05-08 23:07:50 +02:00
Pawel Dziepak
578558b439 add-ons/kernel: add spaces between literals and identifiers
Due to introduction of user-defined suffixes C++11 requires that there
is a space between literal and identifier to avoid ambiguity.

This patch makes the whole kernel build successfully with C++11.
2014-05-08 23:07:50 +02:00
Jessica Hamilton
edc6d1558e packagekit: fix using free instead of delete[]. CID 1210827. 2014-05-08 16:41:15 +12:00
Jessica Hamilton
194ce33d65 DynamicBuffer: remove unneeded size check. CID 604168. 2014-05-08 16:41:14 +12:00
Joseph R. Prostko
7e9976c58b Updated Readline packages for x86_gcc2 and x86
* This solves the issue where libreadline wasn't actually linked to libncurses
* x86_64 update will follow later, as the build maxed out my x86_64 build VM
2014-05-08 00:20:42 -04:00
Jessica Hamilton
41a9299bb5 BNetEndPoint: fix signedness issues. CID 604169. 2014-05-08 13:48:51 +12:00
Pawel Dziepak
76636769bd kernel/x86_64: inline x86_{read, write}_msr()
This patch makes it possible to inline rdmsr and wrmsr instruction. The
performance impact shouldn't be significant since they are used relatively
rarely and wrmsr is usually a serializing instruction, but there is no reason
not to do so.
2014-05-06 21:41:49 +02:00
Pawel Dziepak
88e8e24c84 kernel/x86_64: improve context switch implementation
The goal of this patch is to amortize the cost of context switch by making
the compiler aware that context switch clobbers all registers. Because all
register need to be saved anyway there is no additional cost of using
callee saved register in the function that does the context switch.
2014-05-06 21:15:55 +02:00
Pawel Dziepak
9db5b975f9 kernel/x86_64: rework of IDT handling code
Similarly to previous patch regarding GDT this is mostly a rewrite of
IDT handling code from C to C++. Thanks to constexpr IDT is now entirely
generated at compile-time.
2014-05-06 14:59:54 +02:00
Pawel Dziepak
2b6d4bc657 kernel/x86: add space between literal and identifier
Due to introduction of user-defined suffixes C++11 requires that there
is a space between literal and identifier to avoid ambiguity.
2014-05-06 14:59:53 +02:00
Pawel Dziepak
cd59bf4349 kernel/x86_64: x86_64 gdt handling code overhaul
Virtually no functional change, just rewriting the code from
"C in *.cpp files" to C++. Use of constexpr may be advantageous but
that code is not performance critical anyway.
2014-05-06 14:59:53 +02:00
Pawel Dziepak
c1dc104960 kernel/x86_64: enable c++11 in x86_64 specific code 2014-05-06 14:59:53 +02:00
Pawel Dziepak
f31c19bb9e libroot/x86_64: relax asm constraints in find_thread() 2014-05-06 14:59:53 +02:00
Pawel Dziepak
344643740a libroot/x86_64: minor improvements in TLS code
* less inline asm
 * std::atomic<> instead of obsolete atomic_*()
2014-05-06 14:59:53 +02:00
Pawel Dziepak
ea7e57c966 libroot: enable c++11 in os/arch/x86_64 2014-05-06 14:59:53 +02:00
Rene Gollent
5df1188e86 x86: Update haikuwebkit to 1.3.1.
Also update various dependencies.
2014-05-05 22:43:07 -04:00
Ingo Weinhold
e9eb4df71b BDaemonClient: Handle options message fields correctly 2014-05-05 21:29:25 +02:00
Ingo Weinhold
c2f3b81d45 package daemon: Fix manual package [de/]activation
CommitTransactionHandler: Since the VolumeState is now always copied
(including the contained packages), we can't just use the passed in
packagesAlready{Added,Removed} sets, since they refer to the original
packages.
2014-05-05 21:29:25 +02:00
Rene Gollent
7fa8b5538c Debugger: Add block navigation shortcuts to inspector window. 2014-05-04 17:26:28 -04:00
Ingo Weinhold
c69ed143a6 package daemon: CommitTransactionHandler: Minor error case fixes 2014-05-04 20:59:01 +02:00