Newer
Older
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
Date: Sun May 31 12:13:31 2009 +0000
Update Turkish translation and fix some typos in strings.
(Old svn revision: 7448)
commit e3fcfd1215b98329963870901d96a2d9ac431fdb
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sun May 31 08:02:56 2009 +0000
Make some strings translatable, update the image of the documentation.
(Old svn revision: 7447)
commit e27b945eb87c8cfd52838782b83e90177f5c2f30
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 30 22:57:19 2009 +0000
Update the documentation.
(Old svn revision: 7446)
commit 73c546ef11b306ef523d5424c5787cbbbaf277a6
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Fri May 29 12:10:06 2009 +0000
Fix a crash in the panel plugin.
Use sd->cli and sd->close correctly so that it does not exit the main
loop when running the panel plugin which makes it crash. Simplify the
code a bit and set the members of the structure correctly when
initializing the application and the plugin.
(Old svn revision: 7437)
commit e185a82da3d3f987087e206b8d2b67c0e48ee63b
Author: Mike Massonnet <mmassonnet@xfce.org>
Date: Fri May 29 10:44:34 2009 +0000
update goodies translations
(Old svn revision: 7436)
commit 7ad9964e0afda37403c3a2f225ab96b3967d5c02
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Thu May 28 20:24:49 2009 +0000
Add a throbber to notify activity during the ZimageZ upload.
Take KatzeThrobber from Midori and relicense it to GPL2. Thanks a lot
to Christian Dywan.
(Old svn revision: 7434)
commit 4b97aba467a6c9985355ba65f534d59a3fc5ac17
Author: Michal Varady <miko.vaji@gmail.com>
Date: Wed May 27 22:36:46 2009 +0000
Czech translation updated
(Old svn revision: 7427)
commit 3968ffcdfbc85d7f9fc69a229b00c5aef10b29c4
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Tue May 26 15:11:13 2009 +0000
Add Danish translation for the documentation (Lars Christian Jensen).
(Old svn revision: 7424)
commit a388c06ff4c12da8e79b5543d9aa1ecf2520151e
Author: SZERVÁC Attila <sas@321.hu>
Date: Tue May 26 04:56:27 2009 +0000
[intl:hu] xfmpc added
(Old svn revision: 7422)
commit f3168802ddbc669696b085ef525fbf246b9bae7d
Author: SZERVÁC Attila <sas@321.hu>
Date: Tue May 26 03:13:08 2009 +0000
[intl:hu] goodies update1
(Old svn revision: 7421)
commit f3e456b1e955f7ef6f6c1530f402057ec8ab796d
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sun May 24 15:16:27 2009 +0000
Fix a typo in a ZimageZ string, update the po files.
Also update the French translation and fix a bunch of typos that got on
the last update.
(Old svn revision: 7417)
commit f6190ffcd7d6dc45c8da57b2318fd229d0b8bfb7
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sun May 24 14:42:31 2009 +0000
Make strings consistent, improve them a bit and tweak the indentation.
(Old svn revision: 7416)
commit a95f489fb5ff5b4cad9c69df4b2a977917759c42
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 22:35:06 2009 +0000
And the changelog...
(Old svn revision: 7404)
commit e2ba438eb8937390fd0ef72ce6fe2e6762e704df
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 22:34:24 2009 +0000
Escape all strings before sending them to the server.
Uploading still does not work if the user, the password, the comment
or the title contains a non alphanumerical caracter, but this should
improve things a bit a XML expects escaped strings. Use our own error
function in (cb_error).
(Old svn revision: 7403)
commit 6824014c2d2873933316cbcfcd80a6cc7406aca8
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 22:09:40 2009 +0000
Use a valid dialog flag for the GtkMessageDialog.
(Old svn revision: 7402)
commit bf28f8b745e9f266dd2c68c60e5d7bb875969be4
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 22:06:30 2009 +0000
Fix the build of the ZimageZ stuff and improve the results dialog.
The results dialog now uses GtkTextViews in GtkFrames instead of labels,
alignments have also been added to enhance the look.
(Old svn revision: 7401)
commit ac96451727976054f1adbbbf919b62544dfd1a76
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 16:25:42 2009 +0000
* Only build the ZimageZ stuff if the dependencies are
installed. Makes libcurl and xmlrpc-c optional.
(Old svn revision: 7397)
commit 7cb8a37e0fe7e49f6b8874c4db999a12ed4a6a4f
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 12:54:03 2009 +0000
* configure.ac.in: check for libcurl, it is needed by the
xmlrpc-c stuff.
(Old svn revision: 7395)
commit a6076392ac5fcd3424bd8fa0dc0cd4239a47b85f
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 12:45:13 2009 +0000
* src/main.c:
- save the last user when we are in CLI.
- free the last user when exiting.
(Old svn revision: 7394)
commit cfa8a0031f47bf788cf0923fc4ddfaae89b2742b
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 11:21:04 2009 +0000
* lib/screenshooter-zimage.c: check if one of the fields is
empty, not only the last one...
(Old svn revision: 7393)
commit 5c4b63da77ad6bea614d11b92bd0f681855a23da
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 23 11:16:23 2009 +0000
* lib/screenshooter-zimage.c, try to fix the last user issue:
- set the user as data of the job.
- give the string and not a pointer to the string to the job.
- only accept valid utf8 strings as users.
- update the last user in (cb_image_uploaded).
* TODO: update the todo list.
(Old svn revision: 7392)
commit b95781070467c985e1496650d133fa0ea5bbaec5
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Thu May 21 13:24:42 2009 +0000
Update the PO files and the French translation.
(Old svn revision: 7388)
commit c72245e950b135943d221a2e4af08ddefe91534e
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Thu May 21 10:34:08 2009 +0000
* lib/sexy-url-label.{c,h}: mark some strings as translatable and
include the libxfce4util header to have the "_" translation
function.
* po/POTFILES.in: add the new translatable files.
(Old svn revision: 7384)
commit 08cf214c89c21915ca1af79a8340476dfed4f799
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Thu May 21 10:21:48 2009 +0000
* lib/screenshooter-zimagez.c:
- remove (open_zimagez_link) and use (open_url_hook) in all
cases.
- (cb_image_uploaded) improve the dialog by using SexyUrl labels
instead of link buttons and by showing two usage examples, in
HTML and in BB code.
- (cb_image_uploaded) use constants for all strings.
(Old svn revision: 7383)
commit 7b488ad04406884f2e9eb77acd1bfbc2bbf68977
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon May 18 21:24:31 2009 +0000
* Improve the status dialog of the upload to ZimageZ.
* Remember the last ZimageZ user name and put it in the user field
when displaying the dialog for the first time.
(Old svn revision: 7367)
commit 79f20969988603ee024f64e4153e7755a6091e49
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon May 18 12:46:48 2009 +0000
* lib/screenshooter-dialogs.c:
- (screenshooter_dialog_new) add a radio button for uploading in the
actions. Indent some comments correctly.
- (cb_zimagez_toggled) add a callback for the radio button.
- remove some useless comments.
(Old svn revision: 7362)
commit 89d075862ef09c1cdfda4076fead690786424d93
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon May 18 12:03:14 2009 +0000
* lib/screenshooter-global.h: add a cli gboolean to the ScreenshotData
structure. Combined with the close member of the structure, this
allows to close the application or not depending on how the
executable is called.
* src/main.c, lib/screenshooter-actions.{c,h}: move the dialog
stuff to (screenshooter_take_and_output_screenshot) which is
from now on a GSourceFunc. It returns TRUE if we want to take
another screenshot, else it quits the main loop and returns
FALSE. It is called via g_idle_add in (main), which allows us
to always have a main loop. The workaround consisting in
sleep (1) before taking a screenshot seems useless now.
* lib/screenshooter-zimagez.c: don't start and exit a main
loop here, run the dialog instead of showing it.
* panel-plugin/screenshooter-plugin.c: set the cli member of the
structure to false when initializing the plugin.
(Old svn revision: 7361)
commit f9d29e8207b1b4d2f340a79b319928fe9b452163
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon May 18 08:12:33 2009 +0000
* lib/screenshooter-utils.c (screenshooter_error),
lib/screenshooter-job.c (screenshooter_job_ask_info):
do not initialize va_list to NULL, that's wrong and useless.
Thanks to Enrico Tröger.
(Old svn revision: 7360)
commit aca1a435e45b146e2686eaa7772bb4d677787c6e
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sun May 17 16:22:32 2009 +0000
* lib/screenshooter-zimagez.c:
- (zimagez_upload_job) remove a useless cancel check before the loop.
- (cb_ask_for_information) do not disconnect handlers before
cancelling the job, only before destroying it.
(Old svn revision: 7358)
commit 9515ffa68440af9be2d65f06e9e77223c1f6fd8a
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sun May 17 15:56:41 2009 +0000
* lib/screenshooter-utils.{c,h}: use a constant in
(screenshooter_read_rc_file) and (screenshooter_write_rc_file).
* src/main.c:
- use a constant for the rc file.
- don't save the preferences in the callback but in (main).
(Old svn revision: 7356)
commit 79f58112290b2a6168976c62f6372325f46e8fe4
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 16 21:47:18 2009 +0000
* src/screenshooter-utils.{c,h}: add (screenshooter_error) which shows
an error using a GtkMessageDialog.
* lib/*, panel-plugin/screenshooter-plugin.c, src/main.c:
- use (screenshooter_error) instead of (xfce_err).
- remove some trailing white spaces.
* lib/screenshooter-job.c (screenshooter_job_ask_info): add a missing return,
when the job has been cancelled.
* TODO: updated.
(Old svn revision: 7352)
commit 19b447e29b040f6d3797571f630e6571049b828e
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Fri May 15 16:23:26 2009 +0000
* src/main.c:
- add the glib and stdlib headers.
- use RETURN_SUCCESS and RETURN_FAILURE instead of 0 and 1.
* lib/exo-simple-job.{c,h}, lib/exo-job.{c,h}: take the job framework
from Exo written by Jannis Pohlmann. Thank you Jannis!
* lib/screenshooter-job.{c,h}, lib/screenshooter-simple-job.{c,h}:
ScreenshooterJob is based on ExoJob, it provides to additional signals,
ask and image-uploaded.
* lib/screenshooter-marshal.list: add some marshallers for the new
signals.
* lib/screenshooter-zimagez.{c,h}: port the existing code to use a
ScreenshooterJob. Thanks to Jannis for his great help! This fixes
a bunch of problems that occured with the previous implementation.
The dialogs still need to be polished.
* lib/screenshooter-actions.c: use the new function.
* lib/Makefile.am:
- add some magic to generate the marshallers.
- sort the source files by alphabetical order.
* configure.ac.in: bump the GThreads required version to 2.16.
(Old svn revision: 7340)
commit 0f68d5b4fb1da33db0ab0d416a9e5848280942f6
Author: Mike Massonnet <mmassonnet@xfce.org>
Date: Mon May 11 16:30:40 2009 +0000
update translations
(Old svn revision: 7327)
commit 7df717ff8566bb5d2198fc58396d498c47a39c9c
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Tue May 5 08:22:37 2009 +0000
* lib/screenshooter-zimagez.c: make the dialog unresizable and destroy
it when we are done. Remove useless blank spaces.
(Old svn revision: 7315)
commit 96c5c055bab815cef0e005defbe9f58c72e8b7cf
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon May 4 14:54:59 2009 +0000
* lib/sexy-url-label.{c,h}: add the sexy_url_label taken from
libsexy.
* lib/screenshooter-zimagez.{c,h}:
- add a link to ZimageZ so that users can create an account easily.
- add tooltips for the different entries.
- if one of the fiels is empty when the dialog is validated, show it
again and ask the user to fill all the fields.
- plug some leaks and fix a double free issue.
(Old svn revision: 7312)
commit d85e90240963f3239945f18e2146812dd8f0114c
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon May 4 11:13:35 2009 +0000
* lib/screenshooter-zimagez.c:
- (screenshooter_upload_to_zimagez):
+ use a GtkTable to improve the layout.
+ add a cancel button to the dialog.
+ display a warning if the password/user name was not correct
when respawning the dialog.
+ make the labels left aligned and vertically centered to
improve the look of the dialog.
+ tweak the layout by adding an alignment.
- (screenshooter_display_zimagez_links) document this function.
(Old svn revision: 7311)
commit 84bfd019e158ba0f32a4780ad86e92f6481a4b3b
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon May 4 09:05:16 2009 +0000
* lib/screenshooter-zimagez.c: loop until the user has entered the
correct user/password couple.
(Old svn revision: 7310)
commit a1ec7eb9412c4f6900b085ead0c3e0223d67c566
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat May 2 14:06:55 2009 +0000
* lib/screenshooter-zimagez.{c,h}:
- (warn_if_fault_occurred) should be static.
- add some comments.
- (screenshooter_upload_to_zimagez) now returns a gchar* containing
the name of the uploaded image and NULL is the upload failed.
- (screenshooter_display_zimagez_links) new function which shows a
dialog to present the different links to the uploaded image. At
the moment, plain GtkLinkButtons are used, this still needs to be
improved.
- (open_url_hook) hook to open the links using xdg-open.
* lib/screenshooter-actions.c:
- use constants where possible.
- use (screenshooter_display_zimagez_links) to display the result of
the upload.
* lib/screenshooter-utils.{c,h}, lib/screenshooter-dialogs.{c,h}:
use constants where possible.:wq
(Old svn revision: 7308)
commit d5df895a766896235d612be04a185b5fb6fc556a
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Fri May 1 08:22:48 2009 +0000
2009-05-01 jeromeg
This still needs a lot of polishment, but let's make things public.
* src/Makefile.am, panel-plugin/Makefile.am: change the linking order.
* lib/screenshooter-zimagez.c:
- (warn_if_fault_occurred) to warn if an error occured during the XML
transaction.
- (screenshooter_upload_to_zimagez) to upload the screenshot. Still needs
a lot of polish, but at least it works.
* TODO: updated.
2009-04-19 jeromeg
* src/main.c:
- sort the CLI options by alphabetical order.
- add an upload CLI option.
- add some G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-actions.c:
- add some G_LIKELY and G_UNLIKELY macros.
- call the upload function when the user requested it.
* lib/screenshooter-utils.{c,h}: add a (rot13) function to encode the
password before sending it.
* lib/screenshooter-zimagez.{c,h}: two new files to support the upload
of screenshots to ZimageZ.com, a free Web hosting solution.
* lib/screenshooter-global.h: add the upload option.
* lib/Makefile.am: add the two new files to the source.
* configure.ac.in: check for xmlrpc-c, this is a bit uggly, but xmlrpc-c
does not provide a .pc file...
(Old svn revision: 7299)
commit 903f343180c14299bbc56ecf37db6e506f09950c
Author: Mike Massonnet <mmassonnet@xfce.org>
Date: Mon Apr 20 13:47:42 2009 +0000
goodies translation update (galician only)
(Old svn revision: 7249)
commit 0c5cadca931ead5823fb9706935c1cbe36d0e0ce
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat Apr 18 10:26:18 2009 +0000
* lib/screenshooter-utils.c: start to add G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-dialogs.c:
- more indentation improvements.
- start to add G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-capture.c: start to add G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-capture.h: add the glib header.
(Old svn revision: 7226)
commit 513f8a28b774dfb0a644e40e36bbdd7ae56b7fe4
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Thu Apr 16 15:37:23 2009 +0000
* lib/screenshooter-actions.c: minor indentation change.
* lib/screenshooter-utils.c:
- minor indentation improvements.
- (screenshooter_read_rc_file) only get the home uri once.
* lib/screenshooter-capture.c:
- minor indentation improvements.
- correctly document (screenshooter_take_screenshot).
(Old svn revision: 7218)
commit 4b14f98ea44fe842f5cc50eb103cf2d4e9dd5acd
Author: Masato Hashimoto <cabezon.hashimoto@gmail.com>
Date: Thu Apr 16 14:55:18 2009 +0000
Japanese translation update
(Old svn revision: 7217)
commit 6d790eac26b774f44356cef9d4e7784717ea79d8
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Thu Apr 16 11:21:00 2009 +0000
* panel-plugin/screenshooter-plugin.c:
- remove the wrong XFCE_PANEL_PLUGIN_REGISTER_INTERNAL macro call,
the plugin is external.
- add (set_panel_button_tooltip) to simplify the code, this function
sets the tooltip according to the area to be captured.
- use g_spawn_command_line_async to laucnh the help window.
- improve the indentation in some places.
* lib/screenshooter-utils.c:
- improve the indentation in some places.
- (screenshooter_open_screenshot):
+ declare the variables at the beginning of the code block.
+ use g_spawn_command_line_async to launch the applications.
* lib/screenshooter-dialogs.c: improve the indentation.
(Old svn revision: 7216)
commit b21af9eda00a3a453e0146d9a46d8cb284038791
Author: Mike Massonnet <mmassonnet@xfce.org>
Date: Thu Apr 16 08:20:27 2009 +0000
goodies translation update
(Old svn revision: 7213)
commit e2408c98ab247dc7445821e7cb51de00c2cfe878
Author: Mike Massonnet <mmassonnet@xfce.org>
Date: Thu Apr 16 07:30:13 2009 +0000
Catalan translation update
(Old svn revision: 7212)
commit 48b0b8a1d653b7717ef5da1dab20d6ad3c42908b
Author: Mike Massonnet <mmassonnet@xfce.org>
Date: Mon Apr 13 17:27:37 2009 +0000
goodies translation update
(Old svn revision: 7182)
commit 2a4eceecdedab6d350f522269e168078607a55dd
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Mon Apr 13 11:40:26 2009 +0000
* src/main.c:
- improve the indentation.
- use g_spawn_command_line_async to launch the help.
* lib/screenshooter-capture.c: fix a typo.:wq
(Old svn revision: 7176)
commit a36b88991d23d798879f55afaf7a55d053df115d
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sun Apr 12 18:24:56 2009 +0000
* xfce4-screenshooter.1: add the 'mouse' CLI option to the manpage.
* lib/screenshooter-dialogs.c:
- improve the indentation in some places.
- use gtk_radio_button_new_with_label_from_widget to create the
radio buttons.
- add some missing tooltips.
* lib/screenshooter-utils.h: remove a useless include.
* lib/screenshooter-capture.h: add the missing unistd.h include.
(Old svn revision: 7171)
commit 6d435ef1f8a3e092843e97b11fb3d01a8b82d0e6
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat Apr 11 12:15:11 2009 +0000
Use tabs in the changelog to be able to use xdt-commit.
(Old svn revision: 7163)
commit a5847e91cd30019ba1972bb90165bfdeb86363eb
Author: Jerome Guelfucci <jeromeg@xfce.org>
Date: Sat Apr 11 10:24:40 2009 +0000
2009-04-09 jeromeg
Reorganise the code.
* lib/screenshooter-global.h: put global structures and enumerations
here.
* lib/screenshooter-capture.{c,h}: move the code for capturing windows
and rectangular areas here.
* lib/*.{c,h}: modify the old files to use those new ones.
* lib/Makefile.am: add the new files to the source files.
* Update the NEWS file.
2009-04-09 jeromeg
* lib/screenshooter-utils.c: try to fix bug #5204 where the cursor
was not displayed at the correct location.
2009-03-30 jeromeg
* CONTRIBUTORS: update the contributors list.
* NEWS: update the news file.
2009-03-30 jeromeg
* lib/screenshooter-dialogs.c (cb_progress_upload):
- show the number of transferred Kb and the number of total
Kb instead of displaying the number of remaining bytes.
2009-03-27 jeromeg
* lib/screenshooter-dialogs.c:
- remove some unused variables.
- reduce the spacing between the two top columns.
- Remove the ":" in the "After capturing:" label.
- correctly set the spacing of the 'After capturing' section.
2009-03-26 jeromeg
New improved interface.
* lib/screenshooter-utils.{c,h}: add a close item to the
ScreenshotData structure. Allows the user to choose between
closing the application and taking another screenshot.
* src/main.c (cb_dialog_response): implement the close stuff.
* lib/screenshooter-dialogs.c: Rewrite most of the interface.
- use tables to align the widgets.
- use a two column layout.
- add an option to close/ don't close the application after
taking a screenshot.
2009-03-20 jeromeg
* lib/screenshooter-dialogs.c (save_screenshot_to_remote_location):
- simplify the function.
- add a label saying what is happening and saying where the
screenshot is being uploaded.
2009-03-20 jeromeg
* lib/screenshooter-dialogs.c: add a lot of missing prototypes.
2009-03-20 jeromeg
* lib/screenshooter-dialogs.c: (screenshooter_dialog_new) only
set the show mouse checkbox as sensitive if "select a region"
is not checked.
2009-03-19 jeromeg
* lib/screenshooter-utils.c:
- (get_rectangle_screenshot) use a dotted rectangle, with a 2px
wide border.
- (screenshooter_open_screenshot) simplify the function.
- (screenshooter_get_home_uri) use g_getenv and g_get_homedir.
2009-03-15 jeromeg
* Add the Italian documentation.
2009-03-14 jeromeg
Fix most of the issues introduced by the previous commit.
Gthread-2.0 >= 2.6.0 is now required.
* configure.ac.in, src/main.c, src/Makefile.am,
panel-plugin/screenshooter-plugin.c, panel-plugin/Makefile.am:
add a dependence on gthread and initialize the threads at startup.
* TODO: updated.
* lib/screenshooter-actions.c: use the URI of the temporary directory
and not its path, fixes the open with mode.
* lib/screenshooter-dialogs.c:
- (cb_progress_upload) add the remaining number of bytes to the
progress bar.
- (cb_finished_upload) add some debugging information.
- (save_screenshot_to_local_path) return the save location.
- (save_screenshot_to_remote_location):
+ tweak the layout of the progress dialog.
+ run the dialog AFTER starting the copy so that it does not block
everything.
+ delete the temp file after the transfer.
- (save_screenshot_to) return the save location when saving to a
local destination.
- (screenshooter_save_screenshot):
+ destroy the dialog as early as possible so that it does not
block the main loop.
+ fix the open with mode here too.
* autogen.sh: use git svn instead of git svn.
2009-03-12 jeromeg
Port the saving of screenshots to GIO. Some things still need to be
polished. Some things might be broken, like opening a screenshot with
an application.
* lib/screenshooter-utils.{c,h}:
- (screenshooter_get_home_uri) simplify the function.
- (screenshooter_is_remote_uri) new function to detect remote uris.
* lib/screenshooter-dialogs.c:
- (cb_progress_upload) new function to set the progress bar of the
transfer dialog.
- (cb_finished_upload) new function to report errors that could have
occurred during the transfer and to close the transfer dialog when
we are done.
- (cb_transfer_dialog_response) new function to allow a transfer to
be cancelled.
- (save_screenshot_to_local_path) new function to save a screenshot
to a local path.
- (save_screenshot_to_remote_location) new function to save a screenshot
to a remote place. It saves the screenshot to the temporary directory
and copies it to the remote location. A dialog shows the progress of
the transfer and offers to cancel it.
- (save_screenshot_to) new function to choose between one of the two
above save functions.
- (screenshooter_save_screenshot) rework the function to use the
functions listed above.
2009-03-09 jeromeg
Start porting the application to GIO. From now on,
sd->screenshot_dir is an URI to the save directory.
* src/main.c (main):
- don't do anything before gtk is initialized.
- use a GFile for the default save directory.
- fallback to the home URI if the directory stored in preferences
does not exist anymore.
- use GIO for the command line argument.
- use xfce_err to show an error instead of g_error.
* lib/screenshooter-actions.c: fallback to the home URI.
* lib/screenshooter-utils.c:
- (screenshooter_read_rc_file) fallback to the home URI.
- (screenshooter_get_home_uri) new function to get the URI of the
home folder.
* lib/screenshooter-utils.h: add he prototype of the new function.
* lib/screenshooter-dialogs.c:
- (screenshooter_dialog_new) use uris in the gtk file chooser.
- (screenshooter_save_screenshot) use uris in the gtk file chooser.
- (cb_default_folder) get the uri instead of the file name.
- (generate_filename_for_uri) use GFiles instead of plain paths.
2009-03-08 jeromeg
Patch from Mike Massonnet.
* lib/screenshooter-dialogs.c (screenshooter_dialog_new):
- use "Ok" and "Cancel" buttons to make the layout cleaner.
- do not display a separator to be consistent with other goodies.
- improve the label of the mouse check box.
- add a subtitile for the dialog.
- the dialog does not need to be resizable, widgets are not resized
dynamically.
- tweak the spacing of the delay spin button box.
2009-03-08 jeromeg
Now, when taking a region screenshot, the Escape key cancels everything.
* lib/screenshooter-actions.c: don't do anything if the screenshot is
NULL.
* lib/screenshooter-utils.c:
- include the keysim header.
- (get_rectangle_screenshot):
+ grab the keyboard.
+ cancel the screenshot if escape is pressed.
+ return NULL if the screenshot was cancelled.
2009-03-08 jeromeg
* lib/screenshooter-dialogs.c (screenshooter_dialog_new): add some
padding for the new check box to separate it from the radio button
group.
2009-03-08 jeromeg
* lib/screenshooter-dialogs.c:
- (screenshooter_dialog_new) Add a check box to show/hide the mouse
pointer on screenshots.
- (cb_show_mouse_toggled) Add the callback for this new check box.
2009-03-08 jeromeg
* lib/screenshooter-dialogs.c (screenshooter_dialog_new):
- try to make the UI a bit more intuitive by putting the directory
chooser on the same line as the radio button and by saying
in the save checkbox that it is possible to have no save dialog
displayed.
- Rename the "Take the screenshot" button to "Take" to decrease
the width of the dialog.
2009-03-07 jeromeg
* lib/screenshooter-dialogs.c: (screenshooter_dialog_new) make
the dialog more compact by removing the "Applications" label
and putting the combobox on the same line as the radio button.
2009-03-07 jeromeg
* src/main.c: add a CLI option not to capture the mouse pointer.
2009-03-05 jeromeg
* Fix a build problem caused by the bumping of the dependencies.
* lib/screenshooter-utils.c:
- (get_window_screenshot) add an argument to make the mouse capture optional.
- (screenshooter_take_screenshot) ditto
- read and save show_mouse in the configuration file.
- update the prototypes.
* lib/screenshooter-utils.h:
- add a show_mouse item to the ScreenshotData structure.
- update a prototype.
* lib/screenshooter-actions.c: use the new functions arguments.
2009-02-26 jeromeg
* Bump gtk required to 2.12.
* Bump glib required version to 2.16.
* Remove all previous ifdef.
=== 1.5.1 ===
2009-02-25 jeromeg
* Last minute bug fixes:
- plug a remaining leak.
- clean up the actions file.
- fix the hide option.
2009-02-25 jeromeg
* Bump the version number.
* Update NEWS.
* Update TODO.
2009-02-25 jeromeg
* lib/screenshooter-utils.c:
- (get_window_screenshot) also grab the mouse pointer.
- add some additional debugging information.
2009-02-22 jeromeg
* lib/screenshooter-dialogs.c:
(set_default_item) do not look up for a default item if the tree is empty.
2009-02-22 jeromeg
* lib/screenshooter-utils.c: add some additionnal debugging information.
2009-02-22 jeromeg
* panel-plugin/: add some debugging information for the plugin.
2009-02-15 jeromeg
* docs/, po-docs/, po/: add Japanese documentation and update the
Japanese translation. (Hashimoto Masato)
2009-02-15 jeromeg
* lib/screenshooter-actions.c: correctly set the active folder in the
file chooser, this is useful when using the -s cli option. Patch by
Enrico Tröger.
2009-02-08 jeromeg
* configure.ac.in: add maintainer information about xml2po and
xsltproc.
2009-02-08 jeromeg
* docs/, po-doc, configure.ac.in: add French documentation.
2009-02-07 jeromeg
* docs, po-doc: implement a docbook based help file which is now
translatable through po files. Some bits are still missing.
* src/xfce4-screenshooter.desktop.in.in: don't use a verb in the title.
2009-02-03 jeromeg
* NEWS: updated.
2009-02-03 jeromeg
* src/main.c: try to fix build without GIO.
2009-02-01 jeromeg
* src/main.c:
- don't display the window again after taking a screenshot, this can
be annoying and/or surprising.
- remove a lot of unneeded white spaces.
2009-01-22 jeromeg
* src/main.c: fix a bug which dispalyed the header of the po files
when using --help on OpenBSD.
* po/: update po files, no string changes though.
2009-01-18 jeromeg
* configure.ac.in: post release bump, add svn tag.
=== 1.5.0 ===
2009-01-18 jeromeg
* configure.ac.in: fix a typo in the version number.
2009-01-18 jeromeg
* NEWS: set version.
* configure.ac.in: get ready for a new release.
* xfce4-screenshooter.1: bump version.
2009-01-13 jeromeg
* panel-plugin/screenshooter-plugin.c:
- (screenshooter_plugin_read_rc_file) plug a leak.
- (screenshooter_plugin_write_rc_file) plug a leak.
* NEWS: updated.
2009-01-13 jeromeg
* Update NEWS and TODO.
2009-01-13 jeromeg
Thanks to Jannis and Stephan for the C lesson!
* lib/screenshooter-dialogs.c: (generate_filename_for_uri) rewritten
to avoid a memory leak on each step of the loop.
* lib/screenshooter-actions.c: remove two memory leaks.
2009-01-09
* src/xfce4-screenshooter.desktop.in.in,
panel-plugin/screenshooter.desktop.in.in: Fix a typo in the comment,
thanks to Per Kongstad (p_kongstad@op.pl).