Commit Graph

49724 Commits

Author SHA1 Message Date
John Scipione
5a7193d558 GIFTranslator: Replace magic constants
Introduce GIFPrivate.h to define these magic constants

Also, make sure that we don't go over LZ_MAX_CODE bits
2014-03-04 01:22:53 -05:00
John Scipione
c14b552e41 GIFTranslator: check if NULL before accessing member 2014-03-04 01:22:52 -05:00
John Scipione
4ac43a1be4 GIFTranslator: use ENTRY_COUNT define instead of 4096 2014-03-04 01:22:52 -05:00
John Scipione
5b53a45a94 GIFTranslator: Use array notation instead of pointer 2014-03-04 01:22:51 -05:00
John Scipione
84bff75245 GIFTranslator: Log info messages with LOG_INFO not LOG_ERR 2014-03-04 01:22:50 -05:00
John Scipione
6ff3ca264d GIFTranslator: Style change, uchar => unsigned char 2014-03-04 01:22:50 -05:00
John Scipione
071f3a6ea0 GIFTranslator: don't call an implicit constructor for Memblock 2014-03-04 01:22:49 -05:00
John Scipione
116e78d4d4 GIFTranslator: Remove unneeded BBitmap checks 2014-03-04 01:22:46 -05:00
John Scipione
5e4c29a6b7 GIFTranslator: Style fixes 2014-03-04 01:22:43 -05:00
Jérôme Duval
0ae983528e Update gawk package, disabling multibyte support. 2014-03-03 00:29:20 +01:00
Rene Gollent
1c62b9ce99 x86: Update webkit to 1.2.4. 2014-03-02 18:20:59 -05:00
Philippe Saint-Pierre
ff5711ee19 LaunchBox: Add missing curly brackets (CID #991345) 2014-03-02 17:00:36 -05:00
Rene Gollent
34a7841a39 x86: Update gcc and binutils packages.
- Mainly needed to enable C++11 support in gcc.
2014-03-02 16:09:00 -05:00
Oliver Tappe
66bd70a983 Update gcc4 version in haikuports.cross repository. 2014-03-02 21:55:26 +01:00
Oliver Tappe
0b0fd9ee93 Correct typos (wrong primary architecture) in comment. 2014-03-02 21:55:26 +01:00
Oliver Tappe
8219739b06 Put curl on every image, as it is required by the haiku package. 2014-03-02 21:55:26 +01:00
Oliver Tappe
dbc5041b9f Add curl to bootstrap package list for x86_64. 2014-03-02 21:55:26 +01:00
Oliver Tappe
82e975d7d2 Add libnetwork.so to stage1 of bootstrap build. 2014-03-02 21:55:25 +01:00
Oliver Tappe
2e61b6dd1d Adjust libnetwork.so to no longer depend on libbe.so.
* Libbe is not available when cross-building the *_bootstrap packages,
  so no libnetwork could not be used either, which made building 
  anything network-related impossible.
* The only code in libnetwork that requires libbe is the notification,
  so I moved that over to libbnetapi. Non-C++ applications can't use
  the notification calls anyway, as their interface is C++-only.
2014-03-02 21:55:25 +01:00
Oliver Tappe
bfd2e8b3d0 Don't try to put findutils-commands on bootstrap image.
* findutils has been moved out to a haikuport, so the commands are no
  longer known to the build system
2014-03-02 21:55:25 +01:00
Oliver Tappe
e1640ae81c Add missing texinfo to bootstrap package list. 2014-03-02 21:55:25 +01:00
Axel Dörfler
22d300c2ce AHCI/BFS: fixed temporary trim debug output. 2014-03-02 21:54:31 +01:00
Rene Gollent
5affe86f8f Remove outsourced findutils/xargs provides from haiku package. 2014-03-02 12:01:02 -05:00
Julian Harnath
eb5224cf9d Oops, remove leftover "TODO" in comment 2014-03-02 16:28:53 +01:00
Julian Harnath
de26f2e762 Make code a bit easier to read, add some comments
* No functional change intended
2014-03-02 16:26:32 +01:00
Julian Harnath
34d3dff3f5 Fix feedback divider value approximation
* The rounding algorithm here expects to start with the 2 digits
  after the decimal point in pll->feedbackDivFrac. Multiplying with
  1000 instead of 100 filled it with 3 digits.
  The last step then set the fractional part to zero because it was
  still too large.
2014-03-02 16:26:29 +01:00
Adrien Destugues
edf1552770 ProcessController: add missing B_TRANSLATE_MARK
Thanks to Diver for reporting!
2014-03-02 15:04:51 +01:00
Adrien Destugues
b2415b53d2 Update HaikuWebkit to version 1.2.4.
The source package is missing, because I can't upload it to the repo.
This is too slow and has failed several times.
2014-03-01 17:03:31 +01:00
Adrien Destugues
87400ed1de Use local time when computing max-age expiration
BDateTime.SetTime_t expects its parameter to be in local time.
2014-03-01 09:16:33 +01:00
autonielx
3d50acca57 Update translations from Pootle 2014-03-01 06:18:36 +01:00
autonielx
e094495653 Update translations from Pootle 2014-03-01 06:18:35 +01:00
John Scipione
6c594640f6 Document the BMenuItem class in the Haiku Book. 2014-02-28 19:05:34 -05:00
John Scipione
fa412b5fd9 BMenuItem: Style fixes related to documentation. 2014-02-28 19:05:34 -05:00
John Scipione
41c51f73d1 ScreenSaver: use stack variable to prevent memory leak 2014-02-28 17:16:26 -05:00
John Scipione
00d9a29e2e ScreenSaver: Stop saver on General tab.
Unfortunately OpenGL screen saver previews draw on top of the tabview,
so, when you switch to the General tab we now stop the screen saver
and then restart it when you come back to the Screensavers tab.
2014-02-28 16:45:26 -05:00
Philippe Saint-Pierre
c08eb212ef Radeon accelerant: typo in vertical limit check (CID #991138) 2014-02-27 22:01:34 -05:00
Philippe Saint-Pierre
3d5ede23c2 Wrong variable used in null-check (CID #1108197) 2014-02-27 21:40:15 -05:00
John Scipione
847e14f002 Turn class diagrams back on 2014-02-27 17:36:57 -05:00
waddlesplash
dba29137b2 Tweaks to the API documentation
* Update the Doxyfile for 1.7.6.1. Doxywizard reformatted the comments; that's why this change is so big
  * Disable graph inheritance trees; use "Inherits/Inherited by" lists instead (Doxygen has this on by default; I don't think it was intentional)
  * Shorten two subgroup names; helps with formatting in Doxygen 1.8 and looks cleaner
  * Moves the page footer ("The Haiku Book pre-R1...") be in a <footer> tag, and add a CSS rule for this tag
  * Disable XML output, no one is using it
  * Disable Microsoft IDL parsing, speeds up Doxygen a bit
2014-02-27 17:21:51 -05:00
Pawel Dziepak
3ed7ce75b3 kernel: Relax atomic loads in SMP code
The main purpose of using atomic_get() was the necessity of a compiler
barrier to prevent the compiler from optimizing busy loops. However,
each such loop contains in its body at least one statement that acts
as a compiler barrier (namely, cpu_wait() or cpu_pause()) making
atomic_get() redundant (well, atomic_get() is stronger - it also issues
a load barrier but in these particular cases we do not need it).
2014-02-27 02:21:13 +01:00
Pawel Dziepak
e31212e4d7 kernel: Fix acquire_read_spinlock() acquire checks
If the initial attempt to acquire read spinlock fails we use more relaxed
loop (which doesn't require CPU to lock the bus). However, check in that
loop, incorrectly, didn't allow a lock to be acquired when there was at
least one other reader.
2014-02-27 02:21:13 +01:00
John Scipione
8cdefee93f ScreenSaver: fix gcc4 x86 and x86_64 builds
Create a static const variable to take the address of instead of
taking the addess of a temporary.
2014-02-26 19:24:54 -05:00
Alexander von Gluck IV
5006aac272 radeon_hd: Clean up DP training
* Few tweaks to DP training
* Check for TP3 support and go with TP3 if needed
* Make training more verbose
* Fix DP snoose on ce
2014-02-26 17:17:44 -06:00
Julian Harnath
ad64943039 Fix spinlock usage in kernel's system profiling
* Removal of gSchedulerLock left a few SpinLockers around which were
  now without locked interrupts.

* Makes scheduling_recorder work again.
2014-02-26 23:08:41 +00:00
John Scipione
58b592b3b5 ScreenSaver: Add "No preview available" text
... when a screensaver doesn't provide a preview.

Also do a bit of refactoring in PreviewView, remove unneeded includes
2014-02-26 17:58:42 -05:00
John Scipione
0591d8477c ScreenSaver: Refactor ModulesView
Create controls in initializer list of constructor, delete controls in
the (newly-added) destructor.

Make fSettings the first private member.
2014-02-26 17:58:41 -05:00
Stephan Aßmus
46b39e8378 app_server: Fixed issues in Painter.
* DrawPolygon was offsetting coords to pixel centers
   regardless of whether the polygon was stroked or
   filled, leading to wrong results for filling. Now
   it offsets for stroking only and even takes pen-size
   into acount. The bug was visible in Gobe Productive's
   selection rendering.
 * Renamed _Transform() methods to _Align(), which fits
   better with what they do: Align coordinates with the
   pixel grid.
 * Changed rounding behavior for StrokeLine. Offsetting
   to pixel centers depending on pen-size happens regardless
   of sub-pixel mode. This means a stroked line on integer
   coordinates looks the same in both modes. It breaks
   some drawing in WonderBrush (brush cursor), which was
   exploiting the previous behavior, but unbreaks Gobe
   Productive caret rendering at zoom levels below 150%.

Both changes bring Gobe Productive text editing to a useable
level.
2014-02-26 23:55:52 +01:00
Stephan Aßmus
c54e7ddb00 app_server: Fixed build with tracing enabled. 2014-02-26 23:55:52 +01:00
Julian Harnath
f0ccf10243 Fix AMD CPU selection in generic_x86 kernel add-on
* The AMD-part of the add-on is supposed to reject some very old
  models. However, a bug in the selection code caused it to reject
  anything with model-number smaller 9 regardless of model-family.
  This caused MTRR setup to not happen on many AMD CPUs and Haiku
  being very slow on these machines.

* Fixes #10571
2014-02-26 21:47:41 +00:00
Alexander von Gluck IV
d035469704 ARM: Name beagleboneblk back to beagle
* Pulkomandy pointed out that all Beagle hardware is
  very similar so we could likely get away with a single
  ARM target board.
2014-02-26 15:33:40 -06:00