#
b05d6f0a |
|
05-Nov-2020 |
Jérôme Duval <jerome.duval@gmail.com> |
POSIX: asprintf and vasprintf are BSD/GNU extensions fix #16259 Change-Id: Ia16bb6e1944b87b25d1a940bbdaaf6e236db1abf Reviewed-on: https://review.haiku-os.org/c/haiku/+/3381 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
632e7fd0 |
|
24-May-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Interface Kit: Remove no-op TARGET_PLATFORM_HAIKU_COMPATIBLE.
|
#
db68ff23 |
|
10-Sep-2017 |
Augustin Cavalier <waddlesplash@gmail.com> |
Interface Kit: Make BControlLook a proper pure-virtual base class. All of its prior functionality has been moved into HaikuControlLook. This paves the way for customizeable control looks, which I intend to implement in the future as part of decorators. This is being pushed now because libbe ABI was already broken due to the Notifications changes, so this is riding that so we only have to do a mass rebuild once.
|
#
81364c9d |
|
18-Apr-2016 |
John Scipione <jscipione@gmail.com> |
BColorMenuItem: add custom color menufield http://insightfactory.tumblr.com/image/142366356207 * Make the color box a rectangle with proportions of golden ratio. * Override GetContentSize() to make menu item area larger. * Label should never truncate since I make sure there is enough room. * Draw the label using BMenuItem parent class * Carefully adjust the spacing so that there is an attractive amount of padding between the checkmark and color box and the color box and label. Add _AddMenu method to BMenuField that adds BColorMenuItem as its base menu item. This shows the BColorMenuItem in the closed state. Create BPrivate::MenuItemPrivate Add a SetSubmenu() method to MenuItemPrivate that gives you the ability to add a submenu after creating the object. This method should be public Skip disabled items Color gets updated even if you select an item in a submenu
|
#
8028ede7 |
|
15-Jan-2016 |
Rene Gollent <rene@gollent.com> |
Build: Add architecture rule for libshared.a. - As suggested by Ingo, add libshared.a to the architecture name map. This allows it to be linked by its short name like other frequently used libraries. - Adjust all Jamfiles referencing the lib accordingly.
|
#
7f9368ca |
|
09-Dec-2015 |
looncraz <looncraz@looncraz.net> |
Set*UIColor, etc. The inseparable changes necessary to support live color updating across the system in a sane, safe, and performant manner. BView gains: HasSystemColors() HasDefaultColors() AdoptSystemColors() AdoptParentColors() AdoptViewColor(BView*) SetViewUIColor(color_which, float tint) SetHighUIColor(... SetLowUIColor(... ViewUIColor(float* tint) HighUIColor(... LowUIColor(... DelayedInvalidate() BWindow gains a simple helper method: IsOffscreenWindow() BMessage gains: AddColor() FindColor() GetColor() HasColor() * allegedly this API is deprecated, but I implemented it anyway ReplaceColor() SetColor() Previous private ColorTools methods are made public and moved into GraphicsDefs: mix_color, blend_color, disable_color These are fully compatible with BeOS dan0 R5.1 methods and are just code cleanup of BeOS example code under the OpenTracker license. In addition, four new colors are created: B_LINK_TEXT_COLOR B_LINK_HOVER_COLOR B_LINK_ACTIVE_COLOR B_LINK_VISITED_COLOR These changes are documented in their proper user documentation files. In addition, due to a history rewrite, B_FOLLOW_LEFT_TOP has been defined and used in lieu of B_FOLLOW_TOP | B_FOLLOW_LEFT and is included in this commit. On the app_server side, the following has changed: Add DelayedMessage - a system by which messages can be sent at a scheduled time, and can also be merged according to set rules. A single thread is used to service the message queue and multiple recipients can be set for each message. Desktop gains the ability to add message ports to a DelayedMessage so that said messages can target either all applications or all windows, as needed. Desktop maintains a BMessage which is used to queue up all pending color changes and the delayed messaging system is used to enact these changes after a short period of time has passed. This prevents abuse and allows the system to merge repeated set_ui_color events into one event for client applications, improving performance drastically. In addition, B_COLORS_UPDATED is sent to the BApplication, which forwards the message to each BWindow. This is done to improve performance over having the app_server independently informing each window. Decorator changes are live now, which required some reworking. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
5f2db70f |
|
26-Dec-2015 |
Markus Himmel <markus@himmel-villmar.de> |
Interface Kit: Add BCardView Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
a0ba79fb |
|
11-Mar-2015 |
John Scipione <jscipione@gmail.com> |
Split BSpinner into BAbstractSpinner and... 2 concrete classes which are currently implemented: * BSpinner (works on int32s) * BDecimalSpinner (works on doubles) In addition BAbstractSpinner now inherits from BControl instead of BView/BInvoker. This allowed for code simplification at the cost of needing to cast for the decimal version because SetValue(int32 value) comes from BControl. Also, add a spinner_button_style enum with 3 options: * SPINNER_BUTTON_HORIZONTAL_ARROWS * SPINNER_BUTTON_VERTICAL_ARROWS * SPINNER_BUTTON_PLUS_MINUS which sets the spinner arrows to either use horizontal arrows (left/right) vertical arrows, (up/down), or +/- symbols (the default). If the spinner button is using horizontal arrows you can decrement and increment the spinner value by pushing control+left/right, otherwise you can increment and decrement by pushing up or down. The reason for needing control is so that you can move the cursor in the textbox otherwise. Switch the 3 apps that are currently using BSpinners to use the integer variety in Deskbar preferences, WebPostive preferences, and Screen preferences.
|
#
adba4ce9 |
|
10-Mar-2014 |
John Scipione <jscipione@gmail.com> |
Add BSpinner class based on GCI2013 work
|
#
03598119 |
|
28-Sep-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
libcolumnlistview: hybrid arch build, add to image * This is a very useful control, and 3rd-party apps should be able to use it. * But, there are planned improvements (making a better model/view interface) which prevents making it part of the stable API yet.
|
#
9ce450b9 |
|
25-Mar-2014 |
John Scipione <jscipione@gmail.com> |
AboutWindow: Move to Interface Kit (still private)
|
#
97bf0ce3 |
|
22-Dec-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BControl: Move icon code to separate class BIcon
|
#
88f12ad8 |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add private BViewPort class * It simplifies putting regular layout-aware views or layout items into a BScrollView. * Not quite complete yet: Height-for-width support is missing, but that also requires fixing BScrollView in this respect. Scroll bar auto-hide support would be nice as well.
|
#
b0944c78 |
|
01-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More work towards hybrid support * All packaging architecture dependent variables do now have a respective suffix and are set up for each configured packaging architecture, save for the kernel and boot loader variables, which are still only set up for the primary architecture. For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++, and TARGET_LIBSTDC++ are set to the respective values for the primary packaging architecture by default. * Introduce a set of MultiArch* rules to help with building targets for multiple packaging architectures. Generally the respective targets are (additionally) gristed with the packaging architecture. For libraries the additional grist is usually omitted for the primary architecture (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that Jamfiles for targets built only for the primary architecture don't need to be changed. * Add multi-arch build support for all targets needed for the stage 1 cross devel package as well as for libbe (untested).
|
#
fcfe60b0 |
|
24-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Renamed BMenuScrollView to TScrollArrowView and moved it into Deskbar Also gave the Up Arrow and Down Arrow a scroll arrow. The up arrow works but the down arrow doesn't because the sibling menu is stealing the MouseDown event."
|
#
49ff476d |
|
19-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Make ScrollMenu not rely on Menu.cpp Rename ScrollMenu.cpp to MenuScrollView.cpp Half step towards making this class work as part of Deskbar without extending any other classes. Scrolling works both with mouse and scroll wheel. Redraws on scroll, need to make that work better. Also need to move classes out of the Interface Kit and into Deskbar.
|
#
cb55ef9f |
|
27-Jun-2011 |
John Scipione <jscipione@gmail.com> |
WIP: Created a BScrollMenu class that works like BMenuWindow but works on a view instead of a window. Use this to implement a scrollable BarMenuBar in Deskbar. The basics work but there are issues still with sizing and other issues. Modify the ScrollMenu class to use the layout kit by adding a constructor that doesn't take a view. Get the BScrollMenu class to follow the size of the BMenu it is a parent of. Adjust the scrollers to appear in the right places. This is a WIP but it works in Deskbar, next step is to integrate this directly into BMenu with the scrollers as children of the menu instead of as children of the BScroller class. Rebase changes on top of master Deskbar scrolling works for the most part, just need to fix the bottom arrow and clean up a bit.
|
#
60f75e90 |
|
04-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Merge liblocale.so into libbe.so. * Make the locale kit a part of libbe. * Drop the LocaleBackend kludge used from within libbe (and from other places, too) in order to access system catalog strings. This is now done via gSystemCatalog, which is provided and initialized by libbe. * Drop all references to liblocale.so from all Jamfiles. * Add legacy symlink liblocale.so in order to keep optional packages that rely on it in a working state. TODO: the documentation hasn't been updated.
|
#
d63b75fa |
|
22-Feb-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
Outline of labels/strings drawn to desktop * Rather than duplicating the decision taking logic involving wheter or not to draw the outline or glow in every replicant, update be_control_look to make it more generic. * The Monitoring of the background preferences is now only done in Tracker (where it was already being done). * Add a BControlLook::B_IGNORE_OUTLINE flag to avoid this new behaviour. * Remove that said logic from ActivityMonitor and use be_control_look. * Use the ignore flag in DeskCalc to avoid the outline in its case. Should fix #7716, #7291.
|
#
b46615c5 |
|
19-May-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Applied patch by Joseph "looncraz" Groover from ticket #7445. This changes how Decorators are managed and applied. The app_server no longer scans and maintains the available ones himself, but is simply asked to load a Decorator add-on from a provided path. The Decorator scanning is moved into DecorInfo and DecorInfoUtil, private classes in the InterfaceKit. The bin command 'setdecor' uses those. I cleaned up all the coding style violations that I could find, removed chunks of code which didn't make sense (if you never put a NULL pointer into a list, you don't need to check for this and so on) and also cleaned up other passages for improved clarity and simplicity. I also tested the functionality and it works fine. Would even be Ok to include in Alpha 3, IMHO. Thanks for the patch! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41581 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
de667551 |
|
14-Apr-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Add a new layouter 'CollapsingLayouter', which is used by BTwoDimensionalLayout to collapse empty rows or columns. Update BGridLayout so that empty rows/columns are given min/max constraints of B_SIZE_UNSET by default, which allows them to be collapsed. Fixes #6979 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
73f559a4 |
|
13-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Move IconView from kits/interface to kits/shared. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41246 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b428674 |
|
12-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Make DataTranslations' IconView available privately in the interface kit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41244 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4153964a |
|
25-Feb-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Moved IconUtils.h to Interface Kit and therefor made it an "official" header. Since the class has no virtual but only static methods, it is not so likely that binary compatibility issues may arrise from using it in new apps. Adjusted all the Jamfiles that included the private libicon headers. Note that it was never necessary to link against libicon.a, since it's part of libbe anyway. There was one instance where that was done. Hopefully it does not break the build, but I did this change a while ago, tested it and then the harddrive began failing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40679 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
915a7b8c |
|
19-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Make BObjectList<> publically available: * cleaned up ObjectList.h * switched several uses of new() to new(std::nothrow) * moved ugly AsBList() hack into BObjectList<>::Private class and adjusted all callers accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d6c7b6c |
|
17-Aug-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Big change deriving BLayout from BLayoutItem, and allowing viewless BLayouts. a few highlights: * BLayout now derives publicly from BLayoutItem * Added BAbstractLayout class, which our layouts now derive from * updated layout builders to avoid creating views when they don't need to * updated layout classes * updated AboutSystem to fix a little regression * more details on #6407 * please tell me about any regressions, I've tried to find them all, but some may have slipped by. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38207 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5836cd75 |
|
17-Aug-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add a BWindowStack interface class. Please review if adding a BWindowStack as a friend of BWindow in Window.h is ok. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38171 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
acbbf2c0 |
|
09-Jul-2010 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Remove unused define git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37447 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4343960f |
|
12-Apr-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
olta+pulkomandy: * Introduce an add-on system to allow libbe to call things living inside liblocale (as liblocale depends on libbe, it can't be linked the usual way) * This allows localizing the BColorControl class that had some text inside it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36190 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
abb02bc4 |
|
26-Mar-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Moved BAffineTransform from shared kit into interface kit. Still in BPrivate namespace. Applied 80 char/line limit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35955 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec3e7feb |
|
19-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* The PNGDump stuff is no longer used. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32516 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8318af01 |
|
03-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a basic tool tip API, and implementation. * The BView API can probably be regarded as good enough; the implementation might need to be improved over time (also, some things as archivability aren't fully implemented yet). The ToolTip.h header should get public once finalized. * Added new B_MOUSE_IDLE message that is sent to a BView after a certain time has passed (BToolTipManager::ShowDelay()). * Added small test app (ToolTipTest) that shows what is already working. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32078 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7a8567e6 |
|
30-Jul-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Moved MenuPrivate implementation to its own file. Made MenuPrivate.h self-contained. Adjusted other files accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31963 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
82ad5f99 |
|
28-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Doh... added the BSeparatorView to libbe.so. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31847 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f3b1ada5 |
|
17-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved class BStringItem into its own source file. * Changed BStringItem::Update() to set a better baseline offset and height; this should improve vertical text placement. * Fixed a bug in BStringItem::Update(): it used the owner to determine the width, but must use the font passed in instead. * Coding style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31090 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2f86ba45 |
|
15-Feb-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Implemented a new look for the Haiku interface controls. It was overheard that they looked too ninety-ish. TODO: The code behind this is work in progress. The basic idea is to extract all drawing code into a new class BControlLook, of which there is a global instance be_control_look, instantiated in InterfaceDefs.cpp. At the moment, all the old drawing code is still there, and the usage of be_control_look is inside if-bodies checking the instance against NULL. In another words, by not instanitating be_control_look, you can revert back to the old look. BControlLook's job is to provide reusable methods for drawing certain types of frames, backgrounds and labels, so that application developers can make controls that re-use the same drawing code as built-in controls and adopt to changes made there. I have added the notion of "borders". Each of the frame drawing methods can be made to draw certain borders only, which is supposed to help when controls shall visually attach. This feature is not fully explored at all ATM. TODO: Update BColumnListView header view and BStringItem text spacing. Update other apps where it makes sense to use BControlLook. For the moment, only Tracker and LaunchBox are updated. More... NOTE: The new look is not very radically different, so that existing apps do not immediately look too ugly or out of place. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29221 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11c5023a |
|
16-Oct-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Applied patch by Stephen Deken: * Added a new class BAffineTransform, currently in the BPrivate namespace and the inofficial "shared kit". * Extended BPolygon to be transformable by a BAffineTransform. Thanks a lot! Minor fixes by myself: * The class accidentally still derived from agg::trans_affine. * Added then missing comparator operators. * Swapped the BPoint* and count arguments of Apply(), since that seems to be the more common order in the other Be API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
991547ef |
|
14-Oct-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Artur Wyszynski: * Implemented BGradient, BGradientLinear, BGradientRadial, BGradientDiamond, BGradientConic and BGradientRadialFocus new Interface Kit classes. * Implemented all the (AGG-based) backend necessary in the app_server to render gradients (Painter, DrawingEngine) * app_server/View can convert a BGradient layout to screen coordinates. * Added BGradient methods of the Fill* methods in BView. * Implemented a test app and added it to the image as a demo. * Adopted Icon-O-Matic and libs/icon in order to avoid clashing with the new BGradient class. Re-use some parts where possible. Awesome work, Artur! Thanks a lot. Now a more modern looking GUI has just become much easier to implement! :-) TODO: * Remove the need to have gradient type twice in the app_server protocol. * Refactor some parts of the patch to remove duplicated code (Painter, DrawingEngine). * Adopt the BPicture protocol to know about BGradients. * Review some parts of the BArchivable implementation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28109 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb1466cf |
|
30-Sep-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* use the screenshot app to take a screenshot * remove libpng and libz dependency in case we build for Haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27801 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
12fd6cc2 |
|
22-Jul-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* move libprint sources into libs, as it is a 3rdparty lib * move libprint headers into libs headers folder accordingly * merge all shared folders sources into kits print, we might build later on a real print kit, propably also to access cups from an nicely API, atm static * move all shared headers into private print, also pr_server.h from interface * adjust build to work with the changed folder layout git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26570 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6aede71c |
|
29-Apr-2008 |
Ryan Leavengood <leavengood@gmail.com> |
Resolve a TODO and fix another ancient bug, #386. Print Screen is now handled by BWindow, no longer by the app_server. This should stop the "screen freeze" effect. This adds a dependency on libpng.so and libz.so to libbe.so. The same dependencies and the PNGDump code added here can be removed from the app_server. I am just waiting for a code review of this before doing that. This implementation still does not give the client a chance to handle it differently. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25269 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4d85dcbc |
|
30-Dec-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Removed the experimental BColumnListView class from libbe.so, and moved it into its own archive (libcolumnlistview.a). Only DriveSetup is using it at the moment, anyway. IMO we should reimplement and completely redesign a class with this functionality before considering making it public. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23198 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c264769 |
|
27-Sep-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Removed the qoca library and the layouter implementation using it. * Use the new ComplexLayouter for the more complex layouting tasks. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1f3138ed |
|
15-Sep-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved qoca to src/libs/qoca. * Made use of qoca opt-in. You have to set the jam/environment variable LAYOUT_CONSTRAINT_SOLVER to "qoca" to do that. Unfortunately it turned the latest version of qoca is GPL (only earlier version were LGPL; the license included in the downloadable archive was misleading), so we can't use it. Complex layouts constraints that would require constraint solver support are ignored until I've found a replacement. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7e8ac290 |
|
12-Aug-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and SELECT_UNAME_ETC_LIB with TARGET_ and introduced HAIKU_* and HOST_* counterparts. * Use HOST_NETWORK_LIBS for building remote_disk_server. * Also got rid of {R5,BONE,DANO,HAIKU}_COMPATIBLE. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21912 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5a1210fb |
|
11-Jun-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Moved the BAboutWindow implementation to the shared source directory, which despite being talked about repeatedly, does not currently exist. Adding this required adding some new Jam rules to deal with this shared source directory and headers. I had some fun figuring this out. Despite writing articles about Jam in the Haiku newsletter a few years ago I still find Jam to be a PITA at times. But my solution seems to work pretty well. Basically you just call the rule UseSharedSource and pass the name of the shared source file you want to use. This rule sets up the header directories and the right Jam variables for the source file. You then add the source file to the source list in the Application rule like any other source file. I also made the authors list sent to the about window constructor null terminated instead of passing the size of the array, as suggested by Hugo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21391 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8a83855 |
|
10-Jun-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Initial implementation of the common BAboutWindow class. Of course I just realized that calling it a window may not be strictly correct since it isn't a decendent of BWindow, but just uses a BAlert. Oh well, it can be changed if need be. I'm also checking in the first use of it, in ShowImage. Since ShowImage can still be compiled for R5 I've added a #ifdef around the new BAboutWindow related code. I'm open for suggestions for the interface for this class, well mostly the constructor. I'm not a big fan of having to specify the number of authors. For now I'm making the header private, but I don't think it would be a big deal to expose it publically. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21389 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8127593e |
|
25-May-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* implemented loading and displaying of vector icons for the alert bitmaps * a little clean up git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21236 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
420fe80e |
|
12-Nov-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Moved picture data writing to its own class, thus simplifying code in various places. Implemented SetLineMode op for BPicture, fixed shape drawing (I accidentally broke it in the previous commit). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19264 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6ef05f83 |
|
23-Oct-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
updated jamfile git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19097 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a1ae75b6 |
|
28-Aug-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
updated jamfile, once again (could've done all at the same time) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18664 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5f3269c9 |
|
28-Aug-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Updated Jamfile git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18662 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9d5f90e |
|
09-Jul-2006 |
Ithamar R. Adema <ithamar.adema@team-embedded.nl> |
Added missing ColumnTypes.cpp/.h to sourcetree, and added it to the build. This should make our BColumnListView completely usable. (ColumnTypes files were taken from imkit SVN) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18081 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
58ad2aba |
|
26-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
added BColumnListView to libbe.so git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17927 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cbdbfd3a |
|
18-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Implemented Switcher support in BWindow - doesn't yet work correctly for some reason, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17164 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16ed1e1d |
|
18-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed headers/private/servers/app - everything is in src/servers/app now. * Removed DisplaySupport.h, wasn't needed anymore. * Removed private color set functions from InterfaceDefs.cpp - we might want something similar, but definitely not like that. * Minor cleanup, added some missing licenses. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16831 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
49fe9677 |
|
14-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed ColorUtils.cc from libbe.so - I can't think of a reason why these should be public (they don't match any basic Be naming style anyway :-). * Put the code that's used by the app_server where it's needed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16804 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b09e53fa |
|
04-Mar-2006 |
Michael Lotz <mmlr@mlotz.ch> |
Wrote a new color conversion engine. It's 2-5 times faster than the old one (depending on colorspaces) and about half in size. I've put it into ColorConversion.cpp and moved PaletteConverter there too, cleaning up Bitmap.cpp. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16580 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ca9e5772 |
|
07-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true. Library names are now mapped for all targets but "host" (not only for "haiku") -- added one more level of indirection to achieve that. (TARGET_LIBRARY_NAME_MAP -> *_LIBRARY_NAME_MAP_*). * Renamed build/HaikuBuildCompatibility.h to BeOSBuildCompatibility.h (auto-included when compiling something that uses the Be API for platform "host" on anon-BeOS platform), and introduced build/HaikuBuildCompatibility.h, which can be included when compiling something that can be built for both, Haiku and BeOS compatible platforms. * Introduced libhaikucompat.a, a library that adds a few functions existing under Haiku, but not under BeOS. * New rule AddSubDirSupportedPlatforms. * Renamed libopenbeos.so to libbe_haiku.so. * Introduced new target platform "libbe_test", which is basically equivalent to a BeOS compatible host platform target, with the exception, that instead of the host platform's libbe.so a special build of Haiku's libbe.so (libbe_haiku.so (formerly known as libopenbeos.so)) is used. Furthermore Haiku's public app, interface, storage, and support kit headers are used when compiling. This replaces the less nice way in which the test app server and applications for this test environment were built. When building for platform "libbe_test", the library name "be" is autotranslated to "libbe_haiku.so". Thus most applications don't need special fiddling when them building them for the app server test environment; usually an "AddSubDirSupportedPlatforms libbe_test ;" will suffice. * Reduced the dependencies of <syscalls.h> and fixed problems caused by this (e.g. source files not including the needed headers directly). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14749 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338b8dc3 |
|
29-Oct-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged changes from branch build_system_redesign at revision 14573. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d863d4bf |
|
12-Aug-2005 |
DarkWyrm <darkwyrm@gmail.com> |
Made scanning of all font folders a compile-time option Moved the scanning of individual font folders to FontServer Implemented server-side code for update_font_families Removed ClientFontList from the build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13938 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c67c59b |
|
05-Aug-2005 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Removed libhaiku.a from build, as it was only used by (now defunct) experimental StyledEdit+ app. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cb5da7de |
|
05-Aug-2005 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Cleanup libbe.so build system, using MergeObject power: a) Make main Jamfile more easier to understand to new (and old even) developers. Currently it looks a little too messy compared to usual Haiku's jamfiles. b) Get ride of app.src, interface.src, storage.src and support.src includes files. c) Move each kit objects files built back to their respective objects/x86.R1/kits/{app|interface|storage|support} location. d) Move private headers and source search hints back to each respective kit Jamfiles. Most of them, at least. {app|interface|storage|support}.src files effective deletion will come soon. Hope I didn't break all *again* :-\ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13901 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31c2fdcb |
|
11-Nov-2004 |
shatty <shatty@nowhere.fake> |
use libbe functions/initialization unless we are targeting haiku git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9922 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f57ef32c |
|
11-Nov-2004 |
shatty <shatty@nowhere.fake> |
add BTextView to libhaiku.a git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9916 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d826fa6f |
|
17-Jul-2004 |
shatty <shatty@nowhere.fake> |
add scrollview to libhaiku git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8415 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
98602e04 |
|
09-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Adjusted to the new tree structure, though currently (?) not needed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@19 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a38012 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a0ba79fbff0d2a8ce0f008362d5e8832c1d994c2 |
|
11-Mar-2015 |
John Scipione <jscipione@gmail.com> |
Split BSpinner into BAbstractSpinner and... 2 concrete classes which are currently implemented: * BSpinner (works on int32s) * BDecimalSpinner (works on doubles) In addition BAbstractSpinner now inherits from BControl instead of BView/BInvoker. This allowed for code simplification at the cost of needing to cast for the decimal version because SetValue(int32 value) comes from BControl. Also, add a spinner_button_style enum with 3 options: * SPINNER_BUTTON_HORIZONTAL_ARROWS * SPINNER_BUTTON_VERTICAL_ARROWS * SPINNER_BUTTON_PLUS_MINUS which sets the spinner arrows to either use horizontal arrows (left/right) vertical arrows, (up/down), or +/- symbols (the default). If the spinner button is using horizontal arrows you can decrement and increment the spinner value by pushing control+left/right, otherwise you can increment and decrement by pushing up or down. The reason for needing control is so that you can move the cursor in the textbox otherwise. Switch the 3 apps that are currently using BSpinners to use the integer variety in Deskbar preferences, WebPostive preferences, and Screen preferences.
|
#
adba4ce988febe32e061aac861f9c489af2798c4 |
|
10-Mar-2014 |
John Scipione <jscipione@gmail.com> |
Add BSpinner class based on GCI2013 work
|
#
03598119a7dd0323ab7fd43b3d1e0affeb36b6ed |
|
28-Sep-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
libcolumnlistview: hybrid arch build, add to image * This is a very useful control, and 3rd-party apps should be able to use it. * But, there are planned improvements (making a better model/view interface) which prevents making it part of the stable API yet.
|
#
9ce450b9c2f42501d4aff202b0819f96a15b66d1 |
|
25-Mar-2014 |
John Scipione <jscipione@gmail.com> |
AboutWindow: Move to Interface Kit (still private)
|
#
97bf0ce362dbcc6f8ee0e6a94a831214eae2431f |
|
22-Dec-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BControl: Move icon code to separate class BIcon
|
#
88f12ad84fa46739ba94376b5324cdc35bd50b9c |
|
10-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add private BViewPort class * It simplifies putting regular layout-aware views or layout items into a BScrollView. * Not quite complete yet: Height-for-width support is missing, but that also requires fixing BScrollView in this respect. Scroll bar auto-hide support would be nice as well.
|
#
b0944c78b074a8110bd98e060415d0e8f38a7f65 |
|
01-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
More work towards hybrid support * All packaging architecture dependent variables do now have a respective suffix and are set up for each configured packaging architecture, save for the kernel and boot loader variables, which are still only set up for the primary architecture. For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++, and TARGET_LIBSTDC++ are set to the respective values for the primary packaging architecture by default. * Introduce a set of MultiArch* rules to help with building targets for multiple packaging architectures. Generally the respective targets are (additionally) gristed with the packaging architecture. For libraries the additional grist is usually omitted for the primary architecture (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that Jamfiles for targets built only for the primary architecture don't need to be changed. * Add multi-arch build support for all targets needed for the stage 1 cross devel package as well as for libbe (untested).
|
#
fcfe60b02ec06525dbe76eedc110d20b7eb808f7 |
|
24-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Renamed BMenuScrollView to TScrollArrowView and moved it into Deskbar Also gave the Up Arrow and Down Arrow a scroll arrow. The up arrow works but the down arrow doesn't because the sibling menu is stealing the MouseDown event."
|
#
49ff476d139dc28ebaa95d65b7820423b6061d60 |
|
19-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Make ScrollMenu not rely on Menu.cpp Rename ScrollMenu.cpp to MenuScrollView.cpp Half step towards making this class work as part of Deskbar without extending any other classes. Scrolling works both with mouse and scroll wheel. Redraws on scroll, need to make that work better. Also need to move classes out of the Interface Kit and into Deskbar.
|
#
cb55ef9fb597a3f3bc91e53017360b18b20dd27b |
|
27-Jun-2011 |
John Scipione <jscipione@gmail.com> |
WIP: Created a BScrollMenu class that works like BMenuWindow but works on a view instead of a window. Use this to implement a scrollable BarMenuBar in Deskbar. The basics work but there are issues still with sizing and other issues. Modify the ScrollMenu class to use the layout kit by adding a constructor that doesn't take a view. Get the BScrollMenu class to follow the size of the BMenu it is a parent of. Adjust the scrollers to appear in the right places. This is a WIP but it works in Deskbar, next step is to integrate this directly into BMenu with the scrollers as children of the menu instead of as children of the BScroller class. Rebase changes on top of master Deskbar scrolling works for the most part, just need to fix the bottom arrow and clean up a bit.
|
#
60f75e901ce3063c63441ac644dd0e55a17d5d09 |
|
04-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Merge liblocale.so into libbe.so. * Make the locale kit a part of libbe. * Drop the LocaleBackend kludge used from within libbe (and from other places, too) in order to access system catalog strings. This is now done via gSystemCatalog, which is provided and initialized by libbe. * Drop all references to liblocale.so from all Jamfiles. * Add legacy symlink liblocale.so in order to keep optional packages that rely on it in a working state. TODO: the documentation hasn't been updated.
|
#
d63b75faf848697b07bfad9b71899e6caf9ab5bc |
|
22-Feb-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
Outline of labels/strings drawn to desktop * Rather than duplicating the decision taking logic involving wheter or not to draw the outline or glow in every replicant, update be_control_look to make it more generic. * The Monitoring of the background preferences is now only done in Tracker (where it was already being done). * Add a BControlLook::B_IGNORE_OUTLINE flag to avoid this new behaviour. * Remove that said logic from ActivityMonitor and use be_control_look. * Use the ignore flag in DeskCalc to avoid the outline in its case. Should fix #7716, #7291.
|
#
b46615c55ad2c8fe6de54412055a0713da3d610a |
|
19-May-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Applied patch by Joseph "looncraz" Groover from ticket #7445. This changes how Decorators are managed and applied. The app_server no longer scans and maintains the available ones himself, but is simply asked to load a Decorator add-on from a provided path. The Decorator scanning is moved into DecorInfo and DecorInfoUtil, private classes in the InterfaceKit. The bin command 'setdecor' uses those. I cleaned up all the coding style violations that I could find, removed chunks of code which didn't make sense (if you never put a NULL pointer into a list, you don't need to check for this and so on) and also cleaned up other passages for improved clarity and simplicity. I also tested the functionality and it works fine. Would even be Ok to include in Alpha 3, IMHO. Thanks for the patch! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41581 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
de667551ce1c18738c555d92e8b3ec3e1ff86fb5 |
|
14-Apr-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Add a new layouter 'CollapsingLayouter', which is used by BTwoDimensionalLayout to collapse empty rows or columns. Update BGridLayout so that empty rows/columns are given min/max constraints of B_SIZE_UNSET by default, which allows them to be collapsed. Fixes #6979 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
73f559a4c784b78f0ff7e03e43deab098ca6a9b7 |
|
13-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Move IconView from kits/interface to kits/shared. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41246 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b428674959e4a798253ad564b6d339441a892b9 |
|
12-Apr-2011 |
Jonas Sundström <jonas@kirilla.com> |
Make DataTranslations' IconView available privately in the interface kit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41244 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4153964a10814090db7c21bd8503b7ad349d4770 |
|
25-Feb-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Moved IconUtils.h to Interface Kit and therefor made it an "official" header. Since the class has no virtual but only static methods, it is not so likely that binary compatibility issues may arrise from using it in new apps. Adjusted all the Jamfiles that included the private libicon headers. Note that it was never necessary to link against libicon.a, since it's part of libbe anyway. There was one instance where that was done. Hopefully it does not break the build, but I did this change a while ago, tested it and then the harddrive began failing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40679 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
915a7b8c247e1ed9182bd561df3e9856307e750c |
|
19-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Make BObjectList<> publically available: * cleaned up ObjectList.h * switched several uses of new() to new(std::nothrow) * moved ugly AsBList() hack into BObjectList<>::Private class and adjusted all callers accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d6c7b6cb6f46c2672074ff137a18833d4dd3041 |
|
17-Aug-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Big change deriving BLayout from BLayoutItem, and allowing viewless BLayouts. a few highlights: * BLayout now derives publicly from BLayoutItem * Added BAbstractLayout class, which our layouts now derive from * updated layout builders to avoid creating views when they don't need to * updated layout classes * updated AboutSystem to fix a little regression * more details on #6407 * please tell me about any regressions, I've tried to find them all, but some may have slipped by. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38207 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5836cd75c258263c14eb31fb0a2d1d27dc3b1682 |
|
17-Aug-2010 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add a BWindowStack interface class. Please review if adding a BWindowStack as a friend of BWindow in Window.h is ok. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38171 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
acbbf2c0bbecd15705bf71f53e2f64917ee34ed4 |
|
09-Jul-2010 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Remove unused define git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37447 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4343960f5539184616a33c397ac5bea85df6cd4d |
|
12-Apr-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
olta+pulkomandy: * Introduce an add-on system to allow libbe to call things living inside liblocale (as liblocale depends on libbe, it can't be linked the usual way) * This allows localizing the BColorControl class that had some text inside it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36190 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
abb02bc4a40395682a9dd4ad13361653412d82f7 |
|
26-Mar-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Moved BAffineTransform from shared kit into interface kit. Still in BPrivate namespace. Applied 80 char/line limit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35955 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec3e7feb049a7acfcd051678efba22a52c7659fa |
|
19-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* The PNGDump stuff is no longer used. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32516 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8318af01b99f0c1c6622b7bf33db02794b7eaa20 |
|
03-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a basic tool tip API, and implementation. * The BView API can probably be regarded as good enough; the implementation might need to be improved over time (also, some things as archivability aren't fully implemented yet). The ToolTip.h header should get public once finalized. * Added new B_MOUSE_IDLE message that is sent to a BView after a certain time has passed (BToolTipManager::ShowDelay()). * Added small test app (ToolTipTest) that shows what is already working. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32078 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7a8567e61d42a4c1aa3ecae991ad8dd3b098db44 |
|
30-Jul-2009 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Moved MenuPrivate implementation to its own file. Made MenuPrivate.h self-contained. Adjusted other files accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31963 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
82ad5f999d71dbe6fe07300e2e40b4fb2109d7f7 |
|
28-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Doh... added the BSeparatorView to libbe.so. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31847 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f3b1ada54fee6fc493ca736939cc0d799b6b24f2 |
|
17-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved class BStringItem into its own source file. * Changed BStringItem::Update() to set a better baseline offset and height; this should improve vertical text placement. * Fixed a bug in BStringItem::Update(): it used the owner to determine the width, but must use the font passed in instead. * Coding style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31090 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2f86ba45579bdc9648b232175f87edc62ab71b54 |
|
15-Feb-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Implemented a new look for the Haiku interface controls. It was overheard that they looked too ninety-ish. TODO: The code behind this is work in progress. The basic idea is to extract all drawing code into a new class BControlLook, of which there is a global instance be_control_look, instantiated in InterfaceDefs.cpp. At the moment, all the old drawing code is still there, and the usage of be_control_look is inside if-bodies checking the instance against NULL. In another words, by not instanitating be_control_look, you can revert back to the old look. BControlLook's job is to provide reusable methods for drawing certain types of frames, backgrounds and labels, so that application developers can make controls that re-use the same drawing code as built-in controls and adopt to changes made there. I have added the notion of "borders". Each of the frame drawing methods can be made to draw certain borders only, which is supposed to help when controls shall visually attach. This feature is not fully explored at all ATM. TODO: Update BColumnListView header view and BStringItem text spacing. Update other apps where it makes sense to use BControlLook. For the moment, only Tracker and LaunchBox are updated. More... NOTE: The new look is not very radically different, so that existing apps do not immediately look too ugly or out of place. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29221 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11c5023a777637f2b53021737762c2952533d52f |
|
16-Oct-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Applied patch by Stephen Deken: * Added a new class BAffineTransform, currently in the BPrivate namespace and the inofficial "shared kit". * Extended BPolygon to be transformable by a BAffineTransform. Thanks a lot! Minor fixes by myself: * The class accidentally still derived from agg::trans_affine. * Added then missing comparator operators. * Swapped the BPoint* and count arguments of Apply(), since that seems to be the more common order in the other Be API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
991547ef6c1fca650f0fba855206296ef54bc441 |
|
14-Oct-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Artur Wyszynski: * Implemented BGradient, BGradientLinear, BGradientRadial, BGradientDiamond, BGradientConic and BGradientRadialFocus new Interface Kit classes. * Implemented all the (AGG-based) backend necessary in the app_server to render gradients (Painter, DrawingEngine) * app_server/View can convert a BGradient layout to screen coordinates. * Added BGradient methods of the Fill* methods in BView. * Implemented a test app and added it to the image as a demo. * Adopted Icon-O-Matic and libs/icon in order to avoid clashing with the new BGradient class. Re-use some parts where possible. Awesome work, Artur! Thanks a lot. Now a more modern looking GUI has just become much easier to implement! :-) TODO: * Remove the need to have gradient type twice in the app_server protocol. * Refactor some parts of the patch to remove duplicated code (Painter, DrawingEngine). * Adopt the BPicture protocol to know about BGradients. * Review some parts of the BArchivable implementation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28109 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb1466cf86f1a987a3c7eecd156a05ed11d5dc92 |
|
30-Sep-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* use the screenshot app to take a screenshot * remove libpng and libz dependency in case we build for Haiku git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27801 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
12fd6cc2e713920c32d691c50b881517a0c53988 |
|
22-Jul-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* move libprint sources into libs, as it is a 3rdparty lib * move libprint headers into libs headers folder accordingly * merge all shared folders sources into kits print, we might build later on a real print kit, propably also to access cups from an nicely API, atm static * move all shared headers into private print, also pr_server.h from interface * adjust build to work with the changed folder layout git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26570 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6aede71c0c98fc4bced0235ad84abbdcfa422d4f |
|
29-Apr-2008 |
Ryan Leavengood <leavengood@gmail.com> |
Resolve a TODO and fix another ancient bug, #386. Print Screen is now handled by BWindow, no longer by the app_server. This should stop the "screen freeze" effect. This adds a dependency on libpng.so and libz.so to libbe.so. The same dependencies and the PNGDump code added here can be removed from the app_server. I am just waiting for a code review of this before doing that. This implementation still does not give the client a chance to handle it differently. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25269 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4d85dcbce8338ab6117858f4936b60c2843f824a |
|
30-Dec-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Removed the experimental BColumnListView class from libbe.so, and moved it into its own archive (libcolumnlistview.a). Only DriveSetup is using it at the moment, anyway. IMO we should reimplement and completely redesign a class with this functionality before considering making it public. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23198 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c2647695a7b6b6dc7257886ea2102561d3b100d |
|
27-Sep-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Removed the qoca library and the layouter implementation using it. * Use the new ComplexLayouter for the more complex layouting tasks. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1f3138edcb2f53329cc4c5557070ad8a056140b9 |
|
15-Sep-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved qoca to src/libs/qoca. * Made use of qoca opt-in. You have to set the jam/environment variable LAYOUT_CONSTRAINT_SOLVER to "qoca" to do that. Unfortunately it turned the latest version of qoca is GPL (only earlier version were LGPL; the license included in the downloadable archive was misleading), so we can't use it. Complex layouts constraints that would require constraint solver support are ignored until I've found a replacement. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7e8ac2903b840f54bd891019fac17f2e28cbbc0c |
|
12-Aug-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and SELECT_UNAME_ETC_LIB with TARGET_ and introduced HAIKU_* and HOST_* counterparts. * Use HOST_NETWORK_LIBS for building remote_disk_server. * Also got rid of {R5,BONE,DANO,HAIKU}_COMPATIBLE. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21912 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5a1210fbeffef1010c67193dc7faff4d34369b71 |
|
11-Jun-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Moved the BAboutWindow implementation to the shared source directory, which despite being talked about repeatedly, does not currently exist. Adding this required adding some new Jam rules to deal with this shared source directory and headers. I had some fun figuring this out. Despite writing articles about Jam in the Haiku newsletter a few years ago I still find Jam to be a PITA at times. But my solution seems to work pretty well. Basically you just call the rule UseSharedSource and pass the name of the shared source file you want to use. This rule sets up the header directories and the right Jam variables for the source file. You then add the source file to the source list in the Application rule like any other source file. I also made the authors list sent to the about window constructor null terminated instead of passing the size of the array, as suggested by Hugo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21391 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8a83855b0627f6a2d588885764803ed32ba1313 |
|
10-Jun-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Initial implementation of the common BAboutWindow class. Of course I just realized that calling it a window may not be strictly correct since it isn't a decendent of BWindow, but just uses a BAlert. Oh well, it can be changed if need be. I'm also checking in the first use of it, in ShowImage. Since ShowImage can still be compiled for R5 I've added a #ifdef around the new BAboutWindow related code. I'm open for suggestions for the interface for this class, well mostly the constructor. I'm not a big fan of having to specify the number of authors. For now I'm making the header private, but I don't think it would be a big deal to expose it publically. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21389 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8127593e85a48c8016b8d6a0379bf8685b1aacbe |
|
25-May-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* implemented loading and displaying of vector icons for the alert bitmaps * a little clean up git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21236 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
420fe80e5c3dc9765da5343c511071d63bcb81cb |
|
12-Nov-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Moved picture data writing to its own class, thus simplifying code in various places. Implemented SetLineMode op for BPicture, fixed shape drawing (I accidentally broke it in the previous commit). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19264 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6ef05f83bf6b87063706b54fd2b93c5f6f4e62bd |
|
23-Oct-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
updated jamfile git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19097 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a1ae75b6084ca2f1b56c1b94b1d35191fb298d9d |
|
28-Aug-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
updated jamfile, once again (could've done all at the same time) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18664 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5f3269c93b53ae25560001ce1f0bdd024a893e03 |
|
28-Aug-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Updated Jamfile git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18662 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c1d4888d341a6eac72112c72d1ae3a4cb |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9d5f90ecccab13439d9445633fc4bc44683e9d9 |
|
09-Jul-2006 |
Ithamar R. Adema <ithamar.adema@team-embedded.nl> |
Added missing ColumnTypes.cpp/.h to sourcetree, and added it to the build. This should make our BColumnListView completely usable. (ColumnTypes files were taken from imkit SVN) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18081 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
58ad2aba2970fd564b4348cfd9b8603e191b67da |
|
26-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
added BColumnListView to libbe.so git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17927 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cbdbfd3a80dd4a14dc25a531448da88b0965c6d6 |
|
18-Apr-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Implemented Switcher support in BWindow - doesn't yet work correctly for some reason, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17164 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16ed1e1d15aac69c945890e5d5990bb41d9f4303 |
|
18-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed headers/private/servers/app - everything is in src/servers/app now. * Removed DisplaySupport.h, wasn't needed anymore. * Removed private color set functions from InterfaceDefs.cpp - we might want something similar, but definitely not like that. * Minor cleanup, added some missing licenses. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16831 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
49fe96777baaee4401de21e8a6bb8a363aab3dab |
|
14-Mar-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed ColorUtils.cc from libbe.so - I can't think of a reason why these should be public (they don't match any basic Be naming style anyway :-). * Put the code that's used by the app_server where it's needed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16804 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b09e53fae0c50ed31994c3f03d477ae2af8ab951 |
|
04-Mar-2006 |
Michael Lotz <mmlr@mlotz.ch> |
Wrote a new color conversion engine. It's 2-5 times faster than the old one (depending on colorspaces) and about half in size. I've put it into ColorConversion.cpp and moved PaletteConverter there too, cleaning up Bitmap.cpp. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16580 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ca9e5772c3fa971474035b57ee9226ccc429ebc9 |
|
07-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Reintroduced third LinkAgainst parameter <mapLibs>, defaulting to true. Library names are now mapped for all targets but "host" (not only for "haiku") -- added one more level of indirection to achieve that. (TARGET_LIBRARY_NAME_MAP -> *_LIBRARY_NAME_MAP_*). * Renamed build/HaikuBuildCompatibility.h to BeOSBuildCompatibility.h (auto-included when compiling something that uses the Be API for platform "host" on anon-BeOS platform), and introduced build/HaikuBuildCompatibility.h, which can be included when compiling something that can be built for both, Haiku and BeOS compatible platforms. * Introduced libhaikucompat.a, a library that adds a few functions existing under Haiku, but not under BeOS. * New rule AddSubDirSupportedPlatforms. * Renamed libopenbeos.so to libbe_haiku.so. * Introduced new target platform "libbe_test", which is basically equivalent to a BeOS compatible host platform target, with the exception, that instead of the host platform's libbe.so a special build of Haiku's libbe.so (libbe_haiku.so (formerly known as libopenbeos.so)) is used. Furthermore Haiku's public app, interface, storage, and support kit headers are used when compiling. This replaces the less nice way in which the test app server and applications for this test environment were built. When building for platform "libbe_test", the library name "be" is autotranslated to "libbe_haiku.so". Thus most applications don't need special fiddling when them building them for the app server test environment; usually an "AddSubDirSupportedPlatforms libbe_test ;" will suffice. * Reduced the dependencies of <syscalls.h> and fixed problems caused by this (e.g. source files not including the needed headers directly). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14749 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338b8dc301721b1f472e8297a898d4eaa2f2ee3a |
|
29-Oct-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged changes from branch build_system_redesign at revision 14573. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d863d4bf1d0abf169d895ac72145bc99c15e8bba |
|
12-Aug-2005 |
DarkWyrm <darkwyrm@gmail.com> |
Made scanning of all font folders a compile-time option Moved the scanning of individual font folders to FontServer Implemented server-side code for update_font_families Removed ClientFontList from the build git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13938 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c67c59ba9854161aeacff07d9e66d27d982f9d9 |
|
05-Aug-2005 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Removed libhaiku.a from build, as it was only used by (now defunct) experimental StyledEdit+ app. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cb5da7de09f51a4a58ee3d28c071f6afc001e620 |
|
05-Aug-2005 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Cleanup libbe.so build system, using MergeObject power: a) Make main Jamfile more easier to understand to new (and old even) developers. Currently it looks a little too messy compared to usual Haiku's jamfiles. b) Get ride of app.src, interface.src, storage.src and support.src includes files. c) Move each kit objects files built back to their respective objects/x86.R1/kits/{app|interface|storage|support} location. d) Move private headers and source search hints back to each respective kit Jamfiles. Most of them, at least. {app|interface|storage|support}.src files effective deletion will come soon. Hope I didn't break all *again* :-\ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13901 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
31c2fdcb8c216a253b12a70b8049067d74b3303d |
|
11-Nov-2004 |
shatty <shatty@nowhere.fake> |
use libbe functions/initialization unless we are targeting haiku git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9922 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f57ef32cc082603ba52e397e5b4b23566c680bfa |
|
11-Nov-2004 |
shatty <shatty@nowhere.fake> |
add BTextView to libhaiku.a git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9916 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d826fa6fa7d35d5762c20d0af547afe569f9f6f9 |
|
17-Jul-2004 |
shatty <shatty@nowhere.fake> |
add scrollview to libhaiku git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8415 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
98602e04094381abc2dd0b28cf6a31b8115e3ce6 |
|
09-Jul-2002 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Adjusted to the new tree structure, though currently (?) not needed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@19 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52a380120846174213ccce9c4aab0dda17c72083 |
|
08-Jul-2002 |
ejakowatz <ejakowatz@nowhere.fake> |
It is accomplished ... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
|