Newer
Older
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
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).
2009-01-08
* Set svn:ignore properties correctly.
2009-01-08
* configure.ac.in: improve the autotools stuff and print the debug
level when printing the configuration.
2009-01-05
* Don't use -Werror.
2009-01-05
* NEWS: updated.
* TODO: updated.
2009-01-05
* doc/id: add Indonesian documentation by Andhika Padmawan.
* doc/fr, doc/C: fix the markup of a title in xfce4-screenshooter.html
* configure.ac.in:
- add id doc.
- set version number for next release.
2009-01-02
* Improve the compiler flags set.
* configure.ac.in:
- use @LINGUAS@ instead of copying things from po/LINGUAS manually.
- set debugging as full for svn snapshots.
* panel-plugin/screenshooter-plugin.c: directly use button instead of
pd->button.
2009-01-02
* Post release bump.
* Fix two compiler warnings.
=== 1.4.90 ===