Commit Graph

37638 Commits

Author SHA1 Message Date
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
Jérôme Duval
8f9cef36d1 added missing prototypes and moved some around.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-27 00:07:33 +00:00
Siarzhuk Zharski
79bcfcc891 Belarusian translation for so called "A-E Range" GCI task. Made by Mike Roll (Michal Bulosh).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 23:50:38 +00:00
Siarzhuk Zharski
9729bed77c Draft of Belarusian translation files made by S.Zharski. Just to fix the state
of the "Range A-E" _before_ corresponding GCI task was completely performed 
by Mike Roll.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 23:30:48 +00:00
Ingo Weinhold
9f1aca35af Implemented Humdinger's resizing method, activated on Cmd-Ctrl-middle-click.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 21:36:45 +00:00
Adrien Destugues
a8e3ab4f46 Enable the VBlank interrupt on pipe B for LVDS panels. This gets it working for me. Most stuff using BDirectWindowand synced drawing should now work better (\n and TVBack demos for example)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 20:36:40 +00:00
Ingo Weinhold
97d623045e ResizeBorderState: Set a suitable mouse cursor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 20:29:10 +00:00
Ingo Weinhold
8689fe066a Added method SetManagementCursor() that allows to set a cursor that overrides
the normal cursor set with SetCursor(). Intended for window management
interactions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 20:25:57 +00:00
Ingo Weinhold
006f748565 * Got rid of DefaultWindowBehaviour::Region again. Since we also need to
discriminate between the different borders and corners, there wasn't much
  difference between it and Decorator::Region anymore and we can as well use
  the latter.
* Added new state ManageWindowState which is entered when the mouse is over the
  window and the window management modifiers are held down. When being in this
  state the borders that will be resized when pressing the right mouse button
  are highlighted.
* Added State::ExitState() hook for cleanup work.
* _NextState() does now call Desktop::SetMouseEventWindow() for our window when
  entering a new state, respectively resets it when going stateless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 18:28:52 +00:00
Ingo Weinhold
92fe8be943 * ExtendDirtyRegion(): The left and right border rects don't include the
corners. Make sure they are added as well.
* GetComponentColors(): Added support for HIGHLIGHT_RESIZE_BORDER. We simply
  shift the standard colors towards blue. Improvements welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 18:17:34 +00:00
Philippe Houdoin
d5d2fdf0b3 * Renamed some option to match more RFC2132 names
* dhcp_message::NextOption() now set cookie.next to NULL on exit if there is no space left
* dhcp_message::Size() now handle OPTION_OVERLOAD case
* Renamed _ToString() to _AddressToString()
* Any error message send by DHCP server will show up in syslog now
* Reorganize DHCPClient::_PrepareMessage() to make more easy to see which
  option is added per message type.
* OPTION_SERVER_ADDRESS was always added to DHCP_REQUEST, which MUST NOT
  in renewal and rebinding state according RFC 2131.
* add device name to resolver configuration: WIP for #6915...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 17:11:22 +00:00
Oliver Tappe
eaab4bd5e9 Fix #6758:
* adjust TruncTimeBase() in libtracker's WidgetAttributeText to use
  the BString-based versions of BLocale's date formatting methods
* restored the 6 different formats Tracker used to try and fit into
  a date column (i. e. it now behaves pretty much as it did before the 
  introduction of the Locale Kit)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 15:22:40 +00:00
Ingo Weinhold
37ba7e5389 Flush the bitmap caches for the zoom and close button, when their hightlight
changes. Fixes that the buttons were not drawn with the right color when the
S&T tab highlight was active.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 14:52:56 +00:00
Ingo Weinhold
07655104d5 Eliminated _acquire_spinlock(). Since the macro is defined after
acquire_spinlock_inline(), there's actually no undesired recursion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 13:55:20 +00:00
Ingo Weinhold
c07db2ec3f * elf_find_symbol(): Skip undefined symbols and symbols with the wrong binding.
* Implemented missing handling of symbolically linked images and of weak
  symbols.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 13:32:24 +00:00
Ingo Weinhold
003b80f0bb Fixed gcc 2 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 13:24:10 +00:00
Clemens Zeidler
c97cd0f4da Also update the preferred size constraints correctly when replacing the tabs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 04:33:06 +00:00
Clemens Zeidler
5cfaa5ee78 Some clean up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 04:23:52 +00:00
Clemens Zeidler
81c40be9fc Simplify the Pinwheel demo according to the last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-26 04:23:13 +00:00