GitHub PushEvent at 2014-10-23 12:48:54
Repository: libusbg
Actor: kopasiak
Payload: {"shas":[["b0a0da427171f098640a085d7a836c4fa36cc663","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: doc: Fix typos in doxygen documentation\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["d159c87d9355bce26df676a43ae36c951102e8ff","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Fix off-by-one error.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["55a1da7254ca5c14b5ff1e8f2056835dc6b92284","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: fix: Remove unused variables\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["e0f8b47353b923e3af48c621bbe37ad8611191c7","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Always add '\\0' at end of string\n\nstrncpy() may not append trailing '\\0' so let's append\nit always at end of string to avoid getting into troubles.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["a5af63144492273342f01f592a7d937b2556bccf","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Simplify getting names form library structures\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>\n\nChanges since v1:\nFix show-gadgets example: get attributes before dereferencing them\n\nReported-by: Philippe De Swert <philippe.deswert@jollamobile.com>\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["40f12f3fc4bcd304c6fe14181b30f3e57aa86246","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Allow to set all gadget attrs using one function.\n\nHaving specialized functions for each attribute may be\nsometime inconvenient to use. Provide also function\nwhihc allows to set attribute selected by parameter.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["f2b9c14739fb88469fa4a9dd6a4dfeeb77cfe1d4","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Return suitable error codes instead of -1\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["89a6b768063b992933b7bd9181a2bcf4ca78c567","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Make usbg_lookup_function_type() publicly available\n\nUsers of library may often receive function type as a string.\nInstead of implementing parsing of such string in each program\nit would be more convenient to provide such support in library.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["4d49e5abfc81105ea7e489ab96f85179914dae29","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Add own name to AUTHORS file.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["1442448e3fa2f4f74b1bf06203a7f91064fb497b","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Don't print errno when it has not been directly set\n\nReplace ERRORNO() macro with ERROR(). Difference betwen\nthem is that ERRORNO() prints also standard error string\nbased on errno value. This variable should not be accessed\nwhen called function doesn't directly set it.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["3ddfa8772fa568e284070e09fe37ae1092713434","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Add udc structure\n\nAdd structure to store informations about available udcs\ninstead of using their names as a string.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["c9482b4d89ac01d45ed470b2e7705b1c67fafb27","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Replace usbg_get_udcs() with loop\n\nLibrary allows to iterate over each gadget using loop.\nTo be consistent with this convention add similar loop\nfor UDCs.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["6d920a99dcf950007ca276f0ab8b014574c04208","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Rework API to use usbg_udc structure\n\nUsing string as udc identifier provides a lot\nof troubles. To be more consistent with rest of\nAPI rework it to start using usbg_udc structure\ninstead of using char *.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["4d4f3e251d3c8a64356b859972498a522ad5fa96","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Refresh gadget UDC while each usbg_get_gadget_udc()\n\nKernel may decide to detach our gadget in some cases.\nA good example is when FFS daemon received a SIGSEGV\nand all descriptors has been closed.\n\nTo avoid returning false informations to user we have\nto refresh UDC attribute before returning cached pointer\nto usbg_udc.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["d590e54298b83d2a76d34c067889005d9816b339","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Allow to get gadget enabled on given UDC\n\nAdd usbg_get_udc_gadget() which allows user to learn\nwhich gadget is attached to selected UDC.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true],["e22a2811ea42433a2022bfd9a4a3a24ac955bc71","8064eda6f94b3817252b7d7649cf754592f63500@samsung.com","libusbg: Add example how to use usbg_udc structure\n\nThis example shows how to learn what udcs are available\nin system and also how to find out what gadgets are\nenabled on them.\n\nSigned-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>","Krzysztof Opasiak",true]],"size":16,"ref":"refs/heads/master","head":"e22a2811ea42433a2022bfd9a4a3a24ac955bc71"}