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
Adrien Destugues
c3d88d5160
Fix clang build. modf is not good for optimizations it seems
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 19:45:54 +00:00
Adrien Destugues
be4263537e
Sorry, vim auto-indenting messed it up.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 16:30:12 +00:00
Adrien Destugues
dbf7fa8716
256 colors support in terminal (compatible with xterm)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 16:23:21 +00:00
Adrien Destugues
6100b6aa33
Enlarge attributes to 32 bit instead of 16. This prepares 256-color support for terminal.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 15:53:34 +00:00
Adrien Destugues
3614af01cd
Fix #2673 : allow use of \E(0 to switch to line drawing character set.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 15:19:36 +00:00
Adrien Destugues
78e421e05e
Turns out this was right after all. Thanks to Rene for the explanations.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 14:08:15 +00:00
Adrien Destugues
d84da869d5
CID 1556 : wrong cast type.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 13:18:36 +00:00
Axel Dörfler
bfd62966de
* Removed useless and wrong "net" symlink from the repository, hope that helps
...
Clemens.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:59:43 +00:00
Adrien Destugues
8ac6b88687
Only shift if there are arguments left in the list. Previous fix invalidated by Axel and hint to the proper solution given by mksh developper.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:42:46 +00:00
Adrien Destugues
22727b149d
CID 1739 : Memory leak on error.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:31:36 +00:00
Adrien Destugues
cac07c64e8
CID 1981 : NULL pointer dereference on error.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:23:18 +00:00
Adrien Destugues
1401598fed
Remove bogus shift : shifting an empty list of arguments is not allowed.
...
This allows to boot Haiku with mksh as /bin/sh.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 12:02:27 +00:00
Adrien Destugues
7c7f4cafda
CID 2021 : wrong cast type.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 11:59:31 +00:00
Axel Dörfler
8dcde8b128
* B_SOCKET_SET_ALIAS handling was leaking references.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 10:27:00 +00:00
Axel Dörfler
7e5d6acf69
* Added rlphy MII driver back to the rtl81xx driver - originally, I intended to
...
change the current MII management, but I ran out of time.
* This should fix bug #6295 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 09:10:53 +00:00
Axel Dörfler
8ccc01cf2d
* Improved the output of the "net_domains" KDL command.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 08:02:40 +00:00
Clemens Zeidler
756e5df62f
Fix gcc2 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-13 04:06:58 +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
François Revol
cf8d18c0a5
Only include themes conditionnally, in case one symlinks from the osdrawer svn working copy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:26:48 +00:00
Clemens Zeidler
bc7f766f5d
Use new listener interface.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:06:11 +00:00
Clemens Zeidler
c84e125085
Rework listener interface as suggested by Axel.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 23:05:31 +00:00
Clemens Zeidler
b960e45194
Add the SATDecorator. This is a new implementation of Stack and Tile with a different tiling logic. For example, this should make overlapping windows in the same tiling group impossible. There are still many issues I know about and this version is far from usable but the basic features are working now. So if you like to test it at this state please only report errors like crashes or memory leaks (think there is one).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 22:37:16 +00:00
Clemens Zeidler
5483fa4e78
- Make RebuildAndRedrawAfterWindowChange public. This is useful when changing the window footprint from the outside. In this case RebuildAndRedrawAfterWindowChange recalculate the clipping and everything. Need this when I switch a decorator into a SAT stacking mode which is not a standard desktop operation. In this case the tab size is adjusted and also the window clipping need to be recalculated.
...
- First unregister listener reload decorators and then register new listener.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 22:09:28 +00:00
Clemens Zeidler
f182b4e2f9
Make _GetButtonSizeAndOffset protected.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 21:58:21 +00:00
Axel Dörfler
095f97a6b6
* Fixed memory leaks pointed out by Stephan, thanks!
...
* Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 21:20:31 +00:00
Clemens Zeidler
d25313d44f
Add listener for the tab location.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 21:19:49 +00:00
Adrien Destugues
77fa0021d9
Enable the "interpolate" resampling method. Results are not as good as I expected, however.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 17:12:00 +00:00
Alex Wilson
e70fa080b2
Should have been part of my previous commit.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 16:56:46 +00:00
Alex Wilson
25fd5c7b35
Update some apps/add-ons/preflets for impending changes to the layout API, specifically the layout builders. Also do a bit of style and layout cleanup in some places. This is part of #6407 . Everything I've updated should look and function the same as it did before.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 16:54:03 +00:00
Alex Wilson
aa818be69a
Update BView to call debugger when passed a NULL archive for its archive constructor. This means there is no need to check for a NULL archive in BSeparatorView. Also update BUnarchiver and friends to be NULL safe. Pointed out by Adrien, fixes CID 1754.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 14:50:57 +00:00
Adrien Destugues
600170807a
Style fix pointed out by Jérôme.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 14:22:46 +00:00
Axel Dörfler
97dfb56d81
* ifconfig is no longer using any ioctl()s, but the new C++ classes only. Seems
...
to work fine so far.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:51:34 +00:00
Axel Dörfler
97ef73e074
* Added convenience methods FindAddress(), and FindFirstAddress().
...
* Added BNetworkInterfaceAddress::Destination() as synonym for Broadcast()
(depending on the configuration, it could be either one).
* Media() will now return -1 in case of an error.
* Added "const" where it makes sense.
* Added convenience functions for AddAddress(), and RemoveAddress() that only
take the actual address.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:50:32 +00:00
Axel Dörfler
2c12b8a334
* Also report the address index back to the userland.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:45:18 +00:00
Axel Dörfler
14d0b44b79
* Applied the B_SOCKET_SET_ALIAS address retrieval logic to B_SOCKET_GET_ALIAS
...
as well (of course, no address is created automatically here).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:38:52 +00:00
Axel Dörfler
530f548320
* Implemented AddInterface(), and RemoveInterface().
...
* Added comment explaining why using AF_INET is not really a good idea.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:30:39 +00:00
Axel Dörfler
b85c513ee7
* B_NO_ADDRESS_RESOLUTION now implies not setting AI_ADDRCONFIG, as that flag
...
doesn't really make sense in this case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:29:44 +00:00
Axel Dörfler
31a49a69c7
* Added support for printing AF_LINK addresses.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:28:55 +00:00
Axel Dörfler
a271028e37
* Also create a new address for B_SOCKET_SET_ALIAS if the index is -1 - this
...
now has an almost equivalent logic to the old setters like SIOCSIFADDR.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:27:50 +00:00
Axel Dörfler
910ffb32fe
* If the network mask, and broadcast are not specified with a B_SOCKET_SET_ALIAS
...
they will no longer be unset - instead they are set with defaults.
* If B_SOCKET_SET_ALIAS gets an index of -1, it will now try to find the local
address, and if that fails, will just use the first address there is.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:25:45 +00:00
Adrien Destugues
6aaaa90f38
CID 1460,1461,1462: delete[] must be used to delete arrays.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:23:40 +00:00
Adrien Destugues
de6ba1a073
CID 1393: Memory leak.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 13:16:40 +00:00
Adrien Destugues
70d3fa99c2
CID 867: Memory leak.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 12:53:16 +00:00
Adrien Destugues
db8d0b8781
CID 898 : Memory leak.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 12:42:58 +00:00
Adrien Destugues
e0bc2fcce4
CID 903 : Memory leak on error.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 12:39:39 +00:00
Adrien Destugues
138bd45280
CID 908 and 909 : Memory leaks.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 12:35:23 +00:00
Adrien Destugues
eaf26d03ba
CID 912: Memory leak on error.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 12:31:27 +00:00
Adrien Destugues
68fdcbe01d
CID 926 : Memory leak
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 12:28:06 +00:00
Adrien Destugues
99002a3991
CID 691 : parameter not used in fprintf, but still evaluated, leading to acces out of bounds of array.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-12 12:09:05 +00:00