78 Commits
Author SHA1 Message Date
czeidler 76207e934d Add gcc4 ALE package. 2014-06-06 10:58:54 +12:00
czeidler 277f3ec685 Add libalm to the regular system libs.
libalm.so is used by Stack & Tile as well as for the constraint-based
layout BALMLayout. This also adds libalm.so to the development package;
links it to /boot/system/development/lib.
2014-05-28 17:21:31 +12:00
czeidler 03af6a44ed Update the ALE package and add the sources. 2014-05-22 08:33:34 +12:00
czeidler 87d5f67840 Add the Auckland Layout Editor (ALE) to the package list. 2014-05-20 10:44:16 +12:00
czeidler 9abf4591d5 Ok there are some more, thanks Rene. 2012-11-07 21:45:43 +01:00
czeidler 71d45a0f76 Coding style. 2012-11-07 21:37:40 +01:00
czeidler 6078d891b4 Move stacked windows to a different workspace correctly.
When moving a window of a stacked window group to a different workspace all windows in the stack have to be moved. This fixes #8855.
2012-11-06 20:09:15 +01:00
czeidler 24ad8261a9 Integrate patch from jessicah #8937. Thanks!
- navigate in a single S&T group using (win + left and right arrows)
- minor fixed to the patch
- enable switching between S&T groups on the same desktop again (win + up and down arrows)

Hope window key + arrow keys does not collide with to many apps?
2012-11-05 22:25:46 +01:00
czeidler 26fbc34f1b Max size constraints can be NULL. 2012-10-25 18:59:44 +13:00
czeidler 04b1c44b89 Use a tab BReference as argument in Area::Set{Left, Top, Right, Bottom}.
Using a normal pointer is dangerous when creating a new tab directly in the method call because the tab gets deleted to early.
2012-10-17 07:33:54 +00:00
czeidler d6977957a0 The current solver don't like big values.
- Check the constraint values first.
- Some cleanup.
2012-10-11 11:52:46 +13:00
czeidler 5b9400a2b6 Fix coding style violations. 2012-10-07 10:48:17 +13:00
czeidler b9b8b20f3f Add more == and != convenient methods. 2012-10-05 13:10:32 +13:00
czeidler 225446ac99 Check if constraint is NULL. 2012-09-01 16:31:17 +12:00
czeidler 82fbed2596 Move the soft inequalities directly into the solver.
- Clean up.
2012-09-01 16:31:17 +12:00
czeidler a8859a43fb The preferred size constraints have a label now. This helps for debugging. 2012-09-01 16:31:16 +12:00
czeidler 3a7067dc19 Improve ToString output. 2012-09-01 16:31:16 +12:00
czeidler de679878b7 Ceil and floor min and max size respectively gives better results. 2012-09-01 16:31:15 +12:00
czeidler 25e1abc33c Use soft inequality constraints for the max area size.
Only if the alignment is set to use the full width/ height a hard inequality constraint is used.
2012-09-01 16:31:15 +12:00
czeidler 18e5da6297 Remove unused variable and add copy constructor. 2012-09-01 16:31:14 +12:00
czeidler cf5eb5dda1 Add a LinearSpec listener interface. 2012-09-01 16:31:14 +12:00
czeidler 08927d809f Make it possible to create a constraint that is not connected to a solver.
- Clean up.
2012-09-01 16:31:13 +12:00
czeidler 6c4a44e36b Add a list of constraints which can be associated with a BALMLayout.
- Add Get{X,Y}Tabs methods.
- Remove SaveLayout and RestoreLayout. These can be implemented outside of BALMLayout.
2012-09-01 16:31:13 +12:00
czeidler 7dd16a4c95 Fix crash when splitting a S&T group.
- Hold a ref to the old crossings till we cleaned up.
- Additionally use a safer method to delete constraints.
- Clean up.
2012-09-01 15:01:10 +12:00
czeidler 83092a04a4 Fix hrev42632.
This really implements WindowSentBehind.
2012-09-01 15:01:09 +12:00
czeidler 8e80f8cc35 Fix MinSize and PreferredSize. 2012-08-24 15:44:13 +12:00
czeidler 0457e3073e Add another working card id. 2012-08-24 15:42:47 +12:00
czeidler ba1c9c6c6d The hotspot is already included in the shift.
This became visible when dragging an image together with a cursor that has a reasonable large hotspot. In this case the cursor and the bitmap were shifted to much.
2012-08-09 14:42:18 +12:00
czeidler ee3a1ebebf Fix possible crash. 2012-07-17 11:31:45 +12:00
czeidler 875b218202 Calling the BView version of {Enable,Disable}LayoutInvalidation() seems to be more natural. 2012-05-10 10:36:42 +12:00
czeidler 31f768577e The layout checks the target view now if the layout invalidation has been disabled in the view. 2012-05-10 10:36:41 +12:00
czeidler 58f3387d56 Workaround to not trigger a relayout in DoLayout when adding the label view again. 2012-05-09 14:34:44 +12:00
czeidler 9c7f297dd6 Remove lp_solve headers. 2012-05-08 07:28:16 +12:00
czeidler 15ef732f0d Check first if we own the constraint before deleting it. 2012-05-03 08:45:23 +12:00
czeidler c4340eab04 Fix row column weight. 2012-05-03 08:45:21 +12:00
czeidler 35babcf06d Allow left and top tab to be NULL. 2012-05-03 08:45:19 +12:00
czeidler c3e57dc36d Give the area an id. 2012-05-03 08:44:13 +12:00
czeidler b7630c4c98 Save and restore layout. 2012-05-03 08:44:11 +12:00
czeidler a937ffd238 Make the menu window not resizable.
Right clicking the menu border showed the resize arrow and sometimes even made it possible to resize the menu.
2012-05-01 11:03:27 +12:00
czeidler 99a7ed4d4b Remove lp_solve from the source and from the image.
Its not used anymore and should be an optional package otherwise.
2012-04-30 14:58:14 +12:00
czeidler d20d29f390 Create MAIL:flags index in Mail. This should fix #8506. 2012-04-30 11:47:44 +12:00
czeidler dab1609baf Use BSecureSocket and BSocket instead of ServerConnection.
* When sending a new command, drain all leftover data and not only 1025 chars.
2012-04-29 16:53:40 +12:00
czeidler 6eb2e6b47f Use the timeout in poll. 2012-04-29 16:53:40 +12:00
czeidler 3245d56441 Cleanup POP3 connection code.
* Use the ServerConnection class in POP3 too. This means no #ifdef USE_SSL for the connection anymore.
* I remember from the mailing list that there were problems with to many open connection using POP3. Thus, if there is an error or nothing to retrieve close the connection.
2012-04-27 16:04:23 +12:00
czeidler e2b24ac4ba Update ralink2860 to Korli's version from ticket #8325. 2012-04-27 16:04:23 +12:00
czeidler b22f58132d Fix crash in S&T. 2012-02-15 08:54:02 +13:00
czeidler 7ef47de908 Revert "Finally applying the patch that adds support to add path information to stat and attr monitor messages."
Will recommit it when I have more time to work on the todos.

This reverts commit 610ef6c007.
2012-02-14 15:36:46 +13:00
czeidler 7408b8cc24 Add workaround for #8001.
* check known mode list first before sanitizing the target mode. However the optimal way is to fix the constraints in sanitize_display_mode.
2012-02-02 11:21:29 +13:00
czeidler d3ff06683a Use new node monitor fields in the index_server.
* remove unnecessary modified query hack
2012-01-22 17:51:46 +13:00
czeidler 610ef6c007 Finally applying the patch that adds support to add path information to stat and attr monitor messages.
* for all open FD the path information is stored in a map
* this info is used to fill the missing fields in the node monitor
2012-01-22 17:34:17 +13:00
czeidler c7413cf90c Forgot this file. 2012-01-22 15:30:18 +13:00
czeidler 5dbc26dc0a Add AS_RECONNECT_BITMAP to the server protocol. 2012-01-22 15:30:17 +13:00
czeidler 958ac01d5f Reconnect window and recreate all views. 2012-01-22 15:30:16 +13:00
czeidler 6c40fc5dfc Reconnect BApplication and trigger reconnect of all BWindows in an application.
* handle bitmap reconnect request in the app server
2012-01-22 15:30:16 +13:00
czeidler 00670f08ef Reconnect imput server. 2012-01-22 15:30:15 +13:00
czeidler 40c34878fa Reconnect BPicture to the app_server.
* maintain a list of all BPictures to do so
* BView downloads the BPicture data after recording the picture. This could probably done more efficiently using shared memory in the first place.
2012-01-22 15:30:15 +13:00
czeidler 577f58763b Make it possible to reconnect BBitmap to the app_server.
* maintain a list of all BBitmaps
* refactor the client memory allocator class, its possible now to just clone existing client area
2012-01-22 15:30:15 +13:00
czeidler 04209cdd81 Catch a app_server crash in the debug server. Let the registrar restart the app_server and notify all apps. 2012-01-22 15:30:14 +13:00
czeidler dee44e8b18 Fix build. 2012-01-21 18:57:19 +13:00
czeidler 124759d0df This makes keyboard input working when leaving the consoled debugger.
* Fix trace.
* Try to read key input again when the device is just B_BUSY.
2012-01-21 18:38:29 +13:00
czeidler 268dde32de Always cleanup the debug reader flags when closing the keyboard device, not only when the very last device ist closed. 2012-01-21 18:38:29 +13:00
czeidler da6ab904f8 Fix leaks. 2012-01-21 18:38:28 +13:00
czeidler 79d286a56f Ignore KDE backup files. 2012-01-21 18:38:27 +13:00
czeidler e4ff57c33f Use correct ALM variable index.
There is list of all variables and a list of variables used by contraints. When editing the min, max variable constraints access the
correct list.
2012-01-19 09:31:48 +13:00
czeidler b5c5640ec0 Style fixes. Thanks Axel and Ingo. 2012-01-06 09:35:33 +13:00
czeidler 32951c4e63 Make BReference and BWeakReference behave more like a normal pointer.
* Casts like BReference<Derived> to BReference<Base> are now possible.
* This cast for BWeakReference is, because of the underlying structure, not automatically type safe. I used a simple hack to make the compiler complain if the cast
is not type safe. Please take a look if that can be done better.
* Smaller style and bug fixes.
2012-01-05 13:42:45 +13:00
czeidler 5693bf2fa9 Tabs are now reference counted. Fix the tests. 2011-12-21 17:50:19 +13:00
czeidler 85f746c030 Don't read beyond the matrix boundaries. This should fix #8244.
* Use std methods when possible.
2011-12-21 17:44:23 +13:00
czeidler 9472a1d6f7 Small style changes. Thanks Axel. 2011-12-21 17:21:51 +13:00
czeidler 5e6978f457 Fix debug build. 2011-12-21 17:02:12 +13:00
czeidler f0389daa94 Fix comment and add a TODO. 2011-12-17 14:36:37 +13:00
czeidler 14fc524be2 Style and performance fixes. Thanks Ingo and Stephan. 2011-12-17 14:36:36 +13:00
czeidler ed77847ca4 Remove private BStringList implementation from mail. Tested it but however please be careful an review. This fixes bug #8174. 2011-12-15 19:45:07 +13:00
czeidler 779061f0cd Make BStringList derive from BFlattenable. The implementation is more or less copied from the mail version to stay compatible. Fix IndexOf which
was the implementation of HasString.
2011-12-15 19:45:06 +13:00
czeidler 8cfe0f458c When calculating the min, max and pref size, relax the range of the right and bottom tab. These tabs are set to the layout borders again when solving the layout. 2011-12-08 11:22:09 +13:00
czeidler 056207eedd Cleanup the constraint solver a bit and fix a bug when a variable is removed. 2011-11-30 18:22:39 +13:00
czeidler 57014d1ff7 Make tabs BReferenceable. Maintain a list of tabs. 2011-11-30 17:55:36 +13:00
czeidler d240743e9b - The SATGroup has been deleted to early, that probably causes #8103. Holding a reference on the WindowArea (which hold a ref to the group) extends the lifetime till we are done.
- Fix some stayBelowMouse flags.
2011-11-29 10:30:42 +13:00