Rene Gollent
c6789116b7
Build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-23 16:11:32 +00:00
Rene Gollent
4f9892e0f8
Build fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-17 18:21:54 +00:00
Rene Gollent
814fddc8bf
Patch by diver: increase the size of the buffer used to format the partition size, since it's insufficient for some languages. Resolves #6603 . Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-14 12:51:05 +00:00
Rene Gollent
697e029919
Fix app_server build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-12 15:25:03 +00:00
Rene Gollent
703b67c0ca
Update Web+ to r545 to fix compatibility with recent Locale Kit ABI changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-31 00:07:28 +00:00
Rene Gollent
00a2914f9c
If the tooltip exists, release its reference on exit instead of deleting it directly. Resolves a crash on exit if a tooltip was showing at the time.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-26 01:07:14 +00:00
Rene Gollent
4e3080b72d
Updated cdrtools optional package rebuilt by Chris Roberts due to some errors that crept into the earlier one. Added iconv as dependency.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-25 20:49:21 +00:00
Rene Gollent
2dda1d60ea
Remove duplicated files from cdrtools package. Closes #6501 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-25 14:04:39 +00:00
Rene Gollent
f1684e3466
Fix a logic hole that would result in hidden teams being visible in switcher (sans icon) on ctrl+~. Fixes #4290 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-23 04:11:55 +00:00
Rene Gollent
d8ede51747
If we failed to instantiate the view (ergo we are a zombie), don't remove the drop coordinates from the replicant message we store as they'll be needed in order to reinstantiate the zombie at the correct position on the next pass.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-21 21:22:12 +00:00
Rene Gollent
994e96504c
- Remove leftover debug output.
...
- Simplified BShelf::SaveLocation(). Resolves CID 431.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-21 21:11:39 +00:00
Rene Gollent
cc26ee399d
Forgot to adjust the copyright on files affected in previous commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-21 15:29:52 +00:00
Rene Gollent
2041484b41
Fix various problems found while investigating (and fixing) CID 1453. In short, handling of zombie replicants was completely broken ; they never actually made it to the shelf, and weren't saved/restored either. A problem still remains with respect to restoring them (the shelf relies on the dragged message's drop point to position them, which isn't preserved when the message is flattened/unflattened it seems).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-21 15:28:50 +00:00
Rene Gollent
1f50b439bb
Make gcc2 happy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 22:35:04 +00:00
Rene Gollent
1e7a45fd7a
Fix build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-19 01:48:03 +00:00
Rene Gollent
c36933ad2e
Fetch ICU PPC optional package from the default optional packages dir.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 23:22:42 +00:00
Rene Gollent
316c84b2b4
Update WebPositive to r544 - fixes compatibility break due to
...
recent layout kit changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 22:59:13 +00:00
Rene Gollent
420cd21c94
Move the password structs outside of the inner block as well. Fixes #6464 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 03:43:02 +00:00
Rene Gollent
6e23be561a
Fix build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-16 20:58:35 +00:00
Rene Gollent
606e627e76
Remove unnecessary NULL check (the view in question is created in all cases in InitCommon(), and is already dereferenced several times prior to the check in the function anyways).
...
Fixes CID 1078.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-16 02:45:08 +00:00
Rene Gollent
e4dd2130ec
Thought I reverted that change, shouldn't have been part of the previous commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 01:47:00 +00:00
Rene Gollent
cdd17fcb56
Add an rdef for the keymap command line applet to specify background app so it doesn't pop up in Deskbar when being executed (especially annoying during Haiku builds).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-14 01:44:46 +00:00
Rene Gollent
323e7fe567
Fix build error in IMAP client due to incorrect inequality check in one of BString's inlines. Fixes #6439 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:32:23 +00:00
Rene Gollent
385605d0c9
Correct previous fix, clearly I'm not as awake as I should be.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-07 23:17:47 +00:00
Rene Gollent
9e3865c76d
Allocate AboutWindow on stack as suggested by Stephan.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-07 23:16:14 +00:00
Rene Gollent
7283e760ab
Update Web+ to r542 for locale kit compatibility fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-02 02:17:33 +00:00
Rene Gollent
8d50f4a598
NewModelItem can potentially return NULL in a number of cases, which wasn't checked for. Don't try to add them or otherwise manipulate them in such a case. Fixes CID 641.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-31 18:39:34 +00:00
Rene Gollent
62ffe41831
Don't free the symbol iterator on error here since the callers already do so, leading to a double free in such a case. Fixes CID 2008.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-31 18:29:01 +00:00
Rene Gollent
f6896f2175
Update Web+ to r541.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-31 18:19:10 +00:00
Rene Gollent
2ad2951ed5
Fix yet another cause of the boot volume icon being mapped incorrectly (as pointed out by a gcc warning): the value chosen for B_BOOT_DISK was well outside of the range of the directory_which enum. Consequently it wound up getting truncated and never correctly being matched in the switch that grabs the icon from resources. Curiously, this bug/warning only showed up with a cross-compiled executable, but not with one compiled with the development toolchain compiler packages. Should hopefully nail this bug once and for all.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 01:06:58 +00:00
Rene Gollent
d66fde128b
Moved Alex Wilson to current maintainers list.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 01:49:57 +00:00
Rene Gollent
18d379a812
If the message didn't already contain the short/long time format, they would never get added to the update message since ReplaceString won't add if the name specified doesn't already exist. Fixes locale settings for time format not propagating properly.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-22 01:11:43 +00:00
Rene Gollent
50f1e6269d
Fix incorrect include. Fixes GCC4 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-20 18:26:45 +00:00
Rene Gollent
9509e395e7
Update Web+ to r535. Fixes ticket #6321 , though behavior isn't correctly observable right now due to an app_server bug with respect to updating window titles.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-18 00:56:52 +00:00
Rene Gollent
a8d618d4d2
Update WebPositive to r532.
...
- fixes ticket #6186 : Web+ would crash if pgup/pgdn was hit in its URL input while the choice list wasn't visible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-16 01:23:33 +00:00
Rene Gollent
1dcfc6586a
Update Web+ optional package for ICU 4.4 and locale kit changes. Note this doesn't currently work correctly on gcc2 hybrid due to some issues with the ICU optional package rules (gcc2 ICU libraries are ending up in gcc4/lib).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 20:38:20 +00:00
Rene Gollent
140f3bd884
WellKnownEntry used a const char * to store the name of its entry, but didn't actually copy the passed-in string, only its pointer. Since the entries were all populated via strings off the stack, this led to them being overwritten with random garbage during program execution. In the best case, this would result in well known icons such as the ladybug boot volume failing to resolve. In the worst case, this likely led to random corruption/crashes. Fixed by having them store a BString instead.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 02:06:29 +00:00
Rene Gollent
0537120f12
Fix broken BaseTranslator code that was 100% guaranteed to crash any app making use of Translators.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 21:37:29 +00:00
Rene Gollent
526e86ac79
Fix translator builds.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-10 20:52:30 +00:00
Rene Gollent
852b01198c
Fix missing space.
...
Fix file being in CR/LF format.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 13:57:46 +00:00
Rene Gollent
05754f2fdc
Update WebPositive to r529 to bring it inline with recent layout kit changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-09 12:27:54 +00:00
Rene Gollent
5d7dcef8cd
.c -> .cpp
...
Fix various warnings in badblocks, and fix broken build due to missing includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-05 20:06:37 +00:00
Rene Gollent
05b7485e36
Moved Wim to the active maintainer list.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 22:38:52 +00:00
Rene Gollent
7f68b95ab0
Updated gcc 4.3.3 optional package provided by Jerome Duval to take into account recent ssize_t changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 22:23:19 +00:00
Rene Gollent
7d447b60b4
Add liblocalestub.a in the DevelopmentMin package instead.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 20:35:57 +00:00
Rene Gollent
4861ebd530
Publish liblocalestub.a in /system/lib and /boot/develop/lib/x86.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 13:32:31 +00:00
Rene Gollent
4f153c5b74
Update Web+ to r527. Fixes locale kit compatibility (for now).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-04 01:34:40 +00:00
Rene Gollent
fc7c01a114
Fix typo spotted by Clang. Resolves ticket #6253 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-02 19:48:13 +00:00
Rene Gollent
17f902d7c2
Don't leak the time formatter. Fixes ticket #6250 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-01 23:28:09 +00:00
Rene Gollent
8154643efe
Updated AI_* flags to match up with our implementation. Should fix #3945 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-26 17:50:14 +00:00
Rene Gollent
5003f66a4c
The physical base pointer can be NULL since it's only allocated if certain flags are passed. Fixes regression introduced in r36999 and hopefully ticket #6137 . Axel, please review.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-05 02:10:14 +00:00
Rene Gollent
b12f4323d2
Fix incorrect filename. Closes ticket #6047 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 15:24:14 +00:00
Rene Gollent
eae2075173
Update Vision optional package to include a default settings file with some basic nicknames and a network configuration for Freenode. Closes tickets #6040 and #4783 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 13:36:14 +00:00
Rene Gollent
9a708202ac
FSCreateTrashDirs mustn't create the directories itself. This breaks the logic in FSGetTrashDir that creates/applies attributes if needed. This most likely explains Axel's random problems with trash directories being visible, since this would cause a fresh Haiku install's /boot/trash to never be marked invisible as it should be.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-15 02:05:45 +00:00
Rene Gollent
7ea7d8a204
Rebuilt Vision packages for alpha 2. Apologies for the delay.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 14:43:32 +00:00
Rene Gollent
bdb32d10a9
Simplify the check for what volumes to show free space bars on. They are
...
now shown only on read/write volumes that are not CDDA.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-04 15:17:21 +00:00
Rene Gollent
4ab96afd71
Use openAnyways mode instead of click to open rect for tracker context
...
menus. May help with #3267 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-04 14:24:12 +00:00
Rene Gollent
cd9af8e701
Reverted r35463 and applied a patch by Stefano to handle the Terminal context
...
menu issue a different way. Should fix #5835 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-02 01:36:38 +00:00
Rene Gollent
f7cf319589
PoseView::MoveSelectionInto() needs to check for the case that the source
...
window actually has a selection list to use. Certain actions can render it
possible to empty out the selection in mid drag-and-drop, which MoveSelectionInto
wasn't taking into account, leading to a crash.
Fixes ticket #5860 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 23:57:50 +00:00
Rene Gollent
ca34b4221c
Only write the icons if we did in fact have to freshly create the Trash directory. Should fix #5827 completely.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 20:17:30 +00:00
Rene Gollent
0872569da9
Temporarily comment out writing the vector icon since it currently appears to be broken somehow. Will look into it tonight.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 18:47:47 +00:00
Rene Gollent
63ebfa8d08
When creating Trash directories, Tracker would only set the hidden and/or icon attributes at startup for volumes mounted at that point in time. Volumes mounted later would have the directory created, but not marked hidden or otherwise attributed, which would lead to confusing situations where the root Trash dirs would appear randomly while browsing the filesystem.
...
Instead, Tracker now always writes those attributes when calling FSGetTrashDir(), which is reused by FSCreateTrashDirs(). Fixes ticket #5827 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-28 18:30:04 +00:00
Rene Gollent
b64b6705ad
Factored out initialization of default values into an _Init() function that's now called by all constructors.
...
The BMessage version of the ViewState constructor was not retrieving the icon/last icon size values.
May fix #4322 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 19:35:53 +00:00
Rene Gollent
f7b6636a8b
Don't set releasedOnce unless we actually detect an appropriate change in mouse button states. Otherwise we could mistakenly invoke menu items when not desired. Fixes the other part of #3267 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-24 17:48:13 +00:00
Rene Gollent
8e23974bbe
After looking for items/submenus, always update the closed state at least once before mouse polling. Otherwise the click to open sticky setting would sometimes not get evaluated until after the mouse cursor had already moved outside of the click to open rect. Fixes ticket #3267 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-23 23:12:43 +00:00
Rene Gollent
01e63caf83
When creating a new pose, the index offset at which it was inserted in list mode was never passed back. Consequently, when creating a new folder via the cmd+N shortcut (which immediately goes into edit mode), the TextWidget for editing would appear at the wrong location.
...
Fixes ticket #5774 .
+alphabranch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-22 02:02:55 +00:00
Rene Gollent
0d6b5aa1ea
Fix build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-12 01:17:15 +00:00
Rene Gollent
a9fb9013e4
Slight simplification and fix gcc2 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-11 13:42:45 +00:00
Rene Gollent
7c0f5738b3
Remove Tracker's special DnD handling. Instead, BTextView/BTextControl now
...
honors drag messages containing entry refs and resolves the path of the first
one contained. Will work on a more sophisticated solution that would allow
optionally extracting the file text instead via right click drag context menu
when I have more time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 00:02:02 +00:00
Rene Gollent
ddee094350
Add an extra sanity check to Tracker's automatic text clipping extraction when
...
drag and dropping text files: before it would blindly read the entirety of the
file's text contents regardless of size, which probably led to more than a few
nasty surprises when someone attempted to drag very large (i.e. multimegabyte)
text files. We now clamp the amount of data we read to 64KB. Though it's
debatable if this feature is at all useful, since it may potentially be better
implemented by handling entry_refs in dropped messages in BTextView directly
(assuming a compatible type). Opinions welcome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-02 00:51:17 +00:00
Rene Gollent
fa5956d5f3
Removed obsolete TODO: BMessage is smart enough to already use area transfers if needed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:59:28 +00:00
Rene Gollent
a3cd51c725
Cleanup: BMessage::_Reference never hits the case of having to transfer the area since _SendMessage already takes care of this (and transfer_area doesn't allow it to take an area from another team anyways so this code never could have worked).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:28:27 +00:00
Rene Gollent
4f85bc9f18
Cleanup of previous work: whether or not we're talking to app_server is already determined at time of port assignment. As such we don't need to cache or care about that, but rather just cache the target team instead of looking it up from the port info every time.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 23:25:23 +00:00
Rene Gollent
099f9551c7
Cache the app_server port lazily so we don't have to look it up every time.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 22:55:43 +00:00
Rene Gollent
57dc77bb15
ServerLink tried to use the transfer_area semantics backwards ; this failed since only the owner of an area can transfer ownership elsewhere. As a result, sending messages which contained large enough amounts of data would fail entirely. This was most readily visible in Tracker, where some files (i.e. text/plain files where Tracker would attach the text content to the BMessage for DnD clipping purposes) would be undraggable due to the drag initiation message never getting successfully processed by app_server.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-28 21:58:29 +00:00
Rene Gollent
b5db1a786f
Patch by Matt Madia: fix ARM build.
...
Closes ticket #5476 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 18:49:45 +00:00
Rene Gollent
1ac83b4fbc
Patch by mjw: Fix browsing subdirectories in NFS.
...
Partially fixes ticket #4661 . Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-25 01:25:47 +00:00
Rene Gollent
e4a439b4a0
Fix several problems in BListView:
...
- SwapItems() did not correctly swap the item tops of the two items being swapped. This would result in quite broken/confusing behavior due to the view having the wrong idea of their current position.
- SwapItems() also did not pass the correct range to _RescanSelection(). This could result in the selection range getting quite confused when swapping items.
- _RescanSelection() did not always correctly reset fLastSelection, though this mostly only would've resulted in unnecessary but harmless work.
Fixes ticket #4253 and possibly some others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-22 01:40:24 +00:00
Rene Gollent
b1e7ac2a63
When using layout mode, we need to remove the tab from the layout before updating the selection, otherwise the correct view isn't unhidden in some cases.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-21 18:08:38 +00:00
Rene Gollent
9546aa512f
Style cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-21 16:31:50 +00:00
Rene Gollent
cf139460f6
Initialize members for all constructors. Otherwise using those constructors can potentially crash in Unset().
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-21 15:48:09 +00:00
Rene Gollent
19b31ecf6f
BTabView::Select() needs to update the focus tab.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-19 04:13:15 +00:00
Rene Gollent
202a4e9c1e
Fix gcc4 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-17 00:46:43 +00:00
Rene Gollent
82471d43cb
When counting new messages in the deskbar replicant, ignore messages that are in the Trash.
...
Fixes ticket #5401 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-14 03:58:33 +00:00
Rene Gollent
03828629c7
Added Romain Picard to contributors list for his FAT fixes and other previous patches. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 23:55:55 +00:00
Rene Gollent
731480e891
Call UpdateTextChanged() in BSlider::AttachedToWindow() instead of updating the text manually. Otherwise when a subclass overrode UpdateText and the value hadn't yet been changed, the text would never be updated correctly which resulted in several problems in the VirtualMemory preflet when localizations used a longer string for "Requested swap file size:".
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 03:55:52 +00:00
Rene Gollent
177ea1a461
Apply patches by romain:
...
- Initialize flags argument correctly in get_vnode.
- Fix issues with handling the FAT mirror incorrectly.
Should resolve ticket #3690 and possibly others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-09 01:13:35 +00:00
Rene Gollent
7438e94206
Fix spacing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 00:47:11 +00:00
Rene Gollent
807bdfdf67
As pointed out by mmlr, we only need to provide the symbol, and only in the case of gcc2.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 00:46:22 +00:00
Rene Gollent
a5c2457fa8
Re-add dev_t version of FSGetDeskDir for bin compat reasons: BeIDE (unfortunately) appears to make use of some of the private FSUtils calls. Reimplemented call to use the normal FSGetDeskDir ignoring the passed in volume argument since we no longer have a desktop directory any place else. Fixes the problem reported in #5135 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-08 00:36:25 +00:00
Rene Gollent
f0599fd4e4
Use synchronous launch. This isn't generally an issue in Deskbar since we only launch one thing at a time anyways. Fixes being unable to launch things from Deskbar if Tracker wasn't running.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-06 02:48:19 +00:00
Rene Gollent
ef9c0b6a51
More cleanups:
...
- remove some more leftover desktop integration-related code.
- remove special case that would hide the Desktop folder in file panels.
- fixed BFilePanel to correctly filter out the trash from the volume root
and show it on the desktop like everywhere else.
- renamed CountView::Add/RemoveFilter so they don't hide
BHandler::Add/RemoveFilter (gcc4 warning).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-31 21:27:14 +00:00
Rene Gollent
e917a2404d
Fix some selection-related problems in BOutlineListView as well as
...
broken behavior in _RemoveItem that could potentially result in the wrong
list items being removed/deleted depending on the expanded/collapsed state
of higher items in the list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-31 17:32:12 +00:00
Rene Gollent
e342a98a08
Applied patch by Matt Madia:
...
Update Netsurf and Bezilla packages to include compatible version of libjpeg. This is a temporary measure until they're properly rebuilt against libjpeg 8.
Closes ticket #5329 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-27 23:21:41 +00:00
Rene Gollent
e9b3ccb129
Add Japanese Background preflet translation by Jorge G. Mare.
...
Thanks! Closes ticket #5300 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-20 02:45:37 +00:00
Rene Gollent
c40914bbf5
Fix build with VM_PAGE_FAULT_TRACING enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-19 23:29:15 +00:00
Rene Gollent
27bb89cae1
BFS needs to also allocate a file cache when dealing with a long symlink inode. Fixes ticket #5282 .
...
Axel and/or Ingo, please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-18 22:49:33 +00:00
Rene Gollent
89af054816
Employ a similar naming abstraction for the desktop as has been done for Trash to allow that name to be localized visually later (same on-disk location though).
...
SlowContextPopup also needed to be adjusted to account for trash's new location.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 21:35:42 +00:00
Rene Gollent
114580cd78
Update find_directory to use a lowercase path for the on-disk trash location like more or less all other system dirs. Should be the last of the trash changes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 20:47:28 +00:00
Rene Gollent
b37100b2bf
Missed a few instances in the previous cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 20:07:30 +00:00