Commit Graph

43102 Commits

Author SHA1 Message Date
Alexander von Gluck IV 52b7ccf49e usb_serial: Probe for USB endpoints on Option device
* More then one serial port is common, for now we only
  work off of the first one detected.
* Still disabled as some setup is needed.
2012-07-22 11:57:25 -05:00
Alexander von Gluck IV b3b04af940 usb_serial: Add new Option driver
* Option devices are generally WWAN serial
  devices for 3G or lower.
* Picks up my CMOTECH Sprint 3G adaptor, need
  to wire up endpoints so disabled for now.
2012-07-22 11:06:48 -05:00
Philippe Saint-Pierre 1236c746af Tracker: a file leaving Trash won't appear in QueryPoseView
Fixing #1592.

A feedback FSNotification()->EntryMoved->PendingNodeMonitorCache->FSNotification
was seemingly introducing some race condition, as it was working 1 time
on several tries.
2012-07-21 22:09:45 -04:00
Rene Gollent 55d6e32c7d Fix name generation for void pointer parameters. 2012-07-21 17:34:31 -04:00
Michael Lotz 7050e3cd84 Fix wrong assignment. CID 702303. 2012-07-21 19:27:06 +02:00
Philippe Saint-Pierre 5cf20610e1 FontDemo: Further cleanup
the strlen was used also in _AddShapes.  Widen use of BString.

Sorry for the noise!
2012-07-21 12:58:05 -04:00
Philippe Saint-Pierre c5e8e32acd FontDemo: Cleanup of previous UTF-8 compliancy fix
Avoid using the private API, rather use the public BString. Thanks mmlr.
2012-07-21 12:23:18 -04:00
Philippe Saint-Pierre 6b0362305f FontDemo: make it multibyte chars compliant (UTF-8)
fixes #8146.
2012-07-21 11:17:41 -04:00
Alex Smith e6e6f56ccf Include compat/sys/kernel.h rather than "kernel.h".
Using "kernel.h" was pulling in the private kernel.h header instead,
which was causing a build failure on my branch since arch_cpu.h is
C++-only there.
2012-07-21 14:09:08 +01:00
Ingo Weinhold 0a592099a9 Debugger: Rework CLI setup to no longer create a BApplication
The main thread does now serve the CLI input loop.
2012-07-21 09:19:18 +02:00
Alexander von Gluck IV 5ba5e31f8a usb_serial: clean up usb device identification
* Update FTDI, KLSI, Prolific, and Silicon drivers to share a
  common structural layout for device identification.
* More flexible and cleaner than massive switch case statements.
* Avoids the problem of different chipsets from identical vendors.
2012-07-20 22:22:38 -05:00
Rene Gollent 667fd4d0ea Update webkit package with one additional bugfix. 2012-07-20 23:01:23 -04:00
Rene Gollent fd2ea9d893 Fix #8737.
- Updated haikuwebkit package with fixes for context menus and file downloads
  from aldeck's github repository.
2012-07-20 22:41:54 -04:00
Philippe Saint-Pierre 2d5785ba12 CID 611239: Fix resource leak 2012-07-20 21:50:13 -04:00
Rene Gollent 902a98ad83 Fix #8753.
- Store whether or not the use of the horizontal scrollbar is desired
  on the class itself. If the CLV was set to use the horizontal scrollbar,
  and then asked to lay itself out while hidden, it would incorrectly assume
  the horizontal scrollbar wasn't in use, and consequently repositioned its
  views such that the horizontal scrollbar and outline view overlapped.
2012-07-20 19:35:21 -04:00
Philippe Saint-Pierre cb1f2e6525 Precedence of operators issues
Bitwise OR is taking precedence on Conditional operator.

CID 701957, CID 602560
2012-07-20 18:31:44 -04:00
Philippe Saint-Pierre 599150a3fc CID 701957: opendir() NULL returns weren't accounted for. 2012-07-20 18:31:44 -04:00
Philippe Saint-Pierre 8f226f2e87 CID 602195: use sizeof() of structure rather than pointer 2012-07-20 18:31:43 -04:00
Philippe Saint-Pierre a65ef31585 CID 609036: Avoid to exceed length of string 2012-07-20 18:31:43 -04:00
Philippe Saint-Pierre cd383c3378 CID 610802: Unchecked return of FindMessage() 2012-07-20 18:31:43 -04:00
Philippe Saint-Pierre c6df3cf4dc CID 702244: Uninit members were never used 2012-07-20 18:31:42 -04:00
Philippe Saint-Pierre 739ed61c38 CID 709703: Order of ops was unclear, but insignificant 2012-07-20 18:31:42 -04:00
Ingo Weinhold 6d60b554e6 Debugger: Some basic work to get the CLI going
There's an input loop thread which reads and parses command lines and
the infrastructure for registering and executing commands. Currently
only "help" and "quit" commands are implemented.
2012-07-20 23:32:58 +02:00
Ingo Weinhold 0f1f968ffb Debugger: Actually create the CLI, if requested 2012-07-20 23:32:58 +02:00
Ingo Weinhold af350aa218 Add private shared class ArgumentVector
The parser is based on the FS shell's ArgVector.
2012-07-20 23:32:58 +02:00
Philippe Saint-Pierre fc4d98a2c0 Coding style fixes, no functionnal changes.
Following comments from Axel about a previous commit of mine.  Sorry Axel for the delay.
2012-07-20 14:28:44 -04:00
Rene Gollent fe0407cd46 Fix indentation. 2012-07-20 07:34:11 -04:00
Rene Gollent 0b4ae86086 Fix #8751 and possibly also #7198.
- The cdrecord port was using the wrong path for searching for SCSI
  devices. This led to it failing to find SATA CD drives. Updated
  package by Chris Roberts.
2012-07-19 20:58:57 -04:00
Rene Gollent 1f80f2eec3 Fix #8749.
- When a job needs to go dependent on another job, we no longer use recursion
  to manage the execution stack. Instead the job is simply marked as waiting
  and we execute other jobs with no dependencies in the meantime. When a job
  completes, all dependents are moved back onto the unscheduled list and
  executed as needed.

- Adjustments to ResolveValueNodeJob to handle the now asynchronous nature
  of waiting.
2012-07-19 20:24:52 -04:00
ahenriksson 0237895604 CheckBlocks() calculated the group block incorrectly
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2012-07-20 01:02:05 +02:00
ahenriksson d9879eddbf A duplicate array with a single value is not allowed
Such arrays could be created by the BFS code between hrev43837 and
hrev43924, and cause the array to not be free'd when the entry is
removed.

The check in _InsertDuplicate() is not changed, as doing an insertion
will actually repair this problem.

Potentially, the code could be modified to handle this state instead,
but since checkfs can fix it, it doesn't seem necessary.

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2012-07-20 01:02:03 +02:00
Adrien Destugues - PulkoMandy f01f7fec8f Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-19 21:01:31 +02:00
Matt Madia 173f54f147 Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
Axel Dörfler 752f5c972f cache_abort_[sub_]transaction() did not work correctly.
* cache_abort_transaction() left the block dirty which was causing bug
  #8123 as well.
* cache_abort_sub_transaction() did, in addition to not clearing the dirty
  flag, not reset the block's transaction member either if the block was
  not part of the parent transaction.
2012-07-20 00:03:38 +02:00
Axel Dörfler 0579a69564 Added a bit of documentation, minor cleanup.
* Documented the cached_block::transaction, and previous_transaction
  members.
2012-07-20 00:03:37 +02:00
Philippe Houdoin ca741c4835 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-19 23:48:23 +02:00
Philippe Houdoin 9be0c9b03c Improve SVG image identification (close #8653)
* add a sniff rule
* until we have an image translator for SVG, and since Web+ is not
  included by default in Haiku images, made Web+ preferred app for SVG images.

Note that for compressed SVGZ (*.svgz), the sniff rule will still fail miserably.
Our sniffer will need decompression support before being able to do that...
2012-07-19 23:46:26 +02:00
Andreas Henriksson 8959a4e0c3 An unused dirty block would put again into the unused list.
* This could cause bug #8123. While this fixes the crash, one underlying
  problem is still there, as dirty blocks should never leave a transaction.
2012-07-19 23:44:25 +02:00
Rene Gollent 03aa456e2e Fix mouse down handling error.
- When handling a mouse click, the button was hardcoded instead of
  passing the actual button clicked by the user. Spotted by Chris
  Roberts.
2012-07-18 23:21:06 -04:00
Rene Gollent ed15f1b8fb Fix scrollbar handling when removing rows in BCLV.
- If removing a row results in there no longer being any rows whatsoever
  visible, force a scroll back into the visible range. Fixes #8287.
2012-07-18 23:02:30 -04:00
Scott McCreary af2f75a016 Updated cmake to 2.8.5 2012-07-18 23:38:53 +00:00
Scott McCreary 0783fe388d Updated build for LibXML2 2012-07-18 23:37:00 +00:00
Scott McCreary 95c8d9513a Updated build for XZ-Utils 2012-07-18 23:33:36 +00:00
Scott McCreary 1820d4fd15 Added XZ-Utils as a dependency for LibXML2 2012-07-18 23:32:47 +00:00
Rene Gollent 3a5779744e Handle compound node values in variables view.
- If the node we're looking at is a compound node, retrieve its location
  and show that as the value with an indicator to clarify that it's an object.

- Minor tweaks to tooltip format.
- Style cleanups.
2012-07-18 18:44:56 -04:00
Rene Gollent 666222d3fd Resolve register names, print memory piece size information. 2012-07-18 18:44:55 -04:00
Rene Gollent 2216ccb7e2 Implement support for tooltips in VariableView. Implements #8286.
- These show the memory or register location(s) of the variable over which
  the mouse is hovering.
2012-07-18 18:44:54 -04:00
Rene Gollent 489cc35661 Add Tooltip support to TreeTable. 2012-07-18 18:44:53 -04:00
Adrien Destugues - PulkoMandy 8c115d4c5f Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-18 18:12:41 +02:00
Fredrik Holmqvist a2e7d8df7b callout_schedule uses ticks as timeunit, not usecs.
As suggested by Rene Gollent, we used ticks as usecs.
2012-07-18 17:09:36 +02:00