Commit Graph

31736 Commits

Author SHA1 Message Date
Michael Lotz
ace6934d79 While the AutoLocker is not public at least make BAutolock a bit more useful by
also providing Lock() and Unlock(). Applied public header style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 01:00:23 +00:00
Jonas Sundström
290c903985 Partial clean-up. Asterisks and k-prefix constants.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 23:42:31 +00:00
Rene Gollent
230cb1a285 Patch by Matt Madia:
Update BeZillaBrowser to 2.0.22pre + several performance improving patches.
	
Closes ticket #4666.
s


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 23:27:30 +00:00
Jonas Sundström
e36a1b58e6 Set Tracker preferences background app flag, to avoid flashing by in Deskbar. (It quits right after having asked Tracker to shows its settings window.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 22:05:31 +00:00
Jonas Sundström
21f3e082b1 Moving Deskbar options to a dedicated preferences window. Adding a preference application that simply tells Deskbar to open that window. Adjusting default settings Recent Folders from off to 10, and Auto-raise from on to off.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 21:47:45 +00:00
Adrien Destugues
920de8e31b Added russian locales done by Gneva StoroZ. I hope I did not mess the encoding conversions (can't check, I don't know russiant :)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 21:36:48 +00:00
Adrien Destugues
408d098332 Patch by Colin Günther to improve german translation. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 20:52:02 +00:00
Oliver Tappe
f2a4cb29e1 * fixed a couple of warnings about TR_CONTEXT being redefined.
It is good practive to #undef this before every definition,
  due to how the ExtractCatalogEntries jam-rule works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:58:51 +00:00
Stephan Aßmus
0d77f605b5 Updated comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:39:37 +00:00
Stephan Aßmus
bf38341488 * Use the block-alignment from the codec context as the buffer size suggestion.
The audio decoding in AVDecoder needs this to work at all.
* Set the infoBuffer and infoSize correctly in GetStreamInfo(). At least this
  is what I extract from what the AVDecoder expects.
* Use a slightly more precise timeStamp calculation in the Seek() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:37:22 +00:00
Rudolf Cornelissen
cc04faa6c1 DAC2 load detection isn't available on G73. Also fixed a comment typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:36:44 +00:00
Stephan Aßmus
967fcd2c41 Sorry, this was supposed to be part of the last commit...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:32:41 +00:00
Stephan Aßmus
ed4313bca9 * Improvements in tracing.
* Added TODO about a probable mix-up to use the media_format meta data
  because the FFmpeg Reader plug-in forgot to set the info-buffer correctly
  from GetStreamInfo().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:31:52 +00:00
Stephan Aßmus
bcc4e4bb37 We should only swap the FOURCCs on little endian machines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:29:05 +00:00
Oliver Tappe
72954871c4 * updated optional package Beam
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:17:50 +00:00
Michael Lotz
c91bc0e189 Style cleanups, spacing, pointer style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 14:12:08 +00:00
Michael Lotz
49714746f2 Space indent -> tab indent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 14:08:39 +00:00
Oliver Tappe
73ce611089 fix build of Locale preflet:
* fixed typo and "correction" in de.catkeys (it is not
  possible to change the english base text this way - it
  will corrupt the catalog instead, as the fingerprint
  will no longer match)
* fixed typo in LocaleWindow.cpp and adjusted the existing
  catkeys accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 13:45:06 +00:00
François Revol
858a20cab8 Patch by Vincent Duvert:
Remove the 4 cores limit at boot, and fix the allocator to handle 8 cores.
There are still performance problems, but this allows booting with 8 cores.
WARNING: since this changes x86 platform kernel args, you really don't want to update haiku_loader and kernel_x86 separately!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 13:07:10 +00:00
Adrien Destugues
90a4f23370 Added german locale for locale preflet. Done by Leszek. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 11:48:21 +00:00
David McPaul
3ee503c218 increase default buffer frames to fix ticket 4656
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 10:40:19 +00:00
Stephan Aßmus
885513f0a0 Apparantly, FFmpeg has lock management now, and from the tracing, it is indeed
used. Spotted this on the libav*-user mailing list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 09:04:05 +00:00
Stefano Ceccherini
ea40a61a84 Some big changes, still not working on my laptop, since hpet interrupts
aren't routed correctly over the 8259, it seems.
- Removed passing the hpet_regs around, since there's a static variable.
- Added lots of debug dprintfs.
- Fixed setting the timer interrupt to edge
- Timer is initialized once.
- Use the timer 0 instead of 2.
- Renamed register definitions to be more readable
- Use 64 bits registers and unions where applicable.
- Other things I don't remember


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 08:36:36 +00:00
Rene Gollent
02c89a146b Fix some more style violations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 02:07:33 +00:00
Philippe Houdoin
b501083349 Update theora to latest v1.1, which improve performance and quality.
Untested yet...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 00:37:35 +00:00
Philippe Houdoin
ebbc6d886d Add 0x07d1 / 0x30c5 as an alternate vendor id/device id pair for D-Link DUB-E100
hw rev B1, as some early versions use D-Link System vendor ID (0x07d1), 
others use D-Link Corp. vendor ID (0x2001)...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 23:02:30 +00:00
Adrien Destugues
6bf3fe1f2e Fixed handling of \xNN in strings. This way it is possible to translate a string even if there is a B_UTF8_ELLIPSIS or some other weird char in it. Improves the bluetooth preflet translation :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 21:39:49 +00:00
Adrien Destugues
e6b7213cc2 -Fingerprint checking now use a simple sum of the hash values, instead of the adler32 algorithm. This allows to match a catalog even if, due to the hashmap instanciation, it is not iterated in the same order. Updated all the existing catkeys files to match this new system.
-As the fingerprint is now fully working, all catkeys fingerprints are now checked, and if they don't match, the build will fail.
-This helped find an error in the Locale Preflet french catalog. It now works again.
-Usual set of cleanups and small style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 20:08:53 +00:00
Adrien Destugues
6e970433e5 Added german localization file for appearance panel, done by svend. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 17:55:36 +00:00
Stephan Aßmus
8a5e590d5e Work based on a patch by Joshua R. Elsasser:
* Some key-sequences cause \0 chars in the "bytes" data which is supposed to
  be passed to BView::KeyDown() and BView::KeyUp(). Therefor, one cannot use
  string methods for adding/extracting the data to/from the events. For
  example, Control-Space now works in the Terminal.

Thanks a lot for the original patch, Joshua!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 17:13:31 +00:00
Rudolf Cornelissen
1973e58137 added recognition for GeForce 6100Go (id 0x0247). This hopefully fixes bug #4670.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 17:03:17 +00:00
Rene Gollent
fede65ad8d Fix style violation. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 14:24:28 +00:00
Stephan Aßmus
6a662d0602 Fixed a GCC 4 warning, and I think it pointed out a mistake indeed, probably
rebooting via pressing Ctr-Alt-Del twice did not work. (But I didn't test)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 14:19:53 +00:00
Stefano Ceccherini
8593bcad87 Use the hpet defines in the source.
Also shortened some defines using "TN" instead of "TIMER". It's also
the same scheme used in the specs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 13:14:16 +00:00
Stefano Ceccherini
1d958a301e Moved the "disable APIC" menu(s) to smp.cpp.
Also only enable them if there's an APIC.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 09:42:59 +00:00
Rudolf Cornelissen
1c750281d6 verified that load detection doesn't work on dac2 on G71: so disabled this there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 08:22:09 +00:00
Stefano Ceccherini
6e53324663 Added more HPET defines, not yet used in the source.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 05:10:43 +00:00
Ingo Weinhold
ac106be534 Inherit the disable_debugger() flag to a fork()ed child. load_image() doesn't
-- I'm undecided whether it should, too. Fixes #4642.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 02:54:38 +00:00
Ingo Weinhold
23338ed551 Added -f/--fork option to test inheritance of disable_debugger().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 02:51:56 +00:00
Rene Gollent
fd09bcb070 Add Joshua R. Elsasser to contributors list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:30:38 +00:00
Rene Gollent
77ad96c013 Patch by Joshua R. Elsasser:
Implements DA, reporting that the terminal is a VT102.
	Implements DEXREQTPARM, reporting the same parameters that xterm does.
	Fixes DSR 6 to actually report the position of the cursor.

Resolves ticket #4659. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:30:17 +00:00
Rene Gollent
630426d679 Patch by Joshua R. Elsasser:
Implement correctly handling tab stop escape sequences.

Resolves ticket #4657. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:23:45 +00:00
Rene Gollent
138343f4f8 Patch by Joshua R. Elsasser:
Implement DECALN escape sequence.

Resolves ticket #4658. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:20:19 +00:00
Rene Gollent
4c8f11fed4 Patch by Joshua R. Elsasser:
Fix another pair of Terminal scrolling bugs.

Resolves ticket #4655. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:03:57 +00:00
Adrien Destugues
08fc7d6e1c -Removed the two translations in the "About" alert as they make the locale kit crash in some way. I'll try ot reproduce that, but for now, it makes the bluetooth preflet more stable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 21:46:22 +00:00
Adrien Destugues
0a255c0c6a Cleanup of the locale kit tools :
-Jamrule for collectcatkeys no longer print all the strings, only a message when it can't parse one (happens for TR(variable) basically)
-Added fingerprint check in the plaintext catalog ReadFromFile. However, the adler checksum is different each time the catalog is loaded because it relies on the string being iterated always in the same order, but this is not always the case with an HashMap ! Some rethinking is needed, so disabled the check for now so it does not breaks the build
-Some try to debug the bluetooth preflet localization. Still buggy, but I wanted to commit all this mess before I break everything up again.
-Also sorted the fr.catkeys files to be in the same order as the autogenerated en.catkeys (this is useless but makes them easier to check) and updated their fingerprint even if they are still not checked.
-Miscelaneous style fixes, small bugfixes, more error checking and error messages saying where they come from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 21:19:52 +00:00
Oliver Ruiz Dorantes
61da62d0e3 Implement/Fake a temporal SDP server, to allow pairing of devices
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 19:09:13 +00:00
Oliver Ruiz Dorantes
a58b3b3235 Implement a bit further the sockets interface
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 19:07:24 +00:00
Rene Gollent
ae29b1c3c2 Patch by Joshua R. Elsasser:
Implement origin mode.
    Save origin mode and text attributes when saving the cursor.
    Have RI respect the scroll region.
    When erasing the screen actually erase the screen, not just the scroll region.
    Implement all three variants of the EL (erase line) sequence.

    Thanks! Resolves ticket #4652.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 15:54:02 +00:00
Stephan Aßmus
8ea060d47f patch by Joshua R. Elsasser: (ticket #4651)
* Fixed upward scrolling of a partial screen which is anchored at line 0.

Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 09:26:01 +00:00