29062 Commits

Author SHA1 Message Date
David McPaul
6e06058804 initial commit of windows media reader. Not really working yet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30421 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30421
2009-04-26 03:20:07 +00:00
Ingo Weinhold
1b3e2ec415 Added a page for the thread's wait objects. Not quite complete.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30420 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30420
2009-04-26 01:29:00 +00:00
Ingo Weinhold
055d771c51 Added getters for thread wait objects/object groups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30419 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30419
2009-04-26 01:27:44 +00:00
Ingo Weinhold
fb2f23e0dc Added a TreeTable class, wrapping BColumnListView for actual tree-like data
models.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30418 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30418
2009-04-26 01:26:54 +00:00
Ingo Weinhold
dba899da0c * Renamed Table::Column::SetTableModel() to SetModel().
* Table::ItemInvoked(): Small optimization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30417 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30417
2009-04-26 01:25:18 +00:00
Ingo Weinhold
bfc3ef580c Apparently forgot to add those in r30414.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30416 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30416
2009-04-26 01:23:36 +00:00
François Revol
5c38863b71 Add check for git repositories and update action for them (git pull), since the aGITated QEMU devs just migrated to it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30415 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30415
2009-04-26 00:01:28 +00:00
Ingo Weinhold
e70320a769 * TableColumn no longer has BColumn as base class. We use another level of
indirection (Table::Column) instead.
* Moved TableColumn to its own header/source files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30414 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30414
2009-04-25 23:35:29 +00:00
François Revol
f126e71d49 Fix header guard conflict... it still doesn't build with gcc4 though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30413 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30413
2009-04-25 21:14:09 +00:00
Ingo Weinhold
ca98712224 Added a "General" and "Teams" page to the main window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30412 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30412
2009-04-25 20:51:37 +00:00
Ingo Weinhold
31391fed6b Added base time, last event time, and data source name to the model.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30411 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30411
2009-04-25 20:50:37 +00:00
Ingo Weinhold
602a9fe54d Added optional DataSource::GetName() to get a name for the data source.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30410 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30410
2009-04-25 20:49:34 +00:00
Ingo Weinhold
37ea725498 Reorganized sources.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30409 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30409
2009-04-25 19:56:18 +00:00
Ingo Weinhold
d1331844fb * Also compute the threads' total waits/wait time.
* Added wait times to threads table and general thread page.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30408 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30408
2009-04-25 19:16:58 +00:00
Oliver Ruiz Dorantes
78f567c478 style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30407 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30407
2009-04-25 18:55:15 +00:00
Ingo Weinhold
ed6b05a525 Added "Team" column, removed "Reruns", renamed "Rerun Time" to
"Preemption Time".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30406 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30406
2009-04-25 18:48:14 +00:00
Oliver Ruiz Dorantes
155fa31ec6 - Add method in DeviceClass to draw something representative for the kind of device
- Adopt it in Preferences
(Joerg Meyer & me)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30405 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30405
2009-04-25 18:40:00 +00:00
Ingo Weinhold
57e7daa5a4 Added missing include.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30404 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30404
2009-04-25 18:34:24 +00:00
Ingo Weinhold
df540b5095 * Made Model a Referenceable, so we can juggle it in different windows without
ownership headaches.
* Added some more Model::Team/Thread getters.
* Added ThreadWindow, a window presenting information on a thread. There's only
  a page with general information yet. The window can be opened by
  double-clicking on a thread in the threads table.
* The pages are now inner classes of their respective windows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30403 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30403
2009-04-25 16:59:44 +00:00
Ingo Weinhold
a6dbddff43 A key-based mechanism to manage sub windows.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30402 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30402
2009-04-25 16:51:05 +00:00
Ingo Weinhold
09401fe427 We leaked the ThreadInfos due to incorrect use of OpenHashTable::Clear().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30401 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30401
2009-04-25 16:49:36 +00:00
Ingo Weinhold
dcb289f39e Added basic listener support to Table.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30400 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30400
2009-04-25 16:48:13 +00:00
Ingo Weinhold
c4945a424b Added Count{Columns,Rows}().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30399 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30399
2009-04-25 16:47:02 +00:00
Ingo Weinhold
6217e77c65 AddTab(): Explicitly select the first-added tab. Fixes the problem that the page
wouldn't be made visible, when the tabs were added after the tab view had been
attached to the window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30398 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30398
2009-04-25 16:46:17 +00:00
Joachim Seemer
705a97b615 * Added documentation for the app Screenshot.
* Adjusted links in the nav-bar of all the apps' docs to jump to the
  #list-of-apps instead of to the top of applications.html


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30397 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30397
2009-04-25 16:45:26 +00:00
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
hrev30396
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
hrev30395
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
hrev30394
2009-04-25 11:29:18 +00:00
Stephan Aßmus
8296330edf Updated indentation style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30393 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30393
2009-04-25 09:17:08 +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
hrev30392
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
hrev30391
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
hrev30390
2009-04-24 23:48:16 +00:00
Michael Lotz
5c8e597e90 Don't try to use disk extensions for non-disk devices (like actual floppies or
emulated ones on CD-boot). One of my laptops returns bogus drive parameters
and another one silently fails the read, previously preventing CD-boot on both.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30389 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30389
2009-04-24 23:16:26 +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
hrev30388
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
hrev30387
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
hrev30386
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
hrev30385
2009-04-24 22:45:39 +00:00
Ingo Weinhold
106fd6b5cb * Make the wait object hash table larger than the maximum number of wait
objects we're going to add, so we get less slot collisions.
* Use the "Unchecked" versions of the OpenHashTable Insert()/Remove() methods,
  since we have interrupts disabled.
* Fixed wrong check that caused the wait object info events not to be filled in.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30384 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30384
2009-04-24 22:44:26 +00:00
François Revol
3fb1b5231c Add /bin/trash and /bin/untrash commands to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30383 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30383
2009-04-24 16:54:36 +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
hrev30382
2009-04-24 16:28:38 +00:00
Michael Lotz
c2c3d40c7b Check the status value for validity before waiting for a device. If it has an
invalid value, assume the device is not present. Should fix long boot pauses
in VMWare and maybe also on some hardware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30381 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30381
2009-04-24 16:03:01 +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
hrev30380
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
hrev30379
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
hrev30378
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
hrev30377
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
hrev30376
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
hrev30375
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
hrev30374
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
hrev30373
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
hrev30372
2009-04-24 14:09:41 +00:00