Stefano Ceccherini
5feb95a185
Added Francesco Piccinno (and not Piccinini as I incorrectly wrote in the if_re driver commit message, sorry!) to the about box.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 11:12:14 +00:00
Stefano Ceccherini
bcdc0267c6
removed useless sprintf() call, added a TODO
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 06:25:28 +00:00
Stefano Ceccherini
4e0c2a797d
Menus can be scrolled also using the mouse wheel
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 06:03:27 +00:00
Stefano Ceccherini
bf732017df
if_re freebsd driver, adapted for the build by Francesco Piccinini. It
...
supports many Realtek based NIC which our own driver doesn't support
(for example the RTL8101E). Thanks! Not added to the image yet, since it
causes some problems on my laptop (but could well be caused by the
freebsd compat layer, or by the scheduler)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-03 05:57:35 +00:00
Stefano Ceccherini
ef68c59b17
Removed useless _APP_ links
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-02 09:56:01 +00:00
Stefano Ceccherini
2ebd72b194
sprintf -> snprintf. malloc.h ain't no standard header. Removed non-haiku code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:39:59 +00:00
Stefano Ceccherini
01632a5340
Added optional debug code for the acpi busmanager. Removed code for compiling the module on beos/dano/zeta
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 12:33:04 +00:00
Stefano Ceccherini
60097e8433
fixed gcc4 warnings. BSlider::UpdateText() actually returns a const char *, not a char *
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-01 08:17:34 +00:00
Stefano Ceccherini
fb62af45a2
Use B_ANY_KERNEL_ADDRESS instead of B_ANY_KERNEL_BLOCK_ADDRESS, like suggested by Axel and Marcus
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-30 15:19:30 +00:00
Stefano Ceccherini
d6a7cd2564
Checking the return value of methods is always a good idea. This fixes a KDL I'm getting on start with vmware when including the acpi module in the build. Now, finding why this happens in the first place would be nice.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 13:13:39 +00:00
Stefano Ceccherini
3bb8984f7c
don't leak the BMessenger in case of error. CID 836
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 07:05:26 +00:00
Stefano Ceccherini
2b389c6e5a
don't leak the bmessenger. CID 888
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 15:51:29 +00:00
Stefano Ceccherini
85d7d4bc41
the loop was never entered. CID 93
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 14:36:29 +00:00
Stefano Ceccherini
84dcf4f24f
CID 996. Don't leak the BString
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 14:23:39 +00:00
Stefano Ceccherini
2e2f53f614
don't leak extendedPoseInfo on error. CID 997
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 14:19:59 +00:00
Stefano Ceccherini
d0397c5424
don't leak the BMessengers. CID 1009 and 1010
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 14:03:25 +00:00
Stefano Ceccherini
e32494d24f
Check for NULL before dereferencing the pointer. CID 1050
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 13:56:50 +00:00
Stefano Ceccherini
02de38b077
Fixed leaks. CID 893 and 894. There are still some leaks in this file, but the code is too complex and I won't touch it. I'd feel better if someone who knows it better would have a look
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 13:12:19 +00:00
Stefano Ceccherini
7483a2666e
fixed leaks. CID 906 and 907
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 12:12:59 +00:00
Stefano Ceccherini
d556a216cf
delete the str array in any case, although if numBytes <= 0, the array woulnd't have been allocated. CID 882.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 12:06:32 +00:00
Stefano Ceccherini
0f85a3eb5b
renamed field variables to fit our guidelines. Also use sem_id instead of long
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 12:00:03 +00:00
Stefano Ceccherini
68fba17fe7
style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 11:55:00 +00:00
Stefano Ceccherini
bdee0a3f6d
Don't leak the BMessenger (CID 880)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 11:49:25 +00:00
Stefano Ceccherini
657a3676f9
don't leak the BMessenger. CID 884
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 10:39:48 +00:00
Stefano Ceccherini
cd83a15bde
BFilePanel doesn't take ownership of the passed entry_ref. That code wouldn't have worked anyway, since FindRef() returns B_OK on success. CID 933
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 10:31:31 +00:00
Stefano Ceccherini
2ad68d466a
don't leak the BMessenger. CID 928 and 929
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 10:11:20 +00:00
Stefano Ceccherini
c404bd0e22
BFilePanel makes a copy of the passed messenger
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 10:08:04 +00:00
Stefano Ceccherini
1c35c27bec
renamed static variable to have the s prefix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 07:39:28 +00:00
Stefano Ceccherini
7696317d06
Style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 07:37:23 +00:00
Stefano Ceccherini
97c7b4da99
minWidth could be used uninitialized. CID 1150
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 07:31:48 +00:00
Stefano Ceccherini
e7d2f0f0e8
fix the problem reported in the TODO by using a reference to pointer
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-25 06:12:02 +00:00
Stefano Ceccherini
727834785d
Added a TODO explaining why BGameSoundDevice::Buffer() is broken. Small style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-24 12:55:25 +00:00
Stefano Ceccherini
250505c99b
more small style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 15:38:32 +00:00
Stefano Ceccherini
92ed85c9ec
use nothrow for allocation
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 12:41:42 +00:00
Stefano Ceccherini
671fe092d3
Added missing break(s) in switch block in GameSoundBuffer::GetAttributes(). Added missing default case. Avoid double calculation of buffer size
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 12:28:18 +00:00
Stefano Ceccherini
3beb2f72d7
style changes. Also added a TODO taken from a comment in bug #575
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 11:02:58 +00:00
Stefano Ceccherini
0e79ce1ebc
Style changes. don't use new to allocate a 2-sized buffer, but use the stack
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 10:43:02 +00:00
Stefano Ceccherini
c9e6288649
Fixed every (hopefully) CID cases of delete where delete[] should have been used. CID 122, 123, 124, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 143, 144, 147, 148, 149, 150
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 09:52:45 +00:00
Stefano Ceccherini
2d4df7f2fc
CID 80. err was checked twice for the same value. Also add more error checks
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 08:33:09 +00:00
Stefano Ceccherini
b0acb3febf
Don't leak the BMediaFile. CID 5
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-23 08:14:07 +00:00
Stefano Ceccherini
b7ef02aac6
use defines for some gif flags, for clearer code. Reordered initializers to avoid warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-19 09:39:19 +00:00
Stefano Ceccherini
136d40a890
in case the passed name was NULL, the TeamMenuItem would set a NULL label, instead of passing the 'team n' string. Also use snprintf() to build said string, and change the code a bit. malloc.h > stdlib.h, and don't check for null before calling free()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-18 10:24:19 +00:00
Stefano Ceccherini
3534ce57f0
malloc.h ain't no standard header. Small style change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-18 07:02:15 +00:00
Stefano Ceccherini
c2831e444a
Use GetTrackerIcon() in case getting the specific app icon fails, instead of using the (outdated) icon in the resource. Fixes bug #984 . Thanks to Stephan for the hint.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-18 06:55:59 +00:00
Stefano Ceccherini
b0a63e7a2a
implemented BarTeamInfo copy constructor and used it in TBarApp::Subscribe(). Also cleaned up a bit the code in TBarApp destructor.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-17 14:38:12 +00:00
Stefano Ceccherini
8ade1bf7a6
initialize 'err'. CID 1308 & 1309
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-17 10:05:04 +00:00
Stefano Ceccherini
6dcce65687
port the changes made to the libbe counterpart (r27297 and r27485)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-17 09:15:48 +00:00
Stefano Ceccherini
632f1504a8
assign a token to the ServerPicture before anything else. If something fails to initialize, we can still search the picture via token
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-17 07:35:00 +00:00
Stefano Ceccherini
10d8f3749e
added a test for BView::SetDiskMode()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-16 10:27:41 +00:00
Stefano Ceccherini
9ed6b85806
fix warning. BSlider::SetValue() accepts an int32 parameter
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-16 07:33:55 +00:00
Stefano Ceccherini
b482d05552
Fix gcc4 warning, small style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-16 07:32:36 +00:00
Stefano Ceccherini
76ef98dd3f
don't leak the BMessageRunner. CID 8
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 14:51:21 +00:00
Stefano Ceccherini
7bc02c61bd
simplified this weird code, while also fixing CID 1059
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 13:02:39 +00:00
Stefano Ceccherini
0bec71008b
moved the NULL check before dereferencing the view pointer. CID 1063
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:44:07 +00:00
Stefano Ceccherini
a57b0996eb
cleanup and return in error case, otherwise a stale style pointer could be added to the family. CID 1246
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:26:43 +00:00
Stefano Ceccherini
437ecc65ae
delete -> delete[]. CID 141
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:19:31 +00:00
Stefano Ceccherini
ec10ce591d
delete -> delete[]. CID 151
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:15:54 +00:00
Stefano Ceccherini
99b75a6f12
delete -> delete[]. CID 121
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:11:58 +00:00
Stefano Ceccherini
c96c57848d
this was supposed to be part of the previous commit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:04:34 +00:00
Stefano Ceccherini
ad7014b0d8
Other small style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 12:00:52 +00:00
Stefano Ceccherini
6aa49afc14
set fScanLine to NULL after freeing it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 10:44:43 +00:00
Stefano Ceccherini
a50feb079d
more style changes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 10:38:46 +00:00
Stefano Ceccherini
6da7e6450f
Style changes. No functional change
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 10:30:45 +00:00
Stefano Ceccherini
9179339c4a
free the allocated strings in error case. CID 864
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 08:01:33 +00:00
Stefano Ceccherini
59afe07d2c
use MemoryDeleter to make sure we free 'flattenedRuns' on error, in every case. CID 905
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:49:27 +00:00
Stefano Ceccherini
697dfc3e47
delete -> free(), as the array is allocated with malloc
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:37:03 +00:00
Stefano Ceccherini
2749af3ff8
BTextView::FlattenRunArray() doesn't take ownership of the passed array. Fixes CID 904
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:35:58 +00:00
Stefano Ceccherini
b56c51bcba
set fPanRamp and fGainRamp to NULL after deleting them, otherwise they could be double-freed. Also dont' check for NULL before calling delete. CID 1230 and 1231
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 07:17:27 +00:00
Stefano Ceccherini
dd52d6d1a0
the 'base' string was leaked. CID 1296
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-15 06:51:59 +00:00
Stefano Ceccherini
1e8da5fd15
fAppName was leaked (CID 6). Also moved the initialization of fText to the end of the function, so that we avoid a BString::Adopt() call
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 10:26:05 +00:00
Stefano Ceccherini
746cac055a
fixed buffer overrun, CID 649
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 10:10:13 +00:00
Stefano Ceccherini
b5d458a508
First round of style changes: renamed all member variables from m_var_name to fVarName
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 09:55:02 +00:00
Stefano Ceccherini
866ece3115
build fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 09:34:47 +00:00
Stefano Ceccherini
1adaf58e1f
gcc4 noticed GenericThread::GetName() was returning a pointer to a local variable. No code is using this function, so it's safe to strdup() it. This class needs a serious restyling, though, as it doesn't conform to our coding guidelines
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 09:33:59 +00:00
Stefano Ceccherini
2e2bff94a9
buttons could be used initialized if locking the looper failed (CID 1134)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 08:09:13 +00:00
Stefano Ceccherini
fc16834e55
buffer is an array, so use delete[]. CID 130
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-12 07:34:37 +00:00
Stefano Ceccherini
c4f7df69a5
be_app could be NULL in BApplication's destructor, if the BApplication didn't initialize itself fully on construction. This fixes a crash when launching some already running application (i.e. print_server)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-11 12:02:33 +00:00
Stefano Ceccherini
f66d53f916
fixed gcc4 warnings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-11 07:57:08 +00:00
Stefano Ceccherini
da4a0bff5e
fix gcc4 build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-11 07:24:40 +00:00
Stefano Ceccherini
40b71c1667
Use dynamic_cast before calling DeleteReplicant. This fixes bug #2712 . I'm not sure why, though. Also call unload_add_on() as last operation (and yes, doing just that was not sufficient to fix the bug)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-10 11:34:56 +00:00
Stefano Ceccherini
de2dcd9ab0
fixed another round of gcc4 warnings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-10 09:13:02 +00:00
Stefano Ceccherini
bb549f1c81
Implemented dummy FontStyle::IsFullAndHalfFixed(). Freetype doesn't seem to offer any api to be able to tell such a font from others
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-10 09:02:59 +00:00
Stefano Ceccherini
f8a63d3a0b
non 32 bit offscreen bitmaps were never cleared to white, due to the way they currently work: when the offscreen window is created, the current content of the bitmap is copied to the back buffer, and since the clearing came later, it was never copied to it. This fixes the problem with FlattenPictureTest not working correctly for colorspace different than RGB(A)32.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-09 13:28:30 +00:00
Stefano Ceccherini
8b330bfe28
Should have been part of the previous commit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-09 09:54:07 +00:00
Stefano Ceccherini
5f8c1a0244
Remove unused RamLinkMsgReader. Its functionality was integrated inside LinkMsgReader/Sender by Julun.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-09 09:53:27 +00:00
Stefano Ceccherini
b22590e615
applied patch by Olivier Coursire which removes block_io from the NetBootArchive script (bug #2714 )
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-09 08:13:47 +00:00
Stefano Ceccherini
6ee56a00e5
added a comment explaining why the implementation should be moved to the server
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-08 14:42:38 +00:00
Stefano Ceccherini
032d13f49a
(gcc4) local variable shadows a parameter
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-08 13:27:31 +00:00
Stefano Ceccherini
5dcbba3155
gcc4 complains on missing declaration of exit()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-08 13:26:36 +00:00
Stefano Ceccherini
7d2739a00f
argument was missing from the TRACE call
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-08 08:31:57 +00:00
Stefano Ceccherini
cedb5266aa
Removed PictureTest from the image since it's not that cool as a demo, and we have a better unit test anyway (FlattenPictureTest)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-05 09:10:24 +00:00
Stefano Ceccherini
3d2516cb5f
implemented a client side (and very slow) version of BView::ClipToPicture. See bug #1397
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 13:59:41 +00:00
Stefano Ceccherini
b2bc136efc
Changed spacing parameter type from int32 to float.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 11:58:01 +00:00
Stefano Ceccherini
0fb4fa50cd
Added a column where the picture generated bitmap is subtracted from the direct generated bitmapi (to be able to see small differences, is it correct or it doesn't work like this?). In many cases the result is a black rectangle (as it should), but some others don't look correct. Any idea ?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 10:21:47 +00:00
Stefano Ceccherini
ed70c5f317
added test for push/pop state (very basic)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 10:20:07 +00:00
Stefano Ceccherini
15cf50e010
Added a test (not that cool) for SetDrawingMode(). For some reasons it fails, although the images look the same to me.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 09:30:29 +00:00
Stefano Ceccherini
c8ffdabb35
Fixed memcpy in case a smaller function table is provided. Improved readability of the SET_CLIPPING_RECT op block.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-04 08:22:00 +00:00
Stefano Ceccherini
9fb13d5822
the virtual version is const
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-03 11:23:15 +00:00
Stefano Ceccherini
6e7954eb07
fixed warnings (gcc4). Style fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-03 10:01:58 +00:00
Stefano Ceccherini
52b877461d
Apply the same logic of r24682 to the drawing of BPictures inside BPictures. Fixes part of bug #1389 (drawing pictures at an offset). Thanks to Karsten for his observations!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-01 14:43:25 +00:00