Commit Graph

40460 Commits

Author SHA1 Message Date
Jérôme Duval
67eb6cdee8 * extracted some private methods to have a more readable code
* fixed negative parameter values handling
* clean up and method shuffle


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-30 22:10:46 +00:00
Jérôme Duval
f7ca82dc00 Read the previous descriptor pointer before freeing transfer and transfer descriptors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-30 20:46:07 +00:00
Siarzhuk Zharski
5da635640e Updated Belarusian and Russian catkeys from HTA.
Unfortunately I have failed snatching out Ukrainian ones for 3 days of attempts. :-(



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-30 13:29:10 +00:00
Adrien Destugues
52d1086f2d Header was not self-containing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-28 13:47:07 +00:00
Oliver Tappe
87663db420 Minor cleanup: respect 80-chars line length limit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-28 10:15:41 +00:00
Oliver Tappe
1e07062b40 Apply patch by Hamish, closing #7947 - thanks!
* determine first day of week and draw calendarview accordingly
* some cleanup: drop superfluous DateTimeView::Draw()
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-27 21:19:56 +00:00
Adrien Destugues
6041c9cd56 Patch by jscipione : make sure deskbar calendar is always above deskbar. Thanks!
Fixes #7855.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-27 19:56:26 +00:00
Adrien Destugues
68eccf0d5c The description for frameMoved and FrameResized was wrong. Thank Skipp_OSX for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-27 19:41:09 +00:00
Adrien Destugues
07658a130e Add some documentation for find_directory. This is very incomplete yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-27 09:15:50 +00:00
Philippe Houdoin
a46e462db9 * Fix the "USB USB Webcam" name: now generic UVC USB webcam will be named, well, that:
Generic UVC USB Webcam.
* Added my own Logitech HD Pro C910, which publish a compound device class, not an UVC class.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-27 05:54:55 +00:00
Philippe Houdoin
20cc5ae73c Update WebPositive package, new build was needed due to the
new ICU 4.8.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-26 22:16:24 +00:00
Oliver Tappe
00912ff317 * fix ICU-devel optional package to include link-time libraries (as links to the
actual libs in /system/lib)
* adjust installation code for ICU-devel to generate link for the non-versioned
  form (libicu*.so) and one matching the soname (libicu*.so.48)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-26 19:28:39 +00:00
Stephan Aßmus
26fbe862cf Patch by John Scipione: Added cbrt() function to the supported functions
and factrorial expression support. Closes ticket #7945, thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-26 10:31:29 +00:00
Oliver Tappe
a3ab429e07 * improve look of drop target indicator in Locale prefs, as it was too ugly even for
my not so visually inclined taste - we now use a gradient which IMHO gives much
  more pleasant results
* add TODO about whether or not code for drawing drop target inidicators should be
  added to ControlLook (or some other class with similar purpose)


  

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-25 20:20:32 +00:00
Jérôme Duval
51a01ea03b Patch from Gabriel Hartmann for his GSoC UVC project. Coding style updates by myself. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-25 16:36:48 +00:00
Rene Gollent
61f3c5c1c7 Upped alpha profile image size to 750MB.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-24 23:38:22 +00:00
Oliver Tappe
f6102c6fba Improve drag'n'drop in Locale preflet:
* following a hint by Stephan: implement drawing of a drop target indicator,
  a global one (bounds) for the available languages and an individual drop target 
  indicator ("between" the items) for the preferred languages
* fix drag'n'drop within preferred languages listview
* finish support for manipulating multiple items in preferred languages listview


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-24 22:06:24 +00:00
Matt Madia
fdecfdb35c Increase the size of the default raw and default vmware image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-24 21:04:55 +00:00
Alexander von Gluck IV
b81f42ecbc * complete encoder detection
* need to break out connector and encoder addition into seperate functions as
  the linux kernel did... that function is getting pretty large and deep.
* my card seems to map everything as TV DAC or TMDS... weird.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-24 14:49:31 +00:00
Alexander von Gluck IV
2c062f84e5 * as we are doing a lot of math on bios in gAtomContext, lets make it a
uint8 vs a void pointer.
* guys at AMD confirmed that the method looking directly at the object table
  should be the only method used on modern cards (r600 or later)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-24 04:28:46 +00:00
Oliver Tappe
04c60f4472 * fix stuck loops in Replace...() on single chars in case the old and new character
are the same (Eclipse was complaining about 'assignment to self', which got me 
  looking at the code ...)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-23 19:59:50 +00:00
Oliver Tappe
56a2d99762 * add tests for BString that expose a problem in the looping Replace() implementations
on single chars
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-23 19:55:46 +00:00
Siarzhuk Zharski
d1e1709087 * ipro1000 driver updated to FreeBSD 8.2 level:
it incorporate now "em" and "lem" freebsd drivers.
  Note: if_igb is not used - too much "undeclared"
  stuff required from the compatibility layer. :-(



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-23 18:54:25 +00:00
Jérôme Duval
77660b03e8 * threshold higher bit means a full frame. Also use the threshold for micro frames instead of frames.
* introduces fNextStartingFrame to keep track of the next frame to use on next submit.
* set the IOC bit for the last ITD
* computes multiply field of the ITD based on the packed size (1, 2 or 3).
* use locking around linking of ITD
* free descriptors on errors
* on finishing, whenever a non success status is found, set actual length to zero
* on finishing, when copying data to the Transfer object, copy starting on packet boundaries (skipping unused bytes).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-23 18:36:57 +00:00
Oliver Tappe
886b38122b Fix icu library extraction for ppc (and unite that jam-block with x86)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-22 21:15:34 +00:00
Joachim Seemer
04cd4adb81 Updated catkeys from HTA. (Trying to download all languages takes over an hour and many download attempts fail completely. So I left it to the two new catkeys that came through...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-22 18:01:59 +00:00
Alexander von Gluck IV
77b301cb8b * tab fix, no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 22:04:34 +00:00
Alexander von Gluck IV
ec89b98617 * remove excess NULL check
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 22:03:36 +00:00
Oliver Tappe
dd1bc982f2 Follow hint by Marcus and make colors static *const*.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 21:30:24 +00:00
Oliver Tappe
bafd229765 Fix typo that (suprisingly only) broke the gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 21:28:24 +00:00
Alexander von Gluck IV
aee8efc244 * add gConnector for card connector storage
* add detect_connectors to detect card connectors
* add infinitely compex detect_connectors_manual
  (used when detect_connectors fails)
* add missing AtomBIOS header


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 21:21:36 +00:00
Alexander von Gluck IV
583110831e * remove tracing on AtomBIOS parser
* fix a few compile issues when tracing is disabled


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 21:10:24 +00:00
Alexander von Gluck IV
3671476941 * add video_electronics.c
(.c to keep compatibility with older C accelerants)
* use functions for decoding video_electronics
* thanks for the guidance Axel!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 17:30:55 +00:00
Oliver Tappe
ed32703038 Fix drawing artefacts in Locale prefs (and IMHO improve the look):
* separate LanguageListItemWithFlag from LanguageListItem
* draw the flag in front of the text instead of at wherever the right bounds happen to
  be, fixing the drawing artefacts when scrolling
* size the flag to match the size of the list item, which looks much better when
  using a largish default font
* use StringItem::BaselineOffset() instead of manually computed (and wrong) offset
  when drawing the text


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 17:24:27 +00:00
Oliver Tappe
e267238ff1 * add predicate FormattingConventions::AreCountrySpecific()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 17:18:31 +00:00
Oliver Tappe
7ba0381def * add protected accessor for baseline offset to StringItem, as that value is of
interest to derived classes

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 17:17:13 +00:00
Siarzhuk Zharski
fab63078c9 No functional changes. Code style violations fixes. Thanks to Axel for pointing out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 16:56:16 +00:00
Axel Dörfler
4e7d39f00f * Applied patch by hamish to fix layouting the clock.
* This closes #7937, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 16:24:19 +00:00
Alexander von Gluck IV
cd73cccda7 * add a new generic video electronics define,
this seems like it could be useful for more then
  just radeon_hd.
* idea from linux drm driver
* feedback / flames welcome
* can move into radeon_hd private defines if requested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 16:00:45 +00:00
Philippe Houdoin
c3688b17e9 Fix gcc 4.5.2 build (unused static function is now an error).
No functional change, sorry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 14:02:58 +00:00
Philippe Houdoin
d90bbcc813 Fixed in ProcessController the same icon issue than in Debugger's running teams window.
Also get right of the ugly raster default app icon that was still used and visible in
memory & teams/threads submenus.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 13:34:50 +00:00
Philippe Houdoin
dd537d13a8 Followed Ingo's suggestion: use private get_app_ref(). This reduce code duplication.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 13:00:21 +00:00
Siarzhuk Zharski
283db26d5c * FreeBSD compatibility layer for network drivers is modified to handle
NULL-terminated list of driver_t* entries instead of single entry.
  That allows to combine multiple FreeBSD drivers into single Haiku
  driver add-ons;
* Support for DEC 21140 (Tulip) chipsets (provided by the 'de' driver) 
  incorporated into dec21xxx driver. That brings network connectivity to 
  Haiku systems running in MS Virtual PC VMs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 12:45:12 +00:00
Oliver Tappe
5b059ce378 Drop TODO since the commented code doesn't have any effect and nothing else seems to be
missing either.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 10:20:15 +00:00
Oliver Tappe
e32a379a72 Minor cleanup: match indentation level with styleguide.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 10:03:51 +00:00
Philippe Houdoin
727c05a5df Now always retrieve the team icon from the first B_APP_IMAGE image entry_ref.
Using team_info.args as before was not safe: when truncated, the 
entry_ref could be an intermediate folder, which display a folder 
icon as team's icon!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 09:36:19 +00:00
Alexander von Gluck IV
20fbef1e74 * a few additions to the PCI ID list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 02:57:07 +00:00
Oliver Tappe
e621fc3198 * minor formatting cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 20:36:41 +00:00
Jérôme Duval
920e575c03 As suggested by Ingo, revert r42648 and apply patch from Alex Smith provided in #7872. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 20:09:32 +00:00
Oliver Tappe
fefa98aaf8 Translate all regions in Time prefs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 18:38:20 +00:00