Holger Hans Peter Freyther
a1b4166cb7
m2ua: Avoid using the the system >>#copyFrom: message
...
>>#copyFrom: is clashing with the system message and when porting
it will be translated to >>#copyFrom:to: and this is not the right
thing to do.
2013-06-17 15:37:41 +02:00
Holger Hans Peter Freyther
9278fb997c
socket: Add methods to access the hostname and port
...
(Merged from Pharo)
2013-06-17 15:23:54 +02:00
Holger Hans Peter Freyther
4ce74bd5eb
socket: Make sure the socket is set to nil at the end of the block
2013-06-17 15:21:07 +02:00
Holger Hans Peter Freyther
6f7e0bcf8d
m2ua: Merge the ASP changes from Pharo to GST
2013-06-17 15:15:35 +02:00
Holger Hans Peter Freyther
372c2e0f0b
m2ua: Move the code to separate directory to prepare merging with Pharo
2013-06-17 14:19:26 +02:00
Holger Hans Peter Freyther
4a51f03659
misc: Attempt to fix/improve the fileout of the code
...
This code is using classPragmas to initialize various GSM attributes,
for file-out we need to tell the system which classPragmas to use and
this is what the code attempts to do.
There is a bug that prevents to file-out the <gsmMinValueSize: max:>
pragma but we will get there.
2013-06-04 11:29:08 +02:00
Holger Hans Peter Freyther
f2b5156799
debian: Attempt to fix lintian warning
...
E: osmo-smalltalk source: missing-separator-between-items in grease depends field between '${misc:Depends}' and '${gst:Depends}'
2013-05-23 17:51:15 +02:00
Holger Hans Peter Freyther
a0fbcf04ee
debian: Pre-pare release number eight
2013-05-23 17:42:15 +02:00
Holger Hans Peter Freyther
20024e496b
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-mgcp
2013-05-23 17:38:41 +02:00
Holger Hans Peter Freyther
d6244537d2
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-testphone
2013-05-23 17:38:04 +02:00
Holger Hans Peter Freyther
77427229bf
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-sip
2013-05-23 17:37:48 +02:00
Holger Hans Peter Freyther
797ddedf73
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-gsm
2013-05-23 17:37:26 +02:00
Holger Hans Peter Freyther
9c01729ef1
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-network
2013-05-23 17:37:17 +02:00
Holger Hans Peter Freyther
175366c124
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-logging
2013-05-23 17:37:01 +02:00
Holger Hans Peter Freyther
e60384432e
Merge branch 'master' of git://git.osmocom.org/smalltalk/osmo-st-core
2013-05-23 17:36:25 +02:00
Holger Hans Peter Freyther
a0eb175b26
m2ua: Add some documentation about the states from Pharo
2013-05-14 17:18:17 +02:00
Holger Hans Peter Freyther
f91e5c96aa
net: Introduce the OsmoStreamSocketBase connection
2013-05-14 17:09:59 +02:00
Holger Hans Peter Freyther
b9d70c018f
misc: Improve the test coverage of the OsmoNetwork
...
Get the >>#parameterName/>>#spec out of the uncovered methods, this
is done by just finding the right classes and calling the selectors.
Add some simple tests for a MessageBuffer method that was not covered
yet.
2013-05-14 14:18:33 +02:00
Holger Hans Peter Freyther
43c5a43e80
pharo: Turn the socket into binary mode
2013-05-13 09:32:52 +02:00
Holger Hans Peter Freyther
bdb064746c
test: Add a manual test for the delayed rf channel release ack
2013-05-02 19:31:55 +02:00
Holger Hans Peter Freyther
c5fae333f8
lchan: Add a manual test to delay the channel activation ack
...
Check how OpenBSC will handle the delayed channel activation ack.
This is a manual test only right now.
2013-05-02 17:52:54 +02:00
Holger Hans Peter Freyther
4f0b583d1c
sccp: Move the SCCPGlobalTitle and SCCPGlobalTitleTranslation to new files
...
Split out the SCCPGlobalTitle and SCCPGlobalTitleTranslation to new
files and update the Makefile and package.xml for the new file.
2013-04-30 18:39:13 +02:00
Holger Hans Peter Freyther
099d03f1cd
sccp: Rename SCCPGTI to SCCPGlobalTitle
...
Rename it to SCCPGlobalTitle and drop the "indicator" as it is
not an indicator at all.
2013-04-30 18:35:35 +02:00
Holger Hans Peter Freyther
e46ebff237
sccp: Rename poi to pointCode and update selectors
2013-04-30 14:40:48 +02:00
Holger Hans Peter Freyther
a8e8ee1847
compat: Add >>#deprecated: for Pharo compat to indicate old methods
2013-04-30 14:14:21 +02:00
Holger Hans Peter Freyther
c6f896f645
ipa: Create initializeHandlers for the init
2013-04-29 15:59:30 +02:00
Holger Hans Peter Freyther
529b082c10
ipa: Add a space between the string and the stream id
2013-04-29 15:42:16 +02:00
Holger Hans Peter Freyther
6df7f5e488
ipa: Initialize the handlers if they are null
...
This avoids classes calling >>#initialize on load to initialize
the instance variable. It is a bit sad. If we would just return
handlers GST could optimize the method better (e.g. avoid calling
it and just return the variable).
We should call it initialize handlers or such. This can be done
in a follow up method.
2013-04-29 15:39:33 +02:00
Holger Hans Peter Freyther
6c8b36319b
osmo: Fix the creation of the OsmoAppConnection
...
Move the variable into the right method.
2013-04-29 12:45:32 +02:00
Holger Hans Peter Freyther
189471a586
osmo: Allow a subclass to change the dispatcher/ipa handler
...
Allow a subclass to overwrite this method to create a custom
handler. So far one could only register additional handlers but
not change the proto handler completely.
2013-04-29 10:36:21 +02:00
Holger Hans Peter Freyther
3e8d588e9b
ipa: Make the handler a variable on the class side
...
* Making it a classVariable will make subclasses manipulate the
base variable. By making it a variable on the class side avoids
this issue.
2013-04-29 09:53:29 +02:00
Holger Hans Peter Freyther
25cc918f1e
Merge branch 'master' of /home/ich/source/smalltalk/iliad-stable
...
Conflicts:
iliad-stable/Core/package.xml
2013-04-24 13:39:51 +02:00
Holger Hans Peter Freyther
12bdaf75f6
m2ua: Begin with a M2UA AS and ASP state machine and support code
2013-04-08 08:41:46 +02:00
Holger Hans Peter Freyther
009957dffc
mtp3: Introduce some basic structures for MTP3 decoding
...
This starts to introduce some basic MTP3 message decoding and
encoding using the generic MessageBuffer classes.
2013-04-06 11:40:53 +02:00
Holger Hans Peter Freyther
7ccefaa16e
sccp: Do not use abbreviation for variable names
...
It can help users to understand what we are talking about. This
request was expressed by noha.
2013-04-02 16:59:35 +02:00
Holger Hans Peter Freyther
247205d803
sccp: Move the SCCPAddress to a separate file
...
Begin with the one class one file pattern and move the SCCPAddress
to a shiny new file.
2013-04-02 16:12:45 +02:00
Holger Hans Peter Freyther
0dd9a2287c
ua: Add a testcase for M2UAMSG>>#findTag:ifAbsent:, fix the code
...
Make the findTag:ifAbent: work. The tag didn't have the isTag
query selector.
2013-04-01 15:08:07 +02:00
Holger Hans Peter Freyther
94498315cb
m2ua: Rename to M2UAMSGTest as it tests M2UAMSG
...
And move it into a new category
2013-04-01 15:03:47 +02:00
Holger Hans Peter Freyther
3423039406
sccp: Fix the SCCPHelper>>#createRLSD.. invocation
...
This was spotted by the code critics of Pharo. Use the right class
selector to create a Connection Released message.
2013-04-01 15:01:05 +02:00
Holger Hans Peter Freyther
a0257331f3
misc: Fix warnings reported by the code critics of Pharo
2013-04-01 10:48:44 +02:00
Holger Hans Peter Freyther
5af90bdfd8
isup: Use a different category name for the extensions
...
These should not show up in a different package
2013-04-01 10:48:44 +02:00
Holger Hans Peter Freyther
39dbe76bc7
pharo: Create >>#initialize methods that are called during load
2013-04-01 10:47:48 +02:00
Holger Hans Peter Freyther
776dda4070
isup: Do not generate the the MessageType field as it doesn't make sense
...
There is no ISUPConstants>>#parMessageType so do not generate such
a class.
2013-04-01 09:53:41 +02:00
Holger Hans Peter Freyther
2e1967c49b
misc: Use String>>#expandMacrosWith.. for the random helpers
...
These generate random strings so it is difficult to unit test. But
the invocation worked:
st> Osmo.SIPRandomHelper generateTag
'MzU0MjIxMTQ1OTIzODI1ODc3NjU_'
st> Osmo.SIPRandomHelper generateCallId
'MTk3MTU3OTAxOA__@xiaoyu'
st> Osmo.SIPUserAgent generateBranch
'z9hG4bKMzU0MjIwNDM2Myw0MjIxNg__'
2013-03-31 20:52:12 +02:00
Holger Hans Peter Freyther
06285b7135
misc: Use WriteStream>>#nextPutAll: instead of String>>% to generate messages
2013-03-31 20:51:57 +02:00
Holger Hans Peter Freyther
66622eb271
misc: Use WriteStream>>#nextPutAll: instead of String>>%
...
* String>>% is not available in Pharo and <<1p>> does not work the
way it should/could work. Move to a WriteStream.
2013-03-31 20:51:36 +02:00
Holger Hans Peter Freyther
90655feda0
misc: Use String>>#expandMacrosWith to increase portability
2013-03-31 20:51:04 +02:00
Holger Hans Peter Freyther
33ecc34cb5
misc: Stop using String>>% for the to/from generation
...
To be able to port to Pharo more easily use a WriteStream and put
all the formatting in there.
2013-03-31 20:50:32 +02:00
Holger Hans Peter Freyther
e6895f28d5
misc: Use String>>#expandWithMacros for all log messages
2013-03-31 20:47:58 +02:00
Holger Hans Peter Freyther
e9ab9925d1
pharo: Beging to improve the GSTSocketAddress to be usable
2013-03-31 20:46:01 +02:00