Commit Graph

9102 Commits

Author SHA1 Message Date
Michael Lotz
f8dac47aab Add a debugger command to refresh the cached pci_infos from PCI config space.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-07 15:49:13 +00:00
Alexander von Gluck IV
91235829b2 start a const list of common mode timings (mostly vesa); verify refresh rate is sane by calculating it using pixel clock and horizontal/vertical totals
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-06 20:50:05 +00:00
Alexander von Gluck IV
45aa6cb6a2 revert _currentMode back to the way it should be
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-06 20:19:01 +00:00
Axel Dörfler
10dfe8970c * Really, there is absolutely no need to pass the default argument to an
optional parameter...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-06 20:03:15 +00:00
Alexander von Gluck IV
333bd77062 fix naming of static display mode var; make mode sanity check ensure timing settings are sane instead of less-then-useful positive int check; fix silly bug in tracing output (%d vs %s)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-06 19:22:39 +00:00
Alexander von Gluck IV
d1baedd428 simplify and enhance tracing; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-06 16:29:49 +00:00
Alexander von Gluck IV
b95e491de2 undid some of r41334, gDisplayMode didn't make sense as
a pointer (also as written would prob crash); use new mode sanity check on the provided static mode

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-06 05:06:11 +00:00
Alexander von Gluck IV
089bcdeab0 move mode related registers into header file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-05 22:59:39 +00:00
Alexander von Gluck IV
71f51395d6 add header file ifndef guard
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-05 22:55:02 +00:00
Alexander von Gluck IV
d5c3acac3e added header file for mode.cpp; change gDisplayMode to pointer for now; add function to quickly perform sanity check on mode lines; enhance tracing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-05 22:52:17 +00:00
Alexander von Gluck IV
12c25669bf enhance tracing of the radeon_hd accelerant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-05 19:25:18 +00:00
Fredrik Holmqvist
01de6adfba This opens up so many possiblities.
* ACPI module now has a get_possible_resources function.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-05 17:29:37 +00:00
Alexander von Gluck IV
042aefc4ea small bit of style cleanup; added additional checks to see if a battery was damaged or it is just an empty slot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-04 23:12:25 +00:00
Rene Gollent
8a9d5e34fe Patch by Atis Elsts from GSoC 2010 that was overlooked.
- Adds IPv6 fragmentation support and some partial work to enable configuration of IPv6 in net_server. Not currently in the build.
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-28 22:07:39 +00:00
Axel Dörfler
a0bc939256 * Correctly detect Enhanced CDs, and take their extra lead gap into account.
* This fixes bug #3025.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-28 19:28:02 +00:00
Alexander von Gluck IV
67f2df2363 add some R800 cards to known pci ids; implement basic known card type/model storage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-28 18:57:22 +00:00
Axel Dörfler
3b8f747060 Applied cleaned up patch originally by Ziusudra as part of ticket #3473:
* Changed the session module to create an extra session for existing audio
  tracks.
* Let cdda also recognize "audio partitions" as published by the session module.
* If there is only a single session, the session module now gives file system
  drivers the chance to play with the device directly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-28 18:27:12 +00:00
Axel Dörfler
f505da5e20 * Removed two superfluous newlines from debug output.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-28 18:10:42 +00:00
Jérôme Duval
e5937bd21c * fixed typo
* when removing a transfer, if this was the only one in the list, we set fLastIsochronousTransfer to NULL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-27 20:06:28 +00:00
Axel Dörfler
b21e41910b * Write the new Media:Length attribute instead of the old Audio:Length one.
* Use uint64 instead of off_t for the frame numbers.
* Shuffled Volume methods around to match the declaration order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-26 17:15:20 +00:00
Clemens Zeidler
eb32094b24 Fix wrong debug output and disable it, might help with #7448.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 06:53:40 +00:00
Jérôme Duval
bf3381e771 activate some traces for EHCI bus driver (see bug #4718)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 21:25:00 +00:00
Jonas Sundström
73f124eb41 Add highlighting of apps that will not quit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-18 23:44:20 +00:00
Jonas Sundström
22e0bde18b Change strings to sentence casing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 23:45:53 +00:00
Jérôme Duval
745e924303 we don't report stats for now, as some init is missing for ratectl, this should avoid KDL for these drivers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 23:00:33 +00:00
Jonas Sundström
95bd470555 Show localized app names. Show reboot count-down in bold type. Layout changes to support multiline strings, and for this purpose adding a BTextView derivate which enforces its height. (I did look at BTextView itself, but it wasn't obvious to me how approach it.) Making use of the IconView class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 17:48:52 +00:00
Jonas Sundström
924253e4ff Localization. Cleanup.
CID 6338, 6339, 8912 - Replace strcpy with strlcpy.
CID 9523 - Initialize class member.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-12 18:31:07 +00:00
Jérôme Duval
8dc03de632 merged changes from 8.2 FreeBSD release for most wlan drivers and net80211.
updated several firmwares for iprowifi4965 and iprowifi3945. Tested on iprowifi4965 only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 22:48:42 +00:00
Jonas Sundström
fcde0c6292 Cleanup. Removal of superfluous UpdateList() call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 16:55:56 +00:00
Jonas Sundström
4787e491e6 Add a Quit button to the Team Monitor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 15:22:40 +00:00
Jérôme Duval
d7b15506c1 * improves traces
* added _ProbeCommitFormat() and _SelectBestAlternate()
* to be noticed: BUSBInterface::SetAlternate() isn't const and there is no mean to get a non-const BUSBInterface.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 21:54:25 +00:00
Jérôme Duval
c5a669052f * style fixes.
* added SuggestVideoFrame() so that this can be overriden.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 20:59:30 +00:00
Jérôme Duval
d7411ad2ec added traces for unimplemented isochronous transfers for ehci and ohci
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 20:39:17 +00:00
Clemens Zeidler
9b35c5d38d - Generate helper events for ALPS touchpads. This is needed for tap drag and edge motion. This emulates the synaptics touchpad somehow. For example, we need more events to decide if a tap is a
simple click or becomes a tap drag. ALPS does not send these events.
- Enable ALPS.
- Force const edge motion speed. Synaptics sends events with a certain frequency ALPS don't. Even worse ALPS stops sending events durring a edge motion when you don't move your finger. Current 
speed is 200 pixel/s. In theory synaptics has different event frequency modes which would result in a different edge motion speed in the previous approach. Please check if synaptics works/speed is correct. Will try to get a synaptics laptop for testing...
- fix class variable names.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-06 22:14:27 +00:00
Clemens Zeidler
a16bab72a7 Initialize the synaptics cookie again. Not sure but maybe this fixes a crash on startup (if there is an interrupt before the ring buffer is created...).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-06 19:59:10 +00:00
Joachim Seemer
329daa448d Changed a few strings as discussed on the i18n mailing list. Added localization of license descriptions in AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 17:36:39 +00:00
Alexander von Gluck IV
08e39e82f7 add new Write/Read PLL calls to AtomBios callbacks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 17:26:02 +00:00
Alexander von Gluck IV
fde69f1647 stub out Read/Write MC, add functional Read/Write PLL
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 17:21:01 +00:00
Alexander von Gluck IV
4ef919830e clean up superfluous parenthesis and add parenthesis to construct as per axel; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 16:02:54 +00:00
Alexander von Gluck IV
017d6353fb fix missed incorrect tab spacing; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-02 04:31:00 +00:00
Alexander von Gluck IV
2617169152 simple space style cleanup; fix case of bool; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-02 04:29:19 +00:00
Alexander von Gluck IV
1927d0ab3e add basic register read/write to AtomBIOS callbacks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 21:01:11 +00:00
Brecht Machiels
8e9e1577cc * added notify headers to the ACPI header (from actypes.h)
* adjusted acpi_battery accordingly



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 20:14:01 +00:00
Jérôme Duval
0e76cf0b69 added some hub ports information to listusb
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 21:58:06 +00:00
Brecht Machiels
3e59de2e62 Disabled overlay for the IGD series.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 18:09:55 +00:00
Michael Lotz
8c28e64bcd Check some of the previously unchecked error cases when loading firmware. This
makes it abort earlier when no firmware files are available. Note that this
worked some time ago and seems to be an edge case triggering an issue in the
slab allocator. Freeing the buffer (possibly allocated with an invalid size)
in the error case triggered the assert in #6679. That should probably be looked
at, but meanwhile this should close #6679.
Note also that looking for firmware is deliberatly done only at open() time,
since the configured operational mode determines the firmware to be used and
having the firmware loaded later makes the mode easily changeable at runtime.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 21:30:28 +00:00
Alexander von Gluck IV
2e43bcca24 added new Nvidia, Marvell, and Intel AHCI controlers.. please test if you have the hardware
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 21:18:22 +00:00
Jérôme Duval
18451a0c36 Added skeleton XHCI driver by Jian Chiang, based on the specs and the EHCI driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 18:00:30 +00:00
Clemens Zeidler
c152c70b46 - ALPS and synaptics are sharing the same code to generate mouse events now. The movement generation is calibrated on the synaptics touchpad, though.
ALPS movements are fine now, hope the synaptics is still working. Please test! There are still some leftovers form switching from a c struct to a c++ 
class will fix that later.
- Support ALPS devices with passthrough.
- ALPS is still disabled because tap and edge motion is not working yet. The 
problem is that synaptics generates more helper events which makes this a lot
easier to implement. My plan is to emulate this events to imitate the synatics touchpad.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 09:37:40 +00:00
Alexander von Gluck IV
ff37eb80fc enable bios.c in Jamfile; impliment malloc/free/delay Cail callbacks; stub out rest of the Cail callbacks for now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 21:29:11 +00:00
Clemens Zeidler
e637ccf5c1 Reapply the ps2 cpp patch. Thanks Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 08:18:31 +00:00
Clemens Zeidler
79bdca0650 Revert r41129 to get history back.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 08:10:26 +00:00
Clemens Zeidler
5a63a4576e Delete old c files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 02:23:07 +00:00
Clemens Zeidler
278a2b8aaa Making the ps2 busmanager c++.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 02:20:41 +00:00
Jérôme Duval
6ccba002a8 adding more usbvce definitions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 15:21:15 +00:00
Clemens Zeidler
b78920b3f1 Work in progress on a ALPS touchpad driver. The driver is roughly working but disabled at the moment. Its
more or less a copy of the synaptics driver. Next step is to refactor the movement generation and share the 
code with the synaptics driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 08:53:57 +00:00
Alexander von Gluck IV
63f50c210b put AtomParser into header file, clean up var names to match style guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 16:25:59 +00:00
Alexander von Gluck IV
0ceb83958d add first accelerant atombios wrapper sources, atombios is now accessible from accelerant; atombios calls PCI register read/write routines from the main accelerant that need implimented, thus bios.cpp is disabled atm... going to be tricky
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 16:19:25 +00:00
Jérôme Duval
da97b3ed7a support for top to bottom BMP files see #7342
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:28:30 +00:00
Jonas Sundström
560ff4478d Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:13:48 +00:00
Alexander von Gluck IV
f931d8315e make atombios headers available to radeon_hd accel; one small change to atombios to stop Werrors in accelerant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 03:18:44 +00:00
Alexander von Gluck IV
9d9ecaca74 revert last change, disable warnings; this will keep us from having to make any additional modifications to atombios
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 02:05:32 +00:00
Alexander von Gluck IV
2b972a5652 make one time use functions static... this stuff is a mess. Fixes 'no previous prototype' warn->error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 01:32:19 +00:00
Alexander von Gluck IV
682f910a4c reduce changes on vendor sources, reverted and reworked; put Decoder.c back to stock moving define into Jamfile; put single ifdef wraper around un-needed typedefs; Move SubInclude to bottom of Jamfile;
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-24 02:02:02 +00:00
Clemens Zeidler
a647218ee5 Only delete fully downloaded messages on the server! Clean up a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-23 19:13:21 +00:00
Clemens Zeidler
6d9f904958 Take leave mail on server into account. Should fix #7400.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-23 02:02:20 +00:00
Alexander von Gluck IV
e940d6c348 working towards making AtomBios compile under Haiku, almost there
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 23:00:27 +00:00
Alexander von Gluck IV
9ae5efb10b add stock atombios from AMD
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 22:58:26 +00:00
Alexander von Gluck IV
5e89302676 removing atombios and starting clean, after some review I going with Axels suggestion to put it all in the accelerant.. I don't see the radeon_hd driver using AtomBios in the future. sorry for the commit spam
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 22:24:27 +00:00
Alexander von Gluck IV
065dfab8a0 move AtomBios to atombios, move includes to radeon_hd private
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 19:33:47 +00:00
Jérôme Duval
4375e3f99c * changed ERRPRINT macros to ERROR and TRACE
* ntfs log handler wasn't included for Haiku, it should be used to set up a log handler.
* style fix


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 18:42:34 +00:00
Alexander von Gluck IV
57601618e3 add full AMD AtomBIOS Parser from Xorg driver (http://bit.ly/dNXMdh). License is verified open minus AMD copyrights. Will need to remove Xorg specific stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 15:07:49 +00:00
Alexander von Gluck IV
75f51fc787 remove a bunch of leftover Intel extreme registers, add in relevant ATI r600 registers from Xorg driver, remove kATIVendorId from driver and use vendor var from global private header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 21:52:01 +00:00
Alexander von Gluck IV
3ca4651192 added Radeon HD 2600 pciid, resolves #5722
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 20:16:11 +00:00
Jérôme Duval
f2df488aec improves uvc information dump
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 19:32:58 +00:00
Clemens Zeidler
a64bd5649d Write MAIL:name, MAIL:thread and MAIL:account attribute. The account id is now stored in MAIL:account_id. This requires to re-download all mails to write the correct attribute (sorry).
Fixes #7375.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 09:13:12 +00:00
Alexander von Gluck IV
9b3e3604c3 import ATI atombios.h from Xorg driver, the licensing is open as long as the ATI copyright remains in place. atombios.h shouldn't be edited as ATI notes the version at xorg may be periodically updated to reflect changes in new hardware
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 15:34:31 +00:00
Alexander von Gluck IV
09295be8a1 added 4270 PCIID from user submission; corrected R600, R700 series ranges thanks to Xorg Radeon decoder ring
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 14:36:22 +00:00
Alexander von Gluck IV
47ad511f59 pre-work style cleanup; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 18:49:14 +00:00
Alexander von Gluck IV
04de4ed00e added Radeon HD 4200 IGP
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 01:58:31 +00:00
Clemens Zeidler
165991b56a When fetching the message body also fetch the flags in one go. For example, gmail does not send flag change updates. If a message is
marked as read by another client the haiku client at least updates the flags and mark it as read when fetching the body. Thats the way Opera is 
doing it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 04:49:32 +00:00
Michael Lotz
6339610f44 Add a way to override report descriptors with fixed ones based on vendor and
product id. Currently the list only has an example entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 22:21:55 +00:00
Alexander von Gluck IV
89534eeb88 added Radeon HD 3870 IGP, this is also the Radeon HD video card that AMD SimNow Emulates
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 14:20:02 +00:00
Clemens Zeidler
dd64744e69 Check first if the QUOTA extension is available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:24:13 +00:00
Clemens Zeidler
2e20611a4f Hacked in a "used storage on server" status string in the IMAP folder window.
The complete window need some love so do not complain at this stage, feel free to fix it, though :-) (Main problem is to add a cancel button to abort the folder fetch and show an error message, see #7258).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:01:28 +00:00
Clemens Zeidler
86be65dc7a Disconnect connection if login failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:46:01 +00:00
Clemens Zeidler
3f9320c6a2 Add a GetQuota command for the IMAP QUOTA extension.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:12:30 +00:00
Clemens Zeidler
f96f677b90 Fix ExtractBetweenBrackets. It was assumed that the string starts with a bracket, be a little bit more lenient now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:09:19 +00:00
Clemens Zeidler
21b9693bd2 Clear variables after free them. Don't leak fSSLBio. Should help a bit for #7365. Note: the IMAP ServerConnection should be reused for POP3 and SMTP.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 21:20:42 +00:00
Michael Lotz
6e499760b3 * Since the usages of the local state are now processed also for collections
there is no need to do the usage page and usage id handling anymore.
* As this also removes the only use of the global state it is removed as well.
* Try the usage maximum as a fallback as well and print something if none of the
  usage sources are valid and the collection ends up without a proper usage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 20:21:38 +00:00
Michael Lotz
baba9584dd Do the usage preprocessing also for collections. While the collection handles
the conversion, it makes it easier to do it for all items the same. This fixes
the missing initialization of the usage stack as pointed out by caz_haiku in
#7354, thanks for the pointer!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 20:10:01 +00:00
Michael Lotz
6391a79957 * Correct case for long items (didn't matter as no long items are defined).
* Move the main data declaration to where it's used.
* Tiny cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 19:03:42 +00:00
Clemens Zeidler
e3beb7c047 Init ssl variables. Replace "/" in temporary filename. This should fix #7267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 20:32:45 +00:00
Clemens Zeidler
f5753b4af0 Add debug output to debug #7267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 20:17:10 +00:00
Clemens Zeidler
37f85698cf - Fix race condition when start watching a mailbox and directly afterwards stop watching it. A BLooper was not suitable to synchronise start and stop watching. Wait till the IDLE command is send before returning the SyncAndStartWatchingMailbox method now. That ensures that a later StopWatchingMailbox call find the maibox in an expected watching state.
There is one thread (BLooper) to handle new commands and one watcher thread which is just listening at the server port for updates. The race condition occurred for example when a sync/watching and a fetch body message are send to the looper. The sync message just triggered the IDLE command in the watcher thread. In the meantime the fetch body command send a DONE command, because the IDLE command has not be send at this time the watcher keeps watching. 

- fix int32 -> ssize_t thanks Axel and Stippi
- clean up



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 20:13:54 +00:00
Alexander von Gluck IV
b4725a13b7 fix another possible passing of unsigned int into a function requiring a signed int, CID 10665
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 21:44:36 +00:00
Clemens Zeidler
8b254785bb The IDLE watching command is supposed to timeout after 29 min if nothing happens. Add an mechanism to not treat this timeout as an
error.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 01:31:33 +00:00
Clemens Zeidler
7aafe6e5e7 There could more then one message fetch failing, count them to notify the listener.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 22:22:36 +00:00
Clemens Zeidler
f686f2f564 Cleanup the ongoing commands when disconnect otherwise we wait for them forever the next time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 22:18:27 +00:00
Alexander von Gluck IV
160de9e03d overzealous close bracket, thanks Oliver for catching it!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 16:51:29 +00:00
Philippe Houdoin
26b61bd984 Clean wrong spacing, as spotted by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 16:17:22 +00:00
Philippe Houdoin
0ceae11007 Remove leftovers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:49:31 +00:00
Alexander von Gluck IV
3cd1b88812 fix possible passing of signed int to function that only receives unsigned ints, CID 3491
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:27:42 +00:00
Philippe Houdoin
9f76097f9e Add WebP write support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:27:33 +00:00
Philippe Houdoin
463c0d1e8d Upgrade to latest libwebp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:26:16 +00:00
Alexander von Gluck IV
d4167620d8 quick bit of style cleanup, no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:22:46 +00:00
Clemens Zeidler
548402bb7c Close the status window again when an error occurred durring a message fetch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 03:09:41 +00:00
Alexander von Gluck IV
28ff2040e9 myself and #c++ think this really doesn\'t do anything good, removing to ensure the Beceem Wimax driver compiles under gcc2... also removes a warning on gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 21:33:57 +00:00
Alexander von Gluck IV
17202e2f0f add newlines after case breaks to enhance readability
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 18:30:16 +00:00
Alexander von Gluck IV
4b7b79d52f fix a few missed style corrections in BeceemCPU; style cleanup in BeceemDDR; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 18:26:19 +00:00
Joachim Seemer
044f12ae62 Localization of screensavers. Fixes #7326.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 16:42:58 +00:00
Alexander von Gluck IV
e0728fa558 BeceemCPU style cleanup, little functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 15:54:37 +00:00
Jérôme Duval
0f4ab8dfd3 Comparing with i915 DRM:
* add a INTEL_TYPE_915M type to be used by 0x2592 (mobile version)
* 0x2e32 is actually non mobile, added its brothers 0x2e02, 0x2e12, 0x2e22, 0x2e42, 0x2e92
* 0x27a2 is actually mobile.
* added 0x2972, 0x2982, 0x2992 for INTEL_TYPE_965 type, and 0x2a12 for INTEL_TYPE_965M.
* added corresponding entries in intel_gart.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 11:57:20 +00:00
Clemens Zeidler
13ee057787 Fix spelling, thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 09:41:11 +00:00
Clemens Zeidler
f5a2f7b79d Set progress after the body has been fetched. This fixes #7255.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:49:00 +00:00
Clemens Zeidler
8c018efae7 Add some check if we are still connected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:42:20 +00:00
Clemens Zeidler
faad334022 Fix endless loop when try to logout and the connection is already lost.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:36:45 +00:00
Ryan Leavengood
8a99b1dc31 Apply patch from stimut to avoid a C++ exception in the JPEGTranslator.
Should fix the remaining issue on #6975.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 03:21:53 +00:00
Philippe Houdoin
7703b15314 Those should have been part of r40791. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 14:07:57 +00:00
Philippe Houdoin
662c94f6c4 Reorganized to follow libwebp source layout.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 13:27:41 +00:00
Jérôme Duval
e523d3cfc1 changed ioctl hook return code when the opcode isn't supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:49:02 +00:00
Jérôme Duval
f53ec236e2 changed ioctl hook return code when the opcode isn't supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:24:19 +00:00
Alexander von Gluck IV
c0467a9613 fix two missed style issues in switch, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 22:27:28 +00:00
David McPaul
0df942b65c Use multiplication instead of shifts and adds. Include SSSE3 routine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 21:32:01 +00:00
Alexander von Gluck IV
ea76002c38 style cleanup; fixed missing break on i2c disable check... it looks as though i2c was always enabled, even on chips where it was known to be broken. Lets hope this fixes a radeon graphics bug. CID 3234
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 19:26:35 +00:00
Clemens Zeidler
8e4e1a2880 Reset status view when fetch failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 03:19:15 +00:00
Clemens Zeidler
8209ab9c98 Hopefully handle cases when the connection to the server is lost. This should trigger a reconnect.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 23:16:57 +00:00
Clemens Zeidler
78e0108c39 google expunge all deleted flagged messages automatically but some server keep them and EXPUNGE has to be executed explicit. Add the infrastructure for expunge but don't use it for now. The problem is that with each expunge all messages are deleted and calling expunge each time when a mail is deleted would delete messages in a virtual trash folder on other clients. Have to think about how to deal with it first. So it might be that you delete a message and the message will be downloaded again when you sync the next time (but the message is flagged as deleted).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 08:27:23 +00:00
Clemens Zeidler
093a895c3f Very bad idea to not add kDeleted flagged mails to the message list since the position in the list is used as a message id. The result was that the server synced the wrong messages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 06:44:37 +00:00
Siarzhuk Zharski
3bd9bbd5d4 I suspect, that the "application/" prefix is not required here.
I remember there was a ticket about the localization problem in one of 
this components. I'll look for it tomorrow and close them all. If I'll find them.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 22:44:21 +00:00
Siarzhuk Zharski
0e7ade19b4 Looks like any \-shadowed characters in comment string of
the B_TRANSLATE_WITH_COMMENT macro are misinterpreted by our
localization routines. I fix this one, because it provocate
permanent fingerprint check failure during catkeys link procedure.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 11:19:50 +00:00
Stephan Aßmus
4153964a10 Moved IconUtils.h to Interface Kit and therefor made it an "official" header. Since the class has no
virtual but only static methods, it is not so likely that binary compatibility issues may arrise
from using it in new apps. Adjusted all the Jamfiles that included the private libicon headers. Note
that it was never necessary to link against libicon.a, since it's part of libbe anyway. There was one
instance where that was done. Hopefully it does not break the build, but I did this change a while ago,
tested it and then the harddrive began failing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 09:12:38 +00:00
Jérôme Duval
70e1a40a1d replaced use of malloc.h with stdlib.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:33:12 +00:00
Clemens Zeidler
5b1fc2da98 Use the correct descriptor size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 04:57:56 +00:00
Alexander von Gluck IV
4f882add11 remove legacy haiku-networkingkit-cvs and fix HaikuInstall path (although its not used anymore)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 18:47:33 +00:00
Jonas Sundström
6e9c6db2e9 Unsafe use of strncpy replaced by strlcpy. CID 2214.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 02:54:16 +00:00
Clemens Zeidler
73da57481b - Don't download messages flaged as deleted.
- Set watching variable when leaving the watching method.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 02:25:22 +00:00
Jérôme Duval
b62dd5abd5 cleanup, header inclusion should be revisited.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:39:09 +00:00
Jérôme Duval
1cc2cf286c Switched attribute type to B_XATTR_TYPE, as recommended by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 17:34:56 +00:00
Philippe Houdoin
3f2a0963f6 All debugger commands we've added, remove we must.
Closes #7251.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 13:27:00 +00:00
Clemens Zeidler
4ee7dfd971 Write status attributes correctly again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 23:10:19 +00:00
Stefano Ceccherini
03683e642c Fixed the 10Mbit speed as noticed by Philippe.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 13:13:23 +00:00
Stefano Ceccherini
7920b5579c Style fixes, notably the pointer style and struct keyword used
iconsintently.
Respect the 80 columns limit, update copyright, used calloc instead of
malloc.
No functional changes (hopefully)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 13:11:24 +00:00
Stefano Ceccherini
8fbb452a31 Winbond 840 NIC driver: implemented link status api (tested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 08:47:43 +00:00
Clemens Zeidler
9967dfd924 - Extend MarkMailAsRead to take a flag not only a bool value. Write an additional MAIL:read attribute.
- Remove some hard coded paths.
- Catch failure of FindMessage correctly. Thanks Axel.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 07:24:29 +00:00
Clemens Zeidler
ba11c28b6b Fix crash in imap config view. Remove hard coded path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-21 07:19:24 +00:00
Joachim Seemer
922f48327f With these changes the add-ons now sport a MIME type, which has been missing before and was complained about by the LocaleKit in the syslog before. It still won't find the catalog, however... See ticket #5594.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 17:25:43 +00:00
Siarzhuk Zharski
1da233a71f Yet another localization fix in Data Translators.
Partialy fixes #7129.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 12:15:28 +00:00
Clemens Zeidler
ee1568cb41 Also add IMAP body fetch status message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 08:15:24 +00:00
Clemens Zeidler
65598ac67b Fix POP3 fetch header status view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 07:53:57 +00:00
Clemens Zeidler
7ab6cb9ac5 Copy sent mails to /boot/home/mail/sent. Hope that makes more clear if a mail should be send (in out folder) or already has be sent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-20 03:54:28 +00:00
Siarzhuk Zharski
2e49ff35c5 Fixing localization of JPEG and JPEG2000 translation add-ons.
Partially fixing #7229.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-19 22:28:42 +00:00
Alexander von Gluck IV
1b53751478 no functional change; header copyright correction; more spacing/line-length cleanup, yes there a lot more to go
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-18 20:30:05 +00:00
Jérôme Duval
59158a8e1f This fixes writing correct times, which I miss in the previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-17 06:15:01 +00:00
Jérôme Duval
ab7d0f0202 Fixed incorrect dates on ntfs volumes (#7120).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-16 18:23:10 +00:00
Alexander von Gluck IV
e7e0c4a4bf radeon_hd: small style header style fixes as per axel-- networkSetup: prevented enable/disable button from hiding; disable configure button if interface is disabled; add configuration mode dropdown (auto(dhcp)/static); make address fields disable (with curent settings shown) if auto-config is selected; style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-15 20:24:49 +00:00
Rene Gollent
d6a17b61aa Slight simplification, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 23:48:32 +00:00
Clemens Zeidler
13a19d84df Fix #7181. The active set solver can only handle positive values and the offset was not added everywhere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 21:45:44 +00:00
Alexander von Gluck IV
ea23d8ecd6 no functional change/header cleanup; ensure new network preflet has correct Haiku, Inc identifier as per mmadia; correct questionable header within radeon_hd driver, gave credit to czeidler where it was due.. not perfect but better
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 21:25:24 +00:00
Oliver Tappe
ad6a8dbe2b Pulled reusable stuff from PackageReaderImpl into new class ReaderImplBase.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 13:09:09 +00:00
Alexander von Gluck IV
47ee873768 small cleanup of radeon_hd device IDs... quite a mess
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-14 02:40:51 +00:00
Clemens Zeidler
55db88b7f4 Fix POP3 mail status #7216.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 23:15:14 +00:00
Clemens Zeidler
ad5bef4500 Use quotation marks around mailbox names. Maybe fix #7214.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 22:23:08 +00:00
Jérôme Duval
cdd1c5c679 added additional power states
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-13 21:10:30 +00:00
Oliver Tappe
33bc4425be Largish adjustments to PackagerReaderImpl and package attribute
handling:
* package attributes are now compatible with the low level attribute
  handling of other HPKG attributes (such that 'package dump' now shows 
  package attributes, too)
* dropped type names from hpkg format, the attributes were identified
  by IDs already and this simplifies the code considerably. Type names
  are now handled in BLowLevelPackageHandler only.
* instead of rolling their own mechanism, high-level package attributes 
  handling is now implemented via a corresonding set of 
  AttributeHandler-subclasses
* adjusted package writer to only write package attributes that are
  needed (empty ones are left out)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-12 19:21:37 +00:00
Axel Dörfler
5ebd954871 * Fixed ignoring the netmask when computing the broadcast. Renamed a few
variables to make the function a bit clearer, hopefully.
* Fixed the wrong order of releasing the reference, and removing the object
  from the hash table -- thanks Rene!
* Added a bit of documentation to InterfaceAddress::Prepare().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 23:04:25 +00:00
Axel Dörfler
b0766602db * RemoveAddresses() needs to remove the addresses from the hash table as well.
This fixes random memory access on interface removal.
* Optimized IndexOfAddress() for NULL addresses.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 20:21:03 +00:00
Axel Dörfler
b18832d423 * Only return the first address of the family if there was no address specified
in the request.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 20:19:08 +00:00
Axel Dörfler
4ae5863038 * Allow duplicates in the sAddressTable hash table; while it makes no sense to
have duplicates there, it should certainly not panic.
* Do not add unspecified addresses to the hash table.
* The result of adding the initial address of an interface was ignored; now, the
  interface is correctly destructed, if necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 19:36:15 +00:00
Joachim Seemer
26143717a4 Forgot to add those rdefs in last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 19:24:24 +00:00
Joachim Seemer
1852df380e Added localization for disk_system add-ons which impact DriceSetup. I hope everything's OK, I ran it by DeadYak and PulkoMandy. Thanks guys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 19:22:50 +00:00
Jérôme Duval
e44c723193 Improved DataStream::FindBlock() to return big extents instead of single blocks. This really speeds up the get_file_map operation for big files.
Thanks to Stephan for reporting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-11 18:13:21 +00:00
Clemens Zeidler
7c03514cad Initalize array for reading the uid string attribute. More cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 23:42:27 +00:00
Clemens Zeidler
a24bc8d9a3 Remove debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 21:48:18 +00:00
Clemens Zeidler
3d2622c790 Fix partial download limit. Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 21:46:41 +00:00
Jérôme Duval
ce9fdaeae4 * takes into account volume label
* clean up
* directories don't seem to have a valid contiguous flag, fixes directories with many files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 19:49:12 +00:00
Jérôme Duval
1ab9f3da33 gcc4 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-10 18:47:21 +00:00
Clemens Zeidler
079e5c8bc9 Use declarations form MailAddon.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 23:26:38 +00:00
Clemens Zeidler
a68750c1ac Fix spelling and potential deadlock.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 22:22:26 +00:00
Clemens Zeidler
b985151b34 At least in vmware it takes longer to read the local files then the remote list. Add a status message for that.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 22:17:54 +00:00
Clemens Zeidler
81d1d0e504 To sync the mailbox a thread is started which reads the local files while in the parent thread the id list from the server is fetched. To sync both threads a BLocker was used. BLocker does not block when locked from the same thread so use a semaphore now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 22:11:50 +00:00
Jérôme Duval
245df7abd3 added exFAT partition type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 20:30:00 +00:00
Jérôme Duval
e74e90aef9 * Implemented a read-only exFAT file system, tested with a 4GB image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 20:08:48 +00:00
Clemens Zeidler
294da6bff9 Belongs to the last commit, sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:44:59 +00:00
Clemens Zeidler
37d898f0b6 Fix coding style. Thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:18:13 +00:00
Oliver Tappe
0d68f6afb3 Implemented repository writing:
* fleshed out RepositoryWriterImpl
* renamed BRepositoryHeader to BRepositoryInfo (in accordance with
  BPackageInfo)
* adjusted BRepositoryInfo to be able to parse itself from a
  driver_settings file
* added package_repo binary (only 'create' works as of yet)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 19:11:23 +00:00
Clemens Zeidler
2cec29dba0 Remove unused system_filters directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:55:00 +00:00
Clemens Zeidler
dc2577cf2d Map one or more server mailboxes two a local directory. All subscribed mailboxes are fetched automatically and populated under the root account folder. On startup the local copy is synced with the server, means all local changes are rejected. (We should think about store offline changes and apply them when online)
Also the read flags are synced with the server. This makes it easy to have the same mailbox state on different machines.

Messages could be deleted by delete them form the folder (not when moving them to trash) This maybe needs some more thoughts but its a save solution. One problem with moving it to trash is that you also want to have the option to restore it again. If it is a header only messages and you delete it from the server you lose the body part. Complete messages could theoretically be append to the mailbox again when restoring the mail form trash. Append is commented out though...

An solution for the delete problem would be to move the message to a trash folder on the server. Moving mails on the server is not implemented yet, though.

You can subscribe or unsubscribe to a mailbox using the imap pref panel. The settings are written to the server and are not stored locally.

Add some helper classes which could also be used for POP and SMTP:
ServerConnection: abstract ssl or socket connection
ConnectionReader (still a bit IMAP specific but could be easily separated IMHO): read complete lines or a bunch of data more efficient. Old implementation did it byte by byte, this class read data in bunches and buffer the left over for the next request...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:54:18 +00:00
Clemens Zeidler
d26fee1afb Switch to the new MailProtocol and account API. Lot of other smaller adaption to the new mail server.
Remove button in the pref app removes the complete account because we don't have separate chains any more. The pref app stays a mess, needs some layout love! (I did it even look worse...)

The new account/mail settings classes know if they have been changed but the current pref panel does not use this feature very well. It always mark the settings as modified when the settings view is displayed or more precise when the settings view is detached from the pref window, this could be optimized. The according mail protocol is completely restarted when their settings changed.

Some system filters are now directly integrated in the mail protocols. Hopefully make things easier to understand.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-09 01:52:30 +00:00
Alexander von Gluck IV
5e20ca5652 ati really isn't that extreme; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-08 00:15:13 +00:00
Alexander von Gluck IV
76aa5cf82a added a better list of pci Radeon HD cards to the radeon_hd driver skel; fixed misplaced spaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-07 22:53:56 +00:00
Jérôme Duval
a19d237fcf Patch proposed by mt and Karvjorm: use B_TRANSLATE instead of B_TRANSLATE_MARK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-07 22:08:41 +00:00
Alexander von Gluck IV
04249af074 style cleanup; tab fixes; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-05 16:59:02 +00:00
Siarzhuk Zharski
70d5966963 Applied following patches proposed by Jorma Karvonen:
#7135 #7140 #7141 #7145 #7186 #7188 #7191
	#7136 #7187 #7184 #7185 #7192 #7138 #7139

 with some changes and exclusions:
	- all attempts to localize "fprintf(stderr,..." and "printf(..."
	  replaced by _untranslated_ "syslog(LOG_ERR ...";
	- following *Translator.rdef files, that were not added in mentioned patches
	  were additionally created:
		SGI, TIFF, RAW, RTF, PPM, WebP, EXR, STXT, WonderBrush, GIF, TGA;
	- some small fixes for consistent catalogs building.

Thank you, Jorma! Please check. ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-04 22:16:02 +00:00
Oliver Tappe
6f0278cdc9 Implemented reading of package info attributes from hpkg file
* added kernel-compatible datatypes for reading package info attribute 
  values (PackageInfoAttributeValue.h) - these will be used at a later
  stage by the package-fs to transport those attributes to userland
  when asked to do so (by ioctl)
* implemented parsing of package info attributes in PackageReaderImpl
* added support for compressed package attribute section to 
  PackageReaderImpl
* completed the writing of package info attributes in PackageWriterImpl
  and fixed a couple of bugs exposed by parsing
* adjusted 'package list' to show the package info attributes as they
  are found


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-04 17:43:07 +00:00
Jérôme Duval
26a912cd34 cleanup, added uvc descriptor structures, work in progress.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-03 20:37:41 +00:00
Jérôme Duval
d40b4e0f3b the object to be rewinded is actually a AttributeIterator instance. Thanks to Stephan for pointing out!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-01 17:20:15 +00:00
Jérôme Duval
886d6531a6 forgot to add B_FS_HAS_ATTR when adding attribute support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-31 19:55:58 +00:00
Jérôme Duval
956f541d96 added read only attribute support for btrfs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-31 19:16:14 +00:00
Oliver Tappe
15a5c3f7d9 * follow hint by Axel: drop FDCloser and use shared class
FileDescriptorCloser instead


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-31 09:40:37 +00:00