Commit Graph

49511 Commits

Author SHA1 Message Date
Alexander von Gluck IV
92b2e03d0d arm: Add initial memory barrier functions
* These likely need reviewed by someone better
  at arm assembly. (#10537)
2014-02-12 23:11:11 -06:00
Alexander von Gluck IV
fca8407a2a radeon_hd: Fix GPIOInfo pin shortage on some cards
* Some cards have a lot of pins!
* Should fix #10536
* Add a check to give a friendy warning if we find
  more GPIO pins than what we are prepared for.
* Technically the maximum GPIO pins could be
  ATOM device max * 2 (16 for i2c and other)
  however lets leave some room for expansion.
2014-02-12 21:25:47 -06:00
Jérôme Duval
ed66187183 mesa: update x86 packages to 10.0.2-3 2014-02-12 21:59:50 +01:00
Adrien Destugues
916382a10f Style fixes, no functional changes
* Pointed out by Axel and Ingo.
2014-02-12 14:05:27 +01:00
Adrien Destugues
f6658d2c2c Fix one more status_t/ssize_t mixup. 2014-02-12 09:50:34 +01:00
Jérôme Duval
0ca8f08038 Add Web Open Font Format to mime_db. 2014-02-11 23:25:43 +01:00
Stephan Aßmus
be94359ce4 PackageItem: Fixed rewriting item paths
* The version of BString::Replace() that was used takes the offset at which
   replacing should start, not the number of replacements. So did this ever
   work? Use ReplaceFirst() instead.
 * Address the performance issues which Pawel commented on, plus some more.
 * I've left some debug output in the code (commented out), since I want to
   work on this some more. For example, I noticed that GoBe Productive puts
   files into /boot/beos/...
2014-02-11 23:19:12 +01:00
Stephan Aßmus
ad1c3c44bf PackageTextViewer: Fix include position 2014-02-11 23:19:11 +01:00
Stephan Aßmus
6568820634 PackageInstaller: Refactoring and cleanup
* Extraced common base class BlockingWindow from PackageTextViewer and
   PackageImagerViewer.
 * Use layouted version of PackageTextViewer.
 * Center ReadMe on screen.
 * Apply margins around the text view.
2014-02-11 23:19:11 +01:00
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.
2014-02-11 13:26:55 -05:00
Jérôme Duval
675878fcfe shared kit: fixed headers dependency. 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.
2014-02-11 18:26:41 +01:00
Jérôme Duval
bcccee9322 Appearance: use FT_CONFIG_OPTIONS_H instead of ftoption.h 2014-02-11 17:53:14 +01:00
Adrien Destugues
19f3bae071 Fix more issues detected by gcc4 compiler:
More ssize_t/status_t mixup.
2014-02-11 17:51:22 +01:00
Adrien Destugues
6555120f3b ...and also fix a mismatched prototype
gcc2 doesn't seem to notice.
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.
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.
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. 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
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!
2014-02-09 21:57:44 -06:00
Jérôme Duval
b3ece9056d configure: --use-gcc-pipe now affects build_cross_tools_gcc4. 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.
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 2014-02-08 18:47:59 +01:00
Jérôme Duval
4c000bf9a6 Update gcc 4 package for x86_64. 2014-02-08 14:58:47 +01:00
Adrien Destugues
54c7d416a2 Update gcc4 package to include C++11 threads support. 2014-02-08 13:52:05 +01:00
Stephan Aßmus
d02b8b81e8 app_server: Cleanup of some file locations 2014-02-08 11:50:42 +01:00
Stephan Aßmus
a5eb84617c Updated. 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.
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 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 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.
2014-02-07 18:27:50 +01:00
Adrien Destugues
56501446f0 KeymapSwitcher: rebuild following Locale API change. 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.
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.
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.
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...
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.
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.
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())
2014-02-06 16:28:45 +01:00
Stephan Aßmus
05a19d4137 Transformation: Added BBitmap test 2014-02-06 16:28:16 +01:00