idb 2.5.6 → 2.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c02cf596f8d101a316d0c307b7d1c54406353acf
4
- data.tar.gz: bb2b163d3d2eca8d9a4984fce28e8d52109eb8a9
3
+ metadata.gz: 7edf1ac080ff75b37a74994d56d8433eeb590927
4
+ data.tar.gz: 4a8eab3ef5bbe599f829d392247b054028a0f489
5
5
  SHA512:
6
- metadata.gz: 83f6a6ea827b65a476750ad7b6060a97f7dd86c04ec10296a9dd8bb43962d81a8526cbf0f704ddfd2a291252f1d5f5ef76a677a1046538856ef40370219b36f2
7
- data.tar.gz: 88d0e45a0e5b8c39b0942cb7d79ca49c457cf8dd176a34af6f98aece624c2966865aa3830bb3ad279250250db8358c2b93fbb0535a1f4701ce792d38972e02bc
6
+ metadata.gz: fe691649942ef0f19ad4d0de838732a1d1a5681ea737da3085b58db48e297f76f055ccf8b6d49da8fb25eeb846058df53930701fb57b298be962226a8ee30eb0
7
+ data.tar.gz: 52d4dfdc17a13ad5513cec14d7e43358bd47d355bd228c1d87399723e6d63b790358bd9af8796187e04773124882f8aacc64dd0750ed34d805cd2ba6f4f5d1bd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- idb (2.5.6)
4
+ idb (2.5.7)
5
5
  awesome_print
6
6
  coderay
7
7
  ffi
@@ -21,24 +21,24 @@ GEM
21
21
  remote: https://rubygems.org/
22
22
  specs:
23
23
  addressable (2.3.6)
24
- awesome_print (1.2.0)
24
+ awesome_print (1.6.1)
25
25
  coderay (1.1.0)
26
26
  ffi (1.9.6)
27
- git (1.2.8)
27
+ git (1.2.9.1)
28
28
  haml (4.0.6)
29
29
  tilt
30
30
  hexdump (0.2.3)
31
- htmlentities (4.3.2)
31
+ htmlentities (4.3.3)
32
32
  launchy (2.4.3)
33
33
  addressable (~> 2.3)
34
- libxml-ruby (2.7.0)
34
+ libxml-ruby (2.8.0)
35
35
  libxml4r (0.2.6)
36
36
  libxml-ruby (>= 1.1.3)
37
37
  log4r (1.1.10)
38
38
  mini_portile (0.6.0)
39
39
  net-sftp (2.1.2)
40
40
  net-ssh (>= 2.6.5)
41
- net-ssh (2.9.1)
41
+ net-ssh (2.9.2)
42
42
  nokogiri (1.6.3.1)
43
43
  mini_portile (= 0.6.0)
44
44
  plist4r (1.2.2)
data/README.md CHANGED
@@ -24,7 +24,7 @@ idb requires a valid ruby 1.9.3 or 2.1 installation and it is recommended to ins
24
24
 
25
25
  #### 1.2 Install Other Prerequisites:
26
26
  * OS X: `brew install qt cmake usbmuxd libimobiledevice`
27
- * Ubuntu: `apt-get install cmake libqt4-dev git-core libimobiledevice-utils libplist-utils usbmuxd -y`
27
+ * Ubuntu: `apt-get install cmake libqt4-dev git-core libimobiledevice-utils libplist-utils usbmuxd libxml2-dev libsqlite3-dev -y`
28
28
 
29
29
  ### 2. Installing idb
30
30
  #### 2.1 Production Use
@@ -95,6 +95,10 @@ module Idb
95
95
  @file_details.setSizePolicy(Qt::SizePolicy::Minimum, Qt::SizePolicy::Minimum)
96
96
 
97
97
 
98
+ @refresh_tree = Qt::PushButton.new "Refresh"
99
+ @refresh_tree.connect(SIGNAL :released) {
100
+ update_start
101
+ }
98
102
 
99
103
  @model = Qt::StandardItemModel.new
100
104
 
@@ -108,8 +112,14 @@ module Idb
108
112
  @file_list.setEditTriggers(Qt::AbstractItemView::NoEditTriggers )
109
113
  @file_list.setSizePolicy(Qt::SizePolicy::Expanding,Qt::SizePolicy::Expanding);
110
114
 
115
+ @tree_widget = Qt::Widget.new
116
+ @tree_widget_layout = Qt::VBoxLayout.new
117
+ @tree_widget.setLayout @tree_widget_layout
118
+ @tree_widget_layout.add_widget @treeview
119
+ @tree_widget_layout.add_widget @refresh_tree
120
+
111
121
  @splitter = Qt::Splitter.new
112
- @splitter.addWidget @treeview
122
+ @splitter.addWidget @tree_widget
113
123
  @splitter.addWidget @file_list
114
124
  @splitter.setStretchFactor 1, 1.5
115
125
  @splitter.setSizePolicy(Qt::SizePolicy::Expanding, Qt::SizePolicy::Expanding)
@@ -157,6 +167,15 @@ module Idb
157
167
  @model.setHorizontalHeaderItem(3, Qt::StandardItem.new("uid"))
158
168
  @model.setHorizontalHeaderItem(4, Qt::StandardItem.new("gid"))
159
169
 
170
+ unless $device.ops.file_exists? path
171
+ reply = Qt::MessageBox::critical(self, "Directory not found", "Could not open directory #{path}. The selected directory no longer exists on the target device.\n\nDo you want to reload the directory tree?", Qt::MessageBox::Yes, Qt::MessageBox::No)
172
+ if reply == Qt::MessageBox::Yes
173
+ update_start
174
+ return
175
+ else
176
+ return
177
+ end
178
+ end
160
179
  dirs = $device.ops.list_dir_full path
161
180
  dirs.each { |d|
162
181
  unless d.directory?
@@ -182,7 +201,7 @@ module Idb
182
201
 
183
202
  def add_dirs parent, cur_dir
184
203
  if parent.text(2) == "true"
185
- # we added chilcren for this already
204
+ # we added children for this already
186
205
  return
187
206
  end
188
207
  parent.setText(2, "true")
@@ -248,6 +267,7 @@ module Idb
248
267
  end
249
268
  end
250
269
 
270
+
251
271
  def start_ios_pre8
252
272
  @root_node = Qt::TreeWidgetItem.new
253
273
  @root_node.setText(0, "[App Bundle]")
data/lib/idb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Idb
2
- VERSION = "2.5.6"
2
+ VERSION = "2.5.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.6
4
+ version: 2.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel A. Mayer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler