Commit Graph

2786 Commits

Author SHA1 Message Date
Stephan Aßmus
a873be2ab4 Also disable the new "Write Boot Sector" button while installing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 16:21:11 +00:00
Stephan Aßmus
7b293a3e93 * Prevent to copy the "var" and "_packages_" folders from the source volume
root folder as before switching the CopyEngine.
* Add a button "Write Boot Sector" that makes the selected target volume
  bootable without performing an installation. Adjusted the status message
  after installation to be more descriptive.
* Small improvements in the CopyEngine, collecting the source size should be
  even a bit faster now since we can use the file size from the already
  performed stat().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 15:35:49 +00:00
Stephan Aßmus
803d0234c1 Sorry, this is a bit of a mess yet and needs more refactoring...
* I've implemented my own copy engine which runs a separate writer thread.
  Especially when installing from one hard drive to another, it should speed
  things up. When installing from CD, the entire harddisk write time should
  at least disappear in the CD read time. When installing from/to the same
  drive, the new routine is as fast as the Tracker code that was used before.
* When stopping/canceling the copy process, the copy engine will now actually
  block, instead of happily going on while the alert is showing. I've
  still implemented that to not leave incomplete files around, like before.
* There is now a progress bar, based on data bytes in files to copy. Reason
  being that it's quite fast to collect this info versus also scanning all
  attributes.
* The copy engine itself was used in another project before and was tested
  with SHA256 hashes of the original files and the copied files, so I think
  it can be trusted.
* There is now a lot of code that can be removed or should be cleaned up.
  What was the "CopyEngine" should become the "WorkerThread" or something.
* I still had a mental TODO about skipping the swap file (there is none on
  CDs, but when copying a harddisk installation there may be one), I just
  remembered this when typing this commit message... will fix that next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 11:29:18 +00:00
Joachim Seemer
aeaeba65e9 * Changed a few strings in Screenshot's interface and related function names.
Closes ticket #3817.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 06:05:36 +00:00
Philippe Saint-Pierre
852e061a74 Allow TextSearch add-on to be used also on volumes.
This fixes ticket #3386.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 04:16:09 +00:00
Philippe Saint-Pierre
bb6301b264 Ask confirmation in case the application would try to overwrite an existing file.
This is fixing ticket #3815.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 23:48:16 +00:00
Ingo Weinhold
4219390212 Moved main window related source to a subdirectory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 23:07:21 +00:00
Ingo Weinhold
660ec153db Added more interesting columns to the threads table.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 22:55:00 +00:00
Ingo Weinhold
1e336eba17 Do an actual analysis of the scheduling data -- basically equivalent to what
the kernel scheduling analysis does.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 22:53:28 +00:00
Ingo Weinhold
3355e888b1 Added Int64TableColumn.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 22:45:39 +00:00
Stephan Aßmus
3bbb00b48d * Only except BFS partitions as target volumes. Installer does not initialize
partitions by itself. When it does, this check can be removed again... for
  now DriveSetup is to be used and so there is no code duplication.
* Check if the target volume is non-empty and present an appropriate warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 16:28:38 +00:00
Stephan Aßmus
7a65816a64 * Tweaked text here and there (also thanks to Alexandre for proof-reading!)
* Renamed _UpdateMenus() to _UpdateControls().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 15:45:34 +00:00
Stephan Aßmus
b4eca493bb * Prevent the user from chosing the same disk for source and destination.
* Keep the info text and the Begin button in consistent state at all times
  according to the selection of the disks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 15:32:40 +00:00
Stephan Aßmus
4e65d35a57 No need to truncate the labels in layout-managed mode...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 15:18:55 +00:00
Stephan Aßmus
9ba6067e9d Thou shalt compile before thou commitst!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 14:29:39 +00:00
Stephan Aßmus
5902980135 * Adopted naming scheme for private methods
* Sorted methods to reflect order in .cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 14:24:20 +00:00
Stephan Aßmus
35c3b2d2a1 * Do not try to prevent read-only partitions, we will/should initialize it
with BFS anyways.
* Use the partition path, not the parent path. This also makes displaying IDs
  really superfluous.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 14:19:18 +00:00
Axel Dörfler
11efbf0160 * Applied patch by Olivier to implement more mouse reporting modes, and thus
fixing bug #2854. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 14:15:18 +00:00
Stephan Aßmus
7cd194fffb If Deskbar is not running, prevent minimizing (untested).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 14:14:52 +00:00
Stephan Aßmus
3ac4a7392e Now showing "important information before installing". It mentions that you
should already have a partition ready and also offers some info on integrating
Haiku into a GRUB boot menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 14:09:41 +00:00
Stephan Aßmus
2e80f194d5 Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 14:08:11 +00:00
Stephan Aßmus
7ff74a7b9b * Converted to use layout-management.
* New logo specific to R1 Alpha/1.
* "Setup Partitions" is now always visible, since it will most likely be
  required to prepare a partition for installation anyways.
* The optional packages are still in the GUI, but are collapsed by default as
  before. As there are currently no optional packages, a message will be
  displayed if no optional packages are found on the source partition.
* The default label for the "Onto" popup is now "Please choose target" instead
  of the first partition found, even though it is not actually selected yet.
* The EULA window is still shown, but it's not based on a BAlert anymore.
* Only make main window non-minimizable if the Deskbar is not running
  (untested).
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 12:24:25 +00:00
Stephan Aßmus
2384ec2866 Preparation for using layout-management, improvements to absolute layout for
the time being.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-23 20:04:31 +00:00
Stephan Aßmus
072f1c320c Updated to new header indentation style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-23 18:42:51 +00:00
Stephan Aßmus
bc6c545be0 80 char/line cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-23 18:35:14 +00:00
Stephan Aßmus
3e3d7acb90 In some ways, this is unrelated, but I had to combine this anyhow:
* Extend the PaneSwitch BControl from Tracker, so it can draw on/off labels.
  This has the added benefit that you can click the label to expand/collapse,
  like for example in the Get Info window (Permissions).
* I also added font-sensitivity features to PaneSwitch, and it can be used
  in layouted windows (untested).
* This made the "DrawButton" in the Installer superfluous.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-23 18:25:37 +00:00
Ingo Weinhold
9d7f0c336a * Moved the TableColumn subclasses to TableColumns.{cpp,h}.
* Added Int32TableColumn and BigtimeTableColumn classes.
* Evaluate the timestamps of the events that have one and maintain the
  fLastEventTime field, so we get estimated team/thread creation/deletion
  times.
* Added some columns to the threads table (ID, creation and deletion time).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 23:32:33 +00:00
Ingo Weinhold
b623e81cf7 The string setter didn't reset the flags.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 23:22:16 +00:00
Ingo Weinhold
f57c87ac31 Added creation and deletion time getters to Team and Thread.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 23:21:39 +00:00
Stephan Aßmus
3861c65e89 * Make the source selection not accidentally reject the boot partition because
it isn't BFS... (like perhaps ISO9660 with write-overlay ;-)
* Reject a lot more situations as valid targets. (No more devices when they
  already have child partitions, no more extended partitions themselves, also
  use a minimum size.)
* Remove the partition ID from the menu item name. I don't know why the user
  would be interested in this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 20:21:39 +00:00
Stephan Aßmus
bbab3b46ce Whoops, that was for debugging the fallback code path...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 19:57:08 +00:00
Stephan Aßmus
90562b72b7 Try really hard to launch DriveSetup. The registrar may have trouble to launch
an app by signature if the mime database is incomplete. Like on a boot CD.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 19:55:47 +00:00
Ingo Weinhold
7615c5eee5 Removed superfluous TableModel::GetColumnName(). The TableColumns have a name,
anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 12:23:43 +00:00
Ingo Weinhold
3e9f9e8672 Factored subclass DelagateBasedTableColumn out of TableColumn. This allows to
implement the TableColumn interface without a column delegate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 12:16:25 +00:00
Ingo Weinhold
fc0965bb05 Use Variant instead of void* for values in the table model.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 11:56:44 +00:00
Ingo Weinhold
4e632511e4 Added class Variant, a typed union-like wrapper for a single value.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 11:55:26 +00:00
Stephan Aßmus
872c998bee Don't break the BeOS build...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 08:18:39 +00:00
Stephan Aßmus
f4aaf23e06 Draw the playback mark a bit nicer in the playlist window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 08:17:24 +00:00
Ingo Weinhold
486725aad1 * Use Table instead of BColumnListView.
* Partially implemented a respective table model. At least the thread names can
  be seen now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 00:28:42 +00:00
Ingo Weinhold
ffa1d866c6 fThreadsPage is already initialized to the object we want to use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 00:26:22 +00:00
Ingo Weinhold
82d9e19758 Added Thread::Name() getter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 00:23:29 +00:00
Ingo Weinhold
488f3fb86a First sketch of class Table which wraps BColumnListView to provide at least some
reasonable model/view separation. *sigh*


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-22 00:22:45 +00:00
Stephan Aßmus
8d18637080 * Added setting for "Ignore Double Click". I assumed it to be the desired
behavior to ignore double clicks in case someone did it out of habbit, but
  wouldn't expect an app to launch twice because of that. However, some people
  may want the plain/straight button behavior, as testified in #3800. :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-21 21:39:14 +00:00
Stephan Aßmus
b518478165 More style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-21 21:06:10 +00:00
Stephan Aßmus
c0d8a10f50 Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-21 20:49:32 +00:00
Ingo Weinhold
08e34e27d4 * Added team and thread management to Model.
* ModelLoader does now at least evaluation team and thread added/removed events.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-21 20:33:15 +00:00
Ingo Weinhold
4f1804a109 * Renamed: MainModel -> Model, MainModelLoader -> ModelLoader
* Some debug cleanup in ModelLoader.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-20 16:29:27 +00:00
Ingo Weinhold
c442235ebd WiP:
* Added an abstraction for getting an BDataIO, DataSource and derived classes,
  which allows to move I/O completely out of the GUI threads.
* Fleshed out application start, window creation, and file loading. We do now
  create a window for every command line argument and load the referenced file
  or, if none, create an empty window.
* Some improvements in the file loader. It does now correctly load the file,
  but doesn't process the stored data yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-19 23:55:17 +00:00
Axel Dörfler
4f65f5dca0 * Patch by Olivier to fix the function key assignments, a.k.a. as bug #2853.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-19 21:07:11 +00:00
Axel Dörfler
21543141dd * Applied slightly changed patch by Olivier that adds basic xterm style mouse
support, thanks!
* This probably closes bug #2854, confirmation pending.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-19 20:59:08 +00:00
Axel Dörfler
728c7f10e1 * Fixed warnings.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-19 20:57:33 +00:00
Ingo Weinhold
36e787103f Made BDebugEventInputStream::ReadNextEvent() nicer to use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-19 11:17:24 +00:00
Ingo Weinhold
3dc9bfd17e Beginnings of a graphical tool for analyzing the output of scheduling_recorder.
Doesn't do anything yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-19 00:31:03 +00:00
Ingo Weinhold
20dbdc7914 Simplified the includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-18 21:52:14 +00:00
Philippe Houdoin
7767db5a86 Quick fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-16 23:04:17 +00:00
Stephan Aßmus
71db5f0735 * Convert the preference window of Mail to use the layout-management. This is
a compile time option, the BeOS build should be unaffected. Axel can comment
  if he liked the version with the non-aligned/cluttered menu fields better...
* Many thanks to Francisco Castro, who submitted a similar patch in #3735.
  I had already done this work a couple of weeks ago, but never got around to
  commit it. Going to comment on a number of small issues with the patch in
  the ticket, otherwise it does pretty much the same thing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-16 16:20:15 +00:00
Stephan Aßmus
7cc93cd01c Patch by Ankur Sethi: Use layout-management in the OpenWindow of DiskProbe.
Works around the issue from ticket #1809.

Thanks a lot! Please note some changes I have made:
* When using layout management, use the contructors that don't take BRects
  and "follow modes". (You forgot that for the BButtons.)
* You reversed the button order.
* I found it more convenient to use a BGridLayoutBuilder. And it seemed odd
  to only add the menu bar layout item, not also the label item.
* Finally, to create a patch, cd into the Haiku root folder and use "svn diff",
  like "svn diff src/apps/diskprobe/ > patch.diff". I had to apply your patch
  manually line by line, I am not very firm with "patch", although I am sure
  there would have been a way to do it... :-)

Nice work!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-15 15:26:31 +00:00
Stephan Aßmus
962bcf7da1 Patch by stpere:
* Make DiskUsage use Tracker's "Get Info" panel instead of it's own (still
  falls back to it's own when Tracker isn't running...)
* Fixed some drawing issues.
* Removed the window aspect constraints.

Thanks a lot! Philippe, please have a look how I changed the license, and the
only coding style violation is that you need to watch out for the 80 chars per
line limit. :-) Great work!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-15 14:49:06 +00:00
Axel Dörfler
ad491b436f * Moved _CreateBlocks() back into the constructor. That used to make bug #3572
more reproducible, but it doesn't work for me anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-13 13:12:09 +00:00
Ingo Weinhold
1e855c376c * Patch by Fredrik Ekdahl: gcc 4 build fixes (missing headers).
* Added missing header for mountvolume.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-12 09:57:26 +00:00
Axel Dörfler
78c00a4a53 * Applied patch by sil2001 that fixes bug #3666 (handling of existing symlinks).
* Refactored PkgItem classes, and pulled out a PackageItem base class. Renamed
  other classes to Package*.
* The ItemExists() method should really get a "Apply this choice to all files"
  kind of option...
* Style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 21:37:51 +00:00
Ingo Weinhold
4fba3522e0 * Removed src/kits/tracker/OpenHashTable.h. The shared version in
headers/private/shared is newer, though with small interface changes.
* Removed the unnecessary Debug.h include in
  headers/private/shared/ObjectList.h.
* Adjusted sources using these headers, mostly by adding missing includes.
* Lots of automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 21:24:32 +00:00
Stephan Aßmus
c3f8b9752e Patch by Chico CHEN: Just use the new path of the userguide in DiskUsage and
the help button comes to live. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 19:42:01 +00:00
Stephan Aßmus
160f5f5e2f Patch by Philippe Saint-Pierre: Don't use BTextView::LineHeight() when the font
has not yet been set... Thanks a lot!

D'oh, this one made me slap my hand against my forehead!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-10 08:29:05 +00:00
Stephan Aßmus
54337aafca Small style cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 23:46:38 +00:00
Axel Dörfler
3c2a04f4c9 * Fixed that you would drag the wrong character when the drag was started
while you were already over another character.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 20:45:18 +00:00
Axel Dörfler
ff99f481b2 * Removed the line view again. Sorry, but this is pretty useless, had a small
fixed size, didn't follow our coding style, etc.
* I did not remove the back-end code in the StyledEditView, though (nor did I
  had a look at it for coding style violations :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-07 19:50:03 +00:00
Stephan Aßmus
ed1b27536b * Some beautification, mostly for when the replicant is embedded on the Desktop.
* Fall back to a shorter legend label when the room is too small (before
  truncating).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-07 16:09:00 +00:00
Stephan Aßmus
b936fc6770 * Watch the system clipboard for changes.
* On the event of a clipboard change, check if the clipboard contains text
  now and replace the contents of the internal "mouse clipboard". So when
  right/middle clicking into the Terminal, the current system clipboard contents
  are inserted. As soon as the user selects text in the Terminal again, that
  text will have priority over the system clipboard, as before.

Fixes ticket #3700.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-07 09:03:29 +00:00
Alexandre Deckner
eee6f40b8b * Archive/Unarchive refresh interval
* Minor style fix


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 20:30:21 +00:00
Rene Gollent
cce423c203 gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-06 15:21:57 +00:00
Rene Gollent
0f617d4476 Fix several cases of forgetting to include libstdc++ in the libs. This allows a successful build of Haiku on gcc4 Haiku, though it's presently unclear to me why this didn't prevent linking on any other platform (gcc2 haiku, and gcc2/4 cross compilers from FBSD had no issues here).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 22:33:53 +00:00
Axel Dörfler
7d33b63d40 * Fixed removing a per CPU source.
* Fixed drawing problem when adding a new source, and the draw happened before
  a new value came in.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 21:22:14 +00:00
Axel Dörfler
8e26f38727 * Added a ViewHistory class that stores the current values, so they don't have
to be interpolated everytime. This class also makes sure that the values are
  always from the same offsets, so the flickering is gone.
* Need to use SetMouseEventMask() or else the mouse up will be ignored when
  changing the resolution via dragging the mouse.
* Fixed a bug that prevented the DataHistory data interpolation from working
  correctly.
* The refresh threads are now working at B_URGENT_DISPLAY_PRIORITY, making the
  view updates much more stable with less jitter.
* Removed the draw refresh, and have it always be the same as the value
  refresh.
* Added lower refresh intervals (25, and 75 ms).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 21:05:50 +00:00
Rene Gollent
dd6ab6242c gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 17:53:33 +00:00
Jonas Sundström
3b5c46634d Suppress ResizeView (the grey rows & columns view) when entering/leaving fullscreen mode, and when zooming. Its useful only when manually resizing the window. In the other cases it simply flickers by.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 16:56:42 +00:00
Oliver Tappe
349a150359 build fix:
* added 'app' private header path such that ServerProtocolStructs.h
  can be found

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 15:13:53 +00:00
Jonas Sundström
2db5c7580c Spotted a few left-over occurences of the previous names: TrackerGrep and Tracker Grep. Simplified the About window: Version is no longer essential. Its simply part of Haiku now. The name is more self-explanatory now, so there is no need to explain the purpose of the application in the About window. Removed the mention of myself as the maintainer, as its maintained collectively by Haiku now. Moved myself into the list of contributors, after Oliver Tappe, which I think is chronologically correct. If the primary copyright holder was Haiku and not Matthijs Hollemans, it would have been appropriate to use Haikus BAboutWindow, but alas.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 13:08:42 +00:00
Stephan Aßmus
14cfdab543 Reset the follow mode to "follow none" when instantiating a replicant view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 07:35:40 +00:00
Axel Dörfler
aeab3755ee * Made the button bar no longer draw over the menu bar, and it now uses the
BControlLook to draw its bottom border instead of using a BBox, and have the
  parent move it around to make it somehow fit (or not).
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 23:05:55 +00:00
François Revol
37fbed721c Fix gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 22:42:26 +00:00
Axel Dörfler
7f629a4121 * Tried to make the scrolling position less surprising when resizing the window.
Sometimes it even seems to work :-)
* FrameResized() called _UpdateSize(), although DoLayout() already did so.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 22:22:34 +00:00
Stephan Aßmus
000fe088a7 Patch by Ma Jie: Basically - make Poorman (the webserver) work. Libhttpd from
Jef Poskanzer is providing the backend, but had to be adopted in some ways.
Other issues in Poorman have been resolved.

When testing the license integration, I stumbled over some AboutSystem bugs,
basically clicking licenses would not open them. I fixed those in this patch,
sorry for mixing that up.

Note to Ma Jie: I changed the encoding of the libhttpd files to UTF-8!
(This affects only the (C) glyph.) Thanks a lot for your awesome work on
Poorman, it's really appreciated!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 21:03:19 +00:00
Axel Dörfler
195981bb59 * Removed the polling of the network status; instead, it now uses the new
network notifications.
* It also doesn't keep a socket open over the whole time which would prevent
  the network stack to be unloaded.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 17:12:18 +00:00
Stephan Aßmus
2833e9ea83 * Fix drawing the background if needed on other shelfs than Tracker (untested).
* Fix invalidating the whole view when receiving a color drop, since the frame
  around the text input is also affected now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 08:08:51 +00:00
Axel Dörfler
317bd7dda3 * Changed directory structure as suggested on the mailing list.
* Made the TimeZoneView less error prone, and also actually use Haiku code (the
  previous check didn't work since it used #if, not #ifdef).
* Also took the liberty to rename our boot loader to haiku_loader, since I had
  to update the nasm binary anyway. Updated the assembly sources to nasm 2.0.
* I haven't found where the synth location in the MIDI code is specified,
  though.
* Also, NetBootArchive, and FloppyBootImage haven't been updated yet. Will do
  so next.
* Some optional packages still put their license to beos/etc/licenses. I didn't
  update them yet, as we'll probably do so anyway at some point. Also, I think
  we might want to introduce a common/data/licenses instead for those.
* If you encounter any problems, please tell!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-03 09:02:44 +00:00
Axel Dörfler
7ac4610afa * Got rid of the mouse move heuristics again, and tried a cleaner approach
by redirecting up/down keys to the list view.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 10:01:05 +00:00
Axel Dörfler
c7c20fc184 * Improved filter input vs. mouse use behaviour.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 09:51:09 +00:00
Axel Dörfler
8f400a127a * Added filter control for the Unicode block list.
* The status line now contains the character as well, as suggested by humdinger.
* Moved the list view into its own class UnicodeBlockView.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 09:46:21 +00:00
Stephan Aßmus
db9de5de43 As Michael correctly pointed out, there is no reason for the window to be
not resizable, since it will even nicely relayout itself on size changes.
Some pages can be resized too small, but anyways, that can be improved.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 17:55:04 +00:00
Axel Dörfler
a9fcf35b98 * Added support for copying characters into the clipboard via Command-C, and
a popup menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 15:53:53 +00:00
Philippe Houdoin
b60892ce1c * As suggested by Axel, BMediaTrack::GetCodecInfo() don't anymore say
"Haiku Media Kit: ", as it's given for any caller of a Media Kit API ;-)
* This remove an systematic line feed in the codec pretty name returned;
* Updated MediaPlayer info window text layout to take this change into account.




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 19:16:18 +00:00
Rene Gollent
f03b0a18cc gcc4 build fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 17:59:23 +00:00
Axel Dörfler
ac2bb4db91 * No longer highlight a character once dragging starts.
* Use correct alpha/blending mode for the letters.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 15:13:29 +00:00
Axel Dörfler
9a0dc161a5 * Selecting a font via its family didn't work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 15:07:20 +00:00
Axel Dörfler
a664f9dec5 * Made the default window size a bit larger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:56:06 +00:00
Axel Dörfler
53d31fb972 * Removed unused MessageReceived() method.
* Made the standard character width a bit wider.
* When moving a character around, it was incorrectly centered in the bitmap
  (StringWidth() was called from the wrong view).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:50:58 +00:00
Axel Dörfler
beedda4c2c * Added a string view that shows the character's code on mouse over, the
character gets also highlighted.
* Added support for dragging a character. Holding shift (or option) while
  dragging will copy an UTF-8 hex string instead.
* Minor cleanup.
* Is there any reason BStringView restricts its maximum width?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:42:06 +00:00
Stephan Aßmus
80aabca188 When the window is already full screen (ie, zoomed, not the full-screen mode
without any window border), do not enlarge or shrink the window when going from
or into tabbed mode. Fixes ticket #3646.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 13:37:04 +00:00
Stephan Aßmus
8222443084 For some reason I do not grasp right now, "c" needs to have uchar type or
the method is broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 13:35:31 +00:00
Axel Dörfler
f05dab29fd * CharacterView now accepts mouse wheel input (it did not forward the messages
to its superclass), and it also sets useful scroller steps.
* Improved layout a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 12:51:50 +00:00
Axel Dörfler
6722e2f797 * Temporarily removed the "Only Show Blocks Contained in Font" - Haiku does
not yet support this.
* Made sure the correct font is selected at start.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 11:55:59 +00:00
Axel Dörfler
b045287228 * Started an application showing the Unicode character map.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 10:45:34 +00:00
Philippe Houdoin
71ec08a773 Quick & dirty fix to align labels and contents.
Quick because a better option is use the layout feature.
Dirty because it's assert BMediaTrack::GetCodecInfo() return a two-lines pretty name.
BTW, why prefixing "Haiku Media Kit:\n" the codec name?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 20:55:54 +00:00
Stephan Aßmus
79f3690f4a When embedded on the Desktop as a replicent, prevent the Desktop view from
painting over the workspaces view. The way this is currently handled in
app_server makes it flicker even in double buffered mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 18:21:24 +00:00
Rene Gollent
8e26769c8b Patch by Bryce Groff: add line number display to StyledEdit. Fixes ticket #2623. It does however expose an interesting curiosity in BTextView - CurrentLine() does not count a line until it's actually had some text put into it (i.e. simply hitting enter at the last line of the doc does not increment the number that CurrentLine() returns. Is this an oversight or does R5 behave this way also?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 16:29:53 +00:00
Stephan Aßmus
403687d8d2 * Beautified everything with the help of BControlLook.
* When embedded on the desktop, draw with alpha compositing.
* Implemented flashing the pressed keys.
* Clicking the calculator icon in compressed mode will evaluate.
* Cleaned up dead code, did some refactoring.
* Removed Audio Feedback option, since the feature is currently missing support
  in Haiku. (play_sound() unimplemented)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-28 19:45:45 +00:00
Stephan Aßmus
4e78d3bc78 Something is fishy with the pen location and graphics states. At first, this
irritated me when drawing BShapes. Those are always offseted by the current
pen location (to be compatible with BeOS). On first draw, it worked ok, on
subsequent draws, no shape to be seen. Now I've noticed that ActivityMonitor
does not draw it's offscreen view when placed on the Desktop. This seems to
be the same issue. The BView is archiving a wrong penlocation. I've looked
a bit around for the actual problem, but until I can find it, this patch fixes
the replicant mode of ActivityMonitor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-28 18:05:16 +00:00
Stephan Aßmus
d63a77f913 Didn't spot this coding style violation! Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 17:58:56 +00:00
Stephan Aßmus
661d0430d0 * Patch by Ziyu Yu. The bootman window doesn't need to be resizable.
Fixed ticket #2330.
* Additionally, I fixed the bootman window popping up at some place and then
  centering.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-26 15:59:21 +00:00
Stephan Aßmus
681c2e4425 The button and menu field draw routines take a background color into account,
which makes the resessed frame blend better with the surroundings. This can
be seen best in Keymap, where a different color is set on some buttons, but
the resessed frame should still be the same across all those buttons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 23:34:19 +00:00
Jérôme Duval
934e233b60 * don't copy /var (bug #3584)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-25 20:42:35 +00:00
Stephan Aßmus
f7335ab6ed Coding style cleanup, no functional change. Hopefully. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-24 11:22:35 +00:00
Stephan Aßmus
4b0f97863f Change label of Mount menu to just "Mount", as in Tracker. The items mounted
could be something else than disks anyways.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-22 11:49:50 +00:00
Stephan Aßmus
cb6afcb146 * Give Deskbar a refreshed and cleaner look.
* Fixed a bunch of problems in layouting the various views. (For example,
  the last app menu entry is no longer one pixel too short, but there was
  more...)
* Fixed Deskbar being not wide enough for the Haiku logo in certain modes.
* Enabled the mount menu. I think it's a good idea to have at a more prominent
  location where new Haiku users may look for it (Gnome also has this in
  the main panel).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-21 17:27:06 +00:00
Stephan Aßmus
55c030c4e2 Unbroke the "Mount Menu in Deskbar" feature. It re-uses the MountMenu code
from libtracker.so. BTW, I like this feature, since it gives mounting volumes
more visibility. But this commit does not enable it. Use

-SubDirC++Flags -D_SHOW_CALENDAR_MENU_WINDOW=1 ;
+SubDirC++Flags -D_SHOW_CALENDAR_MENU_WINDOW=1 -DMOUNT_MENU_IN_DESKBAR=1 ;

in the Deskbar Jamfile to enable it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-21 11:34:06 +00:00
Michael Pfeiffer
1b1b6fce17 Applied patch of ticket #3169 by oco: Set default partition correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-21 10:23:34 +00:00
Stephan Aßmus
432ce3738d * Tracked down the mkdepend tool which Ingo used in his updated makefile-engine
which auto-generates dependencies. It was written by Lars Duening for BeOS
  and uses libglob, which is also part of make. To re-use libglob and since
  make is already part of the Haiku tree, I added mkdepend to the bin tools.
* Added Lars Duening's copyright to AboutSystem.
* Added skeleton makefile and makefile-engine to data/develop.
* Added mkdepend and makefile-engine files to the Development optional package.
  It could be argued to move the make bin command there too, from it's current
  location in the HaikuImage file. However, make could be useful to always
  have available.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-19 12:19:41 +00:00
Stephan Aßmus
5ef44d9bfc * Do not draw the BMenuItem content twice. (Fixes bad anti-aliasing of labels
when applications are expanded in the Deskbar.)
* Simplified setting B_OP_COPY drawing mode.
* PopState() at the end of drawing, not before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-18 17:24:08 +00:00
Stephan Aßmus
1cf94bf91f Cleaned up the include list. It's probably safest to include <Debug.h> before
anything else.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-18 17:21:48 +00:00
Stephan Aßmus
1162fe1c93 Removed DeskBar from the libbe_test target.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-18 17:20:07 +00:00
Axel Dörfler
a7ea0713b4 * Now listens to disk device notifications, and rescans its device list when
something comes in -- this could be greatly improved, though.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-18 08:56:49 +00:00
Jérôme Duval
c0f674824c * fixed symlink creation and symlink attributes
* more debug output


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-16 21:55:50 +00:00
Jérôme Duval
8f29cb488f * added debug output
* don't create the directory with the link name, only the parent


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-16 00:23:16 +00:00
Joachim Seemer
2bb8b19f08 Forgot to re-format the About alert. Oops.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-15 17:47:59 +00:00
Joachim Seemer
1e251de143 Exchanged all occurences of 'Expand-O-Matic' to 'Expander'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-15 17:07:48 +00:00
Jérôme Duval
b38dbcd92d * set the thread priority to normal for spawned processes (bug #3564)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 22:19:35 +00:00
Axel Dörfler
7aed1511f6 * The window size is no longer directly saved when you change it in the menu.
* "Save as Default" now also saves the current Terminal size.
* Exchanged the strange default Termina sizes with some others, added a
  separator between the full screen setting.
* Removed the "Term" prefix from TermView::fTerm{Columns|Rows}.
* Whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 13:50:08 +00:00
Axel Dörfler
152a0ade57 * Changed the default settings to close after being done with expanding.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-14 08:50:08 +00:00
Axel Dörfler
b38bec60dc * Fix for the previous fix; abs() is in stdlib.h, not math.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:17:38 +00:00
Axel Dörfler
4f7f915759 * GCC4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 21:11:54 +00:00
Axel Dörfler
1bb87bd0b1 * Added a settings window - right now, you can only change the time interval,
though.
* Shortened the time interval defaults to 250 ms; the drawing updates are made
  every 500 ms - this still seems to have only little influence on CPU load over
  here (YMMV).
* The resolution/scale change is now applied to all views, not just the current.
* Changed the pen size of the chart to 1.5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 20:19:10 +00:00
Stephan Aßmus
51ff40fed0 When adding/removing the second tab, check if the window is near the bottom of
the screen, and then move/resize the window upward, so that it's bottom doesn't
go beyond the screen border.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 20:18:01 +00:00
Axel Dörfler
a41b1bcb3a * The shortcuts of the encodings shadowed other shortcuts, like Command-G to
switch Terminals. I've not only removed that shortcut, though, I disabled
  all encoding shortcuts, as I frankly don't see any use for them beyond
  confusing users (by accidently hitting one of the 134 shortcuts).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 20:00:01 +00:00
François Revol
acef747411 Comment out debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 16:50:47 +00:00
Axel Dörfler
2c5ecffabf * Fixed and optimized the directory filter: since it already gets the stat
data, calling BNode::IsDirectory() is more expensive. Also, it did not
  traverse symlinks, and thus left them out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 22:37:17 +00:00
Axel Dörfler
5654f62097 Almost didn't notice this patch from Christian Packmann:
* changed function names iterate() and iterate1() to more descriptive 
  iterate_float() and iterate_double()
* set better starting position for Mandelbrot set
* add higher values to "Iterations" menu: 2048, 4096, 8192


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-12 11:27:22 +00:00
Stephan Aßmus
77b23b704d Removed left-over debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 11:52:47 +00:00
Stephan Aßmus
46f2d7feec * Basically, the audio buffer size was simply too small and caused
audio playback with frequent glitches. I am testing with HDA and have
  perfect audio now. The only remaining problem is the drop-sample
  resampling in the system mixer, which gives a somewhat metallic sound.
* Removed hardcoded values from preferred format and used them if
  the consumer supplies wildcard values. Since the system mixer supplies
  wildcards for all those values, this change does not have any effect
  for now. The code is more correct, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-07 11:39:48 +00:00
Stephan Aßmus
d5e2aa9389 Patch by Oliver Coursiere:
Center the TV window on start. Fixes ticket #3041. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-01 13:58:05 +00:00
Jérôme Duval
f163ab92bb replicant view is already sized correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-23 19:31:51 +00:00
Jérôme Duval
bc3229d648 * load settings before building the window: the behavior is then similar with the replicant version.
* change window limits when keypad option is off
* style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 22:45:41 +00:00
Bruno G. Albuquerque
cac9c31e53 - Removed debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 14:31:45 +00:00
Bruno G. Albuquerque
7323980943 - Fix displaying of the From: popup menu when composing a new message.
This actually show a bug in BPopUpMenu. It seesm to think that its size
includes the arrow at its right size and so it draws the menu item
string over it. Stippi?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 14:31:03 +00:00
Bruno G. Albuquerque
ae2bf46029 The Spam DBM may not have the best interface in the world but it is one of the best anti-spam tool I saw so I am adding it to the image (in fact the interface with changes by darkwyrm looks worse than the original one, IMHO).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-22 13:45:40 +00:00
Stefano Ceccherini
4012c75a86 Remove TermView dependency from Shell. It now depends on TerminalBuffer instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-21 18:08:11 +00:00
Jérôme Duval
551612ea11 Applied patch from richy_rich for bug #3034. Seems like 100*100 is a good minimum size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-21 14:58:41 +00:00
Stephan Aßmus
2387efafa3 Resolved a couple minor TODOs to use layout friendly constructors, which have
become available meanwhile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-16 12:19:04 +00:00
Jérôme Duval
8881ad6503 * fix spacing between scope and vu views
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 19:43:38 +00:00
Stephan Aßmus
2f86ba4557 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
2009-02-15 18:23:19 +00:00
Jérôme Duval
2a8ffa8805 * Break parsing loop if PkgA is encountered. This helps with QEmu pkg.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 17:05:36 +00:00
Stephan Aßmus
64eb49fd24 * Cleanup in the Gradient department. No fuctional change.
Renamed BGradient::color_step to BGradient::ColorStop
  as it's called everywhere else. Also renamed BGradient::gradient_type
  to just BGradient::Type. Renamed BGradient::Type() to GetType().
* Simplification of method names in Painter.cpp. Some not yet
  complete and yet inactive code to accelerate vertical gradients
  (bypassing AGG for this special case).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 15:15:49 +00:00
Alexandre Deckner
a1056d5fa3 * Key font size now also takes the window width into account.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-15 12:58:09 +00:00
Jérôme Duval
58bda9983c * alert when the destination volume is read only. Fixes bug #3422.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-14 00:58:01 +00:00
Jérôme Duval
ac53f5c1f1 * place the Encoding before the To. this fixes bug #1206
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-10 23:36:56 +00:00
Jérôme Duval
0b5e655d25 Changed the error message for unreadable packages to be a passive one, as suggested by Stephan.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 14:19:06 +00:00
Jérôme Duval
b97c244e6e * exits on invalid packages
* added messages on errors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-08 12:46:05 +00:00
Jérôme Duval
9cb330883d added a max length for the name text control in DriveSetup. it's atm the max value for bfs volumes.
added a TODO as it should depend of the fs type.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 15:43:19 +00:00
Jérôme Duval
90e7d21528 * Truncates Installer menu fields volume labels. This fixes bug #2192.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-07 15:18:12 +00:00
François Revol
09a51729ad Focus the password field on Enter if it's empty and not yet active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 23:54:39 +00:00
François Revol
3813268c9c add a --nonmodal option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 16:21:17 +00:00
Stefano Ceccherini
f498be9297 Applied patch by h.z. (slightly modified by myself) included in bug #2715. I tested it briefly with Konatu Tohaba font and it seems to work correctly. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-03 14:04:52 +00:00
Michael Lotz
d0eaec3086 Fix more operator precedence errors. These do not do what you'd expect at first
sight. The comparison operator takes precedence over the binary ones.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-01 23:24:55 +00:00
Stephan Aßmus
d5e24b12c1 * Add more properties to the <svg> tag, version and XML namespaces. This should
improve compatibility of the exported SVG files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-31 10:09:14 +00:00
Stephan Aßmus
89d04738c0 Patch by Michael Kanis:
* Switched CodyCam GUI to use Haiku layout management.

Thanks a lot!!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-30 22:26:58 +00:00
Karsten Heimrich
f2e161c535 * make use of the now available decorator infos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 21:04:10 +00:00
Jérôme Duval
a4797804ba * removed the background border
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 20:14:55 +00:00
Jérôme Duval
86bc2f8eac * removed the fancy border on the Installer background
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:35:12 +00:00
Jérôme Duval
6504b22390 * calls BTextView hooks, this allows to select text (see bug #2497)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:57:21 +00:00
Stephan Aßmus
5ade2c5acd Fixed coding style issues pointed out by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 12:17:02 +00:00
Stephan Aßmus
cee9364ac5 Applied patch by Clemens Zeidler which gives the Terminal a nice context
menu with additional options when dropping files from Tracker into the
Terminal. Thanks a lot, Clemens!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 11:29:39 +00:00
Jérôme Duval
52e59b292b Improves the EULA alert look (bug #3321)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 11:29:18 +00:00
Michael Lotz
ce837badf2 Fix GCC2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:10:17 +00:00
Michael Lotz
fb3e35fcec Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2
build. I sure hope that this doesn't break the build for anyone else.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:05:15 +00:00
Michael Lotz
7e359a9b53 Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 02:37:28 +00:00
Axel Dörfler
cb744e5c22 * Implemented Copy(), Cut(), and Paste() for the hex mode. Additionally, the
text view will now accept raw data in text mode as well.
* This closes bug #3327.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-21 08:31:44 +00:00
Axel Dörfler
8bc239bc55 * Resolved a TODO and implemented an is_valid_utf8() function that replaces the
former is_valid_ascii(). This function is now also exported in the header.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-21 08:30:24 +00:00
Rene Gollent
2409f4caa6 Fix a few style violations from my previous commit. (thanks Axel!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-21 01:22:30 +00:00
Axel Dörfler
c6790819de * Use the new get_device_icon() call under Haiku. This fixes bug #3325.
* Whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-20 20:38:44 +00:00
Rene Gollent
5d1e75d3cb If we're going to fail because of a missing CD drive, never show the CD player window at all instead of flickering it briefly. This fixes ticket #2333.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-20 01:42:15 +00:00
Axel Dörfler
a107d1676e * Made the get_token_list() function behave the same way as under BeOS. This
simplifies the code in the Switcher, but has the drawback that the window
  list is not "static" anymore, ie. the items in the window list of the Deskbar
  will now jump around as in BeOS.
* However, EasyMove now works under Haiku as well out of the box, if that is
  something we want :)
* Maybe we should instead add another parameter to the window list to make
  it sorted or not; sorting the list as it's done now is much simpler and
  faster on the server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-19 19:16:43 +00:00
Stefano Ceccherini
ee9b4396bf fCheckMouseTracking was never initialized to false, causing spurious selections when opening a new tab. Fixes bug #2910
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-19 16:01:43 +00:00
Axel Dörfler
c2177fe861 * The Switcher now "remembers" the first app when doing a quick switch over
more than one application, so that will be the next app to switch to for the
  next switch.
* This solution is not entirely perfect, though, as it needs to visually bring
  the first app to front inbetween to work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-19 11:46:53 +00:00
Axel Dörfler
0b0a2ca6c4 * Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-18 23:18:40 +00:00
Axel Dörfler
94c366d233 * Fixed some obvious misbehaviour of the switcher.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-18 22:53:31 +00:00
Stephan Aßmus
4e034d2ab3 Make sure that text clippings dragged from DeskCalc will be named "DeskCalc
clipping" instead of the default "Untitled clipping". Fixes last remaining
issue of #2749.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-17 14:55:15 +00:00
Stephan Aßmus
bc7dbfd71d Forgot to add "x" as a multiplication sign as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-17 14:21:53 +00:00
Stephan Aßmus
85d74ff62d Changed token type handling so that different chars can resolve to the same
token type (part of #3236). "/" now equals "\" and ":" to mean "divide by".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-17 14:19:36 +00:00
Stephan Aßmus
cf4ef413b1 Set resizing mode before calling BMenuBar::ResizeToPreferred(), since the
default menu bar resizing mode triggers some R5 compatibility behavior wich
we don't want in MediaPlayer. This fixes the (apparantly) last remaining
issue from #2180.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-17 13:04:01 +00:00
Axel Dörfler
ff6ab52278 * We don't need the BeOS FrameMoved() work-around for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-15 11:39:55 +00:00
Stephan Aßmus
7a6bda7716 Got rid of the options window and implemented them directly
in the context menu. Since there are only so few options, this
is much more convenient. (Fixes part of #3236.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-14 19:12:42 +00:00
Stephan Aßmus
46c8e2c17d Patch by Lukasz Kozlowski:
* Fixed About menu item for DeskCalc to say "DeskCalc" instead of "Calculator".
  (fixes #3234)

Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-14 13:37:19 +00:00
Axel Dörfler
f5c4a08357 * Actually show the error that happened - are we Windows or what?
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-11 14:22:49 +00:00
Jérôme Duval
359176d906 * now use source and destination as initial directory for file panels. This fixes bug #3175.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-07 21:52:07 +00:00
Axel Dörfler
a31688d23d * Set "openAnyway" argument of BPopUpMenu::Go() to true, fixing bug #1493,
thanks to Edwin for the hint!
* Removed about menu item, as that's a bit superfluous in such a tiny app
  (you can still use "hey" to get the window from the running app).
* It was leaking the menu, as it didn't set it to auto-destruct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-29 22:07:54 +00:00
Rene Gollent
9d17b26a56 Patch by Lukasz Zemczak: fix installer crashes reported in ticket #2969.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-28 20:57:21 +00:00
Rene Gollent
8aafdd05fc Make the uptime view a multiline textview. This allows it to gracefully wrap the text instead of simply cutting it off when your uptime is too long to fit into the provided space. Fixes ticket #701.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-09 05:37:35 +00:00
Stephan Aßmus
8d267d142a Fixed the "power" operator (^).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:15:13 +00:00
Stephan Aßmus
34ef8378c5 Fixed the problem that icon buttons are too small when creating new ones.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:14:10 +00:00
Stephan Aßmus
f1d4302878 Small style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:13:21 +00:00