Commit Graph

38184 Commits

Author SHA1 Message Date
Bruno G. Albuquerque
2eb5e77d9b - Fix reference to GCC4 lib FLAC.
Note that the reference to GCC4 Vorbis Tools is also broken but I did not fix
it as there is no GCC4 vorbis Tools package available where all the other
optional packages are.
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-30 18:22:20 +00:00
Scott McCreary
209727818f Updated build of curl, with openssl-1.0.0c in place, should fix #7045
Fixed the filename of smpeg gcc4 build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-30 04:36:47 +00:00
François Revol
2fd3b8b9c5 Style. Very odd as I despise space-before-( anyway, I should got to sleep.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-30 00:02:11 +00:00
Adrien Destugues
87ff4c051b Early work on a package manager GUI.
There is nothing functional yet, I just wanted to try some ideas from the GCI results.

Code is mostly based on Web+ download window, which hapenned to match the mockups pretty well.
Icon is derived from Zumi's work (mix of two different icons)
Icon handling for apps themselves and categories is not done yet, because it depends on how they will be handled by the backend we chose
The install/remove/info buttons don't do anything yet.

Things I'm not sure about :
 * What to put in the menu ? Should it replicate the icons at the bottom ?
 * How to browse categories ? Is a "go up" button enough ? Should we have a BPopupMenu with all categories in a tree (I don't like menutrees in BPopupMenus...) ? A BOutlineListView would be wasting space... any other idea ?
 * Should we keep textual buttons like this, or graphical ones like in the mockup ? Or maybe both ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 22:01:16 +00:00
François Revol
d074928c03 Avoid leaking a file descriptor on error. Thanks PovAddict for running cppcheck.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 20:05:24 +00:00
Ryan Leavengood
4517bee6c0 Use strlcpy not strncopy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 20:04:58 +00:00
Ryan Leavengood
9c34e0e302 Revert most of r40007. I also will mark CID 2393 as ignored.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 20:01:49 +00:00
François Revol
49ad9afbbe Need array delete operator here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 19:56:33 +00:00
Adrien Destugues
267479782d Various build fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 17:02:32 +00:00
Adrien Destugues
58a25e2114 Missing part of MediaConverter patch. Was a problem with svn getting lost.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 15:57:26 +00:00
Adrien Destugues
a27a534c3b Fix build. Waiting for a proper solution to translate these strings from GCI student.
Sorry for the problems.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 14:54:34 +00:00
Adrien Destugues
10e2c9e012 Patch by Mike Roll:localize DataTranslations. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:45:14 +00:00
Adrien Destugues
f2758b750b Patch by Mike Roll: localize Mail preferences.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:44:39 +00:00
Adrien Destugues
4915d3ef43 Patch by Mike Roll: localize Notifications
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:43:54 +00:00
Adrien Destugues
c9e8f97a95 Patch by Mike Roll as part of GCI: localize Screen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:43:12 +00:00
Adrien Destugues
2813f49667 Pathc by Dziadek: localize Poorman. thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:42:21 +00:00
Adrien Destugues
518852fca7 Patch by Dziadek: localize IconOMatic
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:41:46 +00:00
Adrien Destugues
54526b1534 Patch by Dziadek: localize People.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:41:14 +00:00
Adrien Destugues
ae0f70fc69 Patch by Dziadek : localize MediaConverter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:40:46 +00:00
Adrien Destugues
d462be1157 Patch by dziadek: localize Magnify
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:39:59 +00:00
Adrien Destugues
238df8fb85 Patch by Dziadek as part of GCI : localize MediaPlayer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:38:58 +00:00
Michael Lotz
c3dab48ba4 Add a way to cancel a started message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 08:30:25 +00:00
Michael Lotz
49e57f098a Add support for the screen offset and scale to remote shape drawing. This brings
back scrollbar icons and menu markers for example after they got broken when
the offset was introduced.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 08:19:59 +00:00
Stefano Ceccherini
f95b5003de Style changes, some more error checks, removed ifdeffed broken
behaviour.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 08:10:25 +00:00
Michael Lotz
566d89aec9 Forgot that in r40016, needed for utf8_functions.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 07:54:10 +00:00
Michael Lotz
8b600b7cb7 Implement RP_DRAW_STRING_WITH_OFFSETS. Untested though, especially the bounding
box part should be validated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 07:53:21 +00:00
Michael Lotz
c4b45a0c4d Implement RP_DRAW_BITMAP_RECTS on the client side.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 07:04:01 +00:00
Michael Lotz
7162595e84 Implement a new RP_DRAW_BITMAP_RECTS which splits up bitmaps to be sent into the
relevant parts (i.e. removes clipped or out of bounds parts) and does local
scaling in case the view rect is smaller than the bitmap rect. This avoids
sending the full blown bitmaps across when they are in the end scaled to a much
smaller representation. It's nowhere near perfect yet, but it's useable and
improves the network traffic heaviness quite a bit depending on the application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 07:03:03 +00:00
Ryan Leavengood
65cd35f0cb CID 9916 and 9917: initialize fSpaceNeeded.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 05:58:39 +00:00
Ryan Leavengood
5b9003c79e CID 5899: Move a variable so it does not go out of scope when a pointer to it
is used. In my testing this did not seem to be a problem but it doesn't hurt to
fix it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 05:34:50 +00:00
Ryan Leavengood
ccb228004c CID 6931 and 8076: use strncpy for the extremely unlikely case that
B_TRANSLATE("???") returns something larger than the size of name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 05:16:42 +00:00
Ryan Leavengood
5d67e2ba05 CID 10412: remove assignments for unused variables.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 04:53:05 +00:00
Ryan Leavengood
9617074c9b CID 5273: Don't hide the message parameter with a local variable. Not critical
but good coding practice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 04:26:32 +00:00
Ryan Leavengood
43d3fdf3b1 CID 6925: Use snprintf. Also sizeof(size) is kind of funny.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 04:20:39 +00:00
Ryan Leavengood
39aa9ae199 CID 2393: Check the return value of GetDecoratorSettings (though this is
probably not needed.)

Another problem fixed here is that the border width value is in "border width"
not "border" so this code wasn't really working before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 04:15:14 +00:00
Ryan Leavengood
7058291b1a CID 6924: Use safe coding practices to avoid buffer overflow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 04:00:25 +00:00
Ryan Leavengood
7f6caa088c CID 5772: Delete the unneeded (and leaked) ref on the loop end case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 03:54:07 +00:00
Ryan Leavengood
97d3d5a1d3 CID 9936: Uninitialized members.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 03:47:21 +00:00
Michael Lotz
8e164a0fe2 Add way to add a "minimal" bitmap without colorspace/flags for adding multiple
similar bitmaps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:17:28 +00:00
Michael Lotz
645e9fe135 Cleanup which should've been part of r39972.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:12:13 +00:00
Michael Pfeiffer
05a2fec5fb * CID 9729: initialized member fPrinter in constructor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:11:02 +00:00
Michael Lotz
1c3680d302 Allow creating a BitmapDrawingEngine with a specific colorspace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:08:46 +00:00
Michael Pfeiffer
0f0bd984d7 * CID 6544, 5645: removed "const" qualifier on return type
as it is meaningless


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:08:04 +00:00
François Revol
b44f0a94a4 Add commented setting to enable the laplink type debugging output module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:01:19 +00:00
François Revol
3d5a11ee4e 44100 kHz seems a lot for audio sampling rate...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:51:33 +00:00
Michael Pfeiffer
9dbc17e4f3 * CID 10346: hid unused code; I cannot remember why the
code is not used; maybe it was not implemented completly
  or BePDF could not render it correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:44:59 +00:00
Michael Pfeiffer
737e45854e * As pointed out by Rene the buffer size in snprintf
includes the 0-terminator.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:24:58 +00:00
Michael Pfeiffer
fdee209b00 * CID 10260: member variable fIconSize was not initialized
in error case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:14:25 +00:00
Michael Pfeiffer
a17b8132ed * CID 10260: member variable fDefaultPrinter was not
initialized in constructor in error case


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:12:17 +00:00
Michael Pfeiffer
e923359460 * CID 7969: defensive programming: use snprintf instead of sprintf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 21:06:29 +00:00