rhodes 3.3.2.beta.1 → 3.3.2.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +5 -5
- data/Rakefile +1 -1
- data/doc/build.txt +27 -1
- data/doc/device-caps.txt +65 -18
- data/doc/install.txt +5 -3
- data/lib/extensions/barcode/ext/barcode/platform/wm/Barcode.sln +30 -0
- data/lib/extensions/barcode/ext/barcode/platform/wm/Barcode.vcproj +159 -5
- data/lib/extensions/barcode/ext/barcode/platform/wm/Rakefile +1 -1
- data/lib/extensions/digest-md5/ext/Rakefile +2 -2
- data/lib/extensions/digest-md5/ext/digest-md5.sln +44 -0
- data/lib/extensions/digest-sha1/ext/Rakefile +2 -2
- data/lib/extensions/digest-sha1/ext/digest-sha1.sln +44 -0
- data/lib/framework/rho/rhofsconnector.rb +9 -6
- data/lib/framework/rhom/rhom_db_adapter.rb +10 -0
- data/platform/android/Rhodes/jni/src/logconf.cpp +5 -0
- data/platform/android/Rhodes/jni/src/rhodesapp.cpp +7 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +82 -37
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoLogConf.java +2 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +8 -9
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +87 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +77 -159
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SplashScreen.java +4 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mapview/GoogleMapView.java +6 -31
- data/platform/iphone/Classes/AppManager/AppManager.m +106 -29
- data/platform/iphone/Classes/Rhodes.m +27 -0
- data/platform/iphone/rbuild/iphone.rake +1 -1
- data/platform/shared/common/RhodesApp.cpp +10 -2
- data/platform/shared/common/RhodesAppBase.cpp +20 -4
- data/platform/shared/common/RhodesAppBase.h +4 -0
- data/platform/shared/db/DBAdapter.cpp +4 -6
- data/platform/shared/logging/RhoLogConf.cpp +2 -7
- data/platform/shared/logging/RhoLogConf.h +4 -0
- data/platform/shared/net/HttpServer.cpp +2 -2
- data/platform/shared/net/RawSocket.cpp +3 -0
- data/platform/shared/ruby/ext/rho/rhoruby.c +7 -3
- data/platform/shared/ruby/ext/rho/rhoruby.h +2 -1
- data/platform/shared/ruby/ext/rho/rhosupport.c +9 -3
- data/platform/shared/ruby/ext/system/system.i +4 -0
- data/platform/shared/ruby/ext/system/system_wrap.c +40 -1
- data/platform/wm/build/wm.rake +15 -5
- data/platform/wm/rhodes/LogView.cpp +25 -1
- data/platform/wm/rhodes/LogView.h +13 -0
- data/platform/wm/rhodes/MainWindow.cpp +4 -0
- data/platform/wm/rhodes/Rhodes.cpp +1 -1
- data/platform/wm/rhodes/rho/rubyext/RhoSignature.cpp +240 -145
- data/platform/wm/rhodes/rho/rubyext/RhoSignature.h +24 -5
- data/platform/wm/rhodes/rho/rubyext/calendar.cpp +8 -1
- data/platform/wm/tools/detool/detool.cpp +88 -7
- data/platform/wm/tools/detool/detool.vcproj +2 -2
- data/platform/wm/tools/detool/stdafx.h +1 -0
- data/platform/wp7/RhoRubyExtGen/RhoSyncEngine.cs +2 -2
- data/platform/wp7/RhoRubyLib/Initializers.Generated.cs +4 -4
- data/platform/wp7/RhoRubyLib/common/RhodesApp.cs +8 -3
- data/platform/wp7/RhoRubyLib/net/HttpServer.cs +25 -6
- data/platform/wp7/RhoRubyLib/net/NetRequest.cs +1 -1
- data/platform/wp7/RhoRubyLib/rubyext/RhoSyncEngine.cs +23 -13
- data/platform/wp7/RhoRubyLib/sync/SyncProtocol_3.cs +6 -1
- data/platform/wp7/RhoRubyLib/views/RhoView.xaml.cs +33 -2
- data/platform/wp7/build/wp.rake +52 -0
- data/rakefile.rb +1 -1
- data/res/build-tools/detool.exe +0 -0
- data/res/generators/rhogen.rb +5 -0
- data/res/generators/templates/application/app/Settings/controller.rb +1 -1
- data/res/generators/templates/application/app/Settings/err_sync.erb +11 -0
- data/res/generators/templates/extension/extensions/montana/ext/montana/platform/wm/Montana.sln +22 -0
- data/res/generators/templates/extension/extensions/montana/ext/montana/platform/wm/Rakefile +2 -2
- data/spec/phone_spec/app/SpecRunner/index.erb +0 -1
- data/spec/phone_spec/app/spec/asynchttp_spec.rb +1 -11
- data/spec/phone_spec/app/spec/blobsync_spec.rb +7 -2
- data/spec/phone_spec/app/spec/date_spec.rb +1 -1
- data/spec/phone_spec/app/spec/json_spec.rb +0 -3
- data/spec/phone_spec/app/spec/syncengine_spec.rb +6 -2
- data/spec/phone_spec/app/spec_runner.rb +10 -7
- data/version +1 -1
- metadata +9 -9
- data/platform/wm/tools/wmdc_connect/stdafx.cpp +0 -27
- data/platform/wm/tools/wmdc_connect/stdafx.h +0 -35
- data/platform/wm/tools/wmdc_connect/wmdc_connect.cpp +0 -119
- data/platform/wm/tools/wmdc_connect/wmdc_connect.vcproj +0 -205
- data/platform/wm/tools/wmdc_connect.sln +0 -20
data/Manifest.txt
CHANGED
@@ -475,6 +475,7 @@ lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-back.p
|
|
475
475
|
lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-help.html
|
476
476
|
lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-helpicons.png
|
477
477
|
lib/extensions/barcode/ext/barcode/platform/iphone/ZBarSDK/Resources/zbar-samples.png
|
478
|
+
lib/extensions/barcode/ext/barcode/platform/wm/Barcode.sln
|
478
479
|
lib/extensions/barcode/ext/barcode/platform/wm/Barcode.vcproj
|
479
480
|
lib/extensions/barcode/ext/barcode/platform/wm/Rakefile
|
480
481
|
lib/extensions/barcode/ext/barcode/platform/wm/src/wm_imageprovider.cpp
|
@@ -522,6 +523,7 @@ lib/extensions/digest/ext.yml
|
|
522
523
|
lib/extensions/digest-md5/ext/build
|
523
524
|
lib/extensions/digest-md5/ext/build.bat
|
524
525
|
lib/extensions/digest-md5/ext/defs.h
|
526
|
+
lib/extensions/digest-md5/ext/digest-md5.sln
|
525
527
|
lib/extensions/digest-md5/ext/digest-md5.vcproj
|
526
528
|
lib/extensions/digest-md5/ext/iphone/Dmd5.xcodeproj/project.pbxproj
|
527
529
|
lib/extensions/digest-md5/ext/iphone/Dmd5_Prefix.pch
|
@@ -534,6 +536,7 @@ lib/extensions/digest-md5/ext.yml
|
|
534
536
|
lib/extensions/digest-sha1/ext/build
|
535
537
|
lib/extensions/digest-sha1/ext/build.bat
|
536
538
|
lib/extensions/digest-sha1/ext/defs.h
|
539
|
+
lib/extensions/digest-sha1/ext/digest-sha1.sln
|
537
540
|
lib/extensions/digest-sha1/ext/digest-sha1.vcproj
|
538
541
|
lib/extensions/digest-sha1/ext/iphone/Dsha1.xcodeproj/project.pbxproj
|
539
542
|
lib/extensions/digest-sha1/ext/iphone/Dsha1_Prefix.pch
|
@@ -4438,11 +4441,6 @@ platform/wm/tools/rhosetup/rhosetup.cpp
|
|
4438
4441
|
platform/wm/tools/rhosetup/rhosetup.vcproj
|
4439
4442
|
platform/wm/tools/rhosetup/stdafx.cpp
|
4440
4443
|
platform/wm/tools/rhosetup/stdafx.h
|
4441
|
-
platform/wm/tools/wmdc_connect/stdafx.cpp
|
4442
|
-
platform/wm/tools/wmdc_connect/stdafx.h
|
4443
|
-
platform/wm/tools/wmdc_connect/wmdc_connect.cpp
|
4444
|
-
platform/wm/tools/wmdc_connect/wmdc_connect.vcproj
|
4445
|
-
platform/wm/tools/wmdc_connect.sln
|
4446
4444
|
platform/wp7/build/wp.rake
|
4447
4445
|
platform/wp7/IronRuby/bin/Silverlight3Release/IronRuby.dll
|
4448
4446
|
platform/wp7/IronRuby/bin/Silverlight3Release/IronRuby.Libraries.dll
|
@@ -4697,6 +4695,7 @@ res/generators/templates/application/app/layout.erb
|
|
4697
4695
|
res/generators/templates/application/app/loading.html
|
4698
4696
|
res/generators/templates/application/app/loading.png
|
4699
4697
|
res/generators/templates/application/app/Settings/controller.rb
|
4698
|
+
res/generators/templates/application/app/Settings/err_sync.erb
|
4700
4699
|
res/generators/templates/application/app/Settings/home.bb.erb
|
4701
4700
|
res/generators/templates/application/app/Settings/home.erb
|
4702
4701
|
res/generators/templates/application/app/Settings/index.bb.erb
|
@@ -4809,6 +4808,7 @@ res/generators/templates/extension/extensions/montana/ext/montana/platform/iphon
|
|
4809
4808
|
res/generators/templates/extension/extensions/montana/ext/montana/platform/iphone/Montana.xcodeproj/project.pbxproj
|
4810
4809
|
res/generators/templates/extension/extensions/montana/ext/montana/platform/iphone/Montana_Prefix.pch
|
4811
4810
|
res/generators/templates/extension/extensions/montana/ext/montana/platform/iphone/Rakefile
|
4811
|
+
res/generators/templates/extension/extensions/montana/ext/montana/platform/wm/Montana.sln
|
4812
4812
|
res/generators/templates/extension/extensions/montana/ext/montana/platform/wm/Montana.vcproj
|
4813
4813
|
res/generators/templates/extension/extensions/montana/ext/montana/platform/wm/Rakefile
|
4814
4814
|
res/generators/templates/extension/extensions/montana/ext/montana/platform/wm/src/montana_wm.cpp
|
data/Rakefile
CHANGED
@@ -80,7 +80,7 @@ namespace "framework" do
|
|
80
80
|
end
|
81
81
|
|
82
82
|
|
83
|
-
$application_build_configs_keys = ['security_token', 'encrypt_database', 'android_title', '
|
83
|
+
$application_build_configs_keys = ['security_token', 'encrypt_database', 'android_title', 'iphone_db_in_approot', 'iphone_set_approot', 'iphone_userpath_in_approot']
|
84
84
|
|
85
85
|
def make_application_build_config_header_file
|
86
86
|
f = StringIO.new("", "w+")
|
data/doc/build.txt
CHANGED
@@ -1059,6 +1059,32 @@ To clean all binaries run:
|
|
1059
1059
|
:::term
|
1060
1060
|
$rake clean:win32
|
1061
1061
|
|
1062
|
+
### Create application installer for windows platform
|
1063
|
+
|
1064
|
+
Download NSIS installer tool (http://nsis.sourceforge.net/Download)
|
1065
|
+
|
1066
|
+
Add path to NSIS complier path to 'rhobuild.yml' in rhodes folder:
|
1067
|
+
|
1068
|
+
On 32-bit platform:
|
1069
|
+
|
1070
|
+
env:
|
1071
|
+
paths:
|
1072
|
+
nsis: C:/Program Files/NSIS/makensis.exe
|
1073
|
+
|
1074
|
+
On 64-bit platform:
|
1075
|
+
|
1076
|
+
env:
|
1077
|
+
paths:
|
1078
|
+
nsis: C:/Program Files (x86)/NSIS/makensis.exe
|
1079
|
+
|
1080
|
+
|
1081
|
+
To build intaller bundle run:
|
1082
|
+
|
1083
|
+
:::term
|
1084
|
+
$rake run:win32:production
|
1085
|
+
|
1086
|
+
and after finished build process you can find installer for you application in bin subfolder with 'RhodesBundle.exe' name
|
1087
|
+
|
1062
1088
|
### Logging
|
1063
1089
|
|
1064
1090
|
Rholog.txt is placed in `<rhodes folder>\platform\wm\bin\win32\rhodes\Debug\rho`
|
@@ -1070,7 +1096,7 @@ Rholog.txt is placed in `<rhodes folder>\platform\wm\bin\win32\rhodes\Debug\rho`
|
|
1070
1096
|
* Follow [All Platforms Prerequisites](#all-platforms-prerequisites)
|
1071
1097
|
* Windows 7 OS
|
1072
1098
|
* Visual Studio 2010 installed or VS Express for Windows Phone and VS Express for C#
|
1073
|
-
* [Windows Phone
|
1099
|
+
* [Windows Phone Developer Tools 7.1 Beta](http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11321)
|
1074
1100
|
|
1075
1101
|
* Add path to `msbuild` to `rhobuild.yml` in rhodes folder. For example:
|
1076
1102
|
|
data/doc/device-caps.txt
CHANGED
@@ -178,7 +178,7 @@ To show currency (see rails analog for details):
|
|
178
178
|
|
179
179
|
Geolocation information is available in two ways: as an asynchronous service through Ajax calls to a predefined local URL, or in a controller using Ruby calls to the GeoLocation class.
|
180
180
|
|
181
|
-
You need to enable the GPS capability to use GeoLocaiton. This is done by adding the following
|
181
|
+
You need to enable the GPS capability to use GeoLocaiton. This is done by adding the following line to build.yml:
|
182
182
|
|
183
183
|
:::yaml
|
184
184
|
capabilities:
|
@@ -192,18 +192,18 @@ The GPS receiver will be switched off authomatically after some time (see [Confi
|
|
192
192
|
Also note that it usually takes a while to acquire the device's current position; in some cases, it may take several minutes and may not work at all indoors.
|
193
193
|
|
194
194
|
Note that in old rhodes versions (up to 2.3.1) this feature uses only GPS location provider;
|
195
|
-
however, in
|
196
|
-
is not
|
197
|
-
Rhodes will update location using network data until GPS signal has received; then only GPS will be used
|
195
|
+
however, in more recent rhodes it also use network based location determination. Network based location
|
196
|
+
is not as precise as GPS but in most cases it consumes less power and returns results faster than GPS.
|
197
|
+
Rhodes will update location using network data until the GPS signal has been received; then only GPS will be used for more precise data.
|
198
198
|
|
199
|
-
|
199
|
+
There are two ways to use GeoLocation:
|
200
200
|
* Syncronous call to GeoLocation module for particular value.
|
201
201
|
* Set GeoLocation notification and track location by call back. In this case all location values passed to notification as parameters.
|
202
202
|
|
203
|
-
Note that GeoLocation is switched off
|
203
|
+
Note that GeoLocation is switched off automatically when the application goes into the background, and is switched on as the application goes back to foreground.
|
204
204
|
However it is possible to switch on location services as usual while the application is in background.
|
205
205
|
|
206
|
-
See rhodes-system-api-samples application for GeoLocation usage example.
|
206
|
+
See the [Rhodes-System-Api-Samples example](http://github.com/rhomobile/rhodes-system-api-samples/tree/master/app/Geolocation) application for GeoLocation usage example.
|
207
207
|
|
208
208
|
### Asynchronous Ajax calls
|
209
209
|
|
@@ -242,24 +242,24 @@ Set callback to track location changes.
|
|
242
242
|
GeoLocation.set_notification(
|
243
243
|
callback, callback_param="", ping_gpssystem_timeout=0)
|
244
244
|
|
245
|
-
* callback - callback url; it will be called
|
246
|
-
* ping_gpssystem_timeout
|
245
|
+
* callback - callback url; after the callback has been called once, it will be automatically called repeatedly with the current location coordinates passed to the callback as parameters. (You need not reset the callback within the callback.)
|
246
|
+
* ping_gpssystem_timeout - optional, if 0 system timeout used, use to redefine timeout in sec for gps system reading
|
247
247
|
* callback params: known_position, latitude, longitude, available, status('error', 'ok'), error_code(from RhoError)
|
248
248
|
|
249
|
-
Get the distance between two points in miles
|
249
|
+
Get the distance between two points in miles.
|
250
250
|
:::ruby
|
251
251
|
GeoLocation.haversine_distance(
|
252
252
|
latitude1, longitude1, latitude2, longitude2)
|
253
253
|
|
254
|
-
GeoCoding: You can use any free web service for direct and reverse geocoding. See our complete example of using Google geocoding web service in [Rhodes-System-Api-Samples example](http://github.com/rhomobile/rhodes-system-api-samples/tree/master/app/GeoCoding)
|
254
|
+
GeoCoding: You can use any free web service for direct and reverse geocoding. See our complete example of using Google geocoding web service in [Rhodes-System-Api-Samples example](http://github.com/rhomobile/rhodes-system-api-samples/tree/master/app/GeoCoding).
|
255
255
|
|
256
256
|
#### Testing GeoLocation
|
257
257
|
|
258
|
-
While developing your application on Windows Mobile emulator, you may find [FakeGPS](http://msdn.microsoft.com/en-us/library/bb158722.aspx) utility useful.
|
258
|
+
While developing your application on Windows Mobile emulator, you may find the [FakeGPS](http://msdn.microsoft.com/en-us/library/bb158722.aspx) utility useful.
|
259
259
|
|
260
|
-
Before testing on BB simulator select menu Simulate/GPS Location and set your position.
|
260
|
+
Before testing on BB simulator, select menu Simulate/GPS Location and set your position.
|
261
261
|
|
262
|
-
To provide Mock Location Data on Android see [here](http://developer.android.com/guide/topics/location/index.html)
|
262
|
+
To provide Mock Location Data on Android, see [here](http://developer.android.com/guide/topics/location/index.html)
|
263
263
|
|
264
264
|
#### Samples
|
265
265
|
|
@@ -282,8 +282,6 @@ Callback points to the `geo_callback` in the Settings controller.rb:
|
|
282
282
|
puts "geo_callback : #{@params}"
|
283
283
|
# do something on position changes
|
284
284
|
#...
|
285
|
-
# Reset callback
|
286
|
-
GeoLocation.set_notification("/app/Settings/geo_callback", "")
|
287
285
|
end
|
288
286
|
end
|
289
287
|
|
@@ -317,7 +315,7 @@ Callback points to the `geo_callback` in the Settings controller.rb:
|
|
317
315
|
|
318
316
|
#### Code Sample
|
319
317
|
|
320
|
-
See controller and view in the /app/GeoLocation folder of the [
|
318
|
+
See controller and view in the /app/GeoLocation folder of the [System API Samples application](http://github.com/rhomobile/rhodes-system-api-samples/tree/master/app/GeoLocation/controller.rb) for more information.
|
321
319
|
|
322
320
|
## PIM Contacts
|
323
321
|
|
@@ -735,11 +733,14 @@ Example :
|
|
735
733
|
Rho::SignatureCapture.take(url_for( :action => :signature_callback), { :imageFormat => "jpg", :penColor => 0xff0000, :penWidth=>3, :bgColor => 0x00ff00 })
|
736
734
|
|
737
735
|
Params in hash:
|
738
|
-
|
736
|
+
|
737
|
+
* imageFormat - "jpg", "png" or "bmp"
|
739
738
|
* penColor - color of pen used for drawing signature
|
740
739
|
* penWidth - wide of pen
|
741
740
|
* bgColor - color of background
|
742
741
|
|
742
|
+
NOTE: On Windows Mobile and Windows CE devices only "bmp" supported as 'imageFormat'
|
743
|
+
|
743
744
|
After user entered signature (or canceled) provided callback url will be called. Callback parameters will be:
|
744
745
|
* status - 'ok' or 'cancel'
|
745
746
|
* signature_uri - path to the image with signature
|
@@ -1564,6 +1565,52 @@ Simulator files folder - run search for RhoLog.txt from the drive root. Files ar
|
|
1564
1565
|
|
1565
1566
|
Application can creates folders and files under apps and db roots.
|
1566
1567
|
|
1568
|
+
### Rhodes client file system structure on iOS platform
|
1569
|
+
<rhodes root> # /Library/Caches/Private Documents/
|
1570
|
+
apps #Rho::RhoApplication::get_base_app_path
|
1571
|
+
app #Rho::RhoApplication::get_app_path('app') - contain models
|
1572
|
+
model1 #Rho::RhoApplication::get_model_path('app','model1')
|
1573
|
+
public #contains files from application public folder
|
1574
|
+
lib #contains rho framework library files. Blackberry does not has this folder, library files are stored in jar
|
1575
|
+
db #contains schema files
|
1576
|
+
RhoLog.txt #application log
|
1577
|
+
<rhodes user root> # /Documents/
|
1578
|
+
apps # user path Rho::RhoApplication::get_user_path
|
1579
|
+
db #contains data files
|
1580
|
+
db-files #contains files stored in database(blobs)
|
1581
|
+
# for file paths from camera callback etc: Rho::RhoApplication::get_blob_path(relative_file_path);
|
1582
|
+
# to create file path for blob: Rho::RhoApplication::get_blob_folder()
|
1583
|
+
|
1584
|
+
On iOS platform only files stored in /Documents/ bakuped in iCloud etc.
|
1585
|
+
Before Rhodes 3.3.2 all files stored in /Documents/ but Apple require do not placing files in Documents folder except user produced files.
|
1586
|
+
Now all files except databases stored in /Library/Caches/Private Documents/ - files in this folder do not bakup.
|
1587
|
+
If you want make any files should be bakup - use "user folder" for it - Rho::RhoApplication::get_user_path. All you files created in old version in Rho::RhoApplication::get_base_app_path now should be open in Rho::RhoApplication::get_user_path.
|
1588
|
+
|
1589
|
+
Also there are few additional parameters in build.yml (use it only if you want tune iOS specific folder scheme for some reason):
|
1590
|
+
* iphone_db_in_approot - if 1 then place databases files into <rhodes root>
|
1591
|
+
* iphone_set_approot - set <rhodes root> to one of the three folders (property value - folder): "Documents" - /Documents/, "Library_Caches" - /Library/Caches/Private Documents/, "Library_Private_Documents" - /Library/Private Documents/
|
1592
|
+
* iphone_userpath_in_approot - is 1 then <rhodes user root> will be in the same place with <rhodes root>
|
1593
|
+
|
1594
|
+
### change low level parameters in build.yml example
|
1595
|
+
iphone_db_in_approot: 1
|
1596
|
+
iphone_set_approot: library_Private_Documents
|
1597
|
+
iphone_userpath_in_approot: 1
|
1598
|
+
|
1599
|
+
### write file in user folder example
|
1600
|
+
:::ruby
|
1601
|
+
fileNameW = File.join(Rho::RhoApplication::get_user_path(), 'tempfile.txt')
|
1602
|
+
f = File.new(fileNameW, 'w+')
|
1603
|
+
f.write('my own file !')
|
1604
|
+
f.close
|
1605
|
+
|
1606
|
+
Also you can set special iOS attiribute "do not bakup" to any files or folders or files related to database :
|
1607
|
+
### setup "do not bakup" attribute for files related database conaint Model 'Product'
|
1608
|
+
:::ruby
|
1609
|
+
require_model 'Product'
|
1610
|
+
db = Rho::RHO::get_src_db('Product')
|
1611
|
+
db.set_do_not_bakup_attribute(1)
|
1612
|
+
|
1613
|
+
|
1567
1614
|
#### Windows Mobile
|
1568
1615
|
Device/simulator files folder root - Program Files/<app name>/rho
|
1569
1616
|
|
data/doc/install.txt
CHANGED
@@ -12,11 +12,13 @@ Run the install gems script appropriate for you. You can run "Install gems." If
|
|
12
12
|
|
13
13
|
Then drag RhoStudio to the Applications folder.
|
14
14
|
|
15
|
+
You can also install Rhodes without RhoStudio by [installing Ruby and the Rhodes gem](/rhodes/install#rhodes-gem-for-linux-and-non-rhostudio).
|
16
|
+
|
15
17
|
## Windows
|
16
18
|
|
17
19
|
If you're running Windows, download the latest [RhoStudio for Windows](http://rhomobile.com/rhostudio-windows). This installs the [Ruby stack](http://www.ruby-lang.org/en/), [Redis](http://redis.io/), [RhoConnect](/rhoconnect/introduction) and [Rhodes](/rhodes/introduction).
|
18
20
|
|
19
|
-
If you are running Windows 64-bit, you need to have 64-bit Eclipse, and then you [install RhoStudio as a plugin for Eclipse](/rhodes/rhostudio-eclipse).
|
21
|
+
If you are running Windows 64-bit, you need to [install Ruby and the Rhodes gem](/rhodes/install#rhodes-gem-for-linux-and-non-rhostudio). If you also want RhoStudio, you need to have 64-bit Eclipse, and then you [install RhoStudio as a plugin for Eclipse](/rhodes/rhostudio-eclipse).
|
20
22
|
|
21
23
|
Once the installer has completed, and you have installed the Java Development Kit, you can skip to the [Setup Rhodes section](#setup-rhodes).
|
22
24
|
|
@@ -42,9 +44,9 @@ For non-RhoStudio installations, set the JDK path on the JAVA_HOME variable in y
|
|
42
44
|
|
43
45
|
For Linux installations, and for Windows or Mac OS installations that are not using RhoStudio, you need to install the Rhodes gem. Download and install:
|
44
46
|
|
45
|
-
1. [Ruby v1.8.7
|
47
|
+
1. [Ruby v1.8.7](http://www.ruby-lang.org/en/downloads/) (On Windows, [RubyInstaller](http://rubyinstaller.org) is a convenient way to install Ruby.)
|
46
48
|
|
47
|
-
2. [RubyGems
|
49
|
+
2. [RubyGems](http://rubygems.org/pages/download) (RubyGems offers a .tgz, a .zip, and a .gem download. You want the .zip.) NOTE: Windows doesn't come with the necessary build tools to install gems ('make', for example). There are various ways to get these tools, but the GnuWin32 project at http://gnuwin32.sourceforge.net/ provides the tools, and can be conveniently installed via the GetGnuWin32 installer at http://sourceforge.net/projects/getgnuwin32/files/.
|
48
50
|
|
49
51
|
3. Install the Rhode Gem.
|
50
52
|
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "barcode", "Barcode.vcproj", "{93453E27-E84A-40C4-BD6A-51A8373D7044}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
9
|
+
Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
10
|
+
Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
11
|
+
Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
12
|
+
EndGlobalSection
|
13
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
14
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
15
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
16
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
17
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
18
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
19
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
20
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
21
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
22
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
23
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
24
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
25
|
+
{93453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
26
|
+
EndGlobalSection
|
27
|
+
GlobalSection(SolutionProperties) = preSolution
|
28
|
+
HideSolutionNode = FALSE
|
29
|
+
EndGlobalSection
|
30
|
+
EndGlobal
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<?xml version="1.0" encoding="windows-1251"?>
|
2
2
|
<VisualStudioProject
|
3
3
|
ProjectType="Visual C++"
|
4
|
-
Version="8
|
4
|
+
Version="8.00"
|
5
5
|
Name="barcode"
|
6
6
|
ProjectGUID="{93453E27-E84A-40C4-BD6A-51A8373D7044}"
|
7
7
|
Keyword="Win32Proj"
|
@@ -10,6 +10,9 @@
|
|
10
10
|
<Platform
|
11
11
|
Name="Windows Mobile 6 Professional SDK (ARMV4I)"
|
12
12
|
/>
|
13
|
+
<Platform
|
14
|
+
Name="Windows Mobile 6.5.3 Professional DTK (ARMV4I)"
|
15
|
+
/>
|
13
16
|
</Platforms>
|
14
17
|
<ToolFiles>
|
15
18
|
</ToolFiles>
|
@@ -163,6 +166,157 @@
|
|
163
166
|
<DebuggerTool
|
164
167
|
/>
|
165
168
|
</Configuration>
|
169
|
+
<Configuration
|
170
|
+
Name="Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)"
|
171
|
+
OutputDirectory="Windows Mobile 6.5.3 Professional DTK (ARMV4I)\$(ConfigurationName)"
|
172
|
+
IntermediateDirectory="Windows Mobile 6.5.3 Professional DTK (ARMV4I)\$(ConfigurationName)"
|
173
|
+
ConfigurationType="4"
|
174
|
+
CharacterSet="1"
|
175
|
+
>
|
176
|
+
<Tool
|
177
|
+
Name="VCPreBuildEventTool"
|
178
|
+
/>
|
179
|
+
<Tool
|
180
|
+
Name="VCCustomBuildTool"
|
181
|
+
/>
|
182
|
+
<Tool
|
183
|
+
Name="VCXMLDataGeneratorTool"
|
184
|
+
/>
|
185
|
+
<Tool
|
186
|
+
Name="VCWebServiceProxyGeneratorTool"
|
187
|
+
/>
|
188
|
+
<Tool
|
189
|
+
Name="VCMIDLTool"
|
190
|
+
TargetEnvironment="1"
|
191
|
+
/>
|
192
|
+
<Tool
|
193
|
+
Name="VCCLCompilerTool"
|
194
|
+
ExecutionBucket="7"
|
195
|
+
Optimization="0"
|
196
|
+
AdditionalIncludeDirectories="$(RHO_ROOT)\platform\shared\ruby\wince;$(RHO_ROOT)\platform\shared\ruby\include;$(RHO_ROOT)\platform\shared"
|
197
|
+
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;_LIB;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE"
|
198
|
+
MinimalRebuild="true"
|
199
|
+
RuntimeLibrary="1"
|
200
|
+
UsePrecompiledHeader="0"
|
201
|
+
WarningLevel="3"
|
202
|
+
DebugInformationFormat="3"
|
203
|
+
/>
|
204
|
+
<Tool
|
205
|
+
Name="VCManagedResourceCompilerTool"
|
206
|
+
/>
|
207
|
+
<Tool
|
208
|
+
Name="VCResourceCompilerTool"
|
209
|
+
PreprocessorDefinitions="_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES)"
|
210
|
+
Culture="1033"
|
211
|
+
AdditionalIncludeDirectories="$(IntDir)"
|
212
|
+
/>
|
213
|
+
<Tool
|
214
|
+
Name="VCPreLinkEventTool"
|
215
|
+
/>
|
216
|
+
<Tool
|
217
|
+
Name="VCLibrarianTool"
|
218
|
+
AdditionalOptions=" /subsystem:windowsce,5.02"
|
219
|
+
OutputFile="$(OutDir)/Barcode.lib"
|
220
|
+
/>
|
221
|
+
<Tool
|
222
|
+
Name="VCALinkTool"
|
223
|
+
/>
|
224
|
+
<Tool
|
225
|
+
Name="VCXDCMakeTool"
|
226
|
+
/>
|
227
|
+
<Tool
|
228
|
+
Name="VCBscMakeTool"
|
229
|
+
/>
|
230
|
+
<Tool
|
231
|
+
Name="VCCodeSignTool"
|
232
|
+
/>
|
233
|
+
<Tool
|
234
|
+
Name="VCPostBuildEventTool"
|
235
|
+
/>
|
236
|
+
<DeploymentTool
|
237
|
+
ForceDirty="-1"
|
238
|
+
RemoteDirectory=""
|
239
|
+
RegisterOutput="0"
|
240
|
+
AdditionalFiles=""
|
241
|
+
/>
|
242
|
+
<DebuggerTool
|
243
|
+
/>
|
244
|
+
</Configuration>
|
245
|
+
<Configuration
|
246
|
+
Name="Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)"
|
247
|
+
OutputDirectory="Windows Mobile 6.5.3 Professional DTK (ARMV4I)\$(ConfigurationName)"
|
248
|
+
IntermediateDirectory="Windows Mobile 6.5.3 Professional DTK (ARMV4I)\$(ConfigurationName)"
|
249
|
+
ConfigurationType="4"
|
250
|
+
CharacterSet="1"
|
251
|
+
>
|
252
|
+
<Tool
|
253
|
+
Name="VCPreBuildEventTool"
|
254
|
+
/>
|
255
|
+
<Tool
|
256
|
+
Name="VCCustomBuildTool"
|
257
|
+
/>
|
258
|
+
<Tool
|
259
|
+
Name="VCXMLDataGeneratorTool"
|
260
|
+
/>
|
261
|
+
<Tool
|
262
|
+
Name="VCWebServiceProxyGeneratorTool"
|
263
|
+
/>
|
264
|
+
<Tool
|
265
|
+
Name="VCMIDLTool"
|
266
|
+
TargetEnvironment="1"
|
267
|
+
/>
|
268
|
+
<Tool
|
269
|
+
Name="VCCLCompilerTool"
|
270
|
+
ExecutionBucket="7"
|
271
|
+
Optimization="2"
|
272
|
+
AdditionalIncludeDirectories="$(RHO_ROOT)\platform\shared\ruby\wince;$(RHO_ROOT)\platform\shared\ruby\include;$(RHO_ROOT)\platform\shared"
|
273
|
+
PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;_LIB;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE"
|
274
|
+
RuntimeLibrary="0"
|
275
|
+
UsePrecompiledHeader="0"
|
276
|
+
WarningLevel="3"
|
277
|
+
DebugInformationFormat="3"
|
278
|
+
/>
|
279
|
+
<Tool
|
280
|
+
Name="VCManagedResourceCompilerTool"
|
281
|
+
/>
|
282
|
+
<Tool
|
283
|
+
Name="VCResourceCompilerTool"
|
284
|
+
PreprocessorDefinitions="NDEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES)"
|
285
|
+
Culture="1033"
|
286
|
+
AdditionalIncludeDirectories="$(IntDir)"
|
287
|
+
/>
|
288
|
+
<Tool
|
289
|
+
Name="VCPreLinkEventTool"
|
290
|
+
/>
|
291
|
+
<Tool
|
292
|
+
Name="VCLibrarianTool"
|
293
|
+
AdditionalOptions=" /subsystem:windowsce,5.02"
|
294
|
+
OutputFile="$(OutDir)/Barcode.lib"
|
295
|
+
/>
|
296
|
+
<Tool
|
297
|
+
Name="VCALinkTool"
|
298
|
+
/>
|
299
|
+
<Tool
|
300
|
+
Name="VCXDCMakeTool"
|
301
|
+
/>
|
302
|
+
<Tool
|
303
|
+
Name="VCBscMakeTool"
|
304
|
+
/>
|
305
|
+
<Tool
|
306
|
+
Name="VCCodeSignTool"
|
307
|
+
/>
|
308
|
+
<Tool
|
309
|
+
Name="VCPostBuildEventTool"
|
310
|
+
/>
|
311
|
+
<DeploymentTool
|
312
|
+
ForceDirty="-1"
|
313
|
+
RemoteDirectory=""
|
314
|
+
RegisterOutput="0"
|
315
|
+
AdditionalFiles=""
|
316
|
+
/>
|
317
|
+
<DebuggerTool
|
318
|
+
/>
|
319
|
+
</Configuration>
|
166
320
|
</Configurations>
|
167
321
|
<References>
|
168
322
|
</References>
|
@@ -212,10 +366,6 @@
|
|
212
366
|
RelativePath="..\..\shared\zbar\zbar\zbar\image.c"
|
213
367
|
>
|
214
368
|
</File>
|
215
|
-
<File
|
216
|
-
RelativePath="src\wm_imageprovider.cpp"
|
217
|
-
>
|
218
|
-
</File>
|
219
369
|
<File
|
220
370
|
RelativePath="..\..\shared\zbar\zbar\zbar\img_scanner.c"
|
221
371
|
>
|
@@ -248,6 +398,10 @@
|
|
248
398
|
RelativePath="..\..\shared\zbar\zbar\zbar\symbol.c"
|
249
399
|
>
|
250
400
|
</File>
|
401
|
+
<File
|
402
|
+
RelativePath="src\wm_imageprovider.cpp"
|
403
|
+
>
|
404
|
+
</File>
|
251
405
|
<File
|
252
406
|
RelativePath="..\..\shared\src\zbar.c"
|
253
407
|
>
|
@@ -56,7 +56,7 @@ def build_extension(name, arch)
|
|
56
56
|
elsif ENV['RHO_PLATFORM'] == 'wm'
|
57
57
|
args = []
|
58
58
|
args << "/M4"
|
59
|
-
args << name + ".
|
59
|
+
args << name + ".sln"
|
60
60
|
args << "\"Release|#{$sdk}\""
|
61
61
|
cmdline = "\"" + $vcbuild + "\"" + ' ' + args.join(' ')
|
62
62
|
puts cmdline
|
@@ -68,7 +68,7 @@ def build_extension(name, arch)
|
|
68
68
|
elsif ENV['RHO_PLATFORM'] == 'win32'
|
69
69
|
args = []
|
70
70
|
args << "/M4"
|
71
|
-
args << name + ".
|
71
|
+
args << name + ".sln"
|
72
72
|
args << "\"#{ENV['RHO_BUILD_CONFIG']}|Win32\""
|
73
73
|
cmdline = "\"" + $vcbuild + "\"" + ' ' + args.join(' ')
|
74
74
|
puts cmdline
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "digest-md5", "digest-md5.vcproj", "{73453E27-E84A-40C4-BD6A-51A8373D7044}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|MC3000c50b (ARMV4I) = Debug|MC3000c50b (ARMV4I)
|
9
|
+
Debug|Win32 = Debug|Win32
|
10
|
+
Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
11
|
+
Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
12
|
+
Release|MC3000c50b (ARMV4I) = Release|MC3000c50b (ARMV4I)
|
13
|
+
Release|Win32 = Release|Win32
|
14
|
+
Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
15
|
+
Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
18
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|MC3000c50b (ARMV4I).ActiveCfg = Debug|MC3000c50b (ARMV4I)
|
19
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|MC3000c50b (ARMV4I).Build.0 = Debug|MC3000c50b (ARMV4I)
|
20
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|MC3000c50b (ARMV4I).Deploy.0 = Debug|MC3000c50b (ARMV4I)
|
21
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Win32.ActiveCfg = Debug|Win32
|
22
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Win32.Build.0 = Debug|Win32
|
23
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
24
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
25
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
26
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
27
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
28
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
29
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|MC3000c50b (ARMV4I).ActiveCfg = Release|MC3000c50b (ARMV4I)
|
30
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|MC3000c50b (ARMV4I).Build.0 = Release|MC3000c50b (ARMV4I)
|
31
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|MC3000c50b (ARMV4I).Deploy.0 = Release|MC3000c50b (ARMV4I)
|
32
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Win32.ActiveCfg = Release|Win32
|
33
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Win32.Build.0 = Release|Win32
|
34
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
35
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
36
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
37
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
38
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
39
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
40
|
+
EndGlobalSection
|
41
|
+
GlobalSection(SolutionProperties) = preSolution
|
42
|
+
HideSolutionNode = FALSE
|
43
|
+
EndGlobalSection
|
44
|
+
EndGlobal
|
@@ -56,7 +56,7 @@ def build_extension(name, arch)
|
|
56
56
|
elsif ENV['RHO_PLATFORM'] == 'wm'
|
57
57
|
args = []
|
58
58
|
args << "/M4"
|
59
|
-
args << name + ".
|
59
|
+
args << name + ".sln"
|
60
60
|
args << "\"Release|#{$sdk}\""
|
61
61
|
cmdline = "\"" + $vcbuild + "\"" + ' ' + args.join(' ')
|
62
62
|
puts cmdline
|
@@ -68,7 +68,7 @@ def build_extension(name, arch)
|
|
68
68
|
elsif ENV['RHO_PLATFORM'] == 'win32'
|
69
69
|
args = []
|
70
70
|
args << "/M4"
|
71
|
-
args << name + ".
|
71
|
+
args << name + ".sln"
|
72
72
|
args << "\"#{ENV['RHO_BUILD_CONFIG']}|Win32\""
|
73
73
|
cmdline = "\"" + $vcbuild + "\"" + ' ' + args.join(' ')
|
74
74
|
puts cmdline
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
Microsoft Visual Studio Solution File, Format Version 9.00
|
3
|
+
# Visual Studio 2005
|
4
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "digest-sha1", "digest-sha1.vcproj", "{73453E27-E84A-40C4-BD6A-51A8373D7044}"
|
5
|
+
EndProject
|
6
|
+
Global
|
7
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
8
|
+
Debug|MC3000c50b (ARMV4I) = Debug|MC3000c50b (ARMV4I)
|
9
|
+
Debug|Win32 = Debug|Win32
|
10
|
+
Debug|Windows Mobile 6 Professional SDK (ARMV4I) = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
11
|
+
Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
12
|
+
Release|MC3000c50b (ARMV4I) = Release|MC3000c50b (ARMV4I)
|
13
|
+
Release|Win32 = Release|Win32
|
14
|
+
Release|Windows Mobile 6 Professional SDK (ARMV4I) = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
15
|
+
Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
16
|
+
EndGlobalSection
|
17
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
18
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|MC3000c50b (ARMV4I).ActiveCfg = Debug|MC3000c50b (ARMV4I)
|
19
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|MC3000c50b (ARMV4I).Build.0 = Debug|MC3000c50b (ARMV4I)
|
20
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|MC3000c50b (ARMV4I).Deploy.0 = Debug|MC3000c50b (ARMV4I)
|
21
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Win32.ActiveCfg = Debug|Win32
|
22
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Win32.Build.0 = Debug|Win32
|
23
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
24
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
25
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6 Professional SDK (ARMV4I)
|
26
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
27
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
28
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
29
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|MC3000c50b (ARMV4I).ActiveCfg = Release|MC3000c50b (ARMV4I)
|
30
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|MC3000c50b (ARMV4I).Build.0 = Release|MC3000c50b (ARMV4I)
|
31
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|MC3000c50b (ARMV4I).Deploy.0 = Release|MC3000c50b (ARMV4I)
|
32
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Win32.ActiveCfg = Release|Win32
|
33
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Win32.Build.0 = Release|Win32
|
34
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
35
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Build.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
36
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6 Professional SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 6 Professional SDK (ARMV4I)
|
37
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
38
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
39
|
+
{73453E27-E84A-40C4-BD6A-51A8373D7044}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
|
40
|
+
EndGlobalSection
|
41
|
+
GlobalSection(SolutionProperties) = preSolution
|
42
|
+
HideSolutionNode = FALSE
|
43
|
+
EndGlobalSection
|
44
|
+
EndGlobal
|