49802 Commits

Author SHA1 Message Date
Stephan Aßmus
3421284044 PackageImageViewer: Re-use B_QUIT_REQUESTED 2014-02-11 23:19:10 +01:00
Stephan Aßmus
79350dde31 PackageInstaller: Yet more cleanup and code simplifications 2014-02-11 23:19:09 +01:00
Stephan Aßmus
4450737441 PackageInstaller: More cleanup and code simplifications 2014-02-11 23:19:09 +01:00
Stephan Aßmus
bdcd6afc18 PackageInstaller: Cleanup and code simplification 2014-02-11 23:19:08 +01:00
John Scipione
5b10d763d0 exfat: use diff structs 4 vol labels and filenames
... and rename the structs to reflect this.

* Volume labels contain up to 11 uint16s (11 2-byte UTF-16 characters).
* Filenames are packed into 1 to 17 structs of 15 uint16s each (for a total
  of 255 2-byte UTF-16 characters).
* Use 2 different packed structs in the exfat_entry union (same bytes, accessed
  with different structs) to access these 2 things.
* Remove a check that assumed the length returned the number of 2-byte UTF-16
  characters, i.e. the number of uint16s the string uses. It doesn't, it
  returns the number of characters contained in the string which might be 2 or
  4-bytes wide. We're doing the conversion wrong for 4-byte UTF-16 characters
  anyway, more on that later.
hrev46856
2014-02-11 13:26:55 -05:00
Jérôme Duval
675878fcfe shared kit: fixed headers dependency. hrev46855 2014-02-11 18:47:24 +01:00
Jérôme Duval
7202cfb455 build fix follow up on status_t/ssize_t changes.
* added a TODO in packagefs.
hrev46854
2014-02-11 18:26:41 +01:00
Jérôme Duval
bcccee9322 Appearance: use FT_CONFIG_OPTIONS_H instead of ftoption.h hrev46853 2014-02-11 17:53:14 +01:00
Adrien Destugues
19f3bae071 Fix more issues detected by gcc4 compiler:
More ssize_t/status_t mixup.
hrev46852
2014-02-11 17:51:22 +01:00
Adrien Destugues
6555120f3b ...and also fix a mismatched prototype
gcc2 doesn't seem to notice.
hrev46851
2014-02-11 13:26:32 +01:00
Adrien Destugues
00dfae0bce Fix build.
Sorry, renaming headers isn't detected by Jam and not everything was
rebuilt.
hrev46850
2014-02-11 12:50:27 +01:00
Adrien Destugues
c3d0dd7a5e HttpRequest: support gzip and deflate compression.
* Use the ZlibDecompressor to decompress the data
* Advertise support in accept-encoding

This should make web browsing feel even faster on wesites that support
these compresion schemes. It also fixes some websites (www.ru,
rainloop.net, ...) that serve gzipped resources even to browser not
supporting it.
hrev46849
2014-02-11 12:06:42 +01:00
Adrien Destugues
36b1f55a18 DynamicBuffer: implement BDataIO
This makes it possible to use it with the ZlibDecompressor.
2014-02-11 12:06:41 +01:00
Adrien Destugues
142d59ca90 ZlibDecompressor: also accept gzip format
zlib can decompress both gzip and zlib formatted compressed streams. The
compression algorithm is the same, but the headers are different. The
format is autodetected from the data.
2014-02-11 12:06:39 +01:00
Adrien Destugues
9af2105d36 Move ZlibDecompressor to libshared
* This will be used to implement compressed http streams
* Remove the custom BDataOutput class, and use BDataIO instead, for
easier integration with existing code.
2014-02-11 12:06:38 +01:00
Jérôme Duval
9f11100be5 Update freetype package for x86 and x86_gcc2. hrev46848 2014-02-10 22:50:56 +01:00
Alexander von Gluck IV
0ba833faa0 docs: Update arm build instructions; no functional change
* For a post PM world
hrev46847
2014-02-09 23:44:57 -06:00
Alexander von Gluck IV
490f23801a AboutSystem: Remove Jonas from current maintainers
* As per his own request on haiku-commits.
* Sorry to see you go!
hrev46846
2014-02-09 21:57:44 -06:00
Jérôme Duval
b3ece9056d configure: --use-gcc-pipe now affects build_cross_tools_gcc4. hrev46845 2014-02-09 10:06:43 +01:00
Jérôme Duval
aa0797a228 Appearance: use ft2build.h instead of ftoption.h
* Freetype 2.5 has changed headers location.
hrev46844
2014-02-08 20:06:27 +01:00
Jérôme Duval
8b0f40cb47 Update freetype package for x86_64. 2014-02-08 20:06:27 +01:00
Jonathan Schleifer
221554b08d Add vim-7.4-1 for x86 hrev46843 2014-02-08 18:47:59 +01:00
Jérôme Duval
4c000bf9a6 Update gcc 4 package for x86_64. hrev46842 2014-02-08 14:58:47 +01:00
Adrien Destugues
54c7d416a2 Update gcc4 package to include C++11 threads support. hrev46841 2014-02-08 13:52:05 +01:00
Stephan Aßmus
d02b8b81e8 app_server: Cleanup of some file locations hrev46840 2014-02-08 11:50:42 +01:00
Stephan Aßmus
a5eb84617c Updated. hrev46839 2014-02-08 11:43:28 +01:00
Stephan Aßmus
89f8b7a12d app_server: Fix computing bounding boxes for transformed stuff.
* In DrawingEngine, clipping is computed before drawing happens. This did not
   take into account when drawing primitives can now be transformed. Fixes
   drawing glitches in the Transformation test when the round rect is scrolled
   into view and it was previously prevented to draw.
 * Fixed clipping rect computation for the sanitized StrokeRoundRect()
   implementation which centers the stroke on the rect.
hrev46838
2014-02-08 11:39:26 +01:00
Stephan Aßmus
13e393dfc1 app_server::Transforable: Cleanup
* No need to implement operator== and !=
 * Fix operator=() to be efficent, declare agg::trans_affine version, too.
2014-02-08 11:39:25 +01:00
autonielx
b8f01fee60 Update translations from Pootle hrev46837 2014-02-08 06:07:10 +01:00
Puck Meerburg
c45fe1f8f7 PackageInstaller: Dynamically replace /boot/system with the system non-packaged dir, same with ~/config hrev46836 2014-02-07 18:33:12 +01:00
Jérôme Duval
7c1acc8968 x86_64: align malloc() allocations on 16 bytes.
* added a check in memalign_test.
hrev46835
2014-02-07 18:27:50 +01:00
Adrien Destugues
56501446f0 KeymapSwitcher: rebuild following Locale API change. hrev46834 2014-02-07 15:27:10 +01:00
Adrien Destugues
b8c44b4c3f BAffineTransform: C++11 compatibility fix
inline const floats are a gcc extension. It is possible to do it in a
standard way in C++11 using constexpr, but then gcc will reject the
previously accepted nonstandard syntax.
hrev46833
2014-02-07 14:42:51 +01:00
Ingo Weinhold
32cae72412 package daemon: Handle location info request in app thread
* ... instead of queuing it for the job thread. The advantage is that
the request will be handled immediately and clients won't have to wait
for transactions (which may even require user feedback) to finish. It
complicates Volume a bit, since there are now two threads that may
access it. The shared data have been moved to a State object which is
protected by a lock.
* For commit transaction requests check whether another package request
is already pending/in progress before queuing a job. Fail immediately,
if there is.

Fixes bug #10039.
hrev46832
2014-02-07 01:21:57 +01:00
John Scipione
3472fc553e exfat: style fix param/variable renaming
Pass the partition size into the default name, not the device size,
this makes the variable names match the comment.

There is no functional change here, the variable names got renamed
to make it more clear what's happening. We want show the partition
size, not the device size, and we want to error if the device size is less
than the partition size, not if the partition size is less than the device size.
hrev46831
2014-02-06 16:18:19 -05:00
Stephan Aßmus
9f44851e0a Transformation: Added test for nesting view states.
The test shows that nesting view states seems to work as expected...
hrev46830
2014-02-06 21:28:17 +01:00
John Scipione
b9590dc919 S&T: Activate S&T when only option down
and not any other modifier such as command or control or shift.

Fixes #10511

We need to be more strict here because Tracker defines Cmd+Opt+Up and
Cmd+Opt+Down shortcuts, S&T shouldn't override them.
hrev46829
2014-02-06 13:12:48 -05:00
Stephan Aßmus
d0477fb673 Painter: Support transformation in gradient code paths.
Clipping paths (or rather alpha masks) and affine view transformations
seem to be generally supported for all drawing operations now. There might
still be bugs that have not yet been exposed by the current set of tests.
These could be related to scrolling, origin and scale as well as stacked
view states.
hrev46828
2014-02-06 17:13:36 +01:00
Stephan Aßmus
e966330c99 Transformation: Added gradient test. 2014-02-06 17:13:08 +01:00
Stephan Aßmus
d091cdec92 Painter: Complete bitmap clipping and transformation
* Turn off optimized code-paths when an alpha mask is set. The generic
   path already included the alpha-mask version of the AGG pipeline.
 * Add transformation to generic bitmap rendering. (It already worked
   with a transformation, so there is no slow down compared to before,
   only now it also includes the transformation set via BView::SetTransform())
hrev46827
2014-02-06 16:28:45 +01:00
Stephan Aßmus
05a19d4137 Transformation: Added BBitmap test 2014-02-06 16:28:16 +01:00
Stephan Aßmus
d93591ffb4 Slightly improve Transformation test to include text hrev46826 2014-02-06 11:10:05 +01:00
Stephan Aßmus
fd8ad3d807 Correctly translate view transformation...
...from local view origin to screen origin.
2014-02-06 11:10:04 +01:00
Stephan Aßmus
08e109e570 New test for transformations 2014-02-06 11:10:03 +01:00
Stephan Aßmus
b4671bebcf Regard Painter's transformation when rendering text. 2014-02-06 11:10:03 +01:00
Stephan Aßmus
750958b857 app_server: Prepare to be able to force vector glyphs...
...in everything text rendering related.
2014-02-06 11:10:02 +01:00
Alexander von Gluck IV
b41ab65bd4 x86_64: Add BootManager, writembr
* Fix build of BootManager on x86_64 (signed vs unsigned error)
* Throw in writembr as it seems to build (untested)
hrev46825
2014-02-05 23:25:26 -06:00
Pawel Dziepak
a96e17ba9d kernel: Adjust load tracking interval hrev46824 2014-02-06 03:23:28 +01:00
Pawel Dziepak
1da76fd4cc scheduler: Inherit estimated load, do not inherit assigned core
The initial core assignment has to be done without any knowledge about
the thread behaviour. Moreover, short lived tasks may spent most of their
time executing on that initial core. This patch attempts to improve the
qualiti of that initial decision.
2014-02-06 03:23:28 +01:00
Pawel Dziepak
667b23ddc2 scheduler: Always update core heaps after thread migration
The main purpose of this patch is to eliminate the delay between thread
migration and result of that migration being visible in load statistics.
Such delay, in certain circumstances, may cause some cores to become
overloaded because the scheduler migrates too many threads to them before
the effect of migration becomes apparent.
2014-02-06 03:23:28 +01:00