summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add Meson build systemwip/mesonEmmanuele Bassi2017-05-237-0/+273
| | | | | | | Meson is a fast, portable, easy to understand meta-build system. It is currently being adopted in various projects inside GNOME alongside Autotools, in the hope of making it the default build system for future releases.
* 2.25.1AT_SPI2_ATK_2_25_1_REALAT_SPI2_ATK_2_25_1Mike Gorse2017-04-242-1/+8
|
* atk-adaptor/bridge: Fix GList handling resulting in memory corruptionRui Matos2017-04-241-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As pointed out by this valgrind log: ==2809== Thread 1: ==2809== Invalid write of size 8 ==2809== at 0x18FCF001: remove_events (bridge.c:759) ==2809== by 0x18FCF001: handle_event_listener_deregistered (bridge.c:788) ==2809== by 0x18FCF001: signal_filter (bridge.c:827) ==2809== by 0x200ECDFD: dbus_connection_dispatch (dbus-connection.c:4631) ==2809== by 0x1FEBD0F4: ??? (in /usr/lib64/libatspi.so.0.0.1) ==2809== by 0xFD8D4C8: g_main_dispatch (gmain.c:3201) ==2809== by 0xFD8D4C8: g_main_context_dispatch (gmain.c:3854) ==2809== by 0xFD8D817: g_main_context_iterate.isra.21 (gmain.c:3927) ==2809== by 0xFD8DAE9: g_main_loop_run (gmain.c:4123) ==2809== by 0xDFF84B4: gtk_main (in /usr/lib64/libgtk-3.so.0.2200.10) ==2809== by 0x403DE0: main (in /usr/bin/evolution) ==2809== Address 0x29f22540 is 16 bytes inside a block of size 24 free'd ==2809== at 0x4C2ACDD: free (vg_replace_malloc.c:530) ==2809== by 0xFD92BCD: g_free (gmem.c:189) ==2809== by 0xFDAA518: g_slice_free1 (gslice.c:1136) ==2809== by 0xFD89463: g_list_remove (glist.c:521) ==2809== by 0x18FCF000: remove_events (bridge.c:759) ==2809== by 0x18FCF000: handle_event_listener_deregistered (bridge.c:788) ==2809== by 0x18FCF000: signal_filter (bridge.c:827) ==2809== by 0x200ECDFD: dbus_connection_dispatch (dbus-connection.c:4631) ==2809== by 0x1FEBD0F4: ??? (in /usr/lib64/libatspi.so.0.0.1) ==2809== by 0xFD8D4C8: g_main_dispatch (gmain.c:3201) ==2809== by 0xFD8D4C8: g_main_context_dispatch (gmain.c:3854) ==2809== by 0xFD8D817: g_main_context_iterate.isra.21 (gmain.c:3927) ==2809== by 0xFD8DAE9: g_main_loop_run (gmain.c:4123) ==2809== by 0xDFF84B4: gtk_main (in /usr/lib64/libgtk-3.so.0.2200.10) ==2809== by 0x403DE0: main (in /usr/bin/evolution) ==2809== Block was alloc'd at ==2809== at 0x4C29BE3: malloc (vg_replace_malloc.c:299) ==2809== by 0xFD92ABD: g_malloc (gmem.c:94) ==2809== by 0xFDA9EFD: g_slice_alloc (gslice.c:1025) ==2809== by 0xFD89983: g_list_append (glist.c:261) ==2809== by 0x18FCE7EE: add_event (bridge.c:80) ==2809== by 0x18FCE7EE: add_event_from_iter (bridge.c:217) ==2809== by 0x18FCEEF6: handle_event_listener_registered (bridge.c:721) ==2809== by 0x18FCEEF6: signal_filter (bridge.c:825) ==2809== by 0x200ECDFD: dbus_connection_dispatch (dbus-connection.c:4631) ==2809== by 0x1FEBD0F4: ??? (in /usr/lib64/libatspi.so.0.0.1) ==2809== by 0xFD8D4C8: g_main_dispatch (gmain.c:3201) ==2809== by 0xFD8D4C8: g_main_context_dispatch (gmain.c:3854) ==2809== by 0xFD8D817: g_main_context_iterate.isra.21 (gmain.c:3927) ==2809== by 0xFD8DAE9: g_main_loop_run (gmain.c:4123) ==2809== by 0xDFF84B4: gtk_main (in /usr/lib64/libgtk-3.so.0.2200.10) This line: list->prev = g_list_remove (list->prev, evdata); writes over free'd memory since the list link pointed to by the 'list' pointer is free'd by g_list_remove(). We can use g_list_delete_link() instead to achieve the intended result (and not re-iterate the whole list) with less code overall. Thanks to Milan Crha <mcrha@redhat.com> for investigating and providing the valgring log. https://bugzilla.gnome.org/show_bug.cgi?id=781658
* Fix Position getter for table cellsMike Gorse2017-03-243-3/+27
|
* 2.24.0AT_SPI2_ATK_2_24_0Mike Gorse2017-03-202-1/+6
|
* tests: remove atk_table_cell_get_column_index testMike Gorse2017-03-171-18/+0
| | | | | This function no longer exists, and the test causes a build error. TODO: we need a test for atk_table_cell_get_position.
* Enable atk-test when running make distcheckGilles Dartiguelongue2016-11-031-0/+1
|
* Add missing test data to distributionGilles Dartiguelongue2016-11-031-0/+9
|
* atk-adaptor: fix include guardErnestas Kulik2016-11-011-1/+1
| | | | | | The include guard for accessible-stateset.h has a typo. https://bugzilla.gnome.org/show_bug.cgi?id=773744
* Always send property-change signals, except for transient objectsMike Gorse2016-10-261-4/+4
| | | | | | At-spi2-core generally caches properties, so it needs notification when these properties change. signal_is_needed() was intended to account for this but failed to do so because of n incorrect strcmp.
* 2.22.0AT_SPI2_ATK_2_22_0gnome-3-22Mike Gorse2016-09-252-1/+6
|
* Remove some debugging codeMike Gorse2016-08-311-19/+0
|
* 2.21.91AT_SPI2_ATK_2_21_91Mike Gorse2016-08-292-1/+5
|
* atk_bridge_adaptor_init: return -1 if NO_AT_BRIDGE is setSamuel Thibault2016-08-291-1/+3
| | | | | | | This will give the caller a clue that the bridge hasn't initialized. https://bugzilla.gnome.org/show_bug.cgi?id=770574
* 2.21.4AT_SPI2_ATK_2_21_4Mike Gorse2016-07-182-1/+7
|
* collection: fix missing return valueMike Gorse2016-03-311-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=758934
* Remove a debug printMike Gorse2016-03-311-2/+0
|
* emit_event: fix out-of-bounds memory access if class is NULLMike Gorse2016-03-311-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=758935
* 2.20.0Mike Gorse2016-03-311-1/+1
|
* 2.19.92AT_SPI2_ATK_2_20_0AT_SPI2_ATK_2_19_92Mike Gorse2016-03-142-1/+8
|
* Make sure the runtime directory existsSamuel Thibault2016-03-081-3/+7
| | | | | | | | | | It may happen that the home directory of the user does not contain the runtime directory yet, when it's a freshly-created home for instance. In that case, establishing the p2p socket in spi_atk_create_socket will fail since it only tries to create a socket in that directory without checking that the directory exists. https://bugzilla.gnome.org/show_bug.cgi?id=763274
* Don't drop the main context when p2p socket configuration failsSamuel Thibault2016-03-081-2/+0
| | | | | | | Otherwise we can re-enter the main loop when sending a key notification, causing problems. https://bugzilla.gnome.org/show_bug.cgi?id=763273
* 2.19.91AT_SPI2_ATK_2_19_91Mike Gorse2016-02-292-1/+5
|
* Don't send children of gtk menus to be cachedMike Gorse2016-02-241-5/+44
| | | | | | | This is o(n^2) because of the way gtk's atk implementation implements get_index_in_parent(). WOrking around it here for now. https://bugzilla.gnome.org/show_bug.cgi?id=754048
* NEWS: Fix typoMike Gorse2016-02-151-1/+1
|
* 2.19.90AT_SPI2_ATK_2_19_90Mike Gorse2016-02-152-1/+5
|
* Always accept connections as root if unable to find an owning userMike Gorse2015-12-071-1/+4
| | | | | | | | | | | When running as root, we look through /proc to try to identify our parent and check that it matches the user making a connection. However, this check does not always yield useful information and also will always fail on anything that isn't Linux. Unsure what security implications this change has, but then it isn't ideal to run UI as the super-user in the first place, yet users sometimes need to do so for various reasons, and a11y needs to be enabled, so adding this change unless a better solution is found.
* 2.19.2AT_SPI2_ATK_2_19_2Mike Gorse2015-11-232-1/+9
|
* New tests for last interfacesPatryk Kaczmarek2015-11-2330-1/+3851
| | | | | | | | | | | * Tested interfaces: - Document - Hyperlink - Hypertext - Selectoin - State Set - Table - Table Cell
* Next tests for accessible interfacesPatryk Kaczmarek2015-11-1829-111/+2461
| | | | | | | | | | | | * New tested interfaces: - Collection - EditableText - Image - Text - Value * Commented tests for depricated function in Component tests deleted * Unused variables deleted * Added compilation flag -Wall
* Text, Value and Table Cell adaptors fixedPatryk Kaczmarek2015-10-124-9/+46
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755724
* Test fixes up to atk-adaptor version and cache changesPatryk Kaczmarek2015-09-271-40/+41
|
* 2.18.0Mike Gorse2015-09-271-1/+1
|
* Release v2.17.90AT_SPI2_ATK_2_17_90Mike Gorse2015-08-172-1/+5
|
* Modify for the new caching APIMike Gorse2015-08-144-140/+109
| | | | | | | | | | Send an object's index and child count in the cache data rather than a list of children. Also bumping the libatspi requirement, since an older libatspi will not work with this version of at-spi2-atk. https://bugzilla.gnome.org/show_bug.cgi?id=650090
* Release v2.17.1AT_SPI2_ATK_2_17_1Mike Gorse2015-07-204-3/+31
|
* Updated AUTHORS/MAINTAINERS/doapMike Gorse2015-07-153-7/+1
| | | | | | | | Mark Doffman and Li Yuan were listed as maintainers, but effectively neither have been involved for several years. Also added Li to AUTHORS. https://bugzilla.gnome.org/show_bug.cgi?id=752231
* build fix: add tests/data/Makefile.amPatrick Welche2015-06-191-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=751192
* Add some missing files to the distributionMike Gorse2015-06-182-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=751138
* tests: fix out-of-source and parallel buildAlexandre Rostovtsev2015-06-181-14/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=751137
* atk-adapter: be careful with potential NULL GObjectsChristian Hergert2015-05-151-1/+1
| | | | I've been seeing warnings in my Gtk application for a while due to this.
* 2.16.0AT_SPI2_ATK_2_16_0Mike Gorse2015-03-231-1/+1
|
* Component interface testsPatryk Kaczmarek2015-03-0612-6/+630
|
* Release v2.15.90AT_SPI2_ATK_2_15_90Mike Gorse2015-02-162-1/+7
|
* Action tests added and some test framework refactorPatryk Kaczmarek2015-02-1618-245/+848
| | | | | | | | | | * Accessible Action Test addded * XML loader unificated for different Atk Object types * Atk Suite now can run single interface tests * get_root_obj function changed * Created tests utils for test unification * Makefile.am files formating changed and unused parts deleted * MyAtkObject attributes receiving fixed
* Add new roles for fractions, roots, subscripts, and superscriptsJoanmarie Diggs2015-01-262-2/+6
|
* Release v2.15.4AT_SPI2_ATK_2_15_4Mike Gorse2015-01-192-1/+9
|
* Fix for bug 690008 - Add support for ATSPI_STATE_READ_ONLY/ATK_STATE_READ_ONLYJoanmarie Diggs2015-01-152-1/+3
|
* Add support for ATK_STATE_HAS_TOOLTIPJoanmarie Diggs2015-01-121-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=738953
* Don't parse non-existing argumentsBenjamin Otte2014-12-191-8/+1
| | | | | | | | | | | | | | | | | | | | | The definition of the signal declares 0 arguments, so the listener can't assume there are any. Found by Michael Stahl via this valgrind snippet: ==4770== Conditional jump or move depends on uninitialised value(s) ==4770== at 0x3104C10812: text_selection_changed_event_listener (event.c:1036) ==4770== by 0x30EF42160A: signal_emit_unlocked_R (gsignal.c:3519) ==4770== by 0x30EF42A180: g_signal_emit_valist (gsignal.c:3309) ==4770== by 0x30EF42A8F9: g_signal_emit_by_name (gsignal.c:3405) ==4770== by 0x1835EE96: AtkListener::notifyEvent(com::sun::star::accessibility::AccessibleEventObject const&) (atklistener.cxx:454) ==4770== by 0x56E46BA: comphelper::AccessibleEventNotifier::addEvent(unsigned int, https://bugzilla.gnome.org/show_bug.cgi?id=741734