Commit Graph

28185 Commits

Author SHA1 Message Date
Jonas Sundström
dca191e9b7 Partial clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 23:39:57 +00:00
Axel Dörfler
abf272eedb * Cleanup, looks better this way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 19:40:52 +00:00
Axel Dörfler
6e48ebf446 * "next" & "previous" could be NULL, but were still referenced - based on
Oliver's patch for bug #4896 which this one fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 19:29:24 +00:00
Ingo Weinhold
59ea286fac * EnumerationValue -> EnumeratorValue
* Since some types don't have names (e.g. pointer types or anonymous structs or
  unions), each type does now also have a unique ID. The global type cache
  registers types by ID and by name (if they have one). This fixes clashes of
  types with empty names.
* Completely refactored the code dealing with variable values. Formerly we had
  Variable and TypeComponentPath to navigate to a component, mapped to a
  BVariant representing the value. Now we have:
  * Interface Value with various subclasses (BoolValue, IntegerValue, etc.) to
    represent a value, with the flexibility for more esoteric values.
  * A tree of ValueNode+ValueNodeChild objects to represent the components of a
    variable. On top of each ValueNodeChild sits a ValueNode representing the
    value of the component, potentially having ValueNodeChild children. This
    should allow casting a component value, simply by replacing its ValueNode.
  * Interface ValueHandler and various implementations for the different value
    types. It is basically a factory for classes allowing to format/display a
    value.
  * ValueHandlerRoster -- a registry for ValueHandlers, finding the best one
    for a given value.
  * Interface TypeHandler and various implementions for the different type
    kinds (primitive, compound, address, etc.). It is basically a factory for
    ValueNodes for that type.
  * TypeHandlerRoster -- a registry for TypeHandlers, finding the best one
    for a given type.

  That's still a bit work in progress. It introduces at least one regression:
  The VariablesView doesn't save/restore its state anymore. Will take a while
  until that is added back.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 18:15:21 +00:00
Ingo Weinhold
173227dd53 Added SetIndexAt(), replacing an existing index.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:50:37 +00:00
Ingo Weinhold
7d4508b161 Utility class to format integer values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:39:09 +00:00
Ingo Weinhold
c9d768d913 Interface and implementation for simplifying editing of Settings via a menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:35:08 +00:00
Ingo Weinhold
4924e2e9ae Classes to describe settings in a generic way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:32:16 +00:00
Ingo Weinhold
76d24e95aa Ugh, forgot to check this in quite a while ago:
If the view doesn't have a tool tip, pass the B_MOUSE_IDLE to the next handler,
so the parent view can show a tool tip. This makes tool tips in a column list
view possible (or at least reasonably easy).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:29:32 +00:00
Ingo Weinhold
be350af3d9 Added methods AddToMessage() and SetFromMessage() to add the value of the
variant as a field to a message, respectively initialize the variant from
one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:24:58 +00:00
Ingo Weinhold
6309d64e37 Added support for mouse down/up events in [Tree]TableListener.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:22:14 +00:00
Ingo Weinhold
f56fa21bdb Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:20:33 +00:00
Ingo Weinhold
239222b236 * Moved everything into the SymbolPatcher namespace.
* Several fixes to get things building with gcc 4.
* Changed lookup of the _GLOBAL_OFFSET_TABLE_ symbol. It is hidden and static
  and get_image_symbol() doesn't find it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 17:16:17 +00:00
Axel Dörfler
cf5f64c103 * cdda did not send any node monitoring updates, confusing Tracker when renaming
files.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 13:56:02 +00:00
Axel Dörfler
f40c5e3211 * common_rename() now checks the name for validity before passing it on to the
file systems, so those checks don't have to be duplicated there, anymore.
* Minor cleanup, mostly automatic whitespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 13:03:06 +00:00
Axel Dörfler
a63c61839e * The InfoWindow's name text view is now using DisallowFilenameKeys() as well.
* DisallowFilenameKeys() no longer forbids the ':', as there is no reason to do
  so.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 12:37:43 +00:00
Axel Dörfler
f4ee0103a2 * Replaced ENABLE_DEBUGGER_COMMANDS with ENABLE_STATS.
* Added new ENABLE_DEBUGGER_COMMANDS that enables the new "net_buffer" KDL
  command to dump a net buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 11:40:33 +00:00
Axel Dörfler
a10ac91f6d * NewBlock(), and Allocate() will now try to reuse existing memory in low
resource situations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 11:14:12 +00:00
Axel Dörfler
a5758caa7e * Changed the default color of the block cache memory usage source.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 11:13:04 +00:00
Alexandre Deckner
3904801c31 * Fix many style issues. Quaternion and Vector3 still show some of their foreign
origin. Yes.. shame on me, i had even imported their non unix line endings :)
  Will make them BCitizens soon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 09:37:45 +00:00
Alexandre Deckner
ae762f316d * Add multi file/directory support
* Refined some rules to not include the new-line
* Added 'windows line ending' rule
* Enhanced the html output, not an expert there though



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 03:23:50 +00:00
Jonas Sundström
eb32e334f8 Opening Backgrounds on/in a folder was broken, now fixed. Layout-rewrite of parts of the GUI. Rewrote the monitor drawing to fit the layout, for better or worse. Clean-up will follow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-05 00:47:27 +00:00
Fredrik Holmqvist
66db0536d2 * Mostly format cleanups and comment clarifications.
* Corrected AcpiOsReadable and AcpiOsWritable to always return true in kernel and to better check bit flags otherwise.
* Removed comment about implementing acpi object cache with slab (object_cache). ACPI's own is simple, light and nice enough.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 22:18:13 +00:00
Oliver Tappe
bd34734f11 fixed regression of r33882 reported by Michael Weirauch:
* wrapping must always be possible at a newline!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 19:25:28 +00:00
Oliver Tappe
a85a827cd0 * introduced two new private methods, _PreviousWordStart() and _NextWordStart(),
which are now being used to implement the word-wise keyboard navigation,
  fixing #4785


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 18:49:15 +00:00
Alexandre Deckner
3b02662f2d * Use BReferenceable instead of Referenceable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 16:50:01 +00:00
Axel Dörfler
73a19dfe5d * Nested transactions didn't really work in combination with the separate
transaction mechanism. Now we keep track of the parent transactions, and
  restore fOwner on Journal::Unlock().
* This closes bug #4155 again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 16:44:06 +00:00
Oliver Tappe
32c29a08ba Reworked character class handling in BTextView:
* Word selection via double-click now works like in R5, except that '_' is now
  being considered part of a textual word, too. This fixes #4754.
* Adjusted CanEndLine() to make much more sense (at least for western 
  languages).
While I have tested the wrapping quite a bit, it is not unlikely that these
changes introduce regressions. If you spot one, please tell!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 16:38:34 +00:00
Axel Dörfler
c07fb64478 * Since we know the address of the lock in question, there is no need to waste
memory by naming it individually.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 15:55:11 +00:00
Axel Dörfler
56e4496947 * Use BReferenceable instead of Referenceable. Didn't notice there was a
BReferenceable in the first place, thanks Ingo!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 15:17:05 +00:00
Ingo Weinhold
4736b6b9e5 * Made BReferenceable the class implementation and BPrivate::Referenceable the
typedef, so it's clearer which one is the preferred one.
* Added BReference, a clone of BPrivate::Reference.

BPrivate::{Referenceable,Reference} are being phased out. Only the B* versions
should be used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 15:08:53 +00:00
Axel Dörfler
4b0459b2ee * Refactored ServerBitmap a bit: it now inherits from Referenceable instead of
roling its own solution.
* Also removed BitmapManager::DeleteBitmap() - you only call
  ServerBitmap::RemoveReference(), and that one will notify the manager if
  needed.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 14:08:16 +00:00
Oliver Tappe
baa3366093 * the textrect.right should always be rounded up to the next integer -
fixes #4894
* PointAt() now rounds x- and y-positions to the next integer instead of always
  rounding them up - this yields improved caret-positions (e.g. before an 'f'
  character)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 13:55:13 +00:00
Axel Dörfler
85a7877f80 * ServerApp's bitmap and picture handling was completely broken, as it ignored
concurrency as well as reference counting, causing occasional crashes and
  memory corruption.
* ServerPicture now subclasses Referenceable, and will notify its owner when
  it's going to be deleted. This might bring some regressions, although I
  couldn't spot anything wrong yet.
* ServerBitmap will now also notify its owner when it's going to be deleted as
  well.
* Switched from the former picture/bitmap lists to a std::map. This also solves
  the issue of not checking whether or not the bitmap/picture actually belongs
  to the ServerApp (before, all apps could access and delete all
  pictures/bitmaps)
* Introduced a new fMapLocker that guards the new maps.
* ServerWindow now uses GetBitmap()/GetPicture(), and gives up its reference
  after use.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 13:28:32 +00:00
Axel Dörfler
1ff7e27441 * Added the PictureTest to the app_server test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 13:05:18 +00:00
Axel Dörfler
29e37d8842 * Made BTokenSpace not throw any exceptions on memory shortage.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 12:19:59 +00:00
Axel Dörfler
3d2dfb860d * More cleanup, improved error return codes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 10:48:57 +00:00
Axel Dörfler
961399db48 * Coding style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 10:34:07 +00:00
Axel Dörfler
8fd171c8d1 * SmartTabView can now also resize a vertical scroll bar, if needed (ie. if one
overlaps with the menu bar). Not a perfect solution, but works well enough.
* When you only have a single tab, the vertical scroll bar now overlaps again
  with the menu bar.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 09:57:10 +00:00
Axel Dörfler
0928ac3904 * Removed BeOS work-around in TermScrollView.cpp.
* Improved comments.
* Coding style cleanup, no functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-04 08:52:06 +00:00
Rudolf Cornelissen
d08a8df7ca comment update only. Confirmed G200 not capable of HDTV overlay, G450 and G550 are capable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-03 20:06:57 +00:00
Jérôme Duval
15f18c0947 added missing posix functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-03 20:04:10 +00:00
Axel Dörfler
b11d8c839f * Some keymap labels now have an abbreviated version that is used when the key
gets too small for the full text.
* This closes enhancement ticket #4024.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-03 11:19:53 +00:00
Rudolf Cornelissen
21a656460f matrox G450/G550 (apparantly) can do HDTV overlay (720p, 1080p). Bumped version to 0.33.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-02 19:27:15 +00:00
Oliver Tappe
7e0d60f5b7 adding POSIX-functions llround*(), which Maxime reported missing
* copied implementations for llround(), llroundf() and llroundl() from
  glibc-2.3.2
* added corresponding declarations to math.h


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-02 19:13:15 +00:00
Axel Dörfler
dd9740dad4 * Removed the version check, and the Deskbar restart code.
* This closes ticket #2314.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-02 08:44:47 +00:00
Colin Günther
fd0795f24c This TODO was resolved in r33860.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-01 20:41:56 +00:00
Alexandre Deckner
ef2927b12c * Use <span> for the highlights
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-01 18:13:29 +00:00
François Revol
b7ae7914b8 - cleanup, remove fake device descriptions,
- add generic device descriptions for the various incarnations of the PC UART,
- just use pc_serial as devfs basename regardless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-01 02:09:50 +00:00
François Revol
40f0a87316 - cleanup: one file per line for clarity,
- add url about a linux driver for a new webcam (topro, 06a2:0003) I found today.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-01 01:45:25 +00:00
Alexandre Deckner
214f735e34 * Style checker for the Haiku C++ coding guidelines
* Added an html report output with highlights and tooltips
* Still a few false positives and rules missing. Some regex could be reworked
* TODO: ignore some rules when in comments, multifile support



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-31 22:20:25 +00:00
Colin Günther
99a016fd97 * Replacing the Haiku with the FreeBSD copyright in the ieee80211_haiku.h file as it is basically the ieee80211_freebsd.h file. But it only contains code needed by the haiku port. As I regard to the process of adding only needed code as trivial, I sofor removode the Haiku specific copyright completely. Opinions welcome.
* Adding the complete ieee80211 channel structure as it contains alot of useful information which is hard to obtain otherwise (e.g. conversion between frequency and channel number).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-31 20:33:39 +00:00
Stefano Ceccherini
7d601e6cdf Added a test for a weird messaging behaviour
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-31 20:33:09 +00:00
Stefano Ceccherini
c9ad965c81 removed debug printfs()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-31 16:55:24 +00:00
Fredrik Modeen
558e784657 Fix a left over, thanks Jerome (hm must use UTF-8)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-31 12:29:59 +00:00
Fredrik Modeen
98a9fe1571 An old code cleanup I have had along time.. run that python also..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-31 08:48:52 +00:00
Fredrik Modeen
027ab15546 BOM are a nice thing :)
This would fix the gcc4 build..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-31 07:08:18 +00:00
Fredrik Modeen
6c33367825 So here it goes..
I hope I have fixed all parts that don't follow our guidelines. (that python script was good start)
This are the app, I havn't change the file in clv those are from Santa gift bag

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 21:40:49 +00:00
Fredrik Modeen
be2b059224 So here it goes..
I hope I have fixed all parts that don't follow our guidelines. (that python script was good start)
This is the filter..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 21:35:17 +00:00
Axel Dörfler
1adcc57859 * The new Command-[Shift-]'R' shortcut for rotation is annoyingly unhandy; added
'[' and ']' to rotate without having the Command key held.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 15:52:07 +00:00
Stefano Ceccherini
fac8f83095 Don't call avcodec_close() on an unopened codec, as that causes a crash.
Happens for example when you create a BMediaFile and close it without
committing the header


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 14:29:09 +00:00
Stefano Ceccherini
315c212bfd Two lines between functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 12:08:15 +00:00
Stefano Ceccherini
d5ca839e4f Fix spelling error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 12:06:34 +00:00
Philippe Houdoin
c1181914cb Added Pete Goodeve to contributors for his work on MIDI.
Give him credit in midi_server and fix a typo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 06:26:25 +00:00
Philippe Houdoin
85d512ed65 Revert Stack & Tile patch (r33814) and first fixes done by axel (r33824, r33826)
The stack & tile feature developement & fixes would be done in 
branches/features/stack-and-tile branch, until it's ready enough to be merge 
into trunk.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-30 06:22:52 +00:00
Fredrik Holmqvist
ad1064afb0 These defines were duplicated. Removing the second copy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 21:23:48 +00:00
Axel Dörfler
56ae953f5e * small_data attribute now get their st_mtim from st_ctim, as that should be
closer to the reality.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 18:36:27 +00:00
Axel Dörfler
1b944eec20 * Improved the status_change time check to actually filter out invalid times,
before, st_ctim was never updated; since you cannot change st_ctim via an API,
  '0' cannot ever be set, either.
* Inode::WriteAttribute(), and Attribute::Write() now return whether they
  created an attribute or not, and thus B_ATTR_CREATED is now correctly set.
* Moved status_change update from bfs_write_attr() into Inode::WriteAttribute()
  where it can be handled more efficiently.
* Likewise, Inode::RemoveAttribute() now updates the status_change time as well,
  I simply forgot this before.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 18:09:15 +00:00
Adrien Destugues
2350995e01 Japanese translations for font preflet done by JPBE.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 17:50:56 +00:00
Adrien Destugues
d2a1b8d7fd Updated russian translation, done by StoroZ Gneva again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 17:42:40 +00:00
Axel Dörfler
075cff30a0 * Also resize the window if it wouldn't fit on screen otherwise.
* Fixes bug #3675.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 15:11:46 +00:00
Axel Dörfler
9fb9c160af * TRoster now actually stores its settings, ie. the recent file list now
survives a reboot.
* The target directory is now created if needed.
* Relocated/renamed the settings file to
  ~/config/settings/system/registrar/RosterSettings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 13:55:47 +00:00
Axel Dörfler
c5a9a2ea13 * This should fix the GCC4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 12:31:02 +00:00
Axel Dörfler
b43e064ecc * Attribute changes now also change the status change time.
* While Ingo already convinced me to use the modified time for this instead
  (see People files, for example), I did not do so for two reasons:
  1) The file modification date is important to the user; more or less hidden
     attribute changes shouldn't have an effect on this.
  2) Efficiency: the last_modified field is indexed whereas status_change is
     not. Speed would suffer noticeably else.
* We might want to think about a new "stat::st_attrtim" field, though, instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 10:21:52 +00:00
Axel Dörfler
23e00a25e2 * Fixed millions of coding style violations introduced by the stack & tile
patch. Grmbl.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 10:11:24 +00:00
Axel Dörfler
8cd9a52477 * delete_owned_ports() did not maintain the sUsedPorts variable, and thus led
to bug #4864.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-29 08:08:31 +00:00
Rudolf Cornelissen
f532a74ba9 fixed RAM access errors on coldstarted G450s. If this introduces trouble on other G450s or G550s please file a bug report. Bumped version to 0.32.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 21:58:53 +00:00
Siarzhuk Zharski
7da907290f Ukrainian locale catalog files updated;
Ukrainian locale catalog files for Media and Keymap preflets added.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 20:50:31 +00:00
Rene Gollent
757a470f33 Partial fix - some constants appear to be missing though, or weren't renamed correctly, which I can't fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:46:40 +00:00
Rene Gollent
eddae99610 Fix driver build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:41:34 +00:00
Philippe Houdoin
823380c666 Added Hong Yul Yang to contributors.
Hope "Yang" is actually your lastname!
Feel free to correct me.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:07:32 +00:00
Axel Dörfler
123bb4d5fd * Added a position tool tip to the seek slider.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 19:00:58 +00:00
Brecht Machiels
6cae2161f0 made code style more consistent with the rest of the driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 18:58:36 +00:00
Philippe Houdoin
ef831a1dc3 Applied Stack & Tile patch by Hong Yul Yang, formely by Christof Lutteroth.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 18:46:23 +00:00
Oliver Tappe
4b0f176d9c Fix more regressions in _AutoResize() visible when renaming a file in Tracker
(reported by Axel):
* _AutoResize() can no longer check the difference between the textrect and
  the maximum line width, as the textrect is no being adjusted earlier during
  the line-calculation code - instead, it needs to measure the difference
  between the bounds and the textrect width plus the insets.
* MakeResizable(true) needs to reset the right inset, as otherwise the auto-
  resizing would get confused about how large the textview needs to be
  (seems to be an artefact of how Tracker creates the textview).
* GetInsets() doesn't need to compute the insets, as they're maintained in
  fLayoutData.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 17:39:02 +00:00
Axel Dörfler
1aa885efee * Added a temporary solution to add the Audio:Length attribute to audio files,
just like SoundPlay did.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 16:50:07 +00:00
Axel Dörfler
2caab6e574 * Coding style cleanups, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 14:35:33 +00:00
Axel Dörfler
13ce48d922 * Moved dprintf_args()/debug_puts() guts to a new dedicated private function
debug_output().
* Added a second buffer to be used when interrupts are turned off, otherwise
  dprintf_args() will now use a mutex guarded buffer to fill with vfprintf() -
  the actual sending to the outputs still needs the spinlock, so things only
  slightly improved.
* Moved private functions into the private section of the source file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 13:31:55 +00:00
Axel Dörfler
b10da4d8c7 * _UpdateButtons() was called too early, before fCurrentMap, and fAppliedMap
were initialized, causing Keymap to lose the current map.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 12:03:04 +00:00
Axel Dörfler
7d6c7206c1 * There is no need for the sPageLock to be a spinlock - a mutex should do. This
should improve the kernel latencies, as things like
  vm_page_allocate_page_run() is very expensive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 10:44:29 +00:00
Adrien Destugues
64e8303b6d Lituanian translation for keymap and media preflets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 10:15:57 +00:00
Axel Dörfler
ea607d6f7f * Applied a patch by Christof Lutteroth that updates ALM, and brings new test
apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 09:00:14 +00:00
Axel Dörfler
dcfdc8374a * This should fix the calendar menu when using the click-to-focus mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 08:56:53 +00:00
Rene Gollent
d3b113282a Move CheckDevicesEqual into FSUtils so it can be used in more places.
Rework ContainerWindow's B_REFS_RECEIVED to use CheckDevicesEqual to decide move vs copy as is done elsewhere.

Fixes ticket #4850.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 03:04:42 +00:00
Jonas Sundström
62ae78f7a8 Test-commit for mmadia.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-28 00:53:54 +00:00
Adrien Destugues
f8a1135cbb Localized MEdia preflet and translated it to french.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 21:08:00 +00:00
Axel Dörfler
7f452dbd1e * Moved Brecht to the current maintainers.
* Added Colin.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:56:43 +00:00
Rudolf Cornelissen
4ba8fc5dcb updated modelist for ws modes, removed some unused code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:30:44 +00:00
Philippe Houdoin
d124b42d8b Move Fredrik "tqh" Holmqvist from contributors to maintainers.
Welcome onboard!

And, look, what a coincidence: you're my new upper neighbour in that list!
:-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:08:29 +00:00
Fredrik Holmqvist
6fde258427 Fix for ticket #3961:
The previous code used kill_thread() and then destroyed the common RingBuffer.
This wasn't working, and as Axel notes it's not really working on kernel side.
* Added RingBuffer::DestroyLock
* Changed the thread to exit gracefully on RingBuffer semaphore destruction.
* Changed close function to destroy RingBuffer sem, wait_for_thread and then destroy resources.
* Minor code style fixes.
(And also my first commit.)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 20:03:50 +00:00
Adrien Destugues
173b5560a2 Added russian translation for Keymap, done by StoroZ Gneva. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 19:41:01 +00:00
Colin Günther
df65e069cf Coding style fix. Thx to axeld. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 18:56:10 +00:00
Colin Günther
6c76785bef Using the add_timer() function as proposed by alexd. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 17:09:53 +00:00
Adrien Destugues
ad34440edc -Removed unseless reference to adler32 in hashmapcatalog
-Localized Keymap preflet and translated it to french


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 15:48:01 +00:00
Axel Dörfler
954da749a5 * Added SCHED_SPORADIC, and sorted the constants the way it's done in the specs.
* Also changed their numbering.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 13:10:17 +00:00
Axel Dörfler
d88b4037b0 * Reduce maximum priority to B_URGENT_DISPLAY_PRIORITY; real time threads isn't
really something to play with without knowing the outcome.
* Fixed indentation/coding style violations introduced with r33783. Please take
  more care when accepting patches!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 12:34:27 +00:00
Colin Günther
2406849d4a * Coding style fixes regarding whitespace usage.
* Copyright style fixes.
* Implemented FreeBSD hardclock subsystem, which is needed to update the ticks
  variable. The previous usage of "#define ticks system_time()" wasn't
  sufficient anymore, as there are drivers using the ticks name for local
  scoped variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-27 08:14:03 +00:00
Jérôme Duval
f386c5910b Patch from Michael Franz (ticket #4696): sched.h and pthreads to allow setting of the thread priority
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 22:56:43 +00:00
Philippe Houdoin
4c091ffef4 Apply patch (with changes) by Pete Goodeve: fix #4053.
Closing usb_midi now wake up midi_server port reader, as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 22:28:47 +00:00
Philippe Houdoin
912d4ba92b Apply patch by tqh: fix ACPI hang at boot (#4762)
Global lock/unlock assembly code was broken, reworked based on 
what FreeBSD does.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 22:01:59 +00:00
Brecht Machiels
9b060d03d7 fixes initial state of accept first click checkbox when FFM mode is active
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 20:21:55 +00:00
Jérôme Duval
91844cc151 Patch from Olivier Coursiere (ticket #4064): cond_wait always return EAGAIN with an unitialized pthread_cond_t
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 19:28:14 +00:00
Axel Dörfler
250288397d * Somehow, I forgot to update set_port_owner() for the new team port list.
* Now, killing a team shut properly cause the app_server to close the windows
  of that team, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 17:23:07 +00:00
Axel Dörfler
0c2788b4ce * Added some pthread_attr_destroy() and pthread_create() tests from
posixtestsuite into our repository.
* A few of the latter ones actually fail on Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 17:13:11 +00:00
Axel Dörfler
ebcd4e1ada * Applied patch by "v" with minor changes; this allows the posixtestsuite's
pthread_create 2-1 interface conformance test to pass.
* Also fixed return values to be in the POSIX error range in case we ever switch
  them by default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 17:11:02 +00:00
Axel Dörfler
b716ef33bf * pthread_create() will now check if attr is initialized, thus fixing bug #4827.
* pthread_kill() no longer sets errno.
* Use POSIX error codes in POSIX code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 16:49:11 +00:00
Axel Dörfler
0087f9409b * sem_entry no contains a pointer to the owning team, instead of only its
ID.
* Accidently, this should also fix bug #4839.
* Optimized _get_next_sem_info() a whole lot by iterating over the team's
  semaphore list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 15:09:08 +00:00
Alexandre Deckner
36f51b0861 * Applied patch jalopeura, fixing mail2mbox and mbox2mail signatures in rdef. Closing #4856. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 13:57:36 +00:00
Axel Dörfler
86a999adfb * delete_owned_ports() no longer scans the whole port array for ports belonging
to the owning team.
* Instead, the team now maintains a list containing the ports it owns.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 13:34:43 +00:00
Axel Dörfler
07e9fd1d84 * sem_delete_owned_sems() now grabs the team lock for a very short time, and
once only.
* Improved missing team warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 13:29:29 +00:00
Alexandre Deckner
e2ee5e5706 * My previous fix to #4130 wasn't correct since it could miss some moved or
renamed files. After more investigation i found out that the problem was
  caused by a non usual use of the zombie list in r31307. In the conditions
  to reproduce #4130 it would call AttrChanged() or StatChanged() on zombie
  poses which by convention should always be invalid models, ie: null node.
  The logic would potentially create other problems too as it wasn't only
  adding refFiltered models to the zombies.
  I reverted part of r31307, clarified the logic and updated the comments.
  I'd prefer another implementation for this as reusing the zombie list
  here is only calling for future mysterious problems. #4131, #4271, #4610
  and #4831 are still closed, but i'm reopening #1717 which is more of an
  enhancement btw.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-26 10:21:33 +00:00
Axel Dörfler
b85716cbd9 * Not sure why Brecht changed the behaviour of FFM here. This should hopefully
fix most of the issues.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 21:53:27 +00:00
Axel Dörfler
c3d0a5e8a1 * Fixed the style violations introduced by r33732, nothing too bad, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 21:52:17 +00:00
Axel Dörfler
4223d92e7d * Fixed lots of style violations, many of them introduced with r33732.
* Brecht, is it possible your line break column is one character too short? At
  least you broke some lines without need.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 21:26:54 +00:00
Siarzhuk Zharski
c9f0f9b9d2 ISO 639 defines the name for Ukrainian language as 'uk'.
This changeset correct usage of this language abbreviation and restore normal function of the localized preflets.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 20:38:29 +00:00
Stefano Ceccherini
4ac5ee1c01 Fixed BOptionPopUp when used in the layout system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 20:33:39 +00:00
Fredrik Modeen
3ba588d15f Fix for r33732, now it builds.. don't know if works though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 15:09:57 +00:00
Axel Dörfler
c544ccf58d * Expand(), and Collapse() aren't supposed to do the work themselves.
* Instead, they should call the protected virtual ExpandOrCollapse(), this makes
  one of my apps work again under Haiku (where the list view contents are
  filled on demand).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 14:51:39 +00:00
Jérôme Duval
b8092f18e1 the column argument wasn't taken into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 13:59:05 +00:00
Stefano Ceccherini
510fae5f1d Also add layout-friendly constructor for BOptionPopUp (not yet tested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 10:49:28 +00:00
Stefano Ceccherini
ba69bf196e Added layout friendly constructor for BOptionControl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-25 10:45:42 +00:00
Jérôme Duval
49d0a38c13 Applied patch from augiedoggie: disable debug in the mpu401 module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 17:18:16 +00:00
Jérôme Duval
2a6e7a56d5 Applied patch from humdinger (ticket #4435): Change shortcut to summon Terminal from ALT+SHIFT+T to ALT+OPT+T
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 00:36:20 +00:00
Jérôme Duval
676d27510d Fixed the dead key misbehavior when typing fast: we don't change the deadkey status on key up anymore.
I thought there was a ticket about this bug, but couldn't find it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-24 00:31:04 +00:00
Brecht Machiels
dfdfbd3eef * added support for GM45 (might work for other chips in the G4 series)
* added header for dealing with binary numbers and bitmasks (C++ templates)
   these "macro's" might not work well for long words, though


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 23:03:49 +00:00
Axel Dörfler
bd56fd8a4c * Removed the superfluous handOverPort variable I introduced earlier.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 15:08:47 +00:00
Rene Gollent
e9af5d4585 Fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 13:31:52 +00:00
Michael Lotz
59fa665d53 The "was dropped" flag is only used to specify whether or not DropPoint()
returns valid data. Since the data is still valid in the copy, we don't need
to clear the corresponding flag when copying a message. This is most probably
the same behaviour as in R5 as Tracker seems to expect that in the case where
a drop is done after a menu was displayed as in #4757. Thanks to aldeck for
tracking that one down inside Tracker, should fix #4757.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 10:33:40 +00:00
Colin Günther
c5a4650d6b Fixing the gcc4 build break.
Using macro nonnull which actually resolves to an attribute doesn't work
on inline functions.
Thx to mmlr for helping out.
Eitherway it should have worked in the first place, because the compiler
has all the information it needs.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 08:54:52 +00:00
Alexandre Deckner
c3ce629473 * When a file was created, then deleted shortly after, on a PoseView that is
busy processing other things, the file could be gone by the time we processed
  the fs notification message of the entry creation. This case wasn't handled
  properly and would cause #4130 and most certainly duplicate #4831, #4610 and
  also possibly #4271.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 08:07:56 +00:00
Axel Dörfler
ddbe12007a * Semaphores are now put into the team struct in a doubly linked list.
* This makes sem_delete_owned_sems() a lot more efficient; before it would need
  to scan the entire semaphore table.
* This speeds up the test build of the kernel by another 2 seconds (with
  KDEBUG=2) on my laptop.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 02:06:51 +00:00
Brecht Machiels
7a4718b253 added Belgian keymap with point instead of comma on the keypad
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 01:18:43 +00:00
Axel Dörfler
6390c0ca80 * _get_next_thread_info() should be a bit more picky about its team needs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 01:15:55 +00:00
Colin Günther
3db9c51942 * fixing the broken build
the network drivers needed to be adjusted to the header reordering, too
  sorry

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 01:01:14 +00:00
Colin Günther
14627e087b * reordering of headerfile inclusion to comply to FreeBSD 8
ordering.
  this makes porting driver (especially wifi ones) more
  convinient
* based on FreeBSD svn revision 196691

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 00:38:56 +00:00
Axel Dörfler
3530c3eb6b * Reimplemented the insane _get_next_thread_info() which previously just
iterated over all known thread *IDs* with interrupts disabled.
  Now it iterates over the team's thread list (going from back to front, since
  new threads are added at the front of the singly linked queue).
* Alexandre restarted Tracker quite a lot, and let the shell script run to
  reproduce a certain bug - and then wondered why ProcessController would
  take several seconds to open its windows until it passed through more than
  8 million IDs... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-23 00:09:45 +00:00
Michael Lotz
4f5d9ca63d Fix libkernelland_emu build after ConditionVariable and devfs changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 23:50:15 +00:00
Axel Dörfler
f28dd36b82 * The alphabet is obviously hard, moved some tracing defines at their
(hopefully) correct place.
* It seems to be even harder to understand basic locking primitives: when you
  think about it, it shouldn't surprise you that conditional variables never
  return B_WOULD_BLOCK. This fixes gdb again.
* Added tracing support to the ports subsystem.
* get_port_message() will now resize the port heap if needed (but will also
  take timeouts into account while doing so, more or less). The initial port
  space is 4MB (as before), the growth rate is the same, and the system wide
  limit is arbitrarily set to 64 MB (all swappable). A team limit has been set
  to 8 MB, but is not enforced yet. Since ports are using up address space in
  the kernel, those seems to be proper limits.
* This also fixes a strange, and rare lockup where the mouse cursor would still
  move, but everything else would basically hang, but look perfectly normal from
  KDL on the first look. As recently happened on Brecht's laptop, and debugged
  by mmlr and me: the cbuf space got used up when lots of windows wanted to
  redraw after a workspace switch. The app_server wouldn't answer anymore to
  client requests, but thought it would have done so, as LinkSender::Flush()
  doesn't care if it got a B_NO_MEMORY (the ports will now block until memory
  is available if possible, so that should not be a problem anymore).
* Improved "port" KDL command, it now also prints the messages in the port.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 23:14:10 +00:00
Adrien Destugues
14cf6a83c5 This does seem more logical and makes it build on gcc4. Not sure if it's the right thing :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 22:09:20 +00:00
Axel Dörfler
b198850a1b * Messed up the commit, sorry.
* Adrien? :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 21:14:10 +00:00
Brecht Machiels
926e63c885 * added click to focus mouse mode; right-click for bring-to-front and send-to-back
(might cause some regressions in FFM)
* made accept first click user configurable
* updated the Mouse preflet to use the layout kit
* removed the warp and instant warp modes from the Mouse preflet
* changed internal representation of mouse modes (warp modes moved)
* coding style fixes



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 21:10:19 +00:00
Axel Dörfler
9c90fc59d2 * Disabled the LVDS post2 for i965 cards, maybe that helps Adrien, and don't
break the display for others. If that doesn't work out, there is probably a
  bit more to it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 20:36:45 +00:00
Axel Dörfler
5c056f9f10 * set_port_owner() was the only usable call of the port API, and of course it
was used this way in the debugger. Doing this later should be harmless,
  AFAICT, but Ingo will probably know better.
* Beware, though, the debugger currently does not work anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 16:10:28 +00:00
Axel Dörfler
48c06f4214 * _GetCharacterAt() might actually fail - this fixes a bug causing the bitmap
initialization to fail. This also caused a crash, as that wasn't checked for
  before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 14:00:17 +00:00
Axel Dörfler
e8885f2097 Basically rewrote the ports subsystem to use:
* its own heap allocator instead of cbuf - this makes cbuf superfluous, and I
  therefore removed it from the kernel. The heap is swappable, so lifts the
  kernel's resource usage a bit. In the future, the heap should grow as well;
  right now it should be at least as good as before.
* it no longer uses spinlocks, but just mutexes now for better scalability - it
  was not usable with interrupts turned off anyway (due to its semaphore usage).
* it no longer uses semaphores, but condition variables.
* Needed to move the port initialization to a later point, as swappable memory
  wasn't usable that early.
* All ports test are still passing, hopefully I didn't mess anything up :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 13:24:12 +00:00
Axel Dörfler
534a4df194 * Minor cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 13:14:32 +00:00
Michael Lotz
ee7ec20503 Account for single page allocations. They aren't used anywhere right now because
the bin sizes ensure that when hitting this case it always allocates multiple
pages. This makes it more flexible for other use cases though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 13:06:15 +00:00
Axel Dörfler
4e61885e4a mmlr+axeld:
* Fixed some minor issues of heap_create_allocator() when it should use the
  kernel heap to allocate its heap structure.
* Fixed an off by one error in the max bin check.
* Changed the KDL "heap" command to allow the "stats" for any heap as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 12:30:53 +00:00
Michael Lotz
6bb413270b The allocation size wasn't updated on an area based realloc that would still
fit into the existing area. In that case further reallocs could then assume the
wrong previous size and then not copy enough from the original buffer, leading
to lost bytes at the end of the new buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 12:05:50 +00:00
Axel Dörfler
e0aad96f94 * Allow to use symbols as variables (prefixed with '@'). Now only tab completion
for variable names is missing B-}


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 11:44:29 +00:00
Axel Dörfler
68d9d8809b * Just use the heap instead of cbuf for send_data().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 11:42:51 +00:00
Michael Lotz
4bee71c211 * Implement per-CPU heaps. They only get enabled in case there's enough memory.
* Allow an allocator to be created on the heap to allow for non-locked
  allocators to be created.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-22 08:57:34 +00:00
Michael Lotz
5ee1f125e5 Make use of the wait status field so it can be provided in Notify() and then
read out in the ConditionVariableEntry::WaitStatus(). That way you can notify
with a specific status that can be read out on the other end.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 23:44:59 +00:00
Oliver Tappe
ec39794897 fix regression reported in #4826:
* SetTextRect for non-wrapped textviews needs to update the insets,
  as otherwise several misalignments occur within several apps - renaming
  in Tracker was effected the worst, though

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 20:39:26 +00:00
Adrien Destugues
63b04e111b Updated msk and related mii to current freebsd head.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 20:37:18 +00:00
Adrien Destugues
e78ad19f6b Added new methods introduced in freebsd head that encapsulate macros to allow better binary compatibility if the locking way ever changes. These are not really useful, but needed for newer drivers sourcecode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 20:26:40 +00:00
Oliver Tappe
32c8ab89a9 * added _TabExpandedStyledWidth(), which makes sure to expand all tab chars
during the width calculation
* used _TabExpandedStyledWidth() at all places that need to expand tabs,
  fixing #4822
* removed _StyledWidthUTF8Safe() as it didn't make sense - we now perform
  the same auto-scrolling horizontally as we do vertically


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 19:09:20 +00:00
Oliver Ruiz Dorantes
ee739a2777 Tab for spaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 18:10:12 +00:00
Axel Dörfler
d4563f903d * Use kprintf() instead of dprintf() in KDL.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 18:03:07 +00:00
Adrien Destugues
98c24e6fd3 Added lithuaninan locale done by Algirdas Buckus. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 17:31:33 +00:00
Axel Dörfler
e7baaab3ae * "sc" and "call" will no longer ignore if they couldn't find the thread you
asked them for.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 17:08:52 +00:00
Axel Dörfler
1192454dfc * Enabled and simplified the "double click team to front" feature, as it
actually works under Haiku (with a caveat, as there is apparently an
  app_server bug that prevents that most of the time).
* Simplified ExpandoMenuBar::MouseDown().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:51:59 +00:00
Michael Lotz
6c4570c807 Also name these BLockers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:29:31 +00:00
Michael Lotz
1d984896da Name the lockers to be able to identify them when debugging/analyzing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:27:22 +00:00
Michael Lotz
6fb91db708 We didn't acquire/release a BSound reference when playing using a BSoundPlayer
which lead to #4825.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:20:37 +00:00
Axel Dörfler
1c7348a787 * Moved the window item sort logic as static method into the TWindowMenuItem
class.
* Changed ExpandoMenuBar to use that logic as well, so that your entries will
  always keep the same sort order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:59:55 +00:00
Oliver Tappe
b18f133db3 generally overhauled non-wrapping mode of BTextView, as it was considerably broken:
* switching from wrapping to non-wrapping mode triggers a recomputation of
  the text rect
* non-wrapping mode now triggers updating of the data rect for the horizontal 
  scrollbar as needed, fixing #4705
* corrected a couple of width computations that confused bounds and text
  rect width, leading to drawing artefacts at the end of a line
* unified computation of text rect width to always take all lines into
  account (not just the first one)
* some cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:42:25 +00:00
Oliver Tappe
3ee51068f7 * added helper method MaxWidth() to BTextView::LineBuffer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:06:06 +00:00
Axel Dörfler
5441423d49 * Obviously, CalendarMenuItem.cpp was still part of the build, even though it
wasn't in use for quite some time anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:05:02 +00:00
Axel Dörfler
dd8bedc1a9 * Removed the CalendarMenuItem class as it's not used anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 12:03:09 +00:00
Axel Dörfler
c5c6248e3d * Got rid of the _SHOW_CALENDAR_MENU_ITEM, and _SHOW_CALENDAR_MENU_WINDOW
defines - it's always in, and I don't think it makes any sense to make this
  an option (since it just uses a system widget).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 12:00:56 +00:00
Axel Dörfler
733ca9bd93 * Made the font size depend on the be_plain_font size, instead of a hard coded
one.
* Some coding style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 11:30:21 +00:00
Axel Dörfler
a406b1e625 * When switching the workspace while moving a window around, that window got
added to the window list without considering its frontmost window. That caused
  problems with all feels that were always on top, like
  B_ALL_WINDOW_FLOATING_FEEL. This was causing bug #4700.
* Disabled the "previous window keep keyboard focus" heuristic - it doesn't
  really work that well. There should be a central mechanism that detects active
  typing that could also be used to disable touchpads.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 10:14:09 +00:00
François Revol
ff4169d224 Add checkitout to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 10:06:31 +00:00
François Revol
265078a6df Introducing CheckItOut: a small urlwrapper spin-off that handles SCM urls and checks them out for you where you want them.
Supports git: for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 10:05:47 +00:00
Axel Dörfler
823808b52b * If you only want to search in text files, TextSearch will now guess the MIME
type if a file doesn't have one yet (and set it), instead of ignoring it
  completely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 09:47:26 +00:00
Axel Dörfler
10075eae29 * Fixed search history: chicken and egg problem - it couldn't save the history
if it couldn't load it.
* Shortened license text.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 09:27:13 +00:00
François Revol
69955dd988 Add a --name argument to preset the name of the file to save.
I should probably use getopts() here...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 08:33:17 +00:00
François Revol
80351b4d41 - this should fix gcc2 build, sorry ;)
- style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 08:21:53 +00:00
François Revol
223ae47d99 Extend the Ctrl-Alt-arrows shortcuts to also move the current window when shift is held, as on Gnome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 23:45:18 +00:00
Michael Lotz
35e7c9642f Fix dirent handling. The d_reclen field contains the size of the whole record,
so it includes sizeof(dirent).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 22:52:35 +00:00
Adrien Destugues
b7c0cbd2f3 Bulgarian locale done by cssvb94. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:40:08 +00:00
Adrien Destugues
746499889c Italian localization done by Andrea Bernardi. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:25:13 +00:00
Adrien Destugues
207836f1b1 Added ukrainian catalogs, done by Alex Rudyk aka totish. Thanks!
--Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    src/preferences/appearance/Jamfile
M    src/preferences/locale/Jamfile
M    src/preferences/bluetooth/Jamfile
M    src/preferences/cpufrequency/Jamfile
A    data/catalogs/preferences/appearance/ua.catkeys
A    data/catalogs/preferences/locale/ua.catkeys
M    data/catalogs/preferences/locale/fr.catkeys
A    data/catalogs/preferences/bluetooth/ua.catkeys
A    data/catalogs/preferences/cpufrequency/ua.catkeys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:16:35 +00:00
Axel Dörfler
2edf7c4687 * I just checked, and BeOS actually does not update the query this way - this
must have been my very own stupid idea. It's removed now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:03:11 +00:00
François Revol
071d565cb5 Add missing api_version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 20:07:02 +00:00
Axel Dörfler
6f8b6a0dfd * When an item was deleted, the order of the attributes decided whether or not
one or two remove messages were generated, as the query code produces
  remove/create notifications on renames. Will check next if that also happens
  on BeOS, as it doesn't really make much sense.
* This should fix the wrong mail count of the Deskbar replicant when you delete
  mail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 20:06:46 +00:00
Stephan Aßmus
f5e3b4741a Applied patch by gamblore, which adds a Local mode to CodyCam and resolves ticket #3395. I've extended the patch to disable the FTP controls in Local mode and fix bugs which prevented this from working correctly. Some coding style fixes as well... Thanks a lot, gamblore!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 19:58:12 +00:00
Michael Lotz
432cc51cc7 Add small but very important missing detail. Before blocking it didn't set the
wait status and therefore would return directly without actually blocking.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 19:05:35 +00:00
Axel Dörfler
95087bc532 * Center window on screen on start.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 15:20:46 +00:00