49179 Commits

Author SHA1 Message Date
Adrien Destugues
5e9a96156d FileRequest: style fixes
Pointed out by axeld, stippi and waddlesplash. Thanks for watching.
2014-01-13 08:05:30 +01:00
Stephan Aßmus
a6c0fea79c HaikuDepot: Some preparations for adding rating comments
* The package info area toggles a package's rating to a "Rate package..."
  button when the mouse hovers it.
* Clicking that button opens a window where one can enter a rating.
* Totally not working yet, but I want this in VCS.
hrev46663
2014-01-12 22:06:37 +01:00
Stephan Aßmus
448c87fb4e TextDocumentView: Update TextEditor about certain changes 2014-01-12 22:06:36 +01:00
Stephan Aßmus
e9df9f664f Make TextEditor referenceable. 2014-01-12 22:06:35 +01:00
Stephan Aßmus
5c3fd4605e BView: Don't allow a view to add itself as a child. 2014-01-12 22:06:35 +01:00
Stephan Aßmus
6a2493e4a6 TextDocument.cpp: Fixed typo 2014-01-12 22:06:34 +01:00
Humdinger
193a3956d2 Improved error message
...in case a single drag&dropped file isn't an audio file.
hrev46662
2014-01-12 17:39:23 +01:00
Stephan Aßmus
130db54051 HaikuDepot: Added work-in-progress TextEditor class
The intention here is to be able to set it on a TextDocumentView to add
editing capabilities.
hrev46661
2014-01-12 13:54:03 +01:00
Stephan Aßmus
85ad88c67e HaikuDepot: Added simple TextSelection class. 2014-01-12 13:53:16 +01:00
Stephan Aßmus
810f0a42e5 IconUtis.cpp: Fixed cast. 2014-01-12 13:47:30 +01:00
Jonathan Schleifer
d1c7f766fd glibc: Remove a ++ that was accidentally added.
Thanks to PulkoMandy for noticing!

Work towards bug #10396
hrev46660
2014-01-11 17:33:42 -06:00
Jonathan Schleifer
624435c494 Add flags needed for Clang to the build system.
This uses a variable CLANG that should be set to the Clang version. For
now, this has to be done manually (e.g. when invoking jam using jam
-sCLANG=34), but later, this will be auto-detected.

Work towards bug #10396
2014-01-11 17:33:36 -06:00
Alexander von Gluck IV
4f357bc071 sysinfo: Improve x86 CPU information
* Displays standard CPUID, and shows what the
  internal CPUID used by OS.h *should* be.
* Should help out in identifying new CPU's
  as all end users have to do is run sysinfo
  to get the CPU info + value for OS.h
hrev46659
2014-01-11 16:14:22 -06:00
François Revol
586d22c9ba Fix function prototype to be valid C hrev46658 2014-01-11 17:53:00 +01:00
autonielx
6414ae05c4 Update translations from Pootle hrev46657 2014-01-11 06:18:54 +01:00
Jonathan Schleifer
faf564a527 netcat: Add missing declaration. hrev46656 2014-01-10 22:32:29 +01:00
Jonathan Schleifer
b187bd95a0 compress: Add missing return types and declarations. 2014-01-10 22:32:21 +01:00
Jonathan Schleifer
04a0e9c7b6 ALM: Move forward declaration of Constraint to the right namespace. 2014-01-10 22:32:15 +01:00
Jonathan Schleifer
72b14059a9 Fix sizeof on private, non static variable. 2014-01-10 22:32:10 +01:00
Jonathan Schleifer
38fee4c388 glibc: Remove nested function.
Nested functions are a (again, broken) GNU extension which is not
supported by Clang. It has been replaced by a bunch of gotos and a
variable that works as a return address.
2014-01-10 22:32:05 +01:00
Jonathan Schleifer
4683fcc35c glibc: Correctly create weak symbols. 2014-01-10 22:31:58 +01:00
Jonathan Schleifer
f4c2f7ebdb Remove variable length arrays of non-PODs.
Variable length arrays of non-PODs are not part of the C++ standard, but
a GNU extension that never worked correctly. Instead, BStackOrHeap array
is used now, which makes sure that it's not too big for the stack, calls
all constructors and is valid C++.
2014-01-10 22:31:50 +01:00
Jonathan Schleifer
4bda0212ce Add BStackOrHeapArray. 2014-01-10 22:31:46 +01:00
Jonathan Schleifer
6abec6b93a Declare BLooperListIterator in the right place.
Before, it tried to typedef it to a private struct, but outside of the
class.
2014-01-10 22:31:37 +01:00
John Scipione
a2bf375cbd Use UTF-8 minus sign instead of dash hrev46655 2014-01-10 15:19:22 -05:00
Adrien Destugues
090ba6d06b FileRequest: implement directory listings.
Use the EPFL (Easily Parsed File Listing) format. This is one of the
formats that WebKit allows for directory listings, and it's easily
parsed and generated.
hrev46654
2014-01-10 15:32:09 +01:00
François Revol
5143323fb6 myupdate: Close and restart Deskbar on update
Close Deskbar before trying to update and restart it afterward.
This way the addons are restored as they were before.
hrev46653
2014-01-09 17:08:22 +01:00
noryb009
f466a0b81e Fix Coverity CID 1108465: Use after free
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
hrev46652
2014-01-09 06:18:30 +01:00
Pawel Dziepak
082d3c1015 scheduler: Increase thread penalty at fork 2014-01-09 03:50:54 +01:00
Pawel Dziepak
a2634874ed scheduler: Estimate the load thread is able to produce
Previous implementation based on the actual load of each core and share
each thread has in that load turned up to be very problematic when
balancing load on very heavily loaded systems (i.e. more threads
consuming all available CPU time than there is logical CPUs).

The new approach is to estimate how much load would a thread produce
if it had all CPU time only for itself. Summing such load estimations
of each thread assigned to a given core we get a rank that contains
much more information than just simple actual core load.
2014-01-09 03:50:54 +01:00
Gordon JC Pearce
a19c04e6a3 Fix modeline being read incorrectly.
Signed-off-by: Rene Gollent <rene@gollent.com>
hrev46651
2014-01-08 18:28:06 -05:00
Jérôme Duval
2bc399a932 x86_64: Update haikuwebkit to 1.2.2 and add/update...
various dependent packages.
hrev46650
2014-01-08 20:07:27 +01:00
Pawel Dziepak
772331c7cd scheduler: Introduce strong and weak priority penalties 2014-01-08 07:16:19 +01:00
Pawel Dziepak
d36098e043 scheduler: Keep track of the number of the ready threads 2014-01-08 05:05:25 +01:00
Pawel Dziepak
9c465cc83b scheduler: Improve recognition of CPU bound threads 2014-01-08 05:05:25 +01:00
Alexander von Gluck IV
aa4b5749d6 runtime_loader: Detect and trigger on PE binaries
* Previously PE binaries would trigger the "incorrectly
  executable" dialog. Now we get a special message for
  B_LEGACY_EXECUTABLE and B_UNKNOWN_EXECUTABLE
* Legacy at the moment is a R3 x86 PE binary. This could
  be extended to gcc2 binaries someday far, far, down the
  road though
* The check for legacy is based on a PE flag I see
  set on every R3 binary (that isn't set on dos ones)
* Unknown is something we know *is* an executable, but
  can't do anything with (such as an MSDOS or Windows
  application)
* No performance drops as we do the PE scan last
* Tested on x86 and x86_gcc2
hrev46649
2014-01-07 19:38:07 -06:00
Rene Gollent
868c3d95cc Add updated libxml2 and zlib packages. hrev46648 2014-01-07 18:03:09 -05:00
Rene Gollent
baec9c1bf3 Update x86 webkit package to 1.2.2 + dependencies. hrev46647 2014-01-06 21:35:39 -05:00
Pawel Dziepak
c2a02dee65 kernel: Relax cpu_ent::interrupt_time locking
The value isn't accessed by the other CPUs and all writes and reads are
done with interrupts disabled.
2014-01-07 02:12:39 +01:00
Pawel Dziepak
c37c2aa45f scheduler: Improve should_rebalance 2014-01-07 01:11:42 +01:00
Alexander von Gluck IV
a72cc0a9b7 radeon_hd: Add missing cedar chipset
* May fix #10373
hrev46646
2014-01-06 17:14:14 -06:00
Pawel Dziepak
4ca31ac964 kernel: Fix ABA problem in try_acquire_read_spinlock() 2014-01-06 21:03:42 +01:00
Adrien Destugues
5bdd4157d3 SecureSocket: avoid crash on close
Deleting the BIO while it's still waiting on a read() in another thread
will lead to a crash when the socket is eventually closed. Close the
socket first, so the read() is unlocked, then safely delete the BIO.
hrev46645
2014-01-06 12:48:46 +01:00
Adrien Destugues
27b702f11a Update haikuwebkit to latest version.
* Also update dependencies cmake and libxml2
* Bonus package: Milkytracker

This is for gcc2hybrids only. gcc4 and x86_64 users are welcome to
contribute an haikuwebkit package for their architectures using the
haikuporter recipe.
hrev46644
2014-01-06 11:20:57 +01:00
Pawel Dziepak
bae6d7196a scheduler: Fix SchedulerModeLocker 2014-01-06 09:08:53 +01:00
Pawel Dziepak
a5f45afa6c scheduler: Remove unnecessary check against disabled CPU 2014-01-06 09:08:53 +01:00
Pawel Dziepak
8cf8e53774 kernel/x86: Inline atomic functions and memory barriers 2014-01-06 09:08:53 +01:00
Alexander von Gluck IV
465610acdc joystick: Don't crash when 0 joysticks exist on a port
* Interestingly, my SIXAXIS controller shows up in
  the window as usb/0 when plugged.
hrev46643
2014-01-05 23:35:05 -06:00
Pawel Dziepak
8235bbc996 scheduler: Improve thread creation performance 2014-01-06 01:22:53 +01:00
Pawel Dziepak
cb66faef24 scheduler: Work around GCC2 limitations in function inlining
GCC2 won't inline a function if it is used before its definition.
2014-01-06 01:22:53 +01:00