Commit Graph

37956 Commits

Author SHA1 Message Date
Clemens Zeidler
f149f7aa88 If a window is removed from a group by the user make sure that the window is under the mouse cursor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-03 02:29:13 +00:00
Clemens Zeidler
92998b409f Take the window when dragging the window and switching the workspace using the cmd + F1-12. Thanks Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 22:04:10 +00:00
Philippe Houdoin
dd1ebc6885 In Humdinger-resize mode, don't fall back to drag action when the window is not resizable.
Just do nothing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 22:01:41 +00:00
Clemens Zeidler
946c6e2d9a Just a very slight improvement of the S&T highlight colour. Change it from red to a more descent greenish. Think the border colour is acceptable but the highlighted tab still looks awful. Feel free to improve it!
By the way, is there a pattern how to select the colours?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 21:05:46 +00:00
Clemens Zeidler
dc2dd40caa Fix #6925 and #6935.
- If the event window was set the window was moved also if the moveFocusWindow flag was not set.
- Use ProcessDirtyRegion to redraw the dirty region.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 20:51:38 +00:00
Adrien Destugues
15352f8de6 Fix missing \fn.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 18:40:15 +00:00
Philippe Houdoin
8490a52529 Added some resizable checks that were missing.
Now, borders that can be resize are not highlight anymore,
and it's no more possible to resize a non-resizable
(vertical/horizontal/all directions) window with the third button + CMD + ALT.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 18:12:18 +00:00
Rene Gollent
9119091a71 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 16:09:12 +00:00
Rene Gollent
f07f493d26 When unwinding the stack frame, correctly account for the number of
bytes of augmentation data that were skipped. Fixes some of the problems 
seen with, e.g. StyledEdit in the Debugger, though it doesn't help 
explain the corresponding problems seen with gdb as well.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 14:22:36 +00:00
Clemens Zeidler
ac701f7e7b Only highlight the adjacent borders when tile them.
Simplify Decorator highlighting code. Thanks Ingo for the hard part done in the previous highlight changes!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 02:33:36 +00:00
Clemens Zeidler
a54ffcd265 Don't redraw decorator region if the highlight colour has not changed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-02 00:58:39 +00:00
Gerasim Troeglazov
0d2c294fa1 Update libntfs to ntfs-3g-2010.10.2. Preparing for future updates through the vendor branch. New api(libntfs) fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 22:05:42 +00:00
Clemens Zeidler
8ce987787a Fix #6919. Enable / disable revert and default button at the right time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 20:43:31 +00:00
Adrien Destugues
01c2a7f38f Some inprovements suggested by Stippi and tqh. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 20:12:28 +00:00
Adrien Destugues
2d14fc1b97 Major improvement to the support kit introduction, done as part of gci by InsDel (Thanks!).
Again, review welcome on this in order to decide if we carry on asking students to write api reference pages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 19:40:02 +00:00
Axel Dörfler
1691b94fe3 * Implemented link level setters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 19:21:26 +00:00
Axel Dörfler
fc958868b4 * Added some unit tests for BNetworkAddress.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 17:33:09 +00:00
Axel Dörfler
19b4490fd2 * The constructors weren't defined in declaration order.
* Unflatten() will now check whether the size of the buffer was large enough
  to hold a valid address.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 17:32:27 +00:00
Philippe Houdoin
2115850c7e Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 14:35:51 +00:00
Joachim Seemer
07df8bec9b Updated user guide and welcome page. Among it a new page on Web+ and translations done for Google Code-In. Thanks everyone.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 14:23:44 +00:00
Philippe Houdoin
8417651ec7 Actually remove these unnecessary lines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 11:05:06 +00:00
Philippe Houdoin
b90b61272e Fixed scrollbars & window resize knob layout issue:
- active view at fullscreen enter and exit was not necessary the same one!
- all view's scrollbars are now resized at fullscreen switch
- new tab's scrollbar was sized for window mode, even when added while in
  fullscreen mode...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 10:51:21 +00:00
Clemens Zeidler
b108306f59 Only allow to S&T window with a normal window feel. This behaviour makes S&T more consistent e.g. floating windows suddenly disappeared from the S&T group when the subset window was inactive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-01 02:58:40 +00:00
Axel Dörfler
1d8e6ee862 * Untested work-in-progress. Actually cannot work because of missing
functionality in BNetworkAddress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 21:22:25 +00:00
Adrien Destugues
6ec25bba48 Add documentation for BBox class, done by Clark Gaebel as part of GCI 2010.
I did rework the text a little.

I would like to get some careful review for this. Nielx put out the (valid) concern that he's not confident in random students with no previous Haiku experience to write the API reference.
I'd like to know if I should put online more of these tasks, or if I should stop now because the quality is too low.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 21:06:09 +00:00
Jérôme Duval
25be3898d1 * keep the USBPrinterRoster as a member or local to better control stop and deletion. Should fix #6916.
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 20:09:58 +00:00
Adrien Destugues
150b717e5b Fix crash in terminal : GetLinecolor was accessing lines with negative offsets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 20:09:43 +00:00
Jérôme Duval
4264efcc6b * added definitions for SCSI_OP_VARIABLE_LENGTH_CDB, SCSI_SAI_READ_LONG and SCSI_SAO_WRITE_LONG
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 18:45:53 +00:00
Clemens Zeidler
510c618b96 gcc2 don't like INFINITY. Fix the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 03:35:15 +00:00
Clemens Zeidler
067f47a3ee Move lp_solve dependency completely into LinearSpec. Clean up and some more memory allocation checks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-30 02:08:10 +00:00
Axel Dörfler
d2ff9616c8 * Applied patch by negusnyul that closes ticket #4689 by adding bold/italic
shortcuts to StyledEdit - thanks a lot!
* Minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 21:44:38 +00:00
Clemens Zeidler
e7de22dcff fUsingSummands was never used so remove it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 21:08:26 +00:00
Clemens Zeidler
59c3263165 Replace new by new(std::nothrow).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 20:46:40 +00:00
Axel Dörfler
e6cec9839d * BNetworkAddress isn't really BArchivable material, switched to BFlattenable
instead.
* Also actually implemented the serializing functionality this time, as usual
  completely untested, though :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 20:29:37 +00:00
Clemens Zeidler
bf5d40704e Fix bug spotted by Christian Lippka, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 20:12:22 +00:00
Axel Dörfler
8bbce28359 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 19:39:13 +00:00
Axel Dörfler
52702ce24d * indent is obviously only 2 spaces.
* BTW, the tests work on GCC4 just fine, only the GCC2 build doesn't work, so
  it's likely to be a newly introduced compiler problem as those tests worked
  under BeOS fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 18:51:33 +00:00
Axel Dörfler
8a8c62d587 * Build fix for GCC4.
* Use CPPUNIT_ASSERT() instead of assert() in unit tests.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 18:46:58 +00:00
Axel Dörfler
d463afccb1 * Build fix for GCC4.
* Use printf() instead of the std::cout stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-29 18:05:32 +00:00
Adrien Destugues
4d41072817 Remove useless comment. Thanks Ingo for watching out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 17:38:19 +00:00
François Revol
5846841e68 Fix gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 17:15:51 +00:00
Adrien Destugues
627ced128b Use a better way to store the attributes for end of line. This should also fix some other bugs, as there were occasionalaccess to out-of-range chars.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 16:51:25 +00:00
Jonas Sundström
e55a3c6a38 Making the clock optionally non-interactive, display-only and drawn without the seconds hand.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 15:57:46 +00:00
Michael Pfeiffer
c0aa3379bb Improved error reporting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 08:51:58 +00:00
Michael Pfeiffer
fad059587c Use better variable name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 08:12:39 +00:00
François Revol
917c4aeb8d ISO C and POSIX mandate _Exit() in stdlib.h to be the same as _exit().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-28 05:07:53 +00:00
Adrien Destugues
3096fb8154 Style fix as pointed out by Stephan.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-27 21:15:43 +00:00
Siarzhuk Zharski
09f62acc18 Draft and partial Belarusian translations that was made by S.Zharski.
Added as part of preparation to start next "F-N" and "O-Z" GCI tasks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-27 20:14:25 +00:00
Philippe Houdoin
3986ce0335 Relative add-ons pathnames are now searched in ADDON_PATH too
if they're not found from current working directory.
Fix #6427.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-27 09:57:16 +00:00
Siarzhuk Zharski
d037ff9fa6 Fix broken build. I'm sorry for the inconvenience. I promise to
check build of the catkeys, generated by HTA before commiting them next time. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-27 00:08:21 +00:00