2000-08-18 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/gphone.c: Add Jorge Gomes Silva's patch to fix config button crash. 2000-01-05 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * configure.in: Remove unused check for esd. 2000-01-04 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * configure.in: Look for slang.h and gsm.h in two places (Redhat and Debian have different ideas). * lib/sound.c (sound_init): Added function so we only set up Ixj_Port if we have the proper headers. (sound_ixj_open): Only use IXJ constants if we have the headers. * lib/sound.c: Deal with alternate location for gsm.h. 2000-01-03 Carlos Puchol <cpg@puchol.com> * changes to support the quicknet boards with the new GPL driver. * added --with-gsm=DIR to pick up gsm lib from some specific DIR 1999-12-23 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/sound.c (find_power_level): Fix potential endianness problem and use ABS to get around problems with comparing negative values to unsigned values. 1999-12-12 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * configure.in, gphone-version.h: Bumped version to 0.5. 1999-12-11 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/call-ui.c: Added basic dialog to get a hostname to call. * lib/net.c (find_host): Change function to return a 0 if hostname is invalid, 1 on success. * gphone/config-ui.c: Added beginning of a "config" dialog. * lib/sound.c (set_sound_ixj_port): Added function to allow selection of which port to use with the IXJ. 1999-12-10 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/sound.c (read_samples, write_samples): Clean up and allow for the fact that we may have to do more than one write because of the IXJ driver. (sound_open_device): Add routine so we don't have to repeat the switch statement. (find_power_level): Make sure power level is no bigger than G_MAXSHORT. 1999-12-08 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/sound.c (sound_ixj_open): Add routine to open and set up IXJ. * gphone/gphone.c: Add --ixj command line switch to select IXJ. * Makefile.am: Start distributing ixjuser.h so we can compile with Internet PhoneJACK support. 1999-12-05 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * include/connection.h: Add prototype for send_switch_packet(). 1999-12-04 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * configure.in, gphone-version.h: Bumped version to 0.4. * gphone/connection.c (send_switch_packet): Add function to send RTCP APP packet when we switch talk direction. (parse_rtcp_app_packet): Add function to handle APP packets; right now only do switch direction packets. * gphone/ui.c (update_status_display): Change progress bar scaling to match new find_power_level(). * gphone/talk.c (talk_side): Use changed find_power_level() for silence level. * lib/sound.c (find_power_level): Just loop through and look for the value that's biggest rather than trying to be tricky and save time. Now we can use this for silence level too. I hope I'm handling endianness correctly. * gphone/talk.c (do_switch): Add function to handle switching directions when talking half-duplex. * gphone/gphone.c, gphone/talk.c: Add testfile command line option and update the use of debug_read_sound() so we don't have to recompile to debug and so there isn't a risk of distributing gphone with the #if set the wrong way. 1999-12-03 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/gphone.c: Change quiet flag to verbose flag; now we don't spew out lots of messages by default. 1999-12-01 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * include/rtp.h: rename rtcp_sdes_type_t to Rtcp_Sdes_Type, delete lots of unused definitions. * lib/rtcp-packet.c, gphone/connection.c: add rtcp_compound_add_*() functions and use them instead of the junky old code. 1999-11-25 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/sound.c: Add sound_in_use(). * gphone/connection.c, gphone/listen.c: Change connection_listen to return a value saying whether any RTP data was read; set the speaker level to 0 if none was. 1999-11-24 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/rtp.c, lib/rtcp-packet.c: move rtp_read_sdes() to rtcp-packet.c and rename it rtcp_read_sdes(). * gphone/connection.c, lib/rtcp-packet.c: Add rtcp_compound_foreach() and use it to parse compound packets. 1999-11-23 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/rtcp-packet.c: Add free_data flag to rtcp_packet data structure so we can use packets whose data is inside a compound packet. * README: Updated with SourceForge mailing list and home page. 1999-11-19 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/ui.c: Split the UI building stuff into build_main_window(). Disable the switch button in full duplex mode. * gphone/talk.c (talk_side): Set mic level to 0 when we're not talking. 1999-11-17 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/talk.c (talk_side): Add primitive silence suppression by not sending chunks whose level is not at least Silence_Level. * gphone/connection.c (parse_rtp_packet): Fix spurious warning about host changing. 1999-11-15 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * include/rtp.h: Delete unused struct rtp_hdr_t. 1999-11-14 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/connection.c: Start using the new Rtp_Packet type. * lib/rtp-packet.c, include/rtp-packet.h, lib/rtcp-packet.c, include/rtcp-packet.h: Added files to start to clean up the RTP stack. 1999-11-13 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/ui.c, lib/sound.c: Add mute toggle button to mute microphone and add sound_mute_mic function to set mute state. Change read_samples to fill buffer with 0's if mic is muted. * gphone/gphone.c, gphone/listen.c, gphone/talk.c: Get rid of unused Mute variable and eliminate mute command line option. 1999-11-12 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/thread.c: Capitalize Spk_Level and Mic_Level; get rid of unused keypress variable. 1999-11-11 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone.spec: Update with changes from Jean Christophe Andre. 1999-11-09 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * Makefile.am: Distribute sound.h. * configure.in, gphone-version.h: Bumped version to 0.3. 1999-11-08 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/gphone.c: Add Quiet_Flag to shut up g_log calls. * gphone/gphone.c, gphone/listen.c, gphone/talk.c, gphone/ui.c, gphone/connection.c: Replace g_print by g_log. 1999-11-07 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/sound.c: In full duplex mode, open /dev/dsp only once with mode O_RDWR and keep track of a use count to know when to close it. 1999-11-03 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/sound.c, include/sound.h: Replace misleading variable name nsamp by bufsize. * gphone/Makefile.am: Add gphone_DEPENDENCIES to make sure gphone is relinked if anything in libgphone.a changes. * lib/sound.c: Add function sound_device_open to actually open /dev/dsp and do all the ioctl junk. * lib/sound.c, include/sound.h, gphone/gphone.c, gphone/talk.c, gphone/listen.c: Update sound handling to use set_sound_eight_bit instead of a global Eight_Bit variable. * lib/sound.c, include/sound.h, gphone/gphone.c, gphone/connection.c: Update sound handling to use get_sound_duplex and set_sound_duplex instead of a global Half_Duplex variable. 1999-10-25 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/listen.c, gphone/talk.c: Include the new file sound.h to define the sound functions. * gphone.spec: Use Lyle Kempler's working spec file. 1999-10-18 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * lib/term.c: add #include <stdio.h> to define fprintf, etc. * gphone/talk.c (read_sound): Use global Sound_FD in case we want to close the sound fd somewhere else. 1999-10-17 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * gphone/gphone.c, gphone/listen.c, gphone/talk.c: Capitalize Eight_Bit. * *.c: Merge in Eric Gaudet's prettier error messages. * *.[ch]: Change tabs to spaces. 1999-10-16 Roland "Mr. Zero" Dreier <dreier@linuxfan.com> * {gphone, lib}/Makefile.am: Fix INCLUDES to be relative to source path in case we're building in a separate directory. * gphone/listen.c (play_gsm_data): Instead of malloc/free every call, keep a buffer around and realloc if it needs to grow. * gphone/connection.c: Added We_Called variable so add_member can tell whether it should set the status to STAT_LISTEN or not in the half-duplex case.